Problem with backup...

Поиск
Список
Период
Сортировка
От Marcin Giedz
Тема Problem with backup...
Дата
Msg-id 200504071049.22677.marcin.giedz@eulerhermes.pl
обсуждение исходный текст
Ответы Re: Problem with backup...  (Marcin Giedz <marcin.giedz@eulerhermes.pl>)
Список pgsql-admin
Hello...


Here is procedure of making everyday online backup:
1) select pg_start_backup('xxx');
2) tar -cf backup-xxx.tar /mnt/db/pg1
3) select pg_stop_backup();
rm all archived WAL files before special one taken from backup_log
4) tar -cf var-xx.tar /mnt/db/var

Next I'd like to use this copy on my test machine. So I copy backup-xxx.tar
and var-xxx.tar and untar these files. Directories structure on test are the
same like on production machine. But when I try to run pg_ctl only empty log
file is created but postmaster doesn't run.
Can anyone please tell me what I'm doing wrong?

Thx,
Marcin




В списке pgsql-admin по дате отправления:

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: delete to slow
Следующее
От: Marcin Giedz
Дата:
Сообщение: Re: Problem with backup...