FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit bad7fd41 authored by Dr. Frank Lee's avatar Dr. Frank Lee
Browse files

Reinstate per-machine SSH config on the preparation script

parent 59d01a57
No related branches found
No related tags found
No related merge requests found
Pipeline #531533 failed
......@@ -7,7 +7,14 @@ TFILE=$(mktemp)
trap "rm -f ${TFILE}" exit
set -e
set -xv
ssh $HN /usr/local/lib/chem-rsync-backup-client/prepare >${TFILE}
if [ -n "$SSHCONFIGFILE" ] ; then
SSH="ssh -F $SSHCONFIGFILE -o ConnectTimeout=10"
SCP="scp -F $SSHCONFIGFILE"
else
SSH="ssh"
SCP="scp"
fi
$SSH $HN /usr/local/lib/chem-rsync-backup-client/prepare >${TFILE}
if ! cmp ${TFILE} /etc/chem-zfs-backup-server/zfs-rsync.d/$HN/exclude ; then
cp ${TFILE} /etc/chem-zfs-backup-server/zfs-rsync.d/$HN/exclude
fi
chem-zfs-backup-server (1.0.3) foval jammy noble; urgency=low
* Reinstate ability to have a per-machine SSH config
-- Frank Lee <rl201@cam.ac.uk> Fri, 24 May 2024 15:50:42 +0100
chem-zfs-backup-server (1.0.2) focal jammy noble; urgency=medium
* Add -q to psql calls
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment