Expire archived logs after 180 days
authorTom Hughes <tom@compton.nu>
Mon, 8 Jul 2019 21:43:28 +0000 (22:43 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 8 Jul 2019 21:43:28 +0000 (22:43 +0100)
cookbooks/backup/templates/default/expire.cron.erb

index f40e4de..9f80b24 100644 (file)
@@ -10,3 +10,7 @@ done
 /usr/local/bin/expire-backups --weeks=5 /store/backup osm
 
 /usr/local/bin/expire-backups --months=3 /store/backup nominatim
+
+/usr/local/bin/expire-backups --days=180 /store/logs/planet.openstreetmap.org
+/usr/local/bin/expire-backups --days=180 /store/logs/tile.openstreetmap.org
+/usr/local/bin/expire-backups --days=180 /store/logs/www.openstreetmap.org