Re: PostgreSQL File System Based Backup Restartability - Mailing list pgsql-admin

From Albe Laurenz
Subject Re: PostgreSQL File System Based Backup Restartability
Date
Msg-id A737B7A37273E048B164557ADEF4A58B3659C085@ntex2010i.host.magwien.gv.at
Whole thread Raw
In response to PostgreSQL File System Based Backup Restartability  (girish R G peetle <giri.anamika0@gmail.com>)
Responses Re: PostgreSQL File System Based Backup Restartability  (girish R G peetle <giri.anamika0@gmail.com>)
List pgsql-admin
girish R G peetle wrote:
> Is PostgreSQL file system based backup restart-ability possible ?
> 
> Steps
> - Database size is 1 TB
> - I'll execute pg_start_backup('label');
> - I will traverse through the DATA directory to get the list of directories and files.
> - I will start moving the files to backup media. ( over network )
> - When I'm half way (500GB done), network error happens. So movement of files is halted.
> - Network issue is resolve after 30 minutes (In this time files might have got deleted or added with
> creation/deletion of database/tables )
> - I'll resume moving the files to backup media from where it had halted.
> - When movement of files is done, I'll execute pg_stop_backup()
> - I'll move all the transaction logs that got archived to backup media.
> 
> Is PostgreSQL server recovery to a consistent state possible with backup content obtained from above
> steps ?

That should work, but I guess it may depend on what the copy program does if it encounters the
network error.  Were there any messages?

Yours,
Laurenz Albe

pgsql-admin by date:

Previous
From: girish R G peetle
Date:
Subject: PostgreSQL File System Based Backup Restartability
Next
From: "Jan-Peter Seifert"
Date:
Subject: Canceling REINDEX safe?