From 86279e653d2178f0b93dec412dc1055e8e6fdfc5 Mon Sep 17 00:00:00 2001
From: Catherine Pitt <cen1001@cam.ac.uk>
Date: Mon, 18 Jan 2021 16:19:16 +0000
Subject: [PATCH] Add missing template file for directory backups

---
 ROOT/DEBIAN/control                                    |  2 +-
 .../zfs-rsync.d/template_.directory                    | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
 create mode 100644 ROOT/etc/chem-zfs-backup-server/zfs-rsync.d/template_.directory

diff --git a/ROOT/DEBIAN/control b/ROOT/DEBIAN/control
index 131df33..e845dc8 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-ch73
+Version: 0.9-ch74
 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/etc/chem-zfs-backup-server/zfs-rsync.d/template_.directory b/ROOT/etc/chem-zfs-backup-server/zfs-rsync.d/template_.directory
new file mode 100644
index 0000000..a3bc368
--- /dev/null
+++ b/ROOT/etc/chem-zfs-backup-server/zfs-rsync.d/template_.directory
@@ -0,0 +1,10 @@
+# Settings for the ZFS-Rsync backup of an unconfigured machine
+
+# Extra settings for rsync
+RSYNCARGS=""
+# Preparation script
+PRE=/bin/true
+# Post-run script
+POST=
+# SSHUSER may be set
+SSHUSER=
-- 
GitLab