pilerBackup/etc/logrotate.d/pilerbackup

15 lines
399 B
Plaintext
Raw Normal View History

2019-07-26 01:15:29 -06:00
### Rotate backup log file
# location of log file (-l parameter of script file)
2019-07-30 02:26:07 -06:00
/path/to/pilerbackup.log {
2019-07-26 01:15:29 -06:00
# rotate log file weekly -- you could also use 'daily', 'monthly' or
# specify a size using 'size 100k', for example
weekly
# keep 4 weeks of old logs (4 files) and delete older ones
rotate 4
# compress old log files using gzip (default)
compress
}