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 /Makefile | |
| 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 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -397,7 +397,7 @@ validate-config: echo "⚠ Excludes file missing (optional): ~/.config/restic/excludes"; \ fi; \ echo "Testing rclone connection..."; \ - if timeout 30 rclone ls backup_remote: >/dev/null 2>&1; then \ + if bash -c ". ~/.config/restic/env && timeout 60 rclone ls backup_remote:" >/dev/null 2>&1; then \ echo "✓ Rclone connection successful"; \ else \ echo "✗ Rclone connection failed"; \ @@ -421,7 +421,7 @@ validate-config: echo "⚠ Excludes file missing (optional): /etc/restic/excludes"; \ fi; \ echo "Testing rclone connection..."; \ - if timeout 30 rclone ls backup_remote: >/dev/null 2>&1; then \ + if sudo bash -c ". /root/.restic_env && timeout 60 rclone ls backup_remote:" >/dev/null 2>&1; then \ echo "✓ Rclone connection successful"; \ else \ echo "✗ Rclone connection failed"; \ |
