Hi,
The scenario is as follows:
we have a Lacie 500gb ethernet hard drive with a lot of important material on it (text, pictures, logos, correspondence, all sorts really). So that we don’t lose it all if the drive fails we have another 500gb external, firewire hard drive connected to one of the machines on our network. Ideally, I’d like the mac to regularly mount the network drive, and sync its contents to the firewire drive.
I’ve copied the contents of the networked drive onto the firewire drive, and now I need to set up the syncing part. I set up a script to do just that, using rsync, and it starts working but then the machine becomes unresponsive after about 20 minutes, and has to be restarted. Currently the Lacie drive has about 250gb on it.
Here’s my script:
mount volume “afp://admin:admin@192.168.1.50/Share/”
delay 5
tell application “System Events”
keystroke return
end tell
delay 10
set original_folder to “Share”
set backup_location to “veloserver clone”
do shell script "/usr/bin/rsync -atE --delete " & quoted form of POSIX path of original_folder & space & quoted form of POSIX path of backup_location
Any ideas?
Cheers,
Kev.