gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] BACKUP / RESTORE


From: Rogerio Luz
Subject: Re: [Gnumed-devel] BACKUP / RESTORE
Date: Thu, 23 Oct 2008 13:52:18 -0200

Have run the gm-zip+sign ... with no success.

Have made a backup that appeared in my  ~/.gnumed/backup folder but still can´t make a restore


address@hidden:~/Desktop/Gnumed/GNUmed-v9/server$ sh gm-restore_database.sh ~/.gnumed/backup/backup-gnumed_v9-GNUmed_Team-casa-deb-2008-10-23-13-43-10.tar

==> Trying to restore GNUmed backup ...
    file: /home/rogerio/.gnumed/backup/backup-gnumed_v9-GNUmed_Team-casa-deb-2008-10-23-13-43-10.tar

==> Reading configuration ...
    file: /etc/gnumed/gnumed-restore.conf

==> Setting up workspace ...
mkdir: pasta `/home/rogerio/gnumed/gm-restore-2008-10-23-13-45-06/' criada

==> Creating copy of backup file ...
`/home/rogerio/.gnumed/backup/backup-gnumed_v9-GNUmed_Team-casa-deb-2008-10-23-13-43-10.tar' -> `/home/rogerio/gnumed/gm-restore-2008-10-23-13-45-06/backup-gnumed_v9-GNUmed_Team-casa-deb-2008-10-23-13-43-10.tar'

==> Unpacking backup file ...
tar: /home/rogerio/gnumed/gm-restore-2008-10-23-13-45-06///home/rogerio/.gnumed/backup/backup-gnumed_v9-GNUmed_Team-casa-deb-2008-10-23-13-43-10.tar: Não é possível open: Arquivo ou diretório não encontrado (not able to open: File or directory not found)
tar: Erro não é recuperável: saindo agora (Error not recoverable: exiting now)

==> 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.

head: não foi possível abrir (not able to open) `/home/rogerio/gnumed/gm-restore-2008-10-23-13-45-06///home/rogerio/.gnumed/backup/backup-gnumed_v9-GNUmed_Team-casa-deb-2008-10-23-13-43-10.tar-database.sql' para leitura: Arquivo ou diretório não encontrado (for reading: File or directory not found)
==> Checking for existence of target database  ...
    ERROR: backup does not create target database, aborting


Please advise, and the gm-zip... script does not give any messages, it jsut seems not to run

Rogerio





reply via email to

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