Computing.Net > Forums > Windows 2000 > ntbackup

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ntbackup

Reply to Message Icon

Name: Richard
Date: March 14, 2002 at 23:19:11 Pacific
Comment:

Trying to run ntbackup as a scheduled job 5 nights weekly (before you ask, customer dosn't wish to purchase a third party solution). It always fails after the first media change. Is there a way around this. MS say load sp2, but already there.



Sponsored Link
Ads by Google

Response Number 1
Name: xhelium
Date: March 15, 2002 at 04:16:16 Pacific
Reply:

I have the same problem. Altough I have a new server and tapes, it does not work. I am trying to solve it. If you find the solution, please let me know.


0

Response Number 2
Name: Curt R
Date: March 15, 2002 at 05:39:32 Pacific
Reply:

You have to run the scheduled task under an account. When you use the wizard to set up the job it asks you which account to run it under, specify the Administrator account and enter the admin password.

Windows 2000 is the first windows operating system I've found that the task scheduler actually works properly. I've set up a backup schedule of twice weekly "Normal" backups including the system state and certain folders to run under the Admin account. It's been working perfectly for weeks.


0

Response Number 3
Name: CleoTechtra
Date: March 16, 2002 at 19:07:19 Pacific
Reply:

I Found this article (#Q267574)
Maybe you guys can get some use out of it:

SYMPTOMS-
When you schedule a Windows 2000 unattended backup using a standalone tape drive, 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. 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.
-or-
Operation was not performed, because the specified media cannot be found.

STATUS-
Microsoft has confirmed this to be 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.

CAUSE-
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.

RESOLUTION-
To resolve this problem, obtain the latest service pack for Windows 2000.

WORKAROUNDS-
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 1-
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.

To install the Srvany.exe Tool as a Service:

1)Copy the Srvany.exe tool included in the Windows 2000 Resource Kit to the %SystemRoot%\System32 folder on your computer.
2)Start the Srvinstw.exe program.
3)Click Install a service , and then click Next .
4)Click Local Machine , and then click Next .
5)Type srvany under Service name , and then click Next .
6)Locate the %SystemRoot%\System32\Srvany.exe file, double-click the file name, and then click Next .
7)Click Service in it's own process , and then click Next .
8)Click System Account , and then click Next .
9)Click Automatic , and then click Next .
10)Click Finish .

To Configure the Srvany Service to Run Ntbackup.exe as a Service:

1)Start Registry Editor (Regedt32.exe) to view the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SRVANY

On the Edit menu, click Add Key... , type Parameters for the key name, and then click OK .
Click to select the Parameters key, and then click Add Value under the Edit menu. Enter Application for the value name, and use a data type of REG_SZ.

NOTE : Make sure you specify the full path to the NTBackup.exe file. Srvany.exe does not load the program if you use the %SystemRoot% variable in the path.
For example:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SRVANY Application: REG_SZ: C:\Winnt\System32\Ntbackup.exe
Quit Regedt32.exe.

After you reboot your computer, backup starts as a background service. Ntbackup.exe should be running and be visible in Task Manager under the Processes tab, and permits backup to poll tapes looking for media changes.

Method 2-
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"

NOTE : Run the rsm view /tlibrary command to extract the "library_name" to be used with the previously listed command.

Method 3-
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.

Method 4-
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.



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: ntbackup

NTBACKUP.exe won't open control window www.computing.net/answers/windows-2000/ntbackupexe-wont-open-control-window/31238.html

NTbackup commands - eject tape www.computing.net/answers/windows-2000/ntbackup-commands-eject-tape/18637.html

ntbackup + dat tape www.computing.net/answers/windows-2000/ntbackup-dat-tape/39205.html