- Automated backup system using Restic - Systemd timer integration for scheduled backups - Service management tools (start/stop/restore) - Multi-service support with template-based configuration - Backup and restore functionality with test/production modes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
15 lines
331 B
SYSTEMD
15 lines
331 B
SYSTEMD
[Unit]
|
|
Description=Daily Backup Timer for %i
|
|
Requires=service-backup@%i.service
|
|
|
|
[Timer]
|
|
# Run daily at 3:00 AM
|
|
OnCalendar=*-*-* 03:00:00
|
|
# If system was down during scheduled time, run on next boot
|
|
Persistent=true
|
|
# Add randomization to avoid conflicts with other services
|
|
RandomizedDelaySec=300
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|