需要的机器

角色 外网ip 内网ip 主机名
web eth0:10.0.0.7 eth1:172.16.1.7 web01
nfs eth0:10.0.0.31 eth1:172.16.1.31 nfs
rsync eth0:10.0.0.41 eth1:172.16.1.41 backup

**客户端:web nfs **
服务端:backup
客户端需求
1.客户端提前准备存放的备份的目录,目录规则如下:/backup/nfs_172.16.1.31_2018-09-02
2.客户端在本地打包备份(系统配置文件、应用配置等)拷贝至/backup/nfs_172.16.1.31_2018-09-02
3.客户端最后将备份的数据进行推送至备份服务器
4.客户端服务器本地保留最近7天的数据, 避免浪费磁盘空间
4.客户端每天凌晨1点定时执行该脚本

客户端:
[[email protected] ~]# mkdir /scripts
[[email protected] ~]# cat /scripts/clinet_push_data_server.sh
Day31综合架构rsync备份
Day31综合架构rsync备份
服务端
Day31综合架构rsync备份
Day31综合架构rsync备份

相关文章:

  • 2021-12-10
  • 2021-12-10
  • 2021-09-04
  • 2021-09-21
  • 2021-08-25
  • 2022-01-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-09
  • 2021-12-10
  • 2021-05-18
  • 2021-11-17
  • 2021-06-22
  • 2021-12-29
相关资源
相似解决方案