22092024-1

This commit is contained in:
fz0x1 2024-09-22 21:07:52 +02:00
parent bee114bf27
commit 23ca1cb45b
Signed by: fz0x1
GPG key ID: 6F81647BE1B459F4

View file

@ -4,7 +4,12 @@
dirs="Backup/Sensitive" dirs="Backup/Sensitive"
# Run backup # Run backup
echo "tarsnap start"
tarsnap -c \ tarsnap -c \
-f "sensetive-$(uname -n)-$(date +%Y-%m-%d_%H-%M-%S)" -C $HOME \ -f "sensetive-$(uname -n)-$(date +%Y-%m-%d_%H-%M-%S)" -C $HOME \
${dirs} 2>&1 ${dirs} 2>&1
echo "tarsnap finish"
echo "borg start"
borgmatic create --config ~/.borgmatic/sensitive.yaml
echo "borg finish"