Subversion Repositories sysadmin_scripts

Rev

Rev 13 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

v0.9

This is called archiveDirectories because it was designed to archive some projects at a client site. Their projects were in
a directory tree (one tree per project) and, when they were done, they moved it into a transfer area where an automated
process moved the project (directory tree) to another server.

Validation was required, so the copy to the second machine was done with rsync (which verifies checksums), then a separate
checksum was created for a directory tree and compared to one returned by the remote server. At that point, the original project
was moved into a holding area (basically a trashcan) which could be manually or auto deleted.

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
to the one previously calculated. This is an attempt to ensure we don't start the transfer before the copy to the directory is
complete