summaryrefslogtreecommitdiff
path: root/tests/BaseTestCase.php
diff options
context:
space:
mode:
authorRobert Bruce Park <r@robru.ca>2013-11-13 00:01:17 -0800
committerRobert Bruce Park <r@robru.ca>2013-11-13 00:01:17 -0800
commitd425a05528718d4d788ca1bd0d33f1c54d4fedfe (patch)
tree1e7cdfd482777e003938852d81b0b1001195c295 /tests/BaseTestCase.php
parent9128fa2a6f1c198c9db4bf2845b852f799be011d (diff)
Initial implementation of Time Machine style backup pruning.
Within 24 hours, all backups are kept. Within 1 month, only the most recent backup for each day is kept. For all previous backups, only the most recent of each month is kept. This is not *quite* the same as Time Machine, but this implementation is a lot easier to do since it is based on string comparisons of the dates and doesn't require any "hard" date logic. Also this commit just 'echo's what will be deleted, and does not actually delete anything yet because I am still testing it.
Diffstat (limited to 'tests/BaseTestCase.php')
0 files changed, 0 insertions, 0 deletions