]> git.openstreetmap.org Git - chef.git/blob - cookbooks/backup/templates/default/expire.cron.erb
Merge branch 'patch-2' of https://github.com/Tigerfell/chef into pr257
[chef.git] / cookbooks / backup / templates / default / expire.cron.erb
1 #!/bin/sh
2
3 # DO NOT EDIT - This file is being maintained by Chef
4
5 for prefix in chef-server chef-repository chef-git forum git lists munin osm-blog osm-donate osmf-crm osmf-ledgersmb wiki-wiki.osmfoundation.org osqa otrs prometheus sotm svn switch2osm trac wiki-board.osmfoundation.org wiki-dwg.osmfoundation.org wiki-mwg.osmfoundation.org wiki-wiki.openstreetmap.org
6 do
7   /usr/local/bin/expire-backups --days=3 --weeks=3 --months=3 /store/backup $prefix
8 done
9
10 /usr/local/bin/expire-backups --weeks=5 /store/backup osm
11
12 /usr/local/bin/expire-backups --months=3 /store/backup nominatim
13
14 /usr/local/bin/expire-backups --days=180 /store/logs/planet.openstreetmap.org
15 /usr/local/bin/expire-backups --days=180 /store/logs/tile.openstreetmap.org
16 /usr/local/bin/expire-backups --days=180 /store/logs/www.openstreetmap.org