Friday, August 21, 2015

Setting up Automator to back up Mac on startup to Google Drive

I've written about using Automator to back up a Mac here.  I've had trouble getting that to work, so I now do this.

Open Automator
Create a new Application

In your Google Drive, create a folder called Backup
In the Backup folder, create a folder Desktop, Documents, etc for each folder you want to back up.

Create these processes:

Get Specified Finder Items
(choose all the folders in the Backup folder - not the Backup folder itself)
Move Folder Items to Trash
Get Specified Finder Items
(choose Documents)
Get Folder Contents
Copy Finder Items
(copy to the Documents backup folder location and choose replace existing files)
Get Specified Finder Items
(choose Desktop and click options and choose Ignore this action's input)
Get Folder Contents
Copy Finder Items
(copy to the Desktop backup folder location and choose replace existing files)

Repeat these steps for each folder you want to back up

Get Specified Finder Items
(choose FolderToBackup and click options and choose Ignore this action's input)
Get Folder Contents
Copy Finder Items
(copy to the FolderToBackup backup folder location and choose replace existing files)

---

Save the Automator application to the Applications folder
Go to System Preferences -> Users & Groups
Click Login Items
Add the application you created in Login Items





No comments: