]> git.openstreetmap.org Git - chef.git/blob - cookbooks/db/templates/default/cron.erb
Reduce WAL archive length.
[chef.git] / cookbooks / db / templates / default / cron.erb
1 #!/bin/sh
2
3 # Cleanup archive directory - keep 3 weeks of WALs
4 find -L /store/postgresql/archive -mtime +21 -print0 | xargs -0r rm