Backup Addon for Kodi
Go to file
2012-11-06 11:38:01 -06:00
resources added "restore" to Dropbox functions 2012-11-06 11:37:39 -06:00
addon.xml Updated version and README.txt information 2012-11-06 11:38:01 -06:00
changelog.txt Updated version and README.txt information 2012-11-06 11:38:01 -06:00
default.py created utils library to avoid duplicate functions 2012-09-05 14:28:43 -05:00
icon.png added french language translations and new icon - Thanks to mikebzh44 2012-08-01 14:49:40 -05:00
LICENSE.txt first commit - kind of works 2012-04-17 16:03:45 -05:00
README.txt Updated version and README.txt information 2012-11-06 11:38:01 -06:00
scheduler.py Need to pass "true" to force update after backup is run 2012-10-22 14:19:03 -05:00

XBMC Backup

About: 
I've had to recover my database, thumbnails, and source configuration enough times that I just wanted a quick easy way to back them up. That is what this addon is meant to do. 

Usage: 

In the addon settings you can define a remote path for the destination of your xbmc files. Each backup will create a folder named in a YYYYMMDD format so you can create multiple backups. You can keep a set number of backups by setting the integer value of the Backups to Keep setting greater than 0. 

On the Backup Selection page you can select which items from your user profile folder will be sent to the backup location. By default all are turned on except the Addon Data directory. 

To restore your data simply switch the Mode from "backup" to "restore" and type the date of the backup you wish to restore from . The files will be copied from your remote directory to the local path. The file selection criteria will be used for the restore as well. 

Scheduling: 

You can also schedule backups to be completed on a set interval via the scheduling area. When it is time for the backup to run it will be executed in the background. 

Using Dropbox:

Using Dropbox as a storage target adds a few steps the first time you wish to run a backup. XBMC Backup needs to have permission to access your Dropbox account. When you see the prompt regarding the Dropbox URL Authorization DO NOT click OK. Check your XBMC log file for a line from "script.xbmcbackup" containing the authorization URL. Cut/paste this into a browser and click Allow. Once this is done you can click "OK" in XBMC and proceed as normal. XBMC Backup will cache the authorization code so you only have to do this once, or if you revoke the Dropbox permissions. 

What this Addon Will Not Do:

This is not meant as an XBMC file sync solution. If you have multiple frontends you want to keep in sync this addon may work in a "poor man's" sort of way but it is not intended for that. 

This backup will not check the backup destination and delete files that do not match. It is best to only do one backup per day so that each folder is correct.