Article ID: 267574 - View products that this article applies to.
This article was previously published under Q267574
When you schedule a Windows 2000 unattended backup by using a standalone tape drive (library), the first backup job completes successfully. However, after you change the media, the next scheduled backup job does not back up the desired folder and files. Also, you may receive one of the following error messages in the backup report log file:
The operation was not performed because no unused media was available.
Operation was not performed, because the specified media cannot be found.
This problem can occur if Removable Storage Manager (RSM) is not notified when the media on the standalone tape drive (library) is manually changed. Removable Storage Manager does not poll standalone libraries looking for media changes, and it is the responsibility of the RSM aware program to request that RSM detects if the media changed on standalone libraries. When this problem occurs, RSM updates the tape drives media contents in the RSM database. Usually, when Windows backup is running interactively, it requests that RSM polls the tape drive(s) periodically looking for media changes. When backup is not running, there is no mechanism to request RSM to detect media changes. Backup is unable to issue a mount of the new tape because RSM is not aware that the new tape exists, resulting in a backup job failure.
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
260910Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/260910/EN-US/ )How to Obtain the Latest Windows 2000 Service Pack
322756The English version of this fix should have the following file attributes or later:
(http://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
See the following Knowledge Base Article for more information on this hotfix:
Date Time Version Size File name ----------------------------------------------------------- 10/24/2000 6:20 PM 5.0.2195.2103 1,162,512 Ntbackup.exe
(http://support.microsoft.com/kb/277701/EN-US/ )Ntbackup Cannot Restore from Backup Sets Located on Second Tape
To work around this problem, use one or more of the following methods incrementally until you are able to perform reliable unattended backups. Note that some tape drives require methods 1 and 2 before reliable backups can be performed.
Method 1Leave a copy of the backup program running in the background. Backup should poll the tape drive periodically looking for media changes, and should help media changes be recognized prior to the real scheduled backup job running. You can use the Srvinstw.exe Microsoft Windows 2000 Resource Kit program to install the Srvany.exe tool, and then permit Ntbackup.exe to run as a service hidden from view.
Install the Srvany.exe Tool as a Service
Configure the Srvany Service to Run Ntbackup.exe as a Service
Method 2Schedule the backup using a Backup.cmd file. You can copy the contents of the scheduled tasks RUN field and then paste them into the batch file. You can use the Rsm.exe refresh command to help recognize changed media. This can be added to the beginning of the backup batch file:
[backup.cmd]<Backup commands for unattended backup copied from scheduled task.....append the /um switch if desired.>
start /wait rsm.exe refresh /lf"library_name"
NOTE: Run the rsm view /tlibrary command to extract the "library_name" to be used with the previously listed command.
Method 3Schedule a Backup.cmd batch file containing a short (one folder\file) backup job, followed by a regular full backup. The first (short) backup will fail because no media is recognized in the tape library, however, the next backup should run because the tape library is refreshed by the first failed backup attempt to find usable media.
Method 4Use the RSM GUI (Ntmsmgr.msc) to manually perform a Full inventory on the tape library after changing tapes and before the next backup job starts.
NOTE: If you use the Ntbackup /um switch, it is recommended that you not use the /n switch to label the media. Instead, permit backup to use the default date/time as the label name and description. This eliminates multiple tapes having the same label name which may cause RSM to request a manual tape mount and prevent backup from continuing or completing in unattended mode.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2.
For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:
249149Additional related Knowledge Base Articles:
(http://support.microsoft.com/kb/249149/EN-US/ )Installing Microsoft Windows 2000 and Windows 2000 Hotfixes
(http://support.microsoft.com/kb/264604/EN-US/ )Scheduled backup jobs may not run as expected
(http://support.microsoft.com/kb/243260/EN-US/ )Changed Parameters for Scheduled Backup Job May Not Be Saved
Contact us for more help
Connect with Answer Desk for expert help.