…ional argument Moved export of DS_REPOSITORY_BACKUPS to after parsing of optional arguments to function properly when DS_REPOSITORY_PATH provided as optional argument. Modified -r optional argument to set DS_REPOSITORY_PATH variable to simply OPTARG rather than OPTARG/Backups/UNIQUE_ID. Added troubleshooting echo statement to print the Backups Repository as well.
Updated backups folder existence check to use DS_REPOSITORY_BACKUPS rather than using DS_REPOSITORY_PATH to check if Backups folder exists then to check again if Backups/UNIQUE_ID exists. Also allows script to function properly by checking for / creating these folders when using optional argument for DS_REPOSITORY_BACKUPS.
Initial Commit of the Backup/Restore scripts version 0.7.2 beta, Lion compatible. User records are backed up by copying /var/db/dslocal/nodes/Default/Users/username.plist file. Filevault support is removed for Lion. User passwords are stored within the user plist so we don't back up any separate files for password hashes. User account restores are done by copying the user record back into the dslocal node. Please Report Bugs to email@example.com!!
changed c) RMCache="1" to c) RMCache="1";;
…e. Testing new DS_INTERNAL_DRIVE variable command. Updated Read Me.
Change name of user plists and home backups to account for names with '.' in them Restore Script: Moved the restore of Keychain into filevault users restore. Better logging for skipping filevault keychain restores Changed way to check for user accounts - allows for accounts with '.' in them
…e for loop. Uncommented test variables. Easier to troubleshoot the script.
…oops and under getopts section. Could solve an issue...
…ult keychains when they dont exist on target. Added restore for local accounts with filevault within script. Added restore for mobile accounts with filevault using first boot scripts. Removed ditto and rsync backup functions
…extra plist created with backup tool name. If I need this, Ill use the same plist as the user details. Added AuthenticationAuthority and HomeDirectory to plist backup. Some dscl and PlistBuddy errors show when running scripts, this is normal. Added deleted users folder to exclude list.