Scriptable Backups with Arq

I’ve been using Arq for my backups for several months now and have regular backups being pushed to both Amazon Cloud Drive and AWS. A big part of Arq’s appeal is it’s flexibility, configurability and the wide array of backup destinations it supports. In short, it allows you to own and control your backups.

In addition to being a wonderfully designed app, Arq ships with a handy command line utility that lets you pause, resume and otherwise control your backups using simple commands named for the app. In order to use these commands, however, you need to include the executable in your shell’s path variable.

To accomplish this, I symlinked the Arq executable in to usr/local/bin. If /usr/local/bin isn’t in your path, you can add it by adding the following to your .bashrc, .bash_profile or what have you:

export PATH=$PATH:/usr/local/bin

Next, symlink the Arq executable:

sudo ln -s /Applications/ /usr/local/bin/Arq

Next, open up a new shell and try the following:

Arq pause 60
Arq resume

Now you can easily control your backups from your CLI of choice or even script them from apps like Alfred or Control Plane (context sensitive backups anyone?).