Koozali.org: home of the SME Server

SpiderOak for backup in the cloud

Offline holck

  • ****
  • 317
  • +1/-0
SpiderOak for backup in the cloud
« on: June 04, 2017, 10:26:23 PM »
I just want to report that it is quite easy to setup your SME server to do daily backups in the cloud:
  • Go to a workstation (Linux, Windows, Mac) and download the client program from https://spideroak.com/opendownload
  • Install and run the client program, and create a new user account, remembering your user name and password
  • Go to your SME server. Download and install the 32-bit or 64-bit Fedora rpm from the same website
  • Create a json-file, setup.json, similar to this:
    {
       "username": "my.user@myserver.dk",
       "password": "sdfsdfsdf",
       "device_name": "myserver"
    }
  • Setup your server as a new device:
    $ sudo SpiderOakONE --setup=setup.json
  • Remove the json-file: $ rm setup.json
  • Start adding directories to include in your backup:
    $ sudo SpiderOakONE --include-dir=/etc
    $ sudo SpiderOakONE --include-dir=/home
    ...
  • Perform the backup with a command like:
    $ sudo SpiderOakONE --batchmode
The backup command may of course be included in crontab and run as a daily job.
......