aboutsummaryrefslogtreecommitdiff
path: root/files/logrotate.d/backup
diff options
context:
space:
mode:
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
+}