hustoj
hustoj copied to clipboard
备份不成功,提示如下
mysqldump: [Warning] Using a password on the command line interface can be insecure. tar: 从成员名中删除开头的“/”
用官方bak.sh备份时,提示这个,糊了
后来用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"; //数据库密码 这个密码改成,新系统安装结束后,留下的密码,就可以了访问了,暂时没有其他问题 这个应该要可以补充道文档里面
按照二楼方式,似乎可以备份还原成功了
Warning只是个警告,没有什么问题