Open nsmathew opened 3 years ago
this would be a big +
support this
In combination with an import option, that would also be a nice backup functionality.
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.
Can you further elaborate on what to copy over? A backup option is a must
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.
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.