This website requires JavaScript.
Explore
Help
Sign in
systems
/
infrastructure
Watch
1
Fork
You've already forked infrastructure
0
Code
Issues
1
Pull requests
22
Activity
Actions
299a25ded4
infrastructure
/
ansible
/
roles
/
restic
/
files
/
backrest-logrotate
9 lines
95 B
Text
Raw
Normal View
History
Unescape
Escape
Only try and rotate the log files Previously, this was also rotating the compressed logs, for some reason
2021-12-28 12:57:08 +00:00
/home/restic/log/*.log {
Keep just 2 weeks of backrest logs That's ample
2021-12-28 12:57:57 +00:00
daily
rotate 14
Use logrotate for backrest logging rather than nuking immediately Just in case something goes wrong with healthchecks
2021-06-27 10:58:01 +01:00
missingok
compress
nodateext
notifempty
}
Reference in a new issue
Copy permalink