How to Create an Automator Script to Back Up to Dropbox

Ron Burch figured out how to create an Automator Backup script for me so that I could just click a sidebar button and back up my Feeder files to Dropbox. Here is how he created that Backup Script.

Open Automator

media_1294529667014.png

Launch the Automator from your Applications Folder

Choose the Workflow Template

media_1294529690738.png

Click Workflow, then Choose.

The Action Pane

media_1294529708988.png

Select Files and Folders

Get Specified Finder Items

media_1294529747596.png

First we have to tell Automator what files we want to back up, so click on Get Specified Finder Items and then drag it to the pane on the right. It should look like this image when you’re done.

Add Finder Items

media_1294529848246.png

We need to tell Automator where the files normally live that we want to back up to Dropbox so click on the Add… button

Navigate to the File Location

media_1294530109123.png

Select your file that you want to have backed up. Note that you can add several files or folders to be copied. Click Add. Repeat this process if your files are in different locations.

Copy Finder Items

media_1294529764117.png

Next we need to tell Automator what to do with those items. In our example we want the specified files copied to another location. Note that we are copying not moving these files. Again using Files & Folders, select Copy Finder Items and drag to the right pane as the next step.

Select Destination

media_1294529796753.png

We have to tell Automator where to put the files when the files are copied, so click on the pulldown next to To: and choose Other.

Navigate to the Destination Folder

media_1294529823657.png

In my example I want to copy files to my Feeder folder inside my backup folder inside Dropbox.

Replace Existing Files

media_1294529839888.png

Under Copy Finder Items, make sure you select Replacing existing files so that you won’t have to click Replace every time you run your script.

Test Run

media_1294530176932.png

You should now see your Finder items, the place they’re going to be copied to and replace existing files selected. Click Run to test out your Automator Script.

Successful Test Run

media_1294529979815.png

If your test run is successful you should see green check marks next to each step. If you don’t get happy check marks, go back through the steps to see where you might have made a mistake.

Save Workflow

media_1294536405271.png

First we’re going to save your Workflow so if you ever want to edit it you can just reopen it in Automator. Make SURE that Workflow is chosen as the File Format.

Next Save As

media_1294536435936.png

We’re going to save again, but this time choose Save As…

Save Application

media_1294536894574.png

This time chose Application from the pulldown and save to your Applications folder.

Add Script to Finder Sidebar

media_1294537173988.png

The last step is optional, but I really like to have my script right in my Finder Sidebar so that I can click on it any old time to run it. Now whenever you’ve been working on your file a bit and you want a quick backup to Dropbox, just click your script once in the sidebar and badabing badaboom you’re done!

5 thoughts on “How to Create an Automator Script to Back Up to Dropbox

  1. […] How to Create an Automator Script to Back Up to Dropbox […]

  2. Anonymous - June 6, 2017

    Very nice! works great. First time I’ve used Automator. Thanks

  3. Imre - July 31, 2017

    Thank you very much for this amazing tutorial! I need to backup important files to an external hard drive and with this tutorial it was very easy to do, even without ever using Automator before (I didnt even know about it…).

  4. Ulf Nilsson - August 5, 2017

    Perfect! Thank you very much…

  5. Anonymous - September 18, 2017

    thanks

Leave a Reply

Your email address will not be published.

Scroll to top