Bug #212

Pigging out on files

Added by John Wimbish about 3 years ago.

Status:Closed Start:05/07/2009
Priority:Normal Due date:05/07/2009
Assigned to:John Wimbish % Done:

100%

Category:Windows Spent time: -
Target version:1.1.x Estimated time:3.00 hours

Description

The system for backing up to another device has a mechanism to delete older files, so that the device does not fill up. Thus there are daily backups for two weeks, then weekly backups, then monthly. The idea is that daily is not needed once months have passed.

In 1.0 I have just been saving all of the daily versions of the files. With the Mercurial revision, the repository gives us this, so daily saves are no longer necessary. (In fact, I had to remove the dates from the file names so that the repository would even work.)

The one remaining thing was that I also have a ".Backup" folder in which I place yet another set of backups. I like redundancy. Anyway, I needed to apply the CleanUpOlderFiles method to this folder. It involved generalizing the original method, and updating the tests.

Thus now we have good coverage for backup, but don't fill up the devices with files.

Also available in: Atom PDF