citadel/backup/service-backup@.timer
Nicolas Duhamel f82a913bdd Refactor: Centralize configuration and improve security
- Add centralized configuration system with backup.env
- Move configuration files to proper structure (config/ directory)
- Remove hardcoded paths and make system portable
- Fix security issue: remove password exposure in gen-conf.sh
- Add comprehensive documentation (README.md, CLAUDE.md)
- Create configuration template (backup.env.sample)
- Add .gitignore to protect sensitive files
- Update all scripts to use environment variables
- Implement systemd template variable substitution

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-23 21:13:11 +02:00

15 lines
351 B
SYSTEMD

[Unit]
Description=Daily Backup Timer for %i
Requires=service-backup@%i.service
[Timer]
# Run daily at configured time
OnCalendar=${DEFAULT_BACKUP_SCHEDULE}
# 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