Skip to content

备份不成功,提示如下 #830

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

Open
youyu opened this issue Apr 29, 2022 · 3 comments
Open

备份不成功,提示如下 #830

youyu opened this issue Apr 29, 2022 · 3 comments

Comments

@youyu
Copy link

youyu commented Apr 29, 2022

mysqldump: [Warning] Using a password on the command line interface can be insecure.
tar: 从成员名中删除开头的“/”

用官方bak.sh备份时,提示这个,糊了

@youyu
Copy link
Author

youyu commented Apr 29, 2022

后来用backup+.sh 备份,有提示但是可以备份成功。

还原后提示;
sudo bash /home/judge/src/install/restore+.sh
restore archive 2022-04-29-18-06-25.tar.gz
restore database
mysql: [Warning] Using a password on the command line interface can be insecure.
restore data directory
restore config files
adjustment judge config file
adjustment web config file
sed: -e 表达式 #1, 字符 43: “s”的未知选项↵
sed: -e 表达式 #1, 字符 43: “s”的未知选项↵
chown: “/home/judge/src/web/include/db_info.inc.php” 后缺少操作数
请尝试执行 "chown --help" 来获取更多信息。
chown: “/home/judge/src/web/upload” 后缺少操作数
请尝试执行 "chown --help" 来获取更多信息。

==================================
之后新系统就无法访问,一片白,不提示了

看了另一个备份issue,改了/web/include/db_info.ini.php 文件里的:
static $DB_PASS="root"; //数据库密码
这个密码改成,新系统安装结束后,留下的密码,就可以了访问了,暂时没有其他问题
这个应该要可以补充道文档里面

@youyu
Copy link
Author

youyu commented Apr 29, 2022

按照二楼方式,似乎可以备份还原成功了

@zhblue
Copy link
Owner

zhblue commented Apr 30, 2022

Warning只是个警告,没有什么问题

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