--include=PATTERN don't exclude files matching PATTERN--include-from=FILE read include patterns from FILE--files-from=FILE read list of source-file names from FILE--from0, -0 all *-from/filter files are delimited by 0s--old-args disable the modern arg-protection idiom--protect-args, -s...
read only=falselist=falsehosts allow=47.95.119.205,172.25.1.0/24# 配置登录权限,可以多个IP网段用逗号隔开 #hosts deny=0.0.0.0/32auth users=rsync_backup #配置匿名服务登录用户(访问服务的权限)secrets file=/etc/rsync.password # 配置匿名用户和密码文件 配置用户 代码语言:javascript 复制 # 创建用户名为r...
[root@xuexi ~]# rsync --list-only --port888 rsync_backup@172.16.l0.6::longshuai/a/b --password-file=/tmp/rsync_passwd 还可以使用url格式语法: [root@xuexi ~]# rsync --list-only rsync://rsync_backup@172.16.l0.6:888/longshuai/a/b --password-file=/tmp/rsync_passwd 2.6 远程shell方式...
1 directory, 9 files 使用"--existing"选项使得只更新目标端已存在的文件。 [root@xuexi ~]# rsync -r -v --existing /tmp/a/ /tmp/b sending incremental file list fstab profile rc.local sent 2972 bytes received 70 bytes 6084.00 bytes/sec total size is 204755 speedup is 67.31 结果只有3个目标...
--skip-compress=LIST skip compressing files with suffix in LIST 压缩传输,如果网络带宽不够,那么应该压缩以后传输,消耗的当然是机器资源,但是如果内网传输的话,文件数量不是很多的话,这个参数不必要的。 2 --password-file=FILE &#...
the expansion of wildcards on the commandline (*.c) into a list of files is handled by the shell before it runs rsync and not by rsync itself (exactly the same as all other posix-style programs). rsync -avz foo:src/bar /data/tmp ...
nation, the files are listed in an output format similar to "ls -l". As expected, if neither the source or destination path specify a remote host, the copy occurs locally (see also the --list-only option). SETUP See the file README for installation instructions. ...
for d in $LIST; do mount /backup/$d rsync -ax --exclude fstab --delete /$d/ /backup/$d/ umount /backup/$d done DAY=`date "+%A"` rsync -a --delete /usr/local/apache /data2/backups/$DAY rsync -a --delete /data/solid /data2/backups/$DAY ...
The authenticity of host '172.16.1.31 (172.16.1.31)' can't be established. RSA key fingerprint is e4:56:24:15:3c:a6:e7:75:b0:d0:12:2a:d1:73:aa:77. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '172.16.1.31' (RSA) to the list of known...
rsync –progress option displays detailed progress of rsync execution as shown below. $ rsync -avz --progress thegeekstuff@192.168.200.10:/var/lib/rpm/ /root/temp/ Password: receiving file list ... 19 files to consider ./ Basenames