We use the xcopy command in a batch file
to run nightly backups 1:1 on a networked storage drive.
I didnt write it, but part of it which might be useful is this, the bit that copies the data.
rem new backup starts
xcopy /c /h \\server4\didadrive$\*.* d:\didadrive\*.* /s /a /y
xcopy /c /h d:\users\*.* f:\backup\*.* /s /a /y
xcopy
/c /h \\serverm1\o$\*.* f:\ /s /a /y
xcopy /c /h \\serverm1\e$\qca\*.* f:\qca\*.* /s /a /y
xcopy /c /h \\serverd1\e$\adminonly\*.* f:\adminonly\*.*
/s /a /y
xcopy /c /h \\serverm1\software$\reportmasterii\*.* f:\reportmasterii\*.* /s /a /y
xcopy /c /h \\serverm1\public\topics\*.* f:\topics\*.* /s /a
/y
xcopy /c /h \\serverm1\public\stafftopics\*.* f:\stafftopics\*.* /s /a /y
pause