Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch File to back up Network Folders

Status
Not open for further replies.

nsanto17

IS-IT--Management
Mar 14, 2005
616
US
I am looking to create a Batch File to backup network Folders.

I have a simple batch file created but i can't get it to overwrite the exisiting files.

Would anyone care to share a batch file that will backup some network folders.

Thanks

Nick
 
Example of xcopy:

xcopy \\server01\folder\*.* "\\server02\WaverlyUserData\" /e/k/o/i/y
 
The /y hook ( in the above mentioned post) is the hook that overwrites the existing file without prompting
 
Also look into Beyond Compare 2. This program is awesome. Can be used with the GUI or via script. I run it nightly on several machines to do compares and copy's. You can try it at:
 
I am trying to back up stuff to a USB Drive that has been formated fat32 b/c it was used on a MAC OSX

It tells me that the Security Information is not supported on the destenation file system

the command I am using is as follows..

xcopy \\mim2k\apps\ r:\Netbackup1 /e/k/o/i/y

pause
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top