savetiddlers icon indicating copy to clipboard operation
savetiddlers copied to clipboard

backup options

Open buggyj opened this issue 7 years ago • 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.

buggyj avatar Nov 07 '17 06:11 buggyj

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}}

buggyj avatar Nov 07 '17 09:11 buggyj