Vai al contenuto
onsuggest
Accedi
Articolo en

How to manually restore a dolt db from its git remote

Fonte: bjorn.now ·

You can manually clone a dolt database from its git remote when bd bootstrap or bd init won’t cooperate. bd dolt stop: stop the server in the git repo you’re restoring so you can operate on its database cd ~/.beads/shared-server/dolt: go to the shared dolt server (it’s .beads/dolt/beads otherwise, I think) rm -rf : remove the DB if it exists already dolt clone git+ssh://git@github.com/user/repo.git : clone it to your prefix cd - && bd ready: see if you can see the listing I don’t know why my local just refused with bd bootstrap but this allowed me to fix it manually.

Scorciatoie da tastiera

Scoperta precedente
←P
Scoperta successiva
→N
Mi piace
L
Non fa per me
X
Salva
S
Mostra questo aiuto
?
Chiudi
Esc

Le scorciatoie funzionano nella pagina delle scoperte.