Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mindoc运行目录拷贝到新电脑并初始化数据库后,如何恢复已有项目文件 #951

Closed
xtpyutg opened this issue Jun 26, 2024 · 4 comments

Comments

@xtpyutg
Copy link

xtpyutg commented Jun 26, 2024

请按照一下格式提交issue,谢谢!

  1. 你当前使用的是哪个版本的 MinDoc(godoc_linux_amd64 version)?
    MinDoc last version => v2.2-beta.1

  2. 你当前使用的是什么操作系统?
    Windows 10 专业版64位

  3. 你是如何操作的?
    mindoc运行目录拷贝到新电脑并初始化数据库

  4. 你期望得到什么结果?
    如何恢复已有项目文件

  5. 当前遇到的是什么结果?
    当前admin账号中“我的项目”只有“MinDoc演示项目”,“我的文章”页面也为空。

@gsw945
Copy link
Member

gsw945 commented Jul 5, 2024

用的什么数据库?

@gsw945
Copy link
Member

gsw945 commented Jul 5, 2024

如果是sqlite,整体目录打包,解压后,
看到你换了操作系统类型,只需要替换为同版本的可执行文件即可,如果是mysql,请确保conf/app.conf正确

@xtpyutg
Copy link
Author

xtpyutg commented Jul 5, 2024

是sqlite3,我使用导出导入功能进行恢复了,谢谢

@gsw945
Copy link
Member

gsw945 commented Jul 5, 2024

不客气

@gsw945 gsw945 closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants