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

UOJ 系统升级思路 #23

Open
cebarobot opened this issue Jan 5, 2019 · 2 comments
Open

UOJ 系统升级思路 #23

cebarobot opened this issue Jan 5, 2019 · 2 comments
Labels

Comments

@cebarobot
Copy link
Member

研究了一下UOJ的升级思路,主要考虑通过导出数据升级。

  1. 导出 .config.php,并找出其中需要保留的salt,导入新系统的.config.php中。
  2. 导出 /var/svn/problem/文件夹和/var/uoj_data/文件夹,原封不动的再导回到新系统中。
  3. 导出原系统数据库,导入新系统。

正在尝试,如果可行的话看看能不能写成脚本。

@cebarobot
Copy link
Member Author

哦嚯,完蛋。
评测失效,好像评测机在数据库里有登记?
svn同步也失效,原因不明。

@earringyyr
Copy link
Contributor

这个方案是可行的,但是judger_info里面的main_judger的password必须要保留下来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants