summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSam Scholten2025-09-12 14:54:03 +1000
committerSam Scholten2025-10-22 15:32:07 +1000
commit271b8d82b129b0818cf767e7c8245976f6422b50 (patch)
treec8c428e260488f16a8c228217e4bedff1456cac6 /Makefile
parent4f45a2c4ed34454677b493d9cfb5fe91af2b6cee (diff)
downloaddrestic-271b8d82b129b0818cf767e7c8245976f6422b50.tar.gz
drestic-271b8d82b129b0818cf767e7c8245976f6422b50.zip
Release v1.0.0: Initial stable releasev1.0.0v1.0
- 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--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e6d4f5e..0dc88b6 100644
--- a/Makefile
+++ b/Makefile
@@ -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"; \