migrate

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2021 License: MIT Imports: 4 Imported by: 0

README

migrate

迁移 eiblog 数据:

  • 博客版本相同,迁移存储后端,如mongodb -> sqlite
  • 博客版本升级,迁移数据格式,如v1 -> v2

配置请参考 app.yml:

from:
  version: v1
  driver: mongodb
  source: mongodb://127.0.0.1:27018
to:
  version: v2
  driver: mongodb
  source: mongodb://127.0.0.1:27017

Documentation

Overview

Package main provides ...

Directories

Path Synopsis
Package store provides ...
Package store provides ...
Package v1 provides ...
Package v1 provides ...
Package v2 provides ...
Package v2 provides ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL