From 9126d08d338282586cbbc8eaea266e6b4acce565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomislav=20Kopi=C4=87?= Date: Sat, 10 Feb 2024 13:23:52 +0100 Subject: [PATCH] Change default backup paths --- playbooks/install_borgbackup.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/install_borgbackup.yml b/playbooks/install_borgbackup.yml index 5b0891b..5beb4b1 100644 --- a/playbooks/install_borgbackup.yml +++ b/playbooks/install_borgbackup.yml @@ -5,8 +5,8 @@ borg_repo_path: "/var/backups/backup.borg/" borg_repo_encryption: "none" borg_script_install_path: "/opt/borgbackup.sh" - borg_backup_paths: "/" - borg_exclude_paths: "--exclude={{borg_repo_path}} --exclude=*.log --exclude=*.log.gz --exclude=/proc/ --exclude=/dev/ --exclude=/run/ --exclude=/sys/ --exclude=/tmp/" + borg_backup_paths: "/etc /var" + borg_exclude_paths: "--exclude={{borg_repo_path}} --exclude=*.log --exclude=*.log.gz" tasks: - name: "Install borg backup"