12 |
rodolico |
1 |
v0.9
|
|
|
2 |
|
13 |
rodolico |
3 |
This is called archiveDirectories because it was designed to archive some projects at a client site. Their projects were in
|
12 |
rodolico |
4 |
a directory tree (one tree per project) and, when they were done, they moved it into a transfer area where an automated
|
|
|
5 |
process moved the project (directory tree) to another server.
|
|
|
6 |
|
|
|
7 |
Validation was required, so the copy to the second machine was done with rsync (which verifies checksums), then a separate
|
|
|
8 |
checksum was created for a directory tree and compared to one returned by the remote server. At that point, the original project
|
|
|
9 |
was moved into a holding area (basically a trashcan) which could be manually or auto deleted.
|
|
|
10 |
|
17 |
rodolico |
11 |
NOTE: when first run, it does a checksum of the directories it finds. It then waits a few minutes and does the same thing, comparing
|
|
|
12 |
to the one previously calculated. This is an attempt to ensure we don't start the transfer before the copy to the directory is
|
|
|
13 |
complete
|