summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2021-10-09 12:01:31 +0200
committerxengineering <me@xengineering.eu>2021-10-09 12:01:31 +0200
commit4d984ac7be037031fe27137dd5b09cf978e6ac00 (patch)
tree8dad7389567f66d6ce114e82e7cf1933c3049fb3 /config
parentb862141bba2232fb05b79f7db7850952856f8324 (diff)
downloadxbackup-4d984ac7be037031fe27137dd5b09cf978e6ac00.tar
xbackup-4d984ac7be037031fe27137dd5b09cf978e6ac00.tar.zst
xbackup-4d984ac7be037031fe27137dd5b09cf978e6ac00.zip
Implement 'prune' Section in Configuration File
Diffstat (limited to 'config')
-rw-r--r--config/debug.json7
-rw-r--r--config/default.json7
2 files changed, 14 insertions, 0 deletions
diff --git a/config/debug.json b/config/debug.json
index ec85cd9..8f68241 100644
--- a/config/debug.json
+++ b/config/debug.json
@@ -12,5 +12,12 @@
"sys/*",
"tmp/*"
]
+ },
+ "prune":{
+ "keep-hourly":0,
+ "keep-daily":7,
+ "keep-weekly":4,
+ "keep-monthly":6,
+ "keep-yearly":0
}
}
diff --git a/config/default.json b/config/default.json
index e08d253..5285bf4 100644
--- a/config/default.json
+++ b/config/default.json
@@ -12,5 +12,12 @@
"sys/*",
"tmp/*"
]
+ },
+ "prune":{
+ "keep-hourly":0,
+ "keep-daily":7,
+ "keep-weekly":4,
+ "keep-monthly":6,
+ "keep-yearly":0
}
}