Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replicating Volume to another server using rsync 2

Status
Not open for further replies.

graver

MIS
Nov 6, 2000
172
US
Hello.

I want to make an exact copy of a netware volume for backup purposes. I intend to use rsync to do it. I need to know how to setup rsync to do it. I must mention I am not using Branch Office, but have downloaded and installed rsync for my netware server. Any help you can provide is appreciated.

Thanks

Tamra Graver --CNA, Network+
*************************************
It is my job to comfort the disturbed
and disturb the comfortable..........
 
I have found several TIDS on Novell's site that are completely vague...So what I need are pretty simple instructions to get this working

Tamra Graver --CNA, Network+
*************************************
It is my job to comfort the disturbed
and disturb the comfortable..........
 
sorry never done it only read the same tids as yourself

i do know that you have to make sure that your not backing up during sync

sorry cant be any help
 
i figured out how to do this. If you would assistance please let me know.

Tamra Graver --CNA, Network+
*************************************
It is my job to comfort the disturbed
and disturb the comfortable..........
 
I will post them in a day or so. I have some loose ends to tie up first....so stay tuned

Tamra Graver --CNA, Network+
*************************************
It is my job to comfort the disturbed
and disturb the comfortable..........
 
do note, using Rsync in this manor, even though it works, is not supported by Novell. So for others that travel down this road, keep that in mind.

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Brent Schmidt Certified nut case [hippy]
Senior Network Engineer
 
Yes, guys Provogeek is correct. The only supported rsync configuration that is Novell approved is for use with Branch Office. I had a need to be able to replicate the data volume of my file server to another location for disaster recovery purposes.

With that being said please proceed with caution: and at your own risk.

My first reference material is AppNote: using rsync to synchronize data to and from Netware servers (found on the cool solutions site written by Thomas Erickson)


First of all you need the rsync package

RSync-2.6.0.zip download it from novell (just search for it)

I followed the instructions down to (3) then I kinda skipped ahead a bit..

____________________________________________________________

SETTING UP THE DESTINATION SERVER (RSYNC SERVER):

# Copy the rsync directory to sys:\ (after extracting it from the above URL)


# Add the following to the system\autoexec.ncf

SEARCH ADD SYS:\RSYNC
SEARCH ADD SYS:\RSYNC\SYS\RSYNC
RSYNCSTR.NCF


# Modify RSYNCSTR.NCF to have the CO (Central Office) rsync server listen for incoming rsync traffic.

Also, if one does not need SSL that can be removed too. You want it to look like:

rsync -v --progress --port=873 –daemon

# Before starting rsync daemon for the first time, configure the conf file.

Copy sys:\rsync\rsyncd.conf to the sys:\etc directory.
Modify the rsync server's \etc\rsyncd.conf file
You will need an entry in the etc\rsyncd.conf file for each source server's info:
/etc/rsyncd.conf:

Here is my file: (This file lives on the destination machine)

uid = nobody
gid = nobody
max connections = 0
syslog facility = local5
pid file = SYS:/system/rsyncd.pid
log file =
motd file = SYS:/system/rsyncd.motd

[POLY]
path=RESTORE:/RSYNC/POLY
comment=rsync poly data
read only=no
use chroot=no
strict modes = no
transfer logging=yes
timeout=3600
use lfs=no

At this point i started rsync up on my destination server rsynstr.nlm

Then I started rsync on my source server (POLY)

load sys:rsync/rsync.nlm -arz -c / BACKUP::pOLY/data --volume=data: --port=873 --progress

you should see it start to build a file list.

Then I put the above command in an NCF file called runsync.ncf and run it everyday at 11:30 with a cron job







Tamra Graver --CNA, Network+
*************************************
It is my job to comfort the disturbed
and disturb the comfortable..........
 
Sorry I had a typo on my previous post

the following line should read

rsync -v --progress --port=873 -–daemon

instead of

rsync -v --progress --port=873 –daemon

Provogeek that is a great idea I will try to get that done. Thanks for the suggestion

Tamra Graver --CNA, Network+
*************************************
It is my job to comfort the disturbed
and disturb the comfortable..........
 
i take it this isnt on netware 6.5 sp3

get a nasty message saying need to run echo from bash and you dont see the daemon listening - seemingly cosmetic

any idea if this works across trees

i had a quick play today but could only try on a copy of test-ish servers but they were in a different tree
get a message saying that the ip address isnt in the allowed list but it is
 
Yes it is...I am also doing rsync across 2 trees for DR purposes. I am sorry I can't help but I haven't seen that behavior before.

Tamra Graver --CNA, Network+
*************************************
It is my job to comfort the disturbed
and disturb the comfortable..........
 
it's ok

are you using 2.6 or are you on 2.62?

i will spend a bit of time on it next week. only played with it for 20-30 mins etc
 
played a few mins this mo4ning and works no probs

i notice though you and the appnotes have 2 lines missing from the conf

the allow hosts and deny hosts

did you try this bit at all - if i have this on with want looks correct - i get the sod off your not on the list
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top