Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I created a backup plan to backup to a NAS via UNC (\\192.168.x.y\backup\pdc) on our Windows 2003 SBS, which stops after 1 sec with this error: "The operation was not performed because the specified media cannot be found."

I think this has something to do with the user running the ntbackup script itself. When I execute the ntbackup command in my administrator commandline, it works as it should. If the backup routine kicks in (it is listed in the scheduled tasks list, where one can i.e. run it manually), it does not work. I read something about a SBS Backup User, who executes the command.

How can I change that or how can I give that particular user the right (aka provide credentials) to access the NAS?

share|improve this question
    
What kind of NAS are you using? Is it Windows-based or something else? –  Tim Long Jun 1 '09 at 11:47
    
Should be one of those: INTEL SS4000E. The folder i want to access is marked as Windows (Samba) share. –  Karsten Jun 1 '09 at 15:11

3 Answers 3

You should be able to specify the user account when you schedule the backup. Either in the advanced settings of ntbackup, or in task scheduler.

share|improve this answer
    
Tried this, but then I learned that the task itself runs bkprunner.exe, which then invokes ntbackup. –  Karsten May 30 '09 at 17:39

Don't use the SBS backup wizard. Writing your own script to run NTBackup is easy, and you get to choose how the scheduled job is run. There are lots of walkthroughs on scripting NTBackup, or I can post a script here. It's easier than you think. The scripts around on the web tend to look complicated, but only because they do lots of extra cunning stuff.

JR

share|improve this answer
    
I have no problem with not using the wizard, but being new to that sbs stuff I was just curious if I'd loose that restore functions it offers if I don't do the backups with it. –  Karsten May 30 '09 at 23:42
    
Hi Kartsen, as you've spotted, the SBS wizard just uses NTBackup and the restores are just NTBackup restores. The wizard is pretty good at simplifying what can be some messy scripting, but as you've found it has it's limitations. The nice thing about scheduling a script is you can have your script do things like "dir \\192.168.x.y\backup\pdc 1>>log.txt 2>>&1" to help diagnose errors (in this case presumably you'll get an "access denied" error. –  John Rennie May 31 '09 at 7:25
    
Lot's of people have not used the SBS integrated tools and lived to regret it. Standard advice from the SBS experts is to always use the integrated tools. SBS is a difficult balancing act between a lot of potentially conflicting technologies and there are lots of subtle interactions. The SBS wizards and integrated tools help you keep things set up within the very narrow constraints of what will work and what is supported. It is an unwise admin who strays outside that framework. –  Tim Long Jun 1 '09 at 11:39
    
@Tim Long: Yes, this was my initial thought, too. But do you have any advice on the actual topic? :) –  Karsten Jun 1 '09 at 15:12
    
Hi Tim, I agree up to a point, and that point is the backup. I look after over a hundred SB2003 installations (and two SBS 2008s) so I have been burned by everything in SBS that can burn you, and I'd agree that as far as possible you should use the SBS tools provided by MS. However I would always roll my own backup. –  John Rennie Jun 1 '09 at 16:53
up vote 0 down vote accepted

It maybe had something to do with a recent change to the administrative account's password.

I deleted all "planned tasks" related to the backup process, and recreated them with the "add planned task" wizard. By using the backup wizard then provided, i was able to set up everything as i wanted it through the ntbackup interface, and now have also the full command ("ntbackup.exe ...") in the tasklist. Having set the run as stuff correctly, this now works fine - and the sbs recovery tools work too.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.