FAQ | This is a LIVE service | Changelog

Commit 520764f0 authored by Dr Adam Thorn's avatar Dr Adam Thorn
Browse files

Set TASKNAME correctly in send-backup-to-server.sh

parent 63abf952
......@@ -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')
......@@ -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-)
......
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