gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] Restoring a database under Debian


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Restoring a database under Debian
Date: Wed, 14 Jan 2015 17:49:10 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, Jan 14, 2015 at 12:43:20PM +0000, Jim Busser wrote:

> Ah, ok, so instead of
> 
>       sh …
> 
> it is dot slash
> 
>       ,/
> 
> as in
> 
>       address@hidden:/home/jim/downloads/gnumed-server.20.0/server# 
> ./gm-restore_database.sh backup-gnumed_v19-2015-01-12-09-59-25.tar

Correct.

> except this too had problems:
> 
>       ==> Trying to restore a GNUmed backup ...
>           file: backup-gnumed_v19-2015-01-12-09-59-25.tar
>       
>       ==> Reading configuration ...
>       
>       ==> Setting up workspace ...
>           /root/gnumed/gm-restore-2015-01-14-04-37-47/
> 
>       ==> Creating copy of backup file ...
>       cp: cannot stat `backup-gnumed_v19-2015-01-12-09-59-25.tar': No such 
> file or directory
>           ERROR: Cannot copy backup file. Aborting.

Yep, but that's the same problem we have seen before (and for
which I already have both reason and solution). In fact, one
solution is in the very script: "Use the full path instead".

>       address@hidden:/home/jim/downloads/gnumed-server.20.0/server# 
> 
> and as I was root, should the above have worked, despite
> that the files in the server directory were owned by 'jim' 
> or would their ownership by jim be any problem?

Not that I should think. Here, as opposed to on Mac, you seem
to really be root.

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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