gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] BACKUP / RESTORE


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] BACKUP / RESTORE
Date: Tue, 28 Oct 2008 19:40:50 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Oct 28, 2008 at 03:54:38PM -0200, Rogerio Luz wrote:

> But when trying to restore still can´t make it work. Complains about the DB
> already being active,
yes

> AND I can´t "dropdb gnumed_v9"
why / how ?

> (wich I guess is a good thing :)
It surely helps prevent accidents.

> /home/rogerio/GNUmed/GNUmed-v9/server# sh gm-restore_database.sh
> /home/rogerio/Desktop/backup-gnumed_v9-GNUmed_Team-casa-deb-2008-10-28-15-11-55.tar.bz2

This is a whole database backup. Good.

> ==> Checking for existence of target database gnumed_v9 ...
>     ERROR: database gnumed_v9 already exists, aborting

But GNUmed refuses to restore a gnumed_v9 database if you
already have one. Better to be safe than sorry.

> What am I doing wrong now ?

You need to drop the database before restoring. Or rename it.

>  ;) and besides, IF I let all the roles in there will it be much of a
> problem?

This much depends on what else you are using GNUmed for.

> I guess I need only "any-doc" "gm-dbo" and "rogluz" (my account)
> and all the "gnumed_vX" roles ??

plus "gm-logins" and "gm-doctors" etc

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

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