Skip to content

Commit 7f87c77

Browse files
author
buildplan
committed
directories to the critical restore warning
1 parent b7717cc commit 7f87c77

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

restic-backup.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ RESTIC_CACHE_DIR="/var/cache/restic-backup"
1818
# Each full path should be a separate, quoted element inside the parentheses.
1919
BACKUP_SOURCES=("/home/user_files" "/home/user/my docs")
2020

21+
# --- Safety ---
22+
# Add extra space-separated directories to the critical restore warning list.
23+
# The script already protects core system paths like /etc, /usr, /var.
24+
# Use this to add custom paths like /opt/my-app or /srv/database.
25+
ADDITIONAL_CRITICAL_DIRS=""
26+
2127
# --- Backup Options ---
2228
# Backup tag to identify snapshots
2329
BACKUP_TAG="daily-$(hostname)"

0 commit comments

Comments
 (0)