| Commit message (Collapse) | Author | Age |
| | |
|
| |
|
|
|
|
|
|
|
|
| |
- Remove hardcoded HOME=/root from systemd service templates
- Only set HOME explicitly for system scope in setup.sh and update.sh
- This fixes rclone config lookup issue for user installations
- Update sed patterns to correctly replace environment variables
Resolves issue where user backups failed with rclone permission errors
looking for config in /root/.rclone.conf instead of ~/.config/rclone/rclone.conf
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
- Fix update.sh to properly replace service file placeholders
- Ensures 'make update' works correctly for upgrading installations
- Critical for users upgrading from broken weekly checks
|
| | |
| |
| |
| |
| |
| |
| | |
- Fix update_services() to use sed like setup.sh does
- Generate service files with correct ExecStart paths
- Add RESTIC_ENV_FILE environment variable during update
- This fixes the '/path/to/be/replaced' error in systemd services
|
| | |
| |
| |
| |
| |
| |
| | |
- Remove confusing 'upgrade' target that just did git pull + update
- Users can run 'git pull && make update' explicitly
- Follows Unix philosophy of explicit, single-purpose commands
- Update help text to reflect the change
|
| | |
| |
| |
| |
| |
| | |
- Add upgrade target that pulls latest changes before running update
- This matches the help documentation and user expectations
- Fixes issue where make upgrade reported 'Nothing to be done'
|
| | |
| |
| |
| |
| |
| |
| |
| | |
- Fix: Remove invalid --retry-lock flag from restic check (was failing all weekly checks)
- Improve: Switch to metadata-only weekly checks (VPS-friendly, ~50MB vs 500MB+ RAM)
- Add: Comprehensive manual check documentation with resource guidelines
- Add: Multi-machine check strategy for resource-constrained environments
- Improve: Brutalist README - concise and action-oriented
|
| |/
|
|
|
|
| |
- Properly set HOME environment variable based on scope (user/system)
- Ensure RESTIC_ENV_FILE is correctly added to service files
- Fixes issue where services had incorrect paths and env vars
|
| | |
|
| |
|
|
|
|
| |
- 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'
|
| | |
|
| |
|
|
|
|
| |
- Set backup timer to run at 1 AM with 3-hour random delay (1-4 AM window)
- Add 1-hour random delay to weekly check timer
- This prevents multiple devices from backing up simultaneously
|
| |
|
|
|
|
| |
The --retry-lock flag was added in restic 0.17.0, but Debian 12 ships
with restic 0.14.0. Removing these flags ensures compatibility with
older restic versions while still maintaining functionality.
|
| |
|
|
|
|
| |
The sed commands were using 'ExecStart=.*' which didn't match the exact
placeholder path '/path/to/be/replaced/restic_backup.sh'. Updated to use
the full path pattern for both backup and check services.
|
| |
|
|
|
| |
Added sudo before checking for /root/.restic_env in the config target's elif condition.
The previous commit only fixed the validate-config target, not the config target.
|
| |
|
|
|
|
|
| |
Add sudo before checking for /root/.restic_env in the config target.
Without sudo, the check runs as the regular user and can't see the
system scope environment file, causing make config to incorrectly
report 'No DRestic configuration found' when system scope is set up.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- Replace --lock-retry-after and --lock-stale-timeout with --retry-lock
- Fix shell script quoting issues (SC2086, SC2046)
- All tests passing: local, remote, lint, format
|
| |
|
|
|
|
| |
- Add update target to Makefile for convenience
- Update help text to include update command
- Add update to .PHONY declaration
|
| |
|
|
|
|
| |
- Keep both prune coordination (2-4 AM window) and rclone timeout (20m)
- Add lock retry settings to prune operation
- Remove merge conflict markers
|
| | |
|
| |
|
|
|
|
|
|
| |
- Add update.sh script for seamless upgrades
- Automatically detects user/system installations
- Backs up configurations before updating
- Migrates bandwidth limit from 1M to 2M
- Updates scripts and services safely
|
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
- Basic multi-device backup functionality
- Support for MEGA.nz remote storage
- Bug fixes for Makefile and backup script
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|