11<!--
2- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.58 2005/03/1705:10:11 momjian Exp $
2+ $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.59 2005/03/1715:38:46 momjian Exp $
33-->
44<chapter id="backup">
55 <title>Backup and Restore</title>
@@ -364,9 +364,11 @@ tar -cf backup.tar /usr/local/pgsql/data
364364 </para>
365365
366366 <para>
367- If your database is spread across multiple volumes (for example,
368- if you are using tablespaces) there may not be any way
369- to obtain exactly-simultaneous frozen snapshots of all the volumes.
367+ If your database is spread across multiple file systems there may not
368+ be any way to obtain exactly-simultaneous frozen snapshots of all
369+ the volumes. For example, if your data files and WAL log on different
370+ file disks, or if tablespaces are on different file systems, it might
371+ not be possible to use snapshots because the snapshots must be simultaneous.
370372 Read your file system documentation very carefully before trusting
371373 to the consistent-snapshot technique in such situations. The safest
372374 approach is to shut down the database server for long enough to
@@ -375,11 +377,12 @@ tar -cf backup.tar /usr/local/pgsql/data
375377
376378 <para>
377379 Another option is to use <application>rsync</> to perform a file
378- system backup. First, while the database server is running,
379- run <application>rsync</>, then shut down the database
380- server and perform a second <application>rsync</>, then
381- restart the database server. This allows a file system backup to be
382- performed with minimal downtime.
380+ system backup. This is done by first running <application>rsync</>
381+ while the database server is running, then shutting down the database
382+ server just long enough to do a second <application>rsync</>. The
383+ second <application>rsync</> will be much quicker than the first,
384+ but will be consistent because the server was down. This method
385+ allows a file system backup to be performed with minimal downtime.
383386 </para>
384387
385388 <para>