急急急,求祖宗们帮忙
公司的服务器是使用lnmp一键安装的,我装扩展半天没装上去,我就想重新重装环境得了,在网上找教程删除,lnmp的安装包早不见了踪影,我就从新下载了1.5的安装包,从安装包中,找到了,uninstall.sh 命令,执行完成了。执行完了之后,我才想起来,我数据库没有备份,现在连服务器都登录不上去了,求祖宗们帮忙啊,数据真的很重要的:'(;有提示:
Stoping LNMPA...
./uninstall.sh: line 114: lnmp: command not found
./uninstall.sh: line 115: lnmp: command not found
Deleting iptables rules...
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
Removing nginx service at system startup...
Note: Forwarding request to 'systemctl disable nginx.service'.
Removed symlink /etc/systemd/system/multi-user.target.wants/nginx.service.
error reading information on service nginx: No such file or directory
Removing httpd service at system startup...
error reading information on service httpd: No such file or directory
error reading information on service httpd: No such file or directory
Removing mysql service at system startup...
error reading information on service mysql: No such file or directory
error reading information on service mysql: No such file or directory
Backup mysql databases directory to /root/databases_backup_20191101150107
Connection reset by 140.143.228.28 port 22
:'( :'(:'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( root下面 没有 /root/databases_backup_20191101150107 这个文件 用WinSCP登录,看看/usr/local/mysql/var/ 路径下面有没有,有的话,直接文件夹全部下载就可以了 1lx570 发表于 2019-11-4 15:08
用WinSCP登录,看看/usr/local/mysql/var/ 路径下面有没有,有的话,直接文件夹全部下载就可以了 ...
这个目录都没有了:'( 卸载都会自动保存数据库目录,你发的上面最后都有明确提示的备份目录位置
远程连不上的话建议通过vps的vnc、console之类的进行连接查看,有可能是iptables被删除了 licess 发表于 2019-11-4 17:42
卸载都会自动保存数据库目录,你发的上面最后都有明确提示的备份目录位置
远程连不上的话建议通过vps的vnc ...
有提示 有这个/root/databases_backup_20191101150107文件,可是我登录上去的时候没有这个文件
licess 发表于 2019-11-4 17:42
卸载都会自动保存数据库目录,你发的上面最后都有明确提示的备份目录位置
远程连不上的话建议通过vps的vnc ...
如果是被iptables删除了删除了,如何恢复呢 medivh 发表于 2019-11-4 18:28
如果是被iptables删除了删除了,如何恢复呢
整台服务器有备份的吧。现在一般云服务器都有快照备份,联系主机商看看吧 medivh 发表于 2019-11-4 18:28
如果是被iptables删除了删除了,如何恢复呢
https://www.vpser.net 上搜索 iptables 重新添加iptables规则或直接停掉iptables
页:
[1]