hamstar / Braincase

A personal knowledge base system for expansion of the mind in a virtual space.
4 stars 1 forks source link

Restore System should detect existing backups #257

Closed bhavicp closed 12 years ago

bhavicp commented 12 years ago

More complex restore system in web interface (Automatically detect backups in multiple locations)

hamstar commented 12 years ago

I made an interface that will detect existing backups and allow the user to revert to them. At the moment it is not fully functional. Here's how it works:

Everytime a backup runs, a record of the date and source (e.g. dropbox - maybe source is the wrong word) is saved into /home/users/memories.list which is a json list of all the backups the user has.

[
  { "date": "2012.09.10.00.00.00", "source": "Dropbox" },
  { "date": "2012.09.10.00.00.00", "source": "Dropbox" },
  { "date": "2012.09.10.00.00.00", "source": "Dropbox" },
  { "date": "2012.09.10.00.00.00", "source": "Dropbox" }
]

This list is read by the autobackup plugin and populates a table for the user. The user would then switch between the different backups while not losing their current changes.

I still need to:

hamstar commented 12 years ago

Added a script that finds all available memories in 0074ec39 and its tested and working.