snippet-box icon indicating copy to clipboard operation
snippet-box copied to clipboard

Feature Request: Export Snippets

Open nsmathew opened this issue 3 years ago • 6 comments

It would be good to have a feature to be able to export the snippets with metadata in any widely used format like markdown/json etc. The snippet scope could be based the search filters or an option to export all the snippets.

nsmathew avatar Nov 08 '21 03:11 nsmathew

this would be a big +

raviwarrier avatar Nov 19 '21 11:11 raviwarrier

support this

zDEFz avatar Aug 01 '22 07:08 zDEFz

In combination with an import option, that would also be a nice backup functionality.

superfunk2000 avatar Aug 15 '22 13:08 superfunk2000

In combination with an import option, that would also be a nice backup functionality.

You don't really need it though, as you can just copy over the database file which you create with the initial launch.

zDEFz avatar Aug 15 '22 13:08 zDEFz

Can you further elaborate on what to copy over? A backup option is a must

aindriu80 avatar Jul 01 '23 08:07 aindriu80

Can you further elaborate on what to copy over? A backup option is a must

You use Docker? docker run -d --name=snippet-box -p 127.0.0.1:5000:5000 -v /home/bluetail/snippet-box/data:/app/data --restart unless-stopped imawall/snippet-box:latest

notice where it saves the data, thats where your database is that you have to copy over your new location. However, if you havent executed it like this, you somehow have to copy out the database of the docker container.

zDEFz avatar Jul 01 '23 13:07 zDEFz