Thursday, September 29, 2011

rsync 增量备份

[cc lang="text"]rsync --force --ignore-errors --delete --delete-excluded --exclude "logs/" --exclude "umslog/" 192.168.254.221::www-back /Datas/Backup/Rsync-YuKuai/app-daily --log-file=/Datas/Backup/Rsync-YuKuai/logs/`date +%Y-%m-%d`.log -azv -backup --backup-dir=/Datas/Backup/Rsync-YuKuai/app-daily-arch/`date +%Y-%m-%d`[/cc]

1 comment:

  1. We're a group of volunteers and opening a new scheme in our community. Your web site offered us with valuable info to work on. You've done a formidable
    job and our whole community will be grateful to you.

    ReplyDelete