Backup and Restore
Each has its own strengths and weaknesses.
- backup-online">
-
On-line backup and point-in-time recovery (PITR)
+ continuous-archiving">
+
Continuous Archiving and Point-In-Time Recovery (PITR)
- To recover successfully using an on-line backup, you need a continuous
+ To recover successfully using continuous archiving (also called "online
+ backup" by many database vendors), you need a continuous
sequence of archived WAL files that extends back at least as far as the
start time of your backup. So to get started, you should set up and test
your procedure for archiving WAL files before> you take your
pg_start_backup> or pg_stop_backup>, and
you will therefore be left to your own devices to keep track of which
backup dump is which and how far back the associated WAL files go.
- It is generally better to follow the on-line backup procedure above.
+ It is generally better to follow the continuous archiving procedure above.
-
Recovering with an On-line Backup
+
Recovering using a Continuous Archive Backup
Okay, the worst has happened and you need to recover from your backup.
- backup-online-caveats">
+ continuous-archiving-caveats">
Caveats
- At this writing, there are several limitations of the on-line backup
+ At this writing, there are several limitations of the continuous archiving
technique. These will probably be fixed in future releases: