RSYNC服务

初始化服务器:必须要将时间同步

数据传送:

全量备份: scp是全量备份(小而多的文件打包然后使用scp传输)

​ -r:递归

​ -p:权限

在这里插入图片描述
全量备份:

增量备份:

差量备份:

详情请见个人博客:https://blog.csdn.net/qq_42508901/article/details/100833961

rsync:增量备份

-a:不跳过目录

-v:显示详细内容

-z:压缩传送

–delete:相当于rm,但是必须要有一个空文件作为参照

–bwlimit=100:限制带宽

DNS域名解析:

阿里:223.5.5.5 223.6.6.6

谷歌:8.8.8.8 8.8.4.4

114.114.114.114

关闭防火墙:

[root@localhost yum.repos.d]# systemctl stop firewalld

关闭selinux防火墙:

[root@localhost yum.repos.d]# setenforce 0
[root@localhost yum.repos.d]# geten
getenforce  getent
[root@localhost yum.repos.d]# getenforce
Permissive——————————————————>关闭
[root@localhost yum.repos.d]# setenforce 1
[root@localhost yum.repos.d]# getenforce
Enforcing————————————————>开启

永久关闭:在/etc/sysconfig/selinux	把enforcing改成disabled

对A—server服务端进行配置:</

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值