From cc1df36e72bcb07f047d2a411fcc81a1637f87f8 Mon Sep 17 00:00:00 2001 From: Joerg Lehmann Date: Fri, 24 Jun 2022 16:56:41 +0200 Subject: [PATCH] do not backup docker volumes (are part of mailcow backups --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 72dec98..5c40fc7 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,6 @@ $ hcloud server set-rdns mail --hostname mail.nbit.ch $ IPV6="$(hcloud server ip mail -6)" $ hcloud server set-rdns mail --ip $IPV6 --hostname mail.nbit.ch ``` - DNS Eintraege erstellen: ```bash $ hcloud server ip mail @@ -209,7 +208,7 @@ Restic Script: # PATH=$PATH:/usr/local/bin export RESTIC_PASSWORD="$(hostname --short)7355" -restic backup --quiet --repo /backup-restic/restic-repo-$(hostname --short) /etc /var /opt /var/lib/docker/volumes /usr/local/bin /backup --exclude=/var/log +restic backup --quiet --repo /backup-restic/restic-repo-$(hostname --short) /etc /var /opt /usr/local/bin /backup --exclude=/var/log if [ $? -eq 0 ]; then restic forget --quiet --repo /backup-restic/restic-repo-$(hostname --short) --keep-daily 7 --keep-weekly 5 --keep-monthly 12 --keep-yearly 20 --prune