There are a lot of backup solution and options available, but most of them are for business and professional usage. If you need free and simple solution that works on any Linux distribution then consider reading this article. As you know DropBox offers 2 GB of free storage. If you refer your friends to Dropbox, you can earn up to 16 GB of additional space. This is more than enough to backup a WordPres site for example.

To setup simple backup solution that uses DropBox you need of three things:

  • DropBox account
  • curl
  • and script called dropbox_uploader.sh.

Next you need to install a cURL. cURL is a command line tool for transferring data using various protocols - FTP, FTPS, HTTP, HTTPS and many more. Another similar project is wget. Both are available on all major Linux distributions.

To install it on Debian

sudo apt-get install curl

After that you need to download and install DropBox Uploader. As name suggests Dropbox Uploader is a simple bash script which can be used to upload, download, delete, and do much more with Dropbox.

Follow the instructions on the DropBox Uploader page to setup connection to DropBox via command line.