bookwyrm-social/bookwyrm
Possible to restore a bookwyrm instance using a .sql backup?
开放
#3,649 创建于 2025年7月25日
help wantedquestion
仓库指标
- 星标
- (2,754 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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.
- I don't have .env file. Does that render my .sql backup totally useless?
- 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.
- 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?
- Is the latest Bookwyrm version db schema compatible with the 0.7.5 one?
Many thanks!
Nightmare day...