Страница 1 из 1

Как настроить GNU Rsync for NetWare

СообщениеДобавлено: 22 мар 2005, 18:07
sasha9
Помогите настроить GNU Rsync for NetWare для копирования определенной директории в пределах
одного сервера.
СПАСИБО

Так:

СообщениеДобавлено: 23 мар 2005, 14:50
skoltogyan
Взято отсюда:
http://forge.novell.com/modules/xfmod/n ... rsync.help

Вот собственно текст:
Subject: Re: Rsync volume a to volume b same server?
From: n0m@n0m.net (n0m)
Newsgroups: novell.forge.rsync.help
Organization: Novell Inc.
Date: Aug 12 2004 16:38:24

Hi,

I packed the information you need into a file and you can download it in
the next three days at http://www.n0m.net/download/RSYNC.rar

Following the configuration and how it work (I replaced the names of the
volumes and IP addresses):

1.1 How to handle the file
Download the file and extract it on your SYS volume. Then you
will have a directory structure like this:

SYS:\
|----RSYNC
|------RSYNC
| |------RSYNC.NLM
| |------RSYNC.NLM.MAP
| |------RSYNCD.LOG
| |------RSYNCD.MOTD
| |------RSYNCD.PID
| |------RSYNCDN.NLM
| |------RSYNCSTP.NCF
| |------RSYNCSTR.NCF
| |------SYNCY.NCF
|------ETC
|------RSYNCD.CONF

1.2 What to configure for the target

Open the file SYS:\RSYNC\ETC\RSYNCD.CONF and you will see
something like this:

uid = nobody
gid = nobody
max connections = 0
syslog facility = local5

pid file = SYS:/rsync/rsync/rsyncd.pid
log file = SYS:/rsync/rsync/rsyncd.log
motd file = SYS:/rsync/rsync/rsyncd.motd

timeout = 3600

[TARGET]
path = TARGET:
comment = This is the target volume for RSYNC
read only = no
use chroot = no
timeout = 3600
transfer logging = yes

On the two points where you see "TARGET" type the name of your
volume that will be the target of your synchronisation.

As next open the file SYS:\RSYNC\RSYNC\RSYNCSTR.NCF. There is a
line that ontains the following:

SYS:rsync/rsync/rsync -v --progress --address=192.168.0.1
--config=SYS:/rsync/etc/rsyncd.conf --volume=TARGET: --port=873
--daemon

Please change here the IP address to the one of your server
(maybe you can also use 128.0.01) then cahnge the volume name
to the same volume you defined in SYS:\RSYNC\ETC\RSYNCD.CONF
This mean replace the word "TARGET" again.

Open the file SYS:\RSYNC\RSYNC\RSYNCSTP.NCF and replace the IP
address with the one you have set in
SYS:\RSYNC\RSYNC\RSYNCSTR.NCF.

SYS:/rsync/rsync/rsyncdn Rsync192.168.0.1:873

Important is that you change these values but not the syntax.

1.3 What to configure for the source

Open the file SYS:\RSYNC\RSYNC\SYNCY.NCF it should look like
this:

SYS:rsync\rsync\rsync -vra --delete --volume=SOURCE: DIRECTORY
192.168.0.1::TARGET

Change the word "SOURCE" to the volume name that contains your
source. Then change the word "DIRECTORY" to the directory name
that you want to synchronize. If you want to synchronize the
whole volume just remove the word "DIRECTORY". Change the IP
address to the address you have typed in before in
SYS:\RSYNC\RSYNC\RSYNCSTP.NCF and SYS:\RSYNC\RSYNC\RSYNCSTR.NCF.
Than change the word "TARGET" to the target volume name.

!!! IMPORTANT the switch --delete means, that files that you
delete in your source will be also deleted when you synchronize
the next time, so be carefull.

1.4 Lets get it ON

Type on the system console of your server:
SYS:\RSYNC\RSYNC\RSYNCSTR.NCF
You will now see the RSYNC deamon window now

Change now to the system console again and type in:
SYS:\RSYNC\RSYNC\SYNCY.NCF

You should now see the synchronization in the RSYNC deamon
window.

I hope it work.

Bye

СообщениеДобавлено: 23 мар 2005, 15:42
Музалёв Николай
Коллеги!
Помогите скачать этот самый RSYNC ( указанная ссылка неживая, нужна живая ссылка ) или пришлите, если Тырнет позволяет.
Спасибо.

rsync брать отсюда

СообщениеДобавлено: 23 мар 2005, 15:49
skoltogyan

СообщениеДобавлено: 23 мар 2005, 16:12
Музалёв Николай
Спасибо за ссылку.
А то, что на форуме мелькало сообщениу об ограничении синхронизированного объема 2мя Гигами - всё еще справедливо?

не я писал про это ограничение. пусть ответит автор сообщени

СообщениеДобавлено: 23 мар 2005, 16:36
skoltogyan
57 G с тома на том в один присест и после этого поддерживается
BCP = ETALON при помощи rsync.