diff options
| author | Sam Scholten | 2025-09-12 14:54:03 +1000 |
|---|---|---|
| committer | Sam Scholten | 2025-10-22 15:32:07 +1000 |
| commit | 271b8d82b129b0818cf767e7c8245976f6422b50 (patch) | |
| tree | c8c428e260488f16a8c228217e4bedff1456cac6 /restic_backup.sh | |
| parent | 4f45a2c4ed34454677b493d9cfb5fe91af2b6cee (diff) | |
| download | drestic-271b8d82b129b0818cf767e7c8245976f6422b50.tar.gz drestic-271b8d82b129b0818cf767e7c8245976f6422b50.zip | |
- Basic multi-device backup functionality
- Support for MEGA.nz remote storage
- Bug fixes for Makefile and backup script
Diffstat (limited to 'restic_backup.sh')
| -rwxr-xr-x | restic_backup.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/restic_backup.sh b/restic_backup.sh index 2ace329..831d066 100755 --- a/restic_backup.sh +++ b/restic_backup.sh @@ -36,6 +36,7 @@ restic backup \ --files-from "${CONFIG_DIR}/paths" \ --exclude-file "${CONFIG_DIR}/excludes" \ --password-file "${RESTIC_PASSWORD_FILE}" \ + --option rclone.timeout=20m \ --tag daily || { echo "Error: Restic backup failed." >&2 notify "Restic Backup ($(whoami)@$(hostname))" "Backup phase failed!" 8 @@ -51,6 +52,7 @@ restic forget \ --keep-weekly 4 \ --keep-monthly 6 \ --keep-yearly 6 \ + --option rclone.timeout=20m \ --prune || { echo "Error: Restic forget/prune failed." >&2 notify "Restic Backup ($(whoami)@$(hostname))" "Prune phase failed!" 8 |
