Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A summary hint of rsync-related information' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A summary hint of rsync-related information
Authored by: Brontojoris on Jul 21, '03 07:51:21PM
I run the following script as a cron job, and it has worked really well for me. Note that I mount the Multimedia share first, also via a cron job, first. The share is mounted using an internet shortcut, as this as proven the most reliable.
#! /bin/sh
# Run a weekly backup of the my websites using Psync
echo "Syncronising all of my website folders with the Multimedia server"
echo "A log of file operations can be found at: /Library/Logs/Psync.log"
/usr/local/bin/psync -d -v /Users/joris/Sites 
/Volumes/Multimedia/Archive/websites/Weekly > /Library/Logs/PsyncWeekly.log 
-- Put command above on one line --
echo "Copying files complete"
echo "Remove Dreamweaver file locks"
chflags -R nouchg /Volumes/Multimedia/Archive/websites/Weekly/
echo "Sync complete."


[ Reply to This | # ]
A summary hint of rsync-related information
Authored by: whoadoggy on Jul 22, '03 05:27:46PM

If you don't mind could you also please include the command or script you are using to mount your network drive? I have been wanting to do this but not yet dug enough to find the answer. Also any comments on why the internet shortcut is most reliable? What else did you try?

Thanx,
whoadoggy



[ Reply to This | # ]
A summary hint of rsync-related information
Authored by: Brontojoris on Jul 22, '03 07:23:37PM
To make a shortcut type the following url into your web browser (I'm using Safari):

afp://username:password@10.10.10.10/VolumeName

Then drag the url to the desktop, rename the shortcut (I renamed it to: "Multimedia File Server") and file away somewhere. Then in my Crontab I call:

/usr/bin/open "/Users/joris/Library/Favorites/Quick Connect/Multimedia File Server"

[ Reply to This | # ]