Create a backup set for each share. Follow this for each backup set
- Click Go > Connect to Server…
- Type in the server address and share
eg cifs://server/share - Authenticate if needed, save credentials in keychain
- Mounted volume should appear
- Download the following script
- You will need to change the following variables to match your configuration:
- BACKUP_SET_ID = “13XXXXXXXXXXXX”
- USER_HOME=”/Users/myhome”
- name = “/Volumes/share”
- Rename script to script.rb
- Make the script executable in terminal with the following command:
chmod +x script.rb - Open the backup software
- Create a new file backup set
- Tick the mounted volume
eg /Volumes/share - Go to “Command Line Tool” in backup set settings
- Add a Pre-Backup command with the following settings
- Name: check mount
- Working Directory: /[folder]/[path_to_script]
- Command: ruby script.rb
- Save the backup job