-<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.158 2010/09/12 13:47:12 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.159 2010/09/13 01:35:46 momjian Exp $ -->
<chapter id="backup">
<title>Backup and Restore</title>
character in the command. The simplest useful command is something
like:
<programlisting>
-archive_command = 'cp -i %p /mnt/server/archivedir/%f </dev/null' # Unix
-archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windows
+archive_command = 'cp -i %p /mnt/server/archivedir/%f </dev/null' # Unix
+archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windows
</programlisting>
which will copy archivable WAL segments to the directory
<filename>/mnt/server/archivedir</>. (This is an example, not a