当前位置:首页 > 服务器系统 > Centos > 正文内容

Centos7 使用scp命令进行数据迁移

一二三6年前 (2020-11-27)Centos836
复制文件(本地>>远程):scp -P 33699 /etc/nginx/conf.d/default.conf root@10.88.1.23:/etc/nginx/conf.d
复制文件(远程>>本地):scp -P 33699 root@10.88.1.23:/etc/nginx/conf.d/default.conf /etc/nginx/conf.d/
复制目录(本地>>远程):scp -P 33699 -r /etc/nginx/conf.d/ root@10.88.1.23:/etc/nginx/
复制目录(远程>>本地):scp -P 33699 -r root@10.88.1.23:/etc/nginx/conf.d/  /etc/nginx/
扫描二维码至手机访问

扫描二维码推送至手机访问。

版权声明:本文由一二三博客发布,如需转载请注明出处。

分享给朋友:

相关文章

mysql(mariadb)数据库集群故障处理及数据导入导出

1、3台数据库的集群(版本为mariadb10.3.8),有一台服务器down,另外两台就无法工作了--- 脑裂了!: WSREP has not yet&n...

Centos7 mariadb 10.5集群式部署常见故障处理

Centos7 mariadb 10.5集群式部署常见故障处理

1、It may not be safe to bootstrap the cluster from this node. It was not the last one一、故障现象查看mysql错误...

Centos7 MariaDB Galera cluster初始化和启动报错两例

问题一:160613  0:43:36 [Note] WSREP: Read nil XID from storage engines, skipping position init1606...

Centos7 mariadb 10.5主主复制

1.主数据库(1)vim /etc/my.cnfport=3306server-id=129log-bin=mysql-binauto_increment_increment=2auto_increm...

Centos7 nginx配置负载均衡

编辑配置文件vim /etc/nginx/conf.d/default.confupstream web_backends_80 {   ip_hash;&n...

CentOS7修改计算机名

hostnamectl        //查看当前计算机名hostnamectl set-hostname  ...