256986 Description of the Microsoft Windows Registry
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:
-or-
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:
260910 How to Obtain the Latest Windows 2000 Service Pack
WARNING: If you use Registry Editor incorrectly, you may
cause serious problems that may require you to reinstall your operating
system. Microsoft cannot guarantee that you can solve problems that result
from using Registry Editor incorrectly. Use Registry Editor at your own risk.
The English version of this fix should have the following file attributes or
later:
Date Time Version Size File name ----------------------------------------------------------- 10/24/2000 6:20 PM 5.0.2195.2103 1,162,512 Ntbackup.exe
See the following Knowledge Base Article for more information on this
hotfix:
277701 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.
Leave 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.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SRVANY
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SRVANY Application: REG_SZ: C:\Winnt\System32\Ntbackup.exe
Schedule 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]
start /wait rsm.exe refresh /lf"library_name"
<Backup commands for unattended backup copied from scheduled task.....append
the /um switch if desired.>
NOTE: Run the rsm view /tlibrary command to
extract the "library_name" to be used with the previously listed command.
Schedule 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.
Use 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:
249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes
Additional related Knowledge Base Articles:
264604 Scheduled backup jobs may not run as expected
243260 Changed Parameters for Scheduled Backup Job May Not Be Saved
| Last Reviewed: | 5/28/2003 |