MENU

正式后台常用命令(二)

April 9, 2019 • Read: 148 • 工作linux阅读设置

redis-dump password > /opt/redis_6378.json

scp root@172.31.11.199:/opt/redis_6378.json 
scp -r /opt/redis_6378.json root@172.31.21.74:/opt

172.31.11.199
172.31.21.74

scp root@172.31.11.199://opt/redis_6378.json /home/user

scp -r -i /opt/nuorui root@13.250.166.18:/opt/redis_6378.json /opt/

scp -r -i /opt/qianduan.pem root@13.250.166.18:/opt/redis_6378.json /opt/

scp -r -i /opt/qianduan.pem ubuntu@172.31.11.199:/opt/redis_6378.json /opt/

在老后台运行,将新后台文件拉取到老后台
scp -P 4312 -r -i /www/wwwroot/houtai.pem ubuntu@172.31.1.0:/var/www/gsso/ /www/wwwroot/

cd /var/www/nuoruishop/runtime/log/201803 && grep -rn "正在准备入库" product_form_27.log | grep -rn "NV600030775"
scp -r -i /project/conf/yisainuo-tan-mao.pem root@172.31.19.107:/project/tomcat7/webapps/ROOT /project/tomcat7/webapps/

兼总条贯 知至知终