rdiff可以做增量备份

我是Ubuntu的新手,我已经安装了rdiff-backup。

我有远程FTP服务器上的文件名为sqlfiles文件存储最近三天,然后删除。 但是我想把所有的副本下载到本地计算机上

我想要在我的本地服务器上进行增量备份

1) If file is same then it should not be copied 2) if different , then overwrite it 3) If file is in local directory and not in FTP , then leave as it is

我怎样才能将这些规则应用于r-diff

您的所有需求都可以使用rsync完成。

 1. Default behavior. 2. Default behavior. 3. --existing (Transfer only files that already exist on the destination host.)