Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Web-App-Sec
[Top] [All Lists]

RE: Copying files from one server to another.

Subject: RE: Copying files from one server to another.
Date: Thu, 24 Feb 2005 09:09:09 -0000
If you want 2 way replication take a look at Unison (another Unix product
that will run under windows), or, if you want a proper Windows based product
I've used LiveVault in the past with success.

Regards

Simon

-----Original Message-----
From: Michael Sztachanski [mailto:michael.sztachanski@flightcentre.com.au] 
Sent: 24 February 2005 03:10
To: Eric Boughner
Cc: 'Sebastien Deleersnyder'; webappsec@securityfocus.com
Subject: Re: Copying files from one server to another.

"Eric Boughner" <eric@evenlink.com>,Internet writes:
Has anyone copied filed from one server to another for running a backup 
server.  I have 2 windows 2000 servers that are networked together. I 
would like to make the one a running backup of the other server. Has 
anyone done this before?

Eric



You can run rsync for windows. Just setup a scheduled task time for it to
run. It will can the files and see what's changed and only copy the changed
files.

Here is a sample of a script that would reside on your Backup Server:

Files Name: rsync_<system_name>.cmd

@echo off
setlocal
set rsyncpath=L:\apps\cwrsync
set rsyncserver=<name_of_bk_server>
set exclude=L:\scripts\rsync\exclude.txt

rem ** prevent rsync file permission problems ** set CYGWIN=nontsec

rem ** Backup of <system> **
date /t
echo Beginning mirror for <system>
set srcdir=<directory(s)_you_want_backedup>
time /t
echo Mirroring %srcdir%/web
call %rsyncpath%\rsync.exe -av --delete --exclude-from=%exclude%
rsync://%rsyncserver%/%srcdir%/web L:/data/%srcdir%/ time /t echo Fixing
permissions on %srcdir% call xcacls L:\data\%srcdir%\ /T /C /G everyone:F /Y
nul echo Finished mirror for <system>
-------------------------

The about is Scheduled as a task and a rsync server service will run on the
server to be backuped.

If you have any more question feel free to ask.


regards

Michael

-----
Michael Sztachanski
Enterprise Web Applications/Systems Engineer

Enterprise Web Services
FLIGHTCENTRE TECHNOLOGY
(A Division of Flight Centre Ltd)
Level 1, 157 Ann Street, BRISBANE QLD 4000

Phone: +61 (0)7 3011 7151
Fax: +61 (0)7 3001 7788




***************************************************************************************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized.

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing client engagement letter.
*****************************************************************************************

<Prev in Thread] Current Thread [Next in Thread>