X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 316089DC984; Mon, 26 Dec 2005 13:55:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 00220-04; Mon, 26 Dec 2005 13:55:06 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from candle.pha.pa.us (candle.pha.pa.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 6EC999DC93D; Mon, 26 Dec 2005 13:55:04 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id jBQHt5L21116; Mon, 26 Dec 2005 12:55:05 -0500 (EST) From: Bruce Momjian Message-Id: <200512261755.jBQHt5L21116@candle.pha.pa.us> Subject: Online backup vs Continuous backup To: PostgreSQL-development Date: Mon, 26 Dec 2005 12:55:05 -0500 (EST) CC: PostgreSQL-documentation X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM1135619705-8658-1_ Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.117 required=5 tests=[AWL=0.117] X-Spam-Score: 0.117 X-Spam-Level: X-Archive-Number: 200512/28 X-Sequence-Number: 3376 --ELM1135619705-8658-1_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII I noticed that we are using the term "Online Backup" in our documentation when we are talking about continuous backup and PITR. To me, "online backup" is doing a backup while the system is online (online-backup), and that is accomplished by pg_dump. I know a lot of databases us "Online Backup" but I assume this is for historical reasons because at some time in the past their full backups didn't work while the database was online. Other systems use the term "Continuous Logging", but I think that is too easily confused with the server activity logs. I suggest the following patch to rename our capability "Continuous Backup". -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 --ELM1135619705-8658-1_ Content-Transfer-Encoding: 7bit Content-Type: text/plain Content-Disposition: inline; filename="/pgpatches/backup" Index: backup.sgml =================================================================== RCS file: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v retrieving revision 2.76 diff -c -r2.76 backup.sgml *** backup.sgml 7 Nov 2005 17:36:44 -0000 2.76 --- backup.sgml 26 Dec 2005 16:30:48 -0000 *************** *** 19,25 **** SQL dump File system level backup ! On-line backup Each has its own strengths and weaknesses. --- 19,25 ---- SQL dump File system level backup ! Continuous backup Each has its own strengths and weaknesses. *************** *** 373,382 **** ! On-line backup and point-in-time recovery (PITR) ! on-line backup --- 373,382 ---- ! Continuous backup and point-in-time recovery (PITR) ! continuous backup *************** *** 452,458 **** ! To recover successfully using an on-line backup, 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 --- 452,458 ---- ! To recover successfully using a continuous backup, 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 *************** *** 782,793 **** 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. ! Recovering with an On-line Backup Okay, the worst has happened and you need to recover from your backup. --- 782,793 ---- 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 continuous backup procedure above. ! Recovering with a Continuous Backup Okay, the worst has happened and you need to recover from your backup. *************** *** 1123,1129 **** Caveats ! At this writing, there are several limitations of the on-line backup technique. These will probably be fixed in future releases: --- 1123,1129 ---- Caveats ! At this writing, there are several limitations of the continuous backup technique. These will probably be fixed in future releases: --ELM1135619705-8658-1_--