From e37710faf3c36a6a95e82567138526d75d1e1943 Mon Sep 17 00:00:00 2001 From: Chriz Date: Tue, 6 Feb 2024 13:52:16 +0100 Subject: [PATCH] Update pbs-zfs-daily.sh Minor Changes --- pbs-zfs-daily.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pbs-zfs-daily.sh b/pbs-zfs-daily.sh index 2ba3a31..fd1cae0 100644 --- a/pbs-zfs-daily.sh +++ b/pbs-zfs-daily.sh @@ -1,5 +1,7 @@ #!/bin/bash +apt update + #Requirements for Myiagi ultimate Backup ## Proxmox Source Host with only daily Autosnapshots, Proxmox Destination Host, Destination Public SSH Key on Source authorized-keys File, autostarting Proxmox Backupserver running on this PVE, zfs set com.sun:auto-snapshots=false on $ZFSTRGT, instaled checkzfs from https://github.com/bashclub/check-zfs-replication, check_mk Agent running on PVE @@ -38,6 +40,8 @@ MAINTDAY=0 #Disable ZFS Auto Snapshot on Destination +# ssh root@$SOURCEHOST apt install zfs-auto-snapshot #uncomment if you did not use our Postinstaller from github.com/bashclub and modify /etc/cron.xxx zfs-auto-snapshot Scripts, especially monthly rec. 12 to 3 Month + zfs set com.sun:auto-snapshot=false $ZFSTRGT #Mark Source for full Backup with Zsync