Register / Login | Desktop view |
Gary K. Griffey wrote:Greetings James...
1) A new QRecall archive is created at site "A" that includes one or more of these virtual disks. Even with the best compression and highest shifted quanta options...this archive could easily reach 100 GB's in size.
2) This archive is then copied to an external drive...that is physically relocated to site "B".
Now, the problem statement. When the archive at site "A" is subsequently updated with a recapture operation of the virtual disks...I need a way to "refresh" site B's copy of the archive...preferably via a network connection....just the delta data would be transmitted, of course...then the archive at site "B" would somehow be "patched", for lack of a better term, and thus be a mirror of site "A"'s archive.
I have used many diff/patch utilities in the past to mimic this functionality...but they were all geared toward single binary files...not a package file/database, as QRecall uses.
Gary K. Griffey wrote:I will take a another look at rsync. I have tested with it before...but never had much luck getting it to perform block changes only...possibly, my options settings were incorrect.
#!/bin/bash
# Mountain Lion: run caffeinate in the background so the system doesn't sleep
caffeinate &
# Download updates to the daily backup on Red King to the local drive
server='username@my.server.com'
backups='/Volumes/Backups'
archive='Teacup.quanta'
echo "$(date): Downloading ${archive} from ${server}"
rsync --recursive --delete --times --verbose "${server}:${backups}/${archive}" '/Volumes/Local Backups/Server'
echo ""
archive='Important Stuff.quanta'
echo "$(date): Uploading ${archive} to ${server}"
rsync --recursive --delete --times --verbose "/Volumes/Local Backups/${archive}" "${server}:${backups}"
echo ""
echo "$(date): Synchronization complete"
# kill the caffeinate process; we're done now
kill %1; sleep 1
echo "==========================================================="
0 3 * * * /Users/james/bin/dailyarchivesync.sh >> '/Volumes/Local Backups/Server/rsync.log'
The redirection lets me maintain a log of all upload/download activity for later review.
Johannes wrote:Would it be possible to tell a QRecall Action to capture to two Archives?
James Bucanek wrote:Johannes wrote:Would it be possible to tell a QRecall Action to capture to two Archives?
There are a number of different ways of doing this. In it's simplest form, an action would act on multiple archives.
But the only benefit would be to reduce the number of actions you have to maintain. That's not a horrific burden