Skip to content

Instantly share code, notes, and snippets.

@nicinabox
Created February 25, 2014 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicinabox/9213299 to your computer and use it in GitHub Desktop.
Save nicinabox/9213299 to your computer and use it in GitHub Desktop.
Backup configs on unraid VMs

API

$ configs backup
=> Backing up sabnzbd
=> Backing up sickbeard
...

$ configs restore
=> Restoring up sabnzbd
=> Restoring up sickbeard
...

$ configs restore sabnzbd
=> Restoring up sabnzbd

Config

Default config lists lots of possible services so there's good coverage ootb. Only found services will be backed up.

{
  "services": {
    "sabnzbd": '/path/to/sabnzbd',
    "sickbeard": '/path/to/sickbeard'
  },
  "backup_dir": "~/.configs"
}

Structure

.configs
  sabnzbd
    settings.ini
  sickbeard
    settings.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment