diff options
| author | Sam Scholten | 2025-10-22 14:12:20 +1000 |
|---|---|---|
| committer | Sam Scholten | 2025-10-22 15:32:14 +1000 |
| commit | eded676575e6ef6150235b71d34ec4612f1a7bfb (patch) | |
| tree | 3a82e1b91d3d6f09ec906d02c8367297a0751279 /setup.sh | |
| parent | 271b8d82b129b0818cf767e7c8245976f6422b50 (diff) | |
| download | drestic-2fb72807b129d27cfc926795e1cf00af6f611339.tar.gz drestic-2fb72807b129d27cfc926795e1cf00af6f611339.zip | |
- 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
Diffstat (limited to 'setup.sh')
| -rwxr-xr-x | setup.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
