Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


November 2004

Running NTBackup from the Command Line


RSS
Subscribe to Windows IT Pro | See More Backup and Recovery Articles Here | Reprints
Or get the Monthly Online Pass—only $5.95 a month!
Main Article    NTBackup Won’t Work?

When you create a scheduled NTBackup job, it creates a scheduled task that contains the Ntbackup command. You can view all the available command-line options for the Ntbackup command by opening the command-shell window and entering

ntbackup /?

at the command prompt, then pressing Enter. Most of the Ntbackup command's options are self-explanatory, and it's easy to find their corresponding options in the Backup Wizard. However, several command-line options merit an explanation.

In the /j JobName option, JobName corresponds to the job name you'd specify when you use NTBackup's built-in scheduling feature to create a schedule for a job. This name is also used in the Backup Reports window.

In the /d SetDescription and /n MediaName options, SetDescription and MediaName correspond to the Backup label and Media label text boxes, respectively, in the Backup Wizard's Backup Label page. If you're scheduling a backup job that overwrites a tape (i.e., you're not using the /a option) and you don't specify the /n option, NTBackup will label the tape with the date and time when the job started.

If you create a scheduled job that uses a prepared tape, the Ntbackup command includes the /g GUIDName option. A globally unique identifier (GUID) is a statistically unique 32-bit number that identifies each tape in the Removable Storage database. In the Removable Storage database, an allocated tape can have several GUIDs. The /g option requires the logical media GUID for the allocated side of the tape. If the specified tape isn't in the drive when the job starts, the backup will fail.

If you decide to manually create your own scheduled backup jobs, you can use the /t TapeName option to specify a named tape. The tape name (i.e., TapeName) you specify with the /t option must correspond to the Info field on the tape's allocated side. To find out this name, open the Removable Storage console, double-click the tape, and select the Side tab. As with the /g option, the specified tape must be in the drive at the time the scheduled job runs.

For networks that use Microsoft Exchange 2000 Server and later, you can back up Exchange's information store by using the /is ServerName option, where ServerName is the name of the Exchange server. Note that to back up a remote Exchange server's information store, you either need to install Exchange System Manager (ESM) on the system running NTBackup or follow the instructions in the Microsoft article "XADM: How to Use NTBackup from a Non-Exchange 2000 Computer" (http://support.microsoft.com/?kbid=275876). Also note that if you're running Windows Server 2003 and Exchange Server 2003, there's a problem you need to know about. If you try to back up both the system state and Exchange data in the same job, the backup will fail. To work around the problem, you can use separate backup operations to back up the system state and Exchange data or you can move the Exchange databases to a different drive. For more information about this problem, see the Microsoft articles "Backup Operation Fails When You Back Up Exchange Server 2003 Databases and System State Information at the Same Time" (http://support.microsoft.com/?kbid=820272) and "Backup of the Exchange Server 2003 Information Store and the Windows Server 2003 system state Data Does Not Complete Successfully and Event ID 8019 Is Logged"(http://support.microsoft.com/?kbid=820852).

End of Article



Reader Comments
This whole article could have been summed up with:
use ntbackup/?. Adds no value really. Should implement examples in this article-

rvance86 November 04, 2004 (Article Rating: )


Hi rvance86,

The /? online help only provides very brief descriptions of the options. For example, the description for the /g option merely says "overwrites or appends to this tape" (a description which I find to be almost completely useless). The intent of this sidebar is to provide the necessary detail: The /g option requires the logical media GUID for the allocated side of the tape.

Regards,

Bill Stewart

AbqBill November 04, 2004 (Article Rating: )


Hi,
This article is good, but does not explain why my ,multi-tape backups are failing when scheduled after completion of the first tape, yet when interactive all works OK. Can you help.


philboufr November 12, 2004 (Article Rating: )


All I want is to stick in a tape and get a backup to run at say 11PM. I want it to write over any tape I stick in there and label with the date and time. When I go through the wizard my scheduled backups don't work, errors about finding the right media or device and I know it works because I can do it manually. With 2000 Ntbackup the /UM option used to help but now with 2003 I don't see that switch anymore.

digets88 December 17, 2004 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
VMware and the Future of Virtualization

What's next for virtualization and business IT? Windows IT Pro senior editor Jeff James speaks with VMware President and CEO Diane Greene on the future of virtualization technology. ...

The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

What service packs and fixes are available?

...


Windows OSs Whitepapers Replay for Exchange: Enterprise Protection and an Affordable Price

Are You Satisfied?

A Preliminary Look at Deployment Plans for Microsoft Windows Vista

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Disaster Recovery and Backup

A Guide to Windows Certification and Public Keys

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Critical Challenges of ESI & Email Retention
Are you storing too much electronic information? Get expert legal advice and better understanding of what you are required to do as an IT professional.

Become a fan of Windows IT Pro on Facebook!
Join us on Facebook and be a fan of Windows IT Pro!

Sustainable Compliance: Are You Having a Resource Crisis?
Read this white paper to examine trends in compliance and security management and review approaches to reducing the cost and operational burden of compliance.

Rev Up Your IT Know-How with Our Recharged Magazine!
The improved Windows IT Pro provides trusted IT content with an enhanced new look and functionality! Get comprehensive coverage of industry topics, expert advice, and real-world solutions—PLUS access to over 10,000 articles online. Order today!

Get It All with Windows IT Pro VIP
Stock your IT toolbox with every solution ever printed in Windows IT Pro and SQL Server Magazine plus bonus Web-exclusive content on hot topics. Subscribe to receive the VIP CD and a subscription to your choice of Windows IT Pro or SQL Server Magazine!



Order Your Fundamentals CD Today!
Gain an introduction to Exchange, learn server security requirements, and understand how unified communications can play a role in your messaging strategies with this free Exchange CD.
Windows IT Pro Home Register About Us Affiliates / Licensing Media Kit Contact Us/Customer Service  
SQL Connected Home IT Library SuperSite FAQ Wininfo News
Europe Edition Office & SharePoint Pro Windows Dev Pro Windows Excavator 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing