Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export zip file with all the things! #99

Closed
janpaul123 opened this issue May 6, 2017 · 3 comments
Closed

Export zip file with all the things! #99

janpaul123 opened this issue May 6, 2017 · 3 comments

Comments

@janpaul123
Copy link

To have a backup if my laptop dies. 💻 🔥

@Treora
Copy link
Collaborator

Treora commented May 26, 2017

Valid concern indeed. A reasonbly quick solution would be to dump and load the database contents. Syncing data to a server is already on the road map, and would provide another solution.

By the way, rather than dumping/syncing the database as one opaque object, I intend the data to be written to and read from a more interoperable format, to not make it exclusive to this application. At least the stored pages and notes could be html files. Metadata could perhaps be stored as linked data, I am thinking of building on LDP.

@bnvk
Copy link
Contributor

bnvk commented Feb 13, 2018

According to @Treora the code at HEAD has a command that does not dump the whole database (metadata etc), but does download all snapshots which is accessible by running in Overview JS console:

downloadAllPages().

Alternatively, as a crude backup of the extensions raw data, you can copy the following in Firefox

cp -r ~/.mozilla/firefox/xxxxxxx.default/storage/default/moz-extension+++000000-0000-0000-0000-000000/* backup/path/memex

@Treora
Copy link
Collaborator

Treora commented May 20, 2019

In v0.3.2, I finally added a button to store all your snapshots. Not as a zip, but in a folder (currently named 'Webmemex snapshots dump yyyy-mm-dd') inside your downloads folder, which seems equivalent (or better) in my view. The button just invokes the downloadAllPages function mentioned above.

Closing this issue, although much could be improved still. For example, there is no way to download only the snapshots made since the last time you ran such an export, there is no way to name the folder, clicking the button twice could be smarter, etc.

Rather than improving this export however, I am considering the idea to use the downloads folder as the primary/only storage location of snapshots, which could make an export feature altogether unnecessary. See issue #138.

@Treora Treora closed this as completed May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants