rsync - --backup-dir 使用示例
# rsync - --backup-dir 使用示例
# --backup-dir=DIR
# In combination with the --backup option, this tells rsync to store all backups in the specified directory on the receiving side. This can be used for incremental backups. You can additionally specify a backup suffix using the --suffix option (otherwise the files backed up in the specified directory will keep their original filenames).
# 与 --backup 选项配合使用。通知rsync在接收端将所有备份保存在指定文件夹。能用于增量备份。使用 --suffix 选项能额外指定一个备份后缀(否则在指定文件夹中的文件备份将保持它们的原始文件名)
/usr/bin/rsync -a-b--backup-dir=/path/to/backup192.168.1.2:module /path/to/destination
[rsync - 官方网站]
[rsync - 关键词]
rsync
rsyncd
[rsyncd.conf - 官方文档]
http://samba.org/ftp/rsync/rsyncd.conf.html
[rsync - 相关问题]
全局部分中常用全局参数配置说明
全局部分中常用模块参数配置说明
模块常用配置说明
认证相关参数配置说明
客户端常用参数
客户端其他参数
for Windows (cygwin)
远程shell模式和rsync守护进程模式
22.6. File Synchronization. Building Internet Firewalls, 2nd Edition
Hack 92 Mirroring Web Sites with wget and rsync. Spidering Hacks
Linux Security Cookbook - Recipe 1.16 Integrity Checking with rsync
Linux Security Cookbook - Recipe 1.6 Remote Integrity Checking
Linux Security Cookbook - Recipe 6.3 Copying Files Remotely
正确设置gid参数
--backup-dir 使用示例