Backup .bat file?

Associate
Joined
28 Dec 2002
Posts
2,400
Location
Northern Ireland
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
 
Back
Top Bottom