FAQ | This is a LIVE service | Changelog

Commit 9d0bc09f authored by Dr Adam Thorn's avatar Dr Adam Thorn
Browse files

Update help message for postgres targets to encourage usage of canonical script


e.g. RT 211460, 211465. spri-musuem-rt-2025 had been set up with an adhoc script
which was not properly tidying up after itself due to bailing early on a "set -e"
parent 6e536df5
......@@ -3,6 +3,6 @@ Priority: optional
Section: otherosfs
Maintainer: Chemistry COs <support@ch.cam.ac.uk>
Architecture: all
Version: 0.9-ch85
Version: 0.9-ch86
Depends: zfs-dkms, postgresql-13 | postgresql-9.5 | postgresql-9.4 , liblockfile-simple-perl, libdbi-perl, libjson-perl, libzfs-perl-chem, libnet-openssh-perl, libdbd-pg-perl, mbuffer, rsync, nfs-kernel-server, pv, libwww-curl-perl
Description: a backup system using ZFS (repository 'backup-scheduler')
......@@ -150,8 +150,15 @@ while ! [ -z $1 ] ; do
backupdir $FQDN $TGT/pgdumps /var/empty 43200 60480
echo "Now set up /etc/chem-zfs-backup-server/zfs-rsync.d/${FQDN}_.var.empty to"
echo "run your postgres backup task as the PRE command, and you probably also want"
echo "to change the prepare script in /etc/chem-zfs-backup-server/zfs-rsync.d/${FQDN}_. too."
echo "run your postgres backup task via e.g.:"
echo " PRE=/usr/lib/chem-zfs-backup-server/pg-dump-script"
echo "You should check/etc/chem-zfs-backup-server/zfs-rsync.d/${FQDN}_. too , e.g."
echo " RSYNCARGS=\"... --exclude=/var/lib/postgresql"
echo " PRE=/etc/chem-zfs-backup-server/zfs-rsync.d/prepare-ignore-mysql-and-postgres"
backupdir $FQDN $TGT/mysql-files /var/lib/mysql-files
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment