今天 服务器重启了一下,发现 服务器的 ghost 博客 运行不起来了
ghost@0.6.3 忘记备份了 看见升级了 想新建一个 可以前的文章 都没了 也运行不起来了,想找回原来文章的数据, 如何找回呢
node index.js
ERROR: Cannot find module
'/home/wwwroot/blog.zanjs.com/node_modules/sqlite3/
lib/binding/node-v46-linux-x64/node_sqlite3.node
高洛峰2017-04-17 13:22:59
I don’t have a way to restore it, but one thing I have to remind you is that you need to back up your data regularly. Especially the database file of sqlite3. First of all, the file is not large under normal circumstances and it is easy to back up. Secondly, all your articles are in it. If you don’t back it up, it will be tragic~
大家讲道理2017-04-17 13:22:59
The content directory stores data. If this is still in the data, there will be no problem
I haven’t upgraded yet, so I can’t help much. Please read the official upgrade tutorial
天蓬老师2017-04-17 13:22:59
sqllite3 crashed. Try to install it as 1L said. If you want to restore the data segment, find the source file of sqllite and use a third-party tool to open and copy.