Files
tilbudgivern/infra/logrotate.conf
alexpolo1 9d1b1917a7 Add comprehensive database backup setup and scripts
- Created DATABASE_BACKUP_SETUP.md for detailed backup instructions
- Implemented backup-databases.sh for automated database backups
- Added logrotate configuration for managing backup logs
- Developed setup scripts for user-specific backup configurations
- Included error handling and logging in backup processes
- Established cron job setup for automated backups
- Provided examples and troubleshooting tips in documentation
2025-11-16 21:12:29 +00:00

14 lines
690 B
Plaintext

# Logrotate configuration for Database Backups
# This configuration is for the tilbudgivern database backup logs
/mnt/HC_Volume_103713257/tilbudgivern/logs/backups/backup.log {
daily # Rotate daily
rotate 30 # Keep 30 days of logs
compress # Compress rotated logs
delaycompress # Delay compression to next rotation
missingok # Don't error if log file is missing
notifempty # Don't rotate if empty
create 0640 alex alex # Create new log with these permissions
sharedscripts # Run scripts only once
}