]> git.openstreetmap.org Git - chef.git/blob - cookbooks/backup/templates/default/expire.cron.erb
Preload flush.so when running osmosis
[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 git lists munin osm-blog osmf-crm osmf-ledgersmb wiki-wiki.osmfoundation.org osqa otrs sotm svn switch2osm trac wiki-board.osmfoundation.org wiki-dwg.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