change to custom format recommendation for pg_dump
This commit is contained in:
@@ -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 {} \;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user