Re: PostgreSQL File System Based Backup Restartability

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: PostgreSQL File System Based Backup Restartability
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B3659C6DD@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: PostgreSQL File System Based Backup Restartability  (girish R G peetle <giri.anamika0@gmail.com>)
Список pgsql-admin
girish R G peetle wrote:
> After executing pg_start_backup, we will generate a file 'Backup file' which will contain list  of all
> the folders n files under DATA directory.
> 
> Then we read entry from 'Backup file' sequentially and use copy command/script to move it to backup
> media.
> 
> When network encounters copy script will fail stating couldn't backup the file.
> 
> Say copy command throws error at 20th file entry. When backup is resumed copy command resumes  from
> 20th file entry.

That should work just fine.

I'd still test the result by restoring such a backup and running "pg_dump -f /dev/null" on it,
just to be sure and because you cannot test your backups often enough.

Yours,
Laurenz Albe

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

Предыдущее
От: Iñigo Salvat
Дата:
Сообщение: Re: High availability with Postgres
Следующее
От: Valentina Tedone
Дата:
Сообщение: execution time