Hi Guys i am trying to configure a bat file do do a backup of some drives and folders i have on my laptop.
At the minute i am testing this with my laptop and my main desktop. What i want to do when i get it up and running is to have a .bat file on all 5 of my client pcs backing up on my main server running 2k3 server.
I think i have typed all the information in correctly but it doesnt seem to be working?
Here is what i typed in:
xcopy /e /v /y E:\ \\stuart_desktop\Data\test\Backup\Laptop\Data_Drive
xcopy /e /v /y C:\Documents and Settings\Stuart McCollum\My Documents \\stuart_desktop\Data\test\Backup\Laptop\MyDocs
xcopy /e /v /y F:\ \\stuart_desktop\Data\test\Backup\Laptop\Media_Drive
E: and F: are whole drives that need backed up from my laptop.
When i run the file it comes up and asks me to specify a directory name or file name? No matter which one i press and then check it on my desktop machine nothing appears in the folder. there should be some file in there as i placed files on purpose so i could verify that it worked?
any ideas
At the minute i am testing this with my laptop and my main desktop. What i want to do when i get it up and running is to have a .bat file on all 5 of my client pcs backing up on my main server running 2k3 server.
I think i have typed all the information in correctly but it doesnt seem to be working?
Here is what i typed in:
xcopy /e /v /y E:\ \\stuart_desktop\Data\test\Backup\Laptop\Data_Drive
xcopy /e /v /y C:\Documents and Settings\Stuart McCollum\My Documents \\stuart_desktop\Data\test\Backup\Laptop\MyDocs
xcopy /e /v /y F:\ \\stuart_desktop\Data\test\Backup\Laptop\Media_Drive
E: and F: are whole drives that need backed up from my laptop.
When i run the file it comes up and asks me to specify a directory name or file name? No matter which one i press and then check it on my desktop machine nothing appears in the folder. there should be some file in there as i placed files on purpose so i could verify that it worked?
any ideas

). This will only copy files that need to be copied (unless you tell it not too), can be ran in a restartable mode to deal with network outages, will copy file security information, and can be ran without an interactive logon (negating any requirements that need it - like mapped drives).
We still use the script that I wrote at school to query a computer's active directory location and add the appropriate printer connections and map drives based on a user's AD location. Probably is overkill for just a COPY command, but I just find it much nicer to code