+ Post New Thread
Results 1 to 8 of 8
Windows Thread, NtBackup error when backing up automatically backing upSIMS in Technical; Hi everyone, I am running into an issue with regards to our backup of the SIMS DB. We have just ...
  1. #1

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,191
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56

    NtBackup error when backing up automatically backing upSIMS

    Hi everyone,

    I am running into an issue with regards to our backup of the SIMS DB.

    We have just had it moved over to a new server with a new tape drive (actually an old server and an old tape drive but new to SIMS) and i am now experiencing problems when the automated process is starting at 11pm.

    The system that the secretary has set up is the daily and weekly rotation of four tapes and one for each day.

    The backup is failing however and i manually have to intervene. Although this does not work right away. I have to manually free up the tape and deallocate before the backup will run. I have looked at the Server 2000 issue with tape back up and RSM and am wondering if it is an issue with 2003 as well.

    The error is "Cannot locate the specified media or backup device. This backup operation will terminate."

    Anyone got any pointers?

    I did not set up the scheduled backup operation. Mark came in to do it from Broadband Sandwell so i am unsure as to what he has configured.

  2. #2

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,191
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    I have a feeling that it may be related to the media label. The scheduled copy to tape specifies the media label.

    How can i get this working normally again?

  3. #3

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,969
    Thank Post
    352
    Thanked 1,296 Times in 887 Posts
    Blog Entries
    4
    Rep Power
    1130
    I am having problems with our SIMS server backups too at the moment. The situation is slightly diffrerent, but my approach may help you. The hardware is the same as it has always been: Same server and same tape drive.

    I was getting errors partway through the backup including "You do not have permission to access this drive: C:\..." Also the backup was taking 3 to 4 times as long as it should have.

    I thought initially the age of the tapes was causing the problem with the long backup time so now I am now using all new tapes. Now the backup will not proceed until I have confirmed manually that I would like to overwrite the data that is already on the tapes [I have moved the new tapes into the free pool] I have now emptied my tape library so that no tape catalogs appear. What I am hoping now is that once the new tapes have been through one cycle [completed one backup] things will return to normal and that the backup will proceed automatically as they have done for the past four years.

  4. #4

    Join Date
    Feb 2008
    Location
    Cumbria
    Posts
    14
    Thank Post
    6
    Thanked 1 Time in 1 Post
    Rep Power
    14
    This is a common problem with 2000 and 2003 server, it's to do with the way that Removable storage Manager manages media. We use this following script to run our backups, which works a treat:

    rsm.exe refresh /LF"HP C1537A SCSI Sequential Device"
    sleep 30
    for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do set dt=%%i-%%j-%%k-%%l
    for /f "Tokens=1" %%i in ('time /t') do set tm=-%%i
    set tm=%tm::=-%
    set dtt=%dt%%tm%
    c:\windows\system32\ntbackup.exe backup "@C:\backup\daily.bks" /n "%computername%-%dtt%" /d "daily %dtt%" /v:no /r:no /rs:no /hcn /m normal /j "daily %dtt%" /l:s /p "4mm DDS" /UM
    rsm.exe eject /PF"%computername%-%dtt% - 1" /astart
    exit


    Replace "HP C1537A SCSI Sequential Device" with the actual name of your drive out of Device Manager

    Replace c:\backup\daily.bks, with the name of your backup selection file (saved selections from NTBACKUP)

    Replace "4mm DDS" with the type of media that you are using (This shows in NTBACKUP and could be DLT for example)

    Sleep.exe, just creates a pause and can be downloaded from the Windows 2003 Resource kit on http://www.microsoft.com/downloads/d...E-B18C4790CFFD

  5. Thanks to garym2000 from:

    DaveP (20th February 2008)

  6. #5

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,969
    Thank Post
    352
    Thanked 1,296 Times in 887 Posts
    Blog Entries
    4
    Rep Power
    1130
    Quote Originally Posted by garym2000 View Post
    rsm.exe refresh /LF"HP C1537A SCSI Sequential Device"
    sleep 30
    for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do set dt=%%i-%%j-%%k-%%l
    for /f "Tokens=1" %%i in ('time /t') do set tm=-%%i
    set tm=%tm::=-%
    set dtt=%dt%%tm%
    c:\windows\system32\ntbackup.exe backup "@C:\backup\daily.bks" /n "%computername%-%dtt%" /d "daily %dtt%" /v:no /r:no /rs:no /hcn /m normal /j "daily %dtt%" /l:s /p "4mm DDS" /UM
    rsm.exe eject /PF"%computername%-%dtt% - 1" /astart
    exit

    Replace "HP C1537A SCSI Sequential Device" with the actual name of your drive out of Device Manager

    Replace c:\backup\daily.bks, with the name of your backup selection file (saved selections from NTBACKUP)

    Replace "4mm DDS" with the type of media that you are using (This shows in NTBACKUP and could be DLT for example)

    Sleep.exe, just creates a pause and can be downloaded from the Windows 2003 Resource kit on http://www.microsoft.com/downloads/d...E-B18C4790CFFD
    Thanks for that. It looks like it will be just the job. I have been looking for a way to eject the tape automatically after backup completion for ages. All the scripts I tried in the past invariably failed.
    Last edited by DaveP; 20th February 2008 at 09:10 AM. Reason: Remove stray character from post

  7. #6


    Join Date
    Sep 2007
    Location
    UK
    Posts
    5,449
    Thank Post
    1,447
    Thanked 889 Times in 570 Posts
    Rep Power
    647
    Just in case it confused you like it did me, the embarrassed face is : o without the space.

  8. #7

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,191
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    Quote Originally Posted by garym2000 View Post
    This is a common problem with 2000 and 2003 server, it's to do with the way that Removable storage Manager manages media.
    More like the way it doesn't manage the media is the reason it can't.

    So is there a way to resolve this issue without resorting to scripts. Can I remedy the problem with RSM and get the tapes working.

    I read that i could change the label for each tape media on each daily backup change the tape and then run the task and it will make RSM know what each label for each tape is.

    Do i need to wipe down each tape and free it before i do this.

  9. #8
    sahmeepee's Avatar
    Join Date
    Oct 2005
    Location
    Greater Manchester
    Posts
    795
    Thank Post
    20
    Thanked 70 Times in 42 Posts
    Rep Power
    34
    Out of interest, does...

    Tools > Options > General tab:
    "always allow use of recognizable media without prompting"

    ...have any effect on this problem?

SHARE:
+ Post New Thread

Similar Threads

  1. Backing up staff laptop data
    By User3204 in forum Windows
    Replies: 21
    Last Post: 14th May 2008, 11:43 AM
  2. backing up
    By gwendes in forum How do you do....it?
    Replies: 7
    Last Post: 13th November 2007, 09:06 AM
  3. Backing Up System State
    By mrforgetful in forum Windows
    Replies: 27
    Last Post: 11th January 2007, 02:04 PM
  4. Backing up SQL database ?
    By Kyle in forum Windows
    Replies: 4
    Last Post: 8th June 2006, 09:36 PM
  5. Mac software for backing up DVDs
    By dagza in forum Mac
    Replies: 14
    Last Post: 23rd May 2006, 11:29 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •