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. |

| Subject: | Re: Copying files from one server to another. |
|---|---|
| Date: | Thu, 24 Feb 2005 13:10:23 +1000 |
"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
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: ISA Server and SQL Injection, Mark Curphey |
|---|---|
| Next by Date: | RE: Copying files from one server to another., dave kleiman |
| Previous by Thread: | Copying files from one server to another., Eric Boughner |
| Next by Thread: | RE: Copying files from one server to another., dave kleiman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |