Carl's blog

SBS 2008 / 2011 automatic backup to RDX / RD1000, without CIFS/SMB/Shared Folders.

by on Dec.01, 2011, under Computer Stuff

The scheduled wbadmin backup to \\server\rd1000 stopped working, so I looked into things a bit more and have now changed my servers to backup to the drive directly. wbadmin behaves as if it’s backing up to a DVD or something, and we have to pipe some input into it.

It goes something like this:
Make a file called c:\unattend.txt, which contains:

C
Y

(C on one line, and Y on another). This will be piped into the wbadmin command’s input, because wbadmin prompts us to “press C to continue”, and “press Y if you’re sure”.

Then the backup command looks like this:

wbadmin start backup -backuptarget:d: -allcritical -quiet <c:\unattend.txt >>”C:\Company Shared Folder\BackupLog.txt”

The -quiet is important because we are relying on very specific behavior/prompts, to which our unattend.txt file responds. i.e. without the -quiet, we’ll not get the “C” and “Y” prompts and so our unattend.txt would not be providing the correct input.

In the above case, the RDX drive is D:

The output, for logging purposes, is appended to C:\Company Shared Folder\BackupLog.txt


1 Comment for this entry

1 Trackback or Pingback for this entry

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...