Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated readme and version

  • Loading branch information...
commit 625de8fa71f2e1e2994358a6ff843bbec2f03bc5 1 parent 1357d45
robweber authored
6 README.txt
@@ -9,6 +9,8 @@ In the addon settings you can define a remote path for the destination of your x
9 9
10 10 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.
11 11
  12 +You can also define non-XBMC directories on your device. See "Custom Directories" for more information on how these are handled.
  13 +
12 14 Scheduling:
13 15
14 16 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.
@@ -19,6 +21,10 @@ Running the Program:
19 21
20 22 Running the program will allow you to select Backup or Restore as a running mode. Selecting Backup will push files to your remote store using the addon settings you defined. Selecting Restore will give you a list of restore points currently in your remote destination. Selecting one will pull the files matching your selection criteria from the restore point to your local XBMC folders.
21 23
  24 +Custom Directories:
  25 +
  26 +You can define custom directories that are not a part of your XBMC folder structure for backup. These create a custom_1_hash folder in your backup destination. The hash for these folders is very important. During a restore if the hash of the file path in Custom 1 does not match the hash in the restore folder it will not move the files. This is to prevent files from being restored to the wrong location in the event you change file paths in the addon settings. A dialog box will let you know if file paths do not match up.
  27 +
22 28
23 29 Using Dropbox:
24 30
2  addon.xml
... ... @@ -1,6 +1,6 @@
1 1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 2 <addon id="script.xbmcbackup"
3   - name="XBMC Backup" version="0.3.4" provider-name="robweber">
  3 + name="XBMC Backup" version="0.3.5" provider-name="robweber">
4 4 <requires>
5 5 <import addon="xbmc.python" version="2.1.0"/>
6 6 </requires>
4 changelog.txt
... ... @@ -1,3 +1,7 @@
  1 +Version 0.3.5
  2 +
  3 +test of custom directories - only 1 at the moment
  4 +
1 5 Version 0.3.4
2 6
3 7 added ability to take parameters via RunScript() or JSONRPC.Addons.ExecuteAddon()
3  resources/lib/backup.py
@@ -241,6 +241,9 @@ def run(self,mode=-1,runSilent=False):
241 241 self.xbmc_vfs.set_root(fileGroup['dest'])
242 242 self.backupFiles(fileGroup['files'],self.remote_vfs,self.xbmc_vfs)
243 243
  244 + #call update addons to refresh everything
  245 + xbmc.executebuiltin('UpdateLocalAddons')
  246 +
244 247 if(utils.getSetting('run_silent') == 'false' and not runSilent):
245 248 self.progressBar.close()
246 249

0 comments on commit 625de8f

Please sign in to comment.
Something went wrong with that request. Please try again.