Возникла необходимость бекапить данные с двух серверов. Решил воспользоваться rsync'ом. 1 сервер - фрибсд, проблем нет. Второй, сетевой диск, PEGASUS 311GR.
Почитал, посмотрел и решил что получится. В пегасусе в разделе Storage Setup нашёл N-Sync Setup, в документации пишут следующее:
сделал я ему Enable.N-Sync is a share level replication utility based on rsync tool. Like rsync, N-Sync's client-server architecture makes replication of files/folders easier from local share to remote share and vice versa (from source to destination). An enabled/disabled switch for N-Sync server could be set by administrator to choose to export N-Sync modules to clients or not. Administrator could also choose to replicate shares immediately or by scheduler. N-Sync setup provides four N-Sync utilities (Server, Client, Scheduler and N-Sync log) and we will describe briefly as bellow.
[Note: The files/folders of the destination share will be overwritten if the source share has files/folders with the same names.]
Server:
An N-Sync server exports share modules to the remote N-Sync client to be replicated through rsync protocol. Because of using rsync protocol, any client that uses rsync tool is able to replicate shares from N-Sync server.
Enable : Enable N-Sync Server. (Only the server which is enabled will be shown in N-Sync client server list.)
Disable : Disable N-Sync Server.
Name : Share name of Pegasus 311GR that is exported by N-Sync server.
Path : Share path of Pegasus 311GR.
Comment : Comment of the share.
Read only : Checked for exporting as read only module to the remote N-Sync/rsync client.
Update : Update changes that are just made.
Cancel : Cancel the changes.
....
На бекап-сервере:
Код: Выделить всё
[/backups/pegasus]#rsync 10.0.0.6::
wan-home WAN Users' home
дальше попытался сделать:
Код: Выделить всё
[/backups/pegasus]#rsync --recursive nasroot@10.0.0.6::wan-home /backups/pegasus
Password:
@ERROR: auth failed on module wan-home
rsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]
пароль ввёл тот же, который использую для входа в веб-интерфейс пегасуса...
Пытался сделать от имени пользователей пегасуса - эффект тот же...
Может подскажет кто, что я делаю не так?
Спасибо