[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-bugs] Problems restoring from a backup - directory ... does not

From: Busser, Jim
Subject: [Gnumed-bugs] Problems restoring from a backup - directory ... does not exist
Date: Tue, 13 Jan 2015 19:14:07 +0000

Somehow, whether or not related to permissions problems inherited from bringing 
my Mac user account from 10.5 Leopard through 10.8 Mountain Lion as referenced 

... I managed, in the course of the last two posts, to bork my v19 database … 
the last backup created when I tried to do

        sh ./ 19 20

was only 83Mb as compared to what was generated in the first step of my 
updating efforts, which was 383 Mb. So I after fixing my user-level permissions 
according to the article above (whether or not that has anything to do with 
anything) my problem which I am now experiencing, in trying to restore, is as 

1) In order to try to minimize problems during the attempt at restore, I became 
        sudo -i

2) As root, I copied a 19.8 server tarball from my normal user space to the 
root directory / and then decompressed it, in order that this would be owned by 

3) I also copied the hopefully-intact, 383 Mb backup into the root-owned server 

        cd /gnumed-server.19.8/server


4) However when I try to restore from this backup which is sitting in the same 
level of .../server/ as follows:


what results is

        ==> Trying to restore a GNUmed backup …


        ==> Reading configuration …

        ==> Setting up workspace ... 

         ==> Creating copy of backup file …

        cp: directory Users/djb/gnumed/gm-restore-2015-01-13-10-27-04 does not 

        ERROR: Cannot copy backup file. Aborting.

despite that the workspace, named as follows (perhaps taken from inside the 


was, it seems, created inside


because I can do

        cd Users/djb/gnumed/gm-restore-2015-01-13-10-27-04

… so what can I do to troubleshoot the error message

        directory Users/... does not exist


-- Jim

reply via email to

[Prev in Thread] Current Thread [Next in Thread]