citadel/backup/service-backup@.timer
Nicolas Duhamel 75a1e66ed2 Initial commit: Add quantumrick backup system
- 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>
2025-06-23 17:05:19 +02:00

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