当前位置:网站首页>增量实时灾备笔记
增量实时灾备笔记
2022-07-29 02:54:00 【ELIAUK``】
ssh-keygen -t rsa这时.ssh目录下会生成私钥和公钥的键值对id_rsa,id_rsa.pub
ssh-copy-id -i /root/.ssh/id_rsa.pub [email protected]企业文件目录增量实时同步 删除不同步
wget -O/etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo
yum -y install inotify-tools rsyncshell脚本如下:
#!/bin/bash
path1=/srv/salt/base/ldy
ip=192.168.30.13
/usr/bin/inotifywait -mrq --timefmt %y/%m'%d %H:/%M' --format '%T %w%f' -emodify,create,attrib $path1 | while read file;
do
rsync -avz /srv/salt/base/ldy [email protected]:/root
echo "${file} was rsynced" >> /var/log/rsync.log 2>&1边栏推荐
- Thirty years of MPEG audio coding
- Alibaba Sentinel - 工作流程及原理解析
- Algorithm --- paint the house (kotlin)
- Data truncation and estimation
- [Luogu p8352] independent set of small n (DP set DP) (property)
- Mysql复合查询(重要)
- Zone --- line segment tree lazy marking board sub problem
- Verilog: blocking assignment and non blocking assignment
- Multi table (Association) query of SQL query data
- Flink kernel source code (VII) Flink SQL submission process
猜你喜欢

第09章_性能分析工具的使用

Interpreting AI robots' pet raising and leading fashion trends

My approval function of conference OA project

What is SOA (Service Oriented Architecture)?

01-SDRAM:初始化模块的代码

MySQL compound query (important)

算法---粉刷房子(Kotlin)

OSPF experiment

Verilog's time system tasks - $time, $stime, $realtime

Li Shuo, vice president of Baidu: it's a good thing that China's labor costs rise with the support of digital technology
随机推荐
盘点国内外项目协同管理软件:SaaS和定制化成趋势
Look at robot education and lead the mainstream of quality education
codeforces每日5题(均1500)-第二十五天
[opencv] use OpenCV to call mobile camera
从零开始实现lmax-Disruptor队列(六)Disruptor 解决伪共享、消费者优雅停止实现原理解析
[Luogu p8352] independent set of small n (DP set DP) (property)
Verilog's time system tasks - $time, $stime, $realtime
Seed random seed
工科男生:20岁未满,平凡但不平庸
Jinshan cloud returns to Hong Kong for listing: Hong Kong stock rush of Chinese to B cloud manufacturers
场景分类任务可用数据集(部分)
C陷阱与缺陷 第3章 语义“陷阱” 3.4 避免“举偶法”
Multithreading realizes concurrent reading and execution of multi use case files +selenium grid4 realizes distributed deployment of test framework
vasp计算任务报错:M_divide:can not subdivide 8 nodes by 6
会议OA之反馈功能
Plug in --- line segment sloth marking board + simple mathematical reasoning
Verilog的时间系统任务----$time、$stime、$realtime
[QNX Hypervisor 2.2用户手册]9.11 ram(更新中)
C陷阱与缺陷 第2章 语法“陷阱” 2.6 “悬挂”else引发的问题
MySQL - the difference between count (field), count (primary key), count (1), count (*)