当前位置:网站首页>Incremental real-time disaster recovery notes
Incremental real-time disaster recovery notes
2022-07-29 03:06:00 【ELIAUK``】
ssh-keygen -t rsaAt this time .ssh The key value pairs of private key and public key will be generated under the directory id_rsa,id_rsa.pub
ssh-copy-id -i /root/.ssh/id_rsa.pub [email protected]Enterprise file directory incremental real-time synchronization Delete out of sync
wget -O/etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo
yum -y install inotify-tools rsyncshell The script is as follows :
#!/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边栏推荐
- sqlilabs less-32~less-33
- [Luogu p8352] independent set of small n (DP set DP) (property)
- OSPF experiment
- 【FreeSwitch开发实践】media bug获取通话语音流
- VIM common commands
- Look at robot education and lead the mainstream of quality education
- C traps and defects Chapter 3 semantic "traps" 3.7 evaluation order
- Shell programming specifications and variables
- [freeswitch development practice] unimrcp compilation and installation
- C语言小项目 -- 通讯录(静态版+动态版+文件版)
猜你喜欢

Mongodb index (3)

cuda-gdb提示:/tmp/tmpxft_***.cudafe1.stub.c: No such file or directory.

2022-07-28 顾宇佳 学习笔记

C语言程序设计 | 交换二进制数奇偶位(宏实现)

Redis配置缓存过期监听事件触发

Feedback function of conference OA

会议OA之反馈功能

2. Nodejs -- path (\dirname, \filname), URL URL, querystring module, mime module, various paths (relative paths), web page loading (interview questions *)
![[freeswitch development practice] media bug obtains call voice flow](/img/14/9a359403606c312b30733d4a015fa5.png)
[freeswitch development practice] media bug obtains call voice flow

R language error: compilation failed for package '****‘
随机推荐
Verilog's time system tasks - $time, $stime, $realtime
MYSQL入门与进阶(十一)
3D高级渲染器:Artlantis studio 2021.2中文版
SOA(面向服务架构)是什么?
Detailed steps for installing MySQL 8.0 under Linux
Look at robot education and lead the mainstream of quality education
Interpreting AI robots' pet raising and leading fashion trends
Pytest environment deployment + use case execution management + use case parameterization
Engineering boy: under 20 years old, ordinary but not mediocre
kubernetes-1.24.x 特性
原理知识用得上
[QNX Hypervisor 2.2用户手册]9.11 ram(更新中)
Verilog的时间系统任务----$time、$stime、$realtime
Summary of common hooks
工科男生:20岁未满,平凡但不平庸
生产部署zabbix5.0笔记
C traps and defects Chapter 3 semantic "traps" 3.8 operators &, |, and!
Digital image processing Chapter 10 - image segmentation
Linux下安装MySQL8.0的详细步骤
会议OA之反馈功能