Creating hard drive backup images efficiently

Posted by Arrieta on Super User See other posts from Super User or by Arrieta
Published on 2010-01-22T23:48:10Z Indexed on 2010/04/03 4:03 UTC
Read the original article Hit count: 371

Filed under:
|
|
|
|

We are in the process of pruning our directories to recuperate some disk space.

The 'algorithm' for the pruning/backup process consists of a list of directories and, for each one of them, a set of rules, e.g. 'compress *.bin', 'move *.blah', 'delete *.crap', 'leave *.important'; these rules change from directory to directory but are well known. The compressed and moved files are stored in a temporary file system, burned onto a blue ray, tested within the blue ray, and, finally, deleted from their original locations.

I am doing this in Python (basically a walk statement with a dictionary with the rules for each extension in each folder).

Do you recommend a better methodology for pruning file systems? How do you do it?

We run on Linux.

© Super User or respective owner

Related posts about pruning

Related posts about cleaning