#!/bin/sh

# DO NOT EDIT - This file is being maintained by Chef

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 sotm svn switch2osm trac wiki-board.osmfoundation.org wiki-dwg.osmfoundation.org wiki-wiki.openstreetmap.org
do
  /usr/local/bin/expire-backups --days=3 --weeks=3 --months=3 /store/backup $prefix
done

/usr/local/bin/expire-backups --weeks=5 /store/backup osm

/usr/local/bin/expire-backups --months=3 /store/backup nominatim

#!/bin/sh

# DO NOT EDIT - This file is being maintained by Chef

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 sotm svn switch2osm trac wiki-board.osmfoundation.org wiki-dwg.osmfoundation.org wiki-wiki.openstreetmap.org
do
  /usr/local/bin/expire-backups --days=3 --weeks=3 --months=3 /store/backup $prefix
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

Expire archived logs after 180 days
Expire archived logs after 180 days
