buggyj/savetiddlers

backup options

Opened this issue · 1 comments

Support for various backup schemes, for instance as mentioned in #3.
Maybe presented as a set of tabs. Different schemes could have different paths for the root backup dir.

The storage will need to reorganized - the current scheme is

{backup:false,periodchoice:"day",period:[],backupdir:"backupdir",backedup:{}}

With the storage api each key can be retrived separately - so the current keys are
backup,periodchoice,period,backupdir,backedup

we could have
backup - enables backup
choices - array of user selections (which backup schemes to use)
with each possible choices having keys:

  • option[choice]: - {backupdir:pathstring ,key1: , key2:, etc}

eg assume current scheme is option 1
backup:boolean,
choices:boolean array,
option[1]:{periodchoice:periodstring,period:datesArray,backupdir:backupdirstring,backedup:{tiddlywikispaths}}