snibox / snibox

Self-hosted snippet manager

Home Page:https://snibox.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is migration possible?

ziriuz84 opened this issue · comments

I want to install snibox on my machine. Is it possible to migrate the entire installation to another machine, snippets included?

Since it stores all the snippets in a database, should be perfectly possible.

This worked for me

  • Download sqlite db file from old container
  • Create "new" container with same credentials as main container (not recreate same name)
  • Join "new" container and create new user with same credentials as old container
  • With joined session on "new" container with empty sqlite db, overwrite sqlite db from old container to "new" container
  • Update browser with joined session of "new" container

Enjoy :)

I updated old container to latest image of snibox, I don't know it this was process relevant.