summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.sh b/setup.sh
index 06af46b..7da38a2 100755
--- a/setup.sh
+++ b/setup.sh
@@ -234,6 +234,8 @@ configure_rclone "$MEGA_EMAIL" "$MEGA_TEMP_PASS_FILE"
rm -f "$MEGA_TEMP_PASS_FILE"
# Define the restic repository path, making it unique per host for new installations.
+# This prevents multi-device conflicts and allows each device to manage its own snapshots.
+# If you want to share a single repository across devices, remove the ${HOSTNAME_CLEANED} suffix.
# This is backward-compatible; existing installations will have the old path in their env file.
HOSTNAME_CLEANED=$(hostname | tr -cd '[:alnum:]_.-')
RESTIC_REPO="rclone:backup_remote:/drestic_backups_${HOSTNAME_CLEANED}" # Path is now unique per host
@@ -307,7 +309,7 @@ RCLONE_CHECKERS=1
RCLONE_TIMEOUT=7200s
RCLONE_CONTIMEOUT=600s
RCLONE_LOW_LEVEL_RETRIES=20
-RCLONE_BWLIMIT=1M
+RCLONE_BWLIMIT=2M
# Rclone memory optimization settings
RCLONE_BUFFER_SIZE=4M
RCLONE_USE_MMAP=false