I can setup win2k server to sync files from my network computers [sync files] [win2k server]

admin / September 13th, 2010/ Posted in Operating Systems / No Comments »

Q: box, I want my sync folder on my workstation for daily backup. is there anyway I can do this? I will need additional software?

thanks

guy


Re:Antoher quick thgouht….why not use backup that comes with Windows already.
Does all this and more. :)

Re:NP, glad somebody else found a use for this. The easiest way to use it I have found is to put it on your desktop and just double click to run when you want to. Its a pain trying to find all of the switches all over again if you don't keep a copy of it.

huh, the /O didn't work for you guy? That switch is supposed to copy file ownership and ACL information. Oh well. Guess its not crucial.


Re:Wow!

Thanks a load guy! :D

I've been thinking about doing this for a while, and was actually gonna get round to asking this here in a couple of days, and this is a perfect answer! It works great copying from WinXP Pro to W2k Server. Here's my modified code:

xcopy "D:\My Documents" /k /y /e /v /c /i /h /r "\\192.168.0.1\Storage\Documents\"

It works perfectly using UNC names, even IP addresses (i suggest using IP address if the server has a static address, as it's slightly quicker than using plain old "\\server\" etc :)

I found that i had to omit the /o because it didn't seem to want to copy with that left in, but other than that…perfect! :)

guy


Re:thanks guy – works slick. i appreciated that

guy


Re:The easiest way to do it is to create a share on the server and a batch file to push it up to the server.

Open up notepad and throw the following (modified to suit your needs) into a file and either schedule it to run at a certain time or double click it to execute at your desire. Save it and then right click on the filename and change the extension to .bat. Its now a batch program. For the stuff below to work you will have to map the server share as X, although it might work if you used a UNC path (\\servername\sharename)

the usage for this is: xcopy [source directory] /optionshere [destination directory]

xcopy "c:\documents and settings\username\my documents" /k /y /e /v /c /i /h /r /o "x:\username\my documents"

Add another xcopy line for each directory you want pushed. For a complete list of xcopy options open up a command prompt and type xcopy /? to view them all. I have found the ones included above cover just about everything.

You could also do it in reverse, and have the server grab the stuff, but to me its better not to have a share opened up on a client. Personal preference I guess.


Re:offline files would work

Related posts


Tags: ,

Leave a Reply

Name required

Mail (will not be published) required

Website