Ikke kopier /.zfs

This commit is contained in:
rot
2023-09-05 23:43:10 +00:00
parent fa959d5fc9
commit 07c0e38c4c

View File

@@ -16,7 +16,7 @@
#
echo "PVV; hjemmelaget backupscript (2017.03.16 \$Revision: 1.11 $)"
echo "PVV; hjemmelaget backupscript (2017.03.16 \$Revision: 1.12 $)"
echo
echo $(date)
@@ -79,7 +79,7 @@ echo "Starter backup..."
#export RSYNC_RSH="ssh -c arcfour -v"
export RSYNC_RSH="ssh -v"
rsync="/usr/local/bin/rsync"
rsync_flags="--archive --hard-links --delete --numeric-ids --stats --inplace --relative"
rsync_flags="--archive --hard-links --delete --numeric-ids --stats --inplace --relative --exclude=/.zfs/"
logdir="/backupz/log"
# Gjør selve overføringen.