diff --git a/ROOT/DEBIAN/control b/ROOT/DEBIAN/control index 4017a72aa178f26d07f87acbfef2fa58fbde1745..e950729dfdc6ae4ee1162f6f3f55d5fece999cfe 100644 --- a/ROOT/DEBIAN/control +++ b/ROOT/DEBIAN/control @@ -3,6 +3,6 @@ Priority: optional Section: otherosfs Maintainer: Chemistry COs <support@ch.cam.ac.uk> Architecture: all -Version: 0.9-ch90 +Version: 0.9-ch91 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') diff --git a/ROOT/usr/lib/chem-zfs-backup-server/send-backup-to-server.sh b/ROOT/usr/lib/chem-zfs-backup-server/send-backup-to-server.sh index 8ddd99b92e42f2e4145f12a296a6f3271263faed..bea575baabd92013d2952b228f26442b63cec86a 100755 --- a/ROOT/usr/lib/chem-zfs-backup-server/send-backup-to-server.sh +++ b/ROOT/usr/lib/chem-zfs-backup-server/send-backup-to-server.sh @@ -143,6 +143,8 @@ for TASK_ID in $TASK_IDS; do SOURCEDIR=$(dosql_local "select directory_source from zfs_rsync_detail where backup_task_id='$TASK_ID'") SOFT=$(dosql_local "select timeout_soft from backup_task where backup_task_id='$TASK_ID'") HARD=$(dosql_local "select timeout_hard from backup_task where backup_task_id='$TASK_ID'") + + TASKNAME=$(dosql_local "select backup_task_name from backup_task where backup_task_id='$TASK_ID'") CURRENT_ZFS_TARGET=$(dosql_local "select zfs_target from backup_task where backup_task_id='$TASK_ID'") NEW_ZFS_TARGET=${ZPOOL_TARGET}/$(echo $CURRENT_ZFS_TARGET | cut -d '/' -f 2-)