top_left top_right
bottom_left
Next Event: Unknown | Forum Rules | QGL Website | Event Registration
openFolder AusForums.com
iconwatfolderLineopenFolder LANs
iconwatfolderLineopenFolder QGL
iconwatfolderLineopenFolder QGL Forum
Author
Topic: Winxp to win2003server Sync
diese1
Posts: 49
Location: Brisbane, Queensland
Im trying to setup sync from MyDocs on winxp machine to the win2003server machine.

What im looking for is a type of backup procedure for all the files on the winxp machine to be copied over to the win2003server machine when the winxp machine shuts down.

I've had a go at setting it up - but it seems to be the server side thats doing the syncing, as in i will have to shut down the server before it executes the sync? I tested this by just shutting down the winxp machine and it seemed to do nothing (except hte usual which is shutdown at normal speed) so i assume its not actually syncing because when i manually synced the first time it took quite a while to copy the documents accross.

Thanks in advanced for any help

P.
system
--
Shotty
Posts: 3316
Location: Brisbane, Queensland
Is your computer a member of AD on the 2k3 server? If so, you can assign a shutdown script on the server side that will run on the client (your XP machine) when it is shutdown.

See Here at Microsoft

Alternatively, and this might be easier. On your XP machine start local group policy editor. (Start -> Run -> gpedit.msc)

Goto 'computer configuration' -> 'windows settings' -> Scripts (Startup/Shutdown).

Have you got a script written out? For copying your documents folder you'd just want something like this...

[shutdown.cmd]
$echo off
xcopy C:\localpathtodocuments \\yourservername\backuplocation /e /h /k /y
[end script]

Then in local group policy choose that to be your shutdown script.
whoop
Posts: 7890
Location: Brisbane, Queensland
and you can add the shutdown command to the end of a batch file to copy the files, then shut down the computer copying stuff. On the server, just set it to auto shutdown some ammount of time that should give the other computer time to copy everything.
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "c

omment"] [-d up:xx:yy]

No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \\computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c "comment" Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without warning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)



last edited by whoop at 20:23:26 24/Feb/05
Moo
Posts: 652
Location: Brisbane, Queensland
why not use roaming profile? and/or relocate your mydocs directory to a share on the 2k3 server? *shrugs*

Moo
Posts: 653
Location: Brisbane, Queensland
to relocate mydocs, rightclick on my documents icon on desktop (or in start menu, or wherever you care to keep a my documents icon... please note, NOT a shortcut, cause you'll simply get a shortcuts properties page) and click 'properties'.

it'll bring up a 'target' tab first. change that to a share on 2k3 server machine, i.e. "\\2kserver\needsdragons\" (for stoopid people, that's "\\MACHINENAME\SHAREDFOLDERNAME\")






dafugg
Posts: 1075
Location: Brisbane, Queensland
or even better yet
you could use rsync

there's an rsync cygwin server and an rsync windows client. It absolutely s***S all over just copying your files for various reasons that i'll leave you, the reader, to find out.
Shotty
Posts: 3317
Location: Brisbane, Queensland
Roaming profiles or relocating your documents folder to the server may not be the best option, as you will lose access to your files if the server goes/dies or you want to just take you machine, say, to a lan party.

PathSync will let you syncronize files (you can do this one-way, client -> server) to a server share.
system
--
Not a new post since your last visit.
New Post Since your last visit
Back To Forum
Advertise with Us | Privacy Policy | Contact Us
© Copyright 2001-2026 AusGamers Pty Ltd. ACN 093 772 242.
Hosted by Mammoth Networks - Australian VPS Hosting
Web development by Mammoth Media.