[Rt-commit] rt branch, 4.0/backup-docs, updated. rt-4.0.7-61-geff96ae
Alex Vandiver
alexmv at bestpractical.com
Mon Nov 5 13:30:17 EST 2012
The branch, 4.0/backup-docs has been updated
via eff96ae87be3d0e2aace526c90e98d9e19e35e83 (commit)
from 1187c51aee70f173f706279fa1ae9ab5eb280c65 (commit)
Summary of changes:
docs/backups.pod | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit eff96ae87be3d0e2aace526c90e98d9e19e35e83
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Mon Nov 5 13:30:03 2012 -0500
Make postgres example also output to a single file
diff --git a/docs/backups.pod b/docs/backups.pod
index c792538..6fce6bc 100644
--- a/docs/backups.pod
+++ b/docs/backups.pod
@@ -52,8 +52,9 @@ but lets you take backups without putting load on your production server.
=head3 PostgreSQL
- pg_dump rt4 --table=sessions --schema-only > rt-`date +%Y%M%d`-sessions.sql
- pg_dump rt4 --exclude-table=sessions | gzip > rt-`date +%Y%M%d`.sql.gz
+ ( pg_dump rt4 --table=sessions --schema-only; \
+ pg_dump rt4 --exclude-table=sessions ) \
+ | gzip > rt-`date +%Y%M%d`.sql.gz
=head2 FILESYSTEM
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list