aboutsummaryrefslogtreecommitdiff
path: root/files/logrotate.d/backup
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-17 17:49:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-17 17:49:11 -0300
commitb93dc21e850e1914a7377378604acf9ca8a14713 (patch)
tree276f29cc770459d070deaea3d176030988188ffd /files/logrotate.d/backup
parent4e54b77b0daf99148811119ffd7842ea509ed88d (diff)
downloadpuppet-backup-b93dc21e850e1914a7377378604acf9ca8a14713.tar.gz
puppet-backup-b93dc21e850e1914a7377378604acf9ca8a14713.tar.bz2
Rsync backup log files
Diffstat (limited to 'files/logrotate.d/backup')
-rw-r--r--files/logrotate.d/backup6
1 files changed, 6 insertions, 0 deletions
diff --git a/files/logrotate.d/backup b/files/logrotate.d/backup
new file mode 100644
index 0000000..4bdd64f
--- /dev/null
+++ b/files/logrotate.d/backup
@@ -0,0 +1,6 @@
+/var/log/backup/*.log {
+ rotate 6
+ monthly
+ compress
+ missingok
+}