RSYNC vs PEGASUS 311GR

Проблемы с установкой, настройкой и работой системных и сетевых программ.

Модераторы: GRooVE, alexco

Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Аватара пользователя
FreeOwl
мл. сержант
Сообщения: 91
Зарегистрирован: 2008-09-04 14:20:55
Контактная информация:

RSYNC vs PEGASUS 311GR

Непрочитанное сообщение FreeOwl » 2010-05-05 16:51:08

День добрый.

Возникла необходимость бекапить данные с двух серверов. Решил воспользоваться rsync'ом. 1 сервер - фрибсд, проблем нет. Второй, сетевой диск, PEGASUS 311GR.
Почитал, посмотрел и решил что получится. В пегасусе в разделе Storage Setup нашёл N-Sync Setup, в документации пишут следующее:
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.
....
сделал я ему Enable.
На бекап-сервере:

Код: Выделить всё

[/backups/pegasus]#rsync 10.0.0.6::
wan-home        WAN Users' home
wan-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]
nasroot - "пегасовский" root
пароль ввёл тот же, который использую для входа в веб-интерфейс пегасуса...
Пытался сделать от имени пользователей пегасуса - эффект тот же...

Может подскажет кто, что я делаю не так?

Спасибо
Последний раз редактировалось f_andrey 2010-05-05 17:03:54, всего редактировалось 1 раз.
Причина: Автору, выбирайте пожалуйста раздел соответствуюший тематике вашего сообщения.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

wooder
проходил мимо

Re: RSYNC vs PEGASUS 311GR

Непрочитанное сообщение wooder » 2010-06-19 16:35:15

It seems you do everything all right. I've noticed that when you talk to Pegasus 311GR from older FreeBSD, v5.4 for instance, your password is accepted, but it is rejected when talking from newer Debian or BSD systems with latest version of rsync.

This however need *not* prevent you from syncing, at least in the pull mode. Try setting RSYNC_PASSWORD=yournasrootpasswd, export RSYNC_PASSWORD, or whatever your shell will comprehend, say rsync -rvvv nasroot@10.0.0.6::wan-home/ /whatever/ next, and see what happens.

I have just pulled via rsync all the files from Pegasus 311GR to Netgear array simply by ignoring the error you are reporting.
Cheers.
--

Аватара пользователя
FreeOwl
мл. сержант
Сообщения: 91
Зарегистрирован: 2008-09-04 14:20:55
Контактная информация:

Re: RSYNC vs PEGASUS 311GR

Непрочитанное сообщение FreeOwl » 2010-08-05 8:30:32

wooder писал(а):It seems you do everything all right. I've noticed that when you talk to Pegasus 311GR from older FreeBSD, v5.4 for instance, your password is accepted, but it is rejected when talking from newer Debian or BSD systems with latest version of rsync.

This however need *not* prevent you from syncing, at least in the pull mode. Try setting RSYNC_PASSWORD=yournasrootpasswd, export RSYNC_PASSWORD, or whatever your shell will comprehend, say rsync -rvvv nasroot@10.0.0.6::wan-home/ /whatever/ next, and see what happens.

I have just pulled via rsync all the files from Pegasus 311GR to Netgear array simply by ignoring the error you are reporting.
Cheers.
--
Thanks for the help but regret to report that NAS "dead", after repeated surges, UPS could not handle it, and hung up several times, resulting in two discs of the three were excluded from the RAID. Now NAS is a service company. Upon return, I will try to take your advice.

PS I do not speak English, so translation is made on http://translate.google.ru )))))

FiL
ст. лейтенант
Сообщения: 1374
Зарегистрирован: 2010-02-05 0:21:40

Re: RSYNC vs PEGASUS 311GR

Непрочитанное сообщение FiL » 2010-08-05 23:28:12

FreeOwl писал(а): PS I do not speak English, so translation is made on http://translate.google.ru )))))
Вау... отличное качество для гуглового переводчика.