change to custom format recommendation for pg_dump

This commit is contained in:
Oliver Gorwits
2015-02-18 11:25:33 +00:00
parent 8ea3e0c32f
commit 761737a21a
2 changed files with 3 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ We recommend you backup the Netdisco database regularly. You could put the
following commands into a shell script and call it nightly from C<cron>:
DATE=`date +%Y%m%d`
/usr/bin/pg_dump -F p --create -f /path/to/backups/netdisco-pgsql-$DATE.dump netdisco
/usr/bin/pg_dump -F c --create -f /path/to/backups/netdisco-pgsql-$DATE.dump netdisco
gzip -9f /path/to/backups/netdisco-pgsql-$DATE.dump
/usr/bin/find /path/to/backups/ -type f -ctime +30 -exec rm {} \;

View File

@@ -63,7 +63,7 @@ This release will I<once again> remove from the database spurious Node
entries in the web interface. We advise that you back up the database prior to
upgrade:
/usr/bin/pg_dump -F p --create -f netdisco-pgsql.dump netdisco
/usr/bin/pg_dump -F c --create -f netdisco-pgsql.dump netdisco
=head2 General Notices
@@ -137,7 +137,7 @@ This release will remove from the database spurious Node (workstation,
printer, etc) entries on vlan 0, which were causing dupliate entries in the
web interface. We advise that you back up the database prior to upgrade:
/usr/bin/pg_dump -F p --create -f netdisco-pgsql.dump netdisco
/usr/bin/pg_dump -F c --create -f netdisco-pgsql.dump netdisco
=head2 General Notices