blog的文件迁移

因为头一次自己搭建博客服务器,对平台的选用并不清楚。知乎上误打误撞碰见了Ghost,也就用着试试看了。

事件起因

由于我的服务器本来部署在自己寝室的PC上,部分blog也提前写在了本地文件夹中,无奈一直找不到文件的存放位置。所以博客的迁移一直让我头疼。

迁移过程

整个迁移过程完全按照官方手册给的知道方法来——虽然官方手册藏得比较深。

官方手册地址:https://help.ghost.org/hc/en-us/articles/224112927-Import-Export-Data

具体步骤为:

  • 进入需要备份的服务器后台管理界面
  • 进入Labs
  • 选择导出成json文件
  • 进入需要导入的服务器的后台管理界面
  • 进入Labs,选择import
  • 可能在import的时候,选择(.所有文件),否则找不到json文件

另,附上Ghost的中文网址:http://www.ghostchina.com/

Donate
  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.

请我喝杯咖啡吧~

支付宝
微信