bookwyrm-social/bookwyrm

Possible to restore a bookwyrm instance using a .sql backup?

Aperta

#3649 aperta il 25 lug 2025

 (2 commenti) (0 reazioni) (0 assegnatari)Python (326 fork)auto 404
help wantedquestion

Metriche repository

Star
 (2754 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Hi, I was running a bookwyrm instance that got accidentally deleted due to a bad server policy and all I've got is an .sql backup (just one, fortuitiously, from 22 July). There is no documentation yet on how to restore using the .sql so I hope it is okay to ask a couple questions here. Any help is appreciated.

  1. I don't have .env file. Does that render my .sql backup totally useless?
  2. Are user accounts and password hashes also included the .sql database? Querying my .sql backup it returns no rows for user accounts even though the instance had 20 or so active users.
  3. My understanding is I would not need to run a bw-dev migration because I am not initialising a new db but restoring using an existing one. Am I correct?
  4. Is the latest Bookwyrm version db schema compatible with the 0.7.5 one?

Many thanks!

Nightmare day...

Guida contributor