diff options
| author | Sam Scholten | 2025-10-24 09:17:13 +1000 |
|---|---|---|
| committer | Sam Scholten | 2025-10-24 09:17:13 +1000 |
| commit | 025e2281697ec4a5655c389f012087835c165302 (patch) | |
| tree | c3e03680ffbd8cd25579cd8ddda057ac567ba6ae /Makefile | |
| parent | bbeb5907d4518a606086cae0aff063d1aca2a009 (diff) | |
| download | drestic-025e2281697ec4a5655c389f012087835c165302.tar.gz drestic-025e2281697ec4a5655c389f012087835c165302.zip | |
Add timer updates to update.sh and create upgrade make target
- Modified update.sh to also copy timer files (restic-backup.timer and restic-check.timer)
- Added 'upgrade' make target that reminds users to git pull first
- Updated help text to clarify difference between 'update' and 'upgrade'
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -.PHONY: all test-local format lint clean help test-remote test-remote-setup test-remote-run test-remote-verify test-remote-teardown setup-user setup-system backup-now backup-now-system check-now check-now-system status status-system snapshots snapshots-system recover uninstall-user uninstall-system update update-gotify update-gotify-user update-gotify-system validate-config logs logs-system config test-update-gotify +.PHONY: all test-local format lint clean help test-remote test-remote-setup test-remote-run test-remote-verify test-remote-teardown setup-user setup-system backup-now backup-now-system check-now check-now-system status status-system snapshots snapshots-system recover uninstall-user uninstall-system update upgrade update-gotify update-gotify-user update-gotify-system validate-config logs logs-system config test-update-gotify # Default target all: test-local @@ -494,7 +494,8 @@ help: @echo " uninstall-user : Uninstall user scope DRestic" @echo " uninstall-system : Uninstall system scope DRestic" @echo " recover : Show recovery instructions" - @echo " update : Update DRestic to latest version (auto-detects scope)" + @echo " update : Update DRestic scripts and services (auto-detects scope)" + @echo " upgrade : Full upgrade including timers (run 'git pull' first)" @echo " update-gotify : Update Gotify notification settings (auto-detects scope)" @echo " update-gotify-user : Update Gotify settings for user scope" @echo " update-gotify-system : Update Gotify settings for system scope" |
