gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] problems to restore DB in Debian Testing


From: Rogerio Luz Coelho
Subject: Re: [Gnumed-devel] problems to restore DB in Debian Testing
Date: Wed, 3 Mar 2010 20:45:48 -0300

I forgot to mention that the roles file appears to be ok this time


Rogerio



2010/3/3 Rogerio Luz Coelho <address@hidden>
still could not do it ...

the command $> ls -l `which sh`

bash: wich: comando não encontrado (command not found)
total 2208
-rwxr-xr-x 1 root root 682955 Mar  1 16:57 backup-gnumed_v12-DrRogerioLuzCoelho-consultorio-2010-02-15-01-36-38.tar.bz2
drwxr-xr-x 6 root root   4096 Mar  3 20:38 gnumed
drwxr-xr-x 3 root root   4096 Mar  1 17:21 gnumed-server.12.0
-rw-r--r-- 1 root root 774973 Mar  1 17:21 gnumed-server.12.0.tgz
drwxr-xr-x 3 root root   4096 Mar  1 17:21 gnumed-server.12.1
drwxr-xr-x 3 root root   4096 Mar  1 17:21 gnumed-server.12.2
-rw-r--r-- 1 root root 781912 Mar  1 17:21 gnumed-server.12.2.tgz


running again as ./gmrestore-database.sh


==> Trying to restore a GNUmed backup ...
    file: /root/backup-gnumed_v12-DrRogerioLuzCoelho-consultorio-2010-02-15-01-36-38.tar.bz2

==> Reading configuration ...

==> Testing backup file integrity ...
  /root/backup-gnumed_v12-DrRogerioLuzCoelho-consultorio-2010-02-15-01-36-38.tar.bz2: ok

==> Setting up workspace ...
    /root/gnumed/gm-restore-2010-03-03-20-38-37/


==> Creating copy of backup file ...
"/root/backup-gnumed_v12-DrRogerioLuzCoelho-consultorio-2010-02-15-01-36-38.tar.bz2" -> "/root/gnumed/gm-restore-2010-03-03-20-38-37/backup-gnumed_v12-DrRogerioLuzCoelho-consultorio-2010-02-15-01-36-38.tar.bz2"

==> Unpacking backup file ...
  /root/gnumed/gm-restore-2010-03-03-20-38-37//backup-gnumed_v12-DrRogerioLuzCoelho-consultorio-2010-02-15-01-36-38.tar.bz2: done

-rwxrwxrwx root/root   4702359 2010-02-15 01:36 backup-gnumed_v12-DrRogerioLuzCoelho-consultorio-2010-02-15-01-36-38-database.sql
-rwxrwxrwx root/root      5197 2010-02-15 01:36 backup-gnumed_v12-DrRogerioLuzCoelho-consultorio-2010-02-15-01-36-38-roles.sql

==> Adjusting GNUmed roles ...

   You will now be shown the roles backup file.
   Please edit it to only include the roles you need for GNUmed.

   Remember that in PostgreSQL scripts the comment marker is "--".

   Press <ENTER> to continue.

==> Checking target database status ...
could not change directory to "/root/gnumed/gm-restore-2010-03-03-20-38-37"

==> Restoring GNUmed roles ...
    ERROR: Failed to restore roles. Aborting.
           see: ./restoring-roles-2010-03-03-20-38-37.log

chmod: alterando permissões de "./restoring-roles-2010-03-03-20-38-37.log": Operação não permitida



The log file at ./restoring-roles...etc:

could not change directory to "/root/gnumed/gm-restore-2010-03-03-20-38-37"
backup-gnumed_v12-DrRogerioLuzCoelho-consultorio-2010-02-15-01-36-38-roles.sql:$



Rogerio






reply via email to

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