|
![]() |
|
| Author |
|
|||||||
|
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. |
|||||||
| #0 03:05pm 24/02/05 |
|
|||||||
|
system
|
--
|
|||||||
| #0 |
|
|||||||
|
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. |
|||||||
| #1 04:11pm 24/02/05 |
|
|||||||
|
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 last edited by whoop at 20:23:26 24/Feb/05 |
|||||||
| #2 08:23pm 24/02/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*
|
|||||||
| #3 10:23pm 24/02/05 |
|
|||||||
|
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\") |
|||||||
| #4 10:28pm 24/02/05 |
|
|||||||
|
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. |
|||||||
| #5 11:13pm 24/02/05 |
|
|||||||
|
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. |
|||||||
| #6 11:42pm 24/02/05 |
|
|||||||
|
system
|
--
|
|||||||
| #6 |
|
|||||||
|
| ||||||||