Avatar of entourage714
entourage714
 asked on

Creating Backup script to run nightly to mirror folders

I need help with how to setup a mac workstation to backup folders from one drive to the next with a script and schedule it to run nightly.
Mac OS X

Avatar of undefined
Last Comment
entourage714

8/22/2022 - Mon
strung

entourage714

ASKER
So i got the script to work. but it when the schedule task runs, it prompts for a password. i then have to manually type in the password to start the sync. here is my script.

time sudo rsync -a -e ssh "/Volumes/BurlyHD/*HD_Dustbin" /Volumes/MirrorBackup/DailyBackup/*Huge_HD_Dustbin --progress --updates
strung

Here is a discussion of this problem:  http://forums.macosxhints.com/showthread.php?t=42593
Your help has saved me hundreds of hours of internet surfing.
fblack61
strung

ASKER CERTIFIED SOLUTION
entourage714

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.