{"push_id":1364699752,"size":1,"distinct_size":1,"ref":"refs/heads/kohasuomi3.16","head":"2f75c857c685c427dcdbcb62176c445d91a19c23","before":"2a9e5515f2b08545391038648fa73e7ebdb35ee5","commits":[{"sha":"2f75c857c685c427dcdbcb62176c445d91a19c23","author":{"name":"Pasi Korkalo","email":"fd3f909b358a96a4e22da1689dafa537d9f60690@pk.dy.fi"},"message":"KD#1474 - Universal rotating database dump script\n\nA script to create automatically \"rotating\" database dumps with given\nintervals (from cron). The script will automatically discard expired\ndumps when creating a new one, preserving a defined minimum amount\nof older dumps.\n\nThe example configs included will define hourly dumps that will be\npreserved until the next day (or at least one previous dump), and\ndaily dumps that will be preserved for one week (or at least 7\nolder dumps). The dumps will be compressed with gzip.\n\nEdit and place the configurationfiles in a directory of your choice\n(/etc/dumpnrotate?) and then setup your cron for example like this:\n\n*/60 8-23 * * *   /path/to/dumpnrotate.sh /path/to/configs/hourlydump.conf >> /var/log/databasename_hourly.log 2>&1\n00 00 * * *   /path/to/dumpnrotate.sh /path/to/configs/dailydump.conf >> /var/log/databasename_daily.log 2>&1","distinct":true,"url":"https://api.github.com/repos/KohaSuomi/kohasuomi/commits/2f75c857c685c427dcdbcb62176c445d91a19c23"}]}
{"actor":{"display_login":"janPasi"}}