Windows Backup w/SBS 2008 and Enterprise 2008 to NAS or Remote Share

Has anyone found a way to schedule backup jobs to remote shares or NAS devices in windows 2008 sbs or Windows 2008 enterprise?
we can run an indivual backup to a remote share or NAS drive that we map a drive to but cannot schedule a job to use any of these devices.
is there way (maybe with scheduled tasks) we can schedule a backup to these shares/devices?
all help is greatly appreciated,
delebute
David ElebuteSystems ConsultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jaroslav MrazCTOCommented:
When you planing backup you can set shedule there. But the shedule alow you backup just files if oyu want to backup system state and barmetal recovery you need aditinal HDD insiide of server.
0
chakkoCommented:
You can install the command line part of Windows Backup and use Task Scheduler to run the job.

here is an example (.bat file executed by task scheduler) from Windows 2008 SBS to a NAS device.  
Note: in SBS 2008, I also make a separate backup of just System State (last line)

net use K /DELETE

net use K: \\192.168.2.11\backup /user:admin password

Wbadmin start backup -backupTarget:K:\Backup1 -include:C:,D:,E: -vssFull -allcritical -quiet


wbadmin start systemstatebackup -backuptarget:K:\SysState
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David ElebuteSystems ConsultantAuthor Commented:
i like this method chakko
please hel pme detail

net use K: \\192.168.2.11\backup /user:admin password (understood here but the user and password should be as follows right?

/user:%username% (password for %username%)

delebute
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

chakkoCommented:
Yes,  I use the local accounts in the Zyxel NAS in my example.  I do the Net Use to map a drive and also makes sure that it authenticates to the NAS.  so the login to the NAS is   username:   admin        password:   password

so I use the parameter   /user:admin password    in the net use command.

also, in my original script the wbadmin  backup command line  is set with the UNC Path \\192.168.2.1\backup\backup1   I just changed to drive K: in the answer I posted.   I can't remember if I was just lazy to change the UNC path to drive K: or if it worked better with the UNC path.

this is my original scrip (not real password)t:

rem  full backup Copy 1
net use K /DELETE
net use K: \\192.168.2.11\backup /user:admin mll442ca
Wbadmin start backup -backupTarget:\\192.168.2.11\backup\Backup1 -include:C:,D:,E: -vssFull -allcritical -quiet


Also, I just remembered that I actually do the system state to a local F: drive on this particular SBS 2008 server as mentioned by Jeremyno above.  I changed it to K: drive when I posted, but just read his comment. I am pretty sure I do the system state backup to local drive F: (2nd RAID1 mirror in the server) because it didn't support a Mapped drive or UNC.
0
David ElebuteSystems ConsultantAuthor Commented:
ok so if i get you straight, if my NAS or share does not need authentication then there is no need for that part of command line right?
everything else is straight forward, i will try it out shortly.
thank you,
delebute
0
chakkoCommented:
Yes, you're right.  My setup required authentication on the NAS device to browse the shared folder, that's the only reason I map the drive in my example.
0
David ElebuteSystems ConsultantAuthor Commented:
ok now im really feeeling stupid
installed remote storage manager and multipath i/o but where do i find camman line part of windows backup the task scheduler?

delebute
0
David ElebuteSystems ConsultantAuthor Commented:
ignore task scheduler question, i found it, wow i feel silly
sorry for the ignorant post
delebute
0
David ElebuteSystems ConsultantAuthor Commented:
ok here is what i found my server nas drive is available without drive letter or username and password
i kept getting failed operation with the script given by chakko, but i edited it until i could run the batch file commands from the command line

i used the following and it works fine, now i am going to schedule the batch file
the command line gave me error codes with the mapped drive stating to use the unc path

Wbadmin start backup -backupTarget:\\LS-CHLCC9\bk2 -include:C:,D: -vssFull -allcritical -quiet

works fine

delebute
0
David ElebuteSystems ConsultantAuthor Commented:
Thank you, chakko
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.