I just finished a small part of the backup system. I should pay more attention to the designs...
The part I have finished
1. Extract the file list I need to backup and write them to a file. This is in fact the walk on the given directory.
2. Compare this filelist with the previous one, and identify the changes (updates, removal and newly-added). Copy these changes to the directory named with the current date, and write them to the change-logs.
The Part I need to work on tomorrow:
1. Copy these files to the stdsun, zip them if needed.
2. Write the recovery code for the files based on the logs.
This program is complex.
Tomorrow I need to learn the debugging of Python first, and write something about the research.
Saturday, July 18, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.