How to backup Windows Server 2008 R1 to a windows network share

backupwindows-server-2008

I need to perform weekly backup of the whole Windows Server 2008 R1 to a Windows Network Share. I cannot put services off. I have used the Task Scheduler and this, small bat file:

c:
cd \Windows\system32
wbadmin.exe START BACKUP -backupTarget:{network_share} -include:d:,c: -user:{user} -password:{password} -quiet

Unfortunately, it is not reliable: sometimes it works, sometimes it doesn't. I don't know why and when.

The only thing I have found in logs is "Login failure: unknown user or wrong password.". However, it doesn't make sense for me. The version with drive d: only (much less data) works fine. There should be enough free space too. Running script by hand doesn't help too, I've done it at many different times.

What should I do? Is there a good software I can buy? Have I done something wrong?

P.S.
This kind of backup is too complicated for built in GUI. It's not R2.

Best Answer

Mount the network location as a "net use Y: \\server\share /user:domain/user", adding the password if it doesn't work (though I hate having to add passwords to scripts; it is to be avoided whenever possible) before line 3, and changing the path that your backup script points to. Then add "net use Y: /d" to the end of the script.

(Where "Y" is a drive letter that is consistently not in use in your situation.)

Alternately, you could save the file locally and then copy it off to the network share. That's going to be much more reliable than trying to write on-the-fly over the network.