From eded676575e6ef6150235b71d34ec4612f1a7bfb Mon Sep 17 00:00:00 2001 From: Sam Scholten Date: Wed, 22 Oct 2025 14:12:20 +1000 Subject: Release v1.1.0: Critical multi-device fixes for small VPS instances - Fix memory swap configuration (allow 1G swap) - Add prune coordination (2-4 AM window with jitter) - Add lock retry settings for robustness - Increase rclone bandwidth to 2M - Memory limits increased to 512M --- setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setup.sh') 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 -- cgit v1.2.3