Posted on 02-03-2015 01:20 PM
I am currently trying to figure out how to script a process, to create a backup of a user profile and restore it to a new system… The design of the application is as follows:
The Backup portion of the script allows:
So for example on the Backup FileSet script I will have as launch arguments, the username of the profile I want to backup, that way the script will know what to backup and will place it on the //NAS/Public/Backup/computernameenm.dmg for example
The restore script will then:
Do you guys have another suggestion how I can approach this? any links you can provide to examples would be great.
Posted on 02-03-2015 03:15 PM
To save a bit of time, I'd recommend taking a look at the scripts included with DeployStudio. They have a home folder backup / restore workflow step with a script behind it. You can dig into the package to take a look at the script.
I don't have any examples to hand I'm afraid but when we've done this in the past the script steps have typically been:
The rsync syntax would be something like:
rsync -uhzrlv --progress "/Users/username" "/Volumes/server/share/"" 2>> /Volumes/server/share/${USER}syncerrors