synbak如何实现远程rsync备份

encryption 发布于 2011/06/11 11:09
阅读 972
收藏 2
backup_remote_uri = ssh://root:123456@219.229.171.10/ # valid URI: ssh, rsync, smb, cifs, mysql, pgsql, oracle, ldap, http, ftp (the URI is dependant of backup method)
report_remote_uri_down = no # yes = create the reports if the remote host is down. no = don't make any reports if the host is down

#@@ mandatory backup fields
backup_source = /aaa
backup_destination = /home/centos/backup
backup_exclude
backup_incremental = yes # make incremental backups (used by rsync method only)
backup_erase_after = 1 # auto erase old backups after n. backups
backup_no_make_destdir = no # don't make the auto created destination dir (aka: don't use a prefix for each backup, this disable the autoerase function)
backup_erase_always = no # erase old backups even if an error occour in a backup step
backup_method_opts

用synbak -s smill -m rsync

报错:
ERROR: an error is occurred in this step, follow error details:
********************************************************************************
Permission denied (publickey,gssapi-with-mic,password).
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: unexplained error (code 255) at io.c(463) [receiver=2.6.8]
********************************************************************************
加载中
返回顶部
顶部