Professional Documents
Culture Documents
NetVault 603 Administration Guide
NetVault 603 Administration Guide
Copyrights
Software Copyright 2001 BakBone Software NetVault Administrators Guide Copyright 2001 BakBone Software Printed and online versions. This software product is copyrighted and all rights are reserved. The distribution and sale of this product are intended for the use of the original purchaser only per the terms of the License Agreement. All other product trademarks are the property of their respective owners. The NetVault Administrators Guide documentation is copyrighted and all rights are reserved. This document may not, in whole or part, be copied, photocopied, reproduced, translated, reduced or transferred to any electronic medium or machine-readable form without prior consent in writing from BakBone Software. THIS PUBLICATION IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. THIS PUBLICATION COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BE INCORPORATED INTO NEW EDITIONS OF THE PUBLICATION. BAKBONE SOFTWARE MAY MAKE IMPORVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN THIS PUBLICATION AT ANY TIME.
BakBone Software 10145 Pacific Heights Blvd. Suite 900 San Diego, California 92121 858.450.9009
CONTENTS
CHAPTER 1 INTRODUCTION .......................................................................................................... 1
Introducing NetVault ............................................................................................................. 3 NetVault Features ................................................................................................................. 3 NetVault Application Plugin Modules .................................................................................... 4 About This Guide .................................................................................................................. 4 Using Help ............................................................................................................................ 5 About BakBone Software...................................................................................................... 6 Technical Support ................................................................................................................. 6 BakBone Software Web Site: www.bakbone.com.......................................................... 6 Helpdesk Support Lines ................................................................................................. 6
ii
Contents Calculating NetVault Database (NVDB) Size Requirements ........................................24 Installing NetVault Plugins and APMs................................................................................ 25 Installing a Plugin or APM .............................................................................................25 Removing a Plugin or APM ...........................................................................................26 Licenses for NetVault Products .......................................................................................... 26 Locating Machine IDs ...................................................................................................27 Requesting your License Key .......................................................................................28 Installing a License Key ................................................................................................28 Upgrading from Earlier Versions of NetVault ...................................................................... 30 Upgrading from NetVault 6.0.1 to a Later Version ........................................................30 Upgrading from NetVault 6.0.0 to a Later Version ........................................................30 Using the NetVault Configurator ......................................................................................... 31 Starting the Configurator ...............................................................................................32 Understanding the NetVault Configurator Dialog Box...................................................32 Using the Debugging (Tracing) Feature........................................................................37 Configuring NetVault 6.x..................................................................................................... 38 Configuring a SCSI LUN for a Linux kernel ..................................................................38 Setting up the kernel .....................................................................................................38 Uninstalling NetVault .......................................................................................................... 39 Uninstalling NetVault from Windows NT Machines.......................................................39 Uninstalling NetVault from Solaris or MP-RAS Machines .............................................40 Uninstalling NetVault from other UNIX or Linux Installations ........................................40
iii
Using Templates ................................................................................................................. 56 Policy Management Window ........................................................................................ 56 Searching for Data .............................................................................................................. 57 Selecting Items ................................................................................................................... 58
iv
Contents Using the Available NetVault Machines List Box ........................................................106 Using the Clients List Box ...........................................................................................107 Using Find NetVault Machine .....................................................................................108 Adding a NetVault Client.................................................................................................... 111
Installing the Data Copy Plugin .................................................................................. 152 Backing Up Data with the Data Copy Plugin .............................................................. 152 Copying Data.............................................................................................................. 152 Copying a Backup ...................................................................................................... 155 Copying a Backup Set ................................................................................................ 156
vi
Contents Using the Restore Options Tab...................................................................................212 Using the Target Client Tab ........................................................................................215 Using the Schedule Tab..............................................................................................216 Using the Advanced Options Tab ...............................................................................217 Savesets .....................................................................................................................218 Restoring Incremental Backups........................................................................................ 218 Doing a Simple Restore.................................................................................................... 221
vii
Backup Job Sets......................................................................................................... 265 Restore Job Sets ........................................................................................................ 266 Standard Policy (Set) Operations ............................................................................... 266 Saving a Set using the Save As button ...................................................................... 267 Loading a Set using the Load button.......................................................................... 268 Modify/Copy a Set Using the Modify Check Box ........................................................ 268 Deleting a Set Using the Delete Button (No Set Loaded)........................................... 269 Deleting a Set Using the Delete Button (Set Loaded) ................................................ 269 Guidelines for using Schedule Sets............................................................................ 270 Using Policy Management ................................................................................................ 270
viii
Contents NetVault for UNIX .......................................................................................................306 Help with Common Problems ........................................................................................... 307 Waiting for Media ........................................................................................................307 Checking Media Request, Media Status and Job Log ................................................307 Block Sizes and Shared Memory Configuration .........................................................308 Tips on Backing Up Sybase ........................................................................................308 Using CPIO to Retrieve Files from a NetVault Tape ...................................................309 Informix Configurations ...............................................................................................311 Missing Icons in the NetVault GUI ..............................................................................311 Multiple Network Interface Cards (NIC) and communication problems ......................311 Overheads in writing to tape .......................................................................................312 Oracle backup fails with "Can't open XXXX" message ...............................................312 Tips on Resolving Connection Problems Between NetVault servers and clients .......313 Why does NetVault not allow you to backup the proc directory? ................................314
ix
Service Tab ................................................................................................................ 339 Packages Tab............................................................................................................. 340 General Tab................................................................................................................ 341 Plugin Options Tab ..................................................................................................... 343 Fire Wall Tab .............................................................................................................. 344 GUI Tab ...................................................................................................................... 345 Logging Daemon Tab ................................................................................................. 349 Media Manager Tab ................................................................................................... 351 Network Manager Tab ................................................................................................ 352 Schedule Manager Tab .............................................................................................. 355 Security Tab .............................................................................................................. 357
INDEX
CHAPTER 1
Introduction
Introducing NetVault - 3 NetVault Features - 3 NetVault Application Plugin Modules - 4 About This Guide - 4 Using Help - 5 About BakBone Software - 6 Technical Support - 6
Introducing NetVault
Information is a priceless asset to organizations. As storage environments grow, it becomes increasingly difficult to backup corporate data while keeping the applications your users need up and running. NetVault from BakBone Software is a scalable solution for departments, data centers and enterprises available on UNIX and Windows NT operating systems. NetVault is built on a modular software architecture created for expansion, growth and continued enhancement of a growing variety of applications. NetVault also supports various storage network designs, including Storage Area Networks (SAN) and Network Attached Storage (NAS). Providing enterprise-wide control in distributed and centralized environments, NetVault is able to operate in multi-vendor networks and supports a broad range of servers, clients, database applications, storage media and high performance devices.
NetVault Features
The NetVault storage management features are many and varied and include: Use of native NetVault API for application integration. Easy-to-use administration graphical user interface (GUI) for both UNIX and Windows. Point and click installation of Application Plugin Modules (APM) to NetVault servers or clients across networks. Define pre and post processing scripts. Support for raw devices and file systems. Extensive low level error checking, logging and reporting. Tunable shared transfer memory and block size for optimized performance. Local or remote backup and recovery. SAN-enabled and LAN-free backup. Dynamically Shared Devices across SANs or shared SCSI. Library Sharing among servers and clients. Duplication for off-site disaster recovery. Disk staging for increased performance across networks. Supports as many data streams as there are devices. Standard, non-proprietary tape formats, CPIO for UNIX and MTF for Windows.
n n n n n n n n n n n n n n n
Chapter 1 Introduction
Each of the APMs is explained in detail in the NetVault Application Plugin Module Users Guide.
n n n n n n n n n n n
Section Four: Section four contains information on using Policy Sets to record and reuse job options. In this section you will also learn about the advanced options used to further define the way you work with your data.
Using Help
NetVault provides a fully interactive online help system. By pressing the F1 key, you can open the help files at any time, as shown in the following figure:
From the Help Contents window you can: Learn How to use Help Learn how to Get Started Access the Help Index Access the Glossary Display Procedures Display Functional Descriptions Click on a specific icon to learn about a management function or job operation
n n n n n n n n
Chapter 1 Introduction Open the help topics for menu commands Learn more about plugins from the NetVault Plugin Index
Technical Support
BakBone Software is dedicated to providing friendly, expert advice to NetVault product customers. Our highly trained professionals are available to answer your questions, offer solutions to your problems and generally help you make the most of your NetVault purchase. Log on to our web site, or contact our Helpdesk, for more information.
n n
CHAPTER 2
n n n n n n n n n n n n n n n n n n n n n n n n n n
Chapter 2 Managing NetVault Software Starting the Configurator - 32 Understanding the NetVault Configurator Dialog Box - 32 Using the Debugging (Tracing) Feature - 37 Configuring a SCSI LUN for a Linux kernel - 38 Setting up the kernel - 38 Uninstalling NetVault from Windows NT Machines - 39 Uninstalling NetVault from Solaris or MP-RAS Machines - 40 Uninstalling NetVault from other UNIX or Linux Installations - 40
Uninstalling NetVault - 39
n n n n n n n n
Types of Installation
There are three types of installations: NetVault Server System: Provides the full range of NetVault facilities with local control using an installed Graphical User Interface (GUI), or remotely over the network with proper security authorization. This type of installation can also act as a client. NetVault Client System: Provides a subset of NetVault facilities, without the local device support, controlled remotely over the network with proper security authorization. Custom NetVault System: Provides the facility to install specific NetVault modules.
NOTE: Refer to Appendix D, Hardware and Software Support (page 321) to determine whether the operating system, platform, and tape device you are using is supported. You can also find this information on the NetVault Technical Support web site at http://www.netvault.co.uk.
n n n n n n
10
Windows NT Installation
The requirements for installing NetVault on a Windows NT system are as follows: A computer running Microsoft Windows NT, version 4.0 with at least 32 Mbytes RAM. At this time only the Intel processor (or compatible) is supported. You must also have SP3 (NT 4.0) or later installed. Approximately 10 Mbytes of available disk space; more if you intend to use this machine to control a large NetVault domain (a server and many clients) or large multi-drive tape libraries. For NetVault Server and Custom installations (with the GUI), it is necessary to pre-install Microsoft Internet Explorer Version 3.02 or later, in order to use the HTML-based help system (NT version 4.0 or later) included with the NetVault Software. A TCP/IP network if you are not using the software in a standalone configuration.
Installation Procedure
To install the NetVault Software on a Windows NT workstation or server, follow these steps: 1. Log on as the Administrator or as a user with Administrator privileges. 2. Close all programs. 3. Insert Disk 1 into the CD-ROM drive. 4. Run SETUP.EXE. NOTE: The CD-ROM distribution is split into disk folders, which may be copied to make a set of installation floppy disks. By running SETUP.EXE in the first disk folder, all the software in the other disk folders will automatically be installed, without re-selection. An InstallShield Wizard opens and begins the installation setup.
n n n n
11
5. Once the InstallShield Wizard has loaded, the NetVault Setup Welcome dialog box opens, as shown in the following figure:
12
Chapter 2 Managing NetVault Software 7. Click Next to open the User Information dialog box:
8. Enter your Name and Company and click Next to open the Choose Destination Location dialog box:
13
9. If the Destination Folder is where you want the software to be installed, click Next to proceed to the Enter Database dialog box:
10. Click Next to open the Setup Type dialog box. If you want to change the destination for the installation, click the Browse button; navigate to and select the desired location, then click Next to proceed. The Setup Type dialog box opens, as shown in the following figure:
11. Select the desired Setup Type for the type of installation you are doing: Custom NetVault System NetVault Client System NetVault Server System
n n n
14
Chapter 2 Managing NetVault Software 12. Click Next to open the Enter Machine Name dialog box:
13. Enter the desired NetVault Machine Name. This name does not have to be the same as your computer machine name, but it is recommended that the NetVault machine name be the same as the computer name. NOTE: Machine names are alpha/numeric strings of any length with the exception of capital letters, spaces and punctuation (especially hyphens). Do not use these characters in your machine names. 14. Click Next to open the NetVault Password dialog box:
15
15. Enter the NetVault Password information. NOTE: The NetVault Security Password allows access to your machine from NetVault. This information should be secured so that only the NetVault Domain Administrators for your system have access to it. You can change the password and disable security using the NetVault Configurator. See Using the NetVault Configurator (page 31) for more information. 16. Click Next. The InstallShield progress meter appears, as shown in the following figure:
16
Chapter 2 Managing NetVault Software When the installation is complete, the Setup Complete dialog box opens:
17. Select the desired option by clicking the appropriate option button: Yes, I want to restart my computer now. No, I will restart my computer later.
18. Click Finish. NOTE: It is recommended that you restart your computer. Some NetVault files require updating with a reboot in order to function properly.
n n
17
FreeBSD 3.2
Mounting the CD-ROM: Mount the CD-ROM using the following commands (assuming the mount point /cdrom already exists): su root mount -rt cd9660 <CD-ROM device node> /cdrom Installing the NetVault Software: 1. Log on as root. 2. Run the command: cd/cdrom/cdrom0/freebsd ./install nvdist NOTE: Once the software is installed, use the nvconfigurator to set the security password to allow access from other NetVault servers and clients.
18
Chapter 2 Managing NetVault Software mount -r -F cdfs <CD-ROM device node> /cdrom Installing the NetVault Software: 1. Log on as root. 2. Run the command: cd /HP ./INSTALL NVDIST NOTE: Ensure install has execute permission
19
1. Log on as Administrator, or as a user account with Administrator privileges. 2. Close down as many other applications as possible, and insert the NetVault distribution CD-ROM into the relevant drive. 3. Run setup.exe located as follows: <cd drive>\w2k\disk1\setup.exe NOTE: Once the software is installed, use the nvconfigurator to set the security password to allow access from other NetVault servers and clients.
20
Chapter 2 Managing NetVault Software Installing the NetVault Software: 1. Log on as root. 2. Run the command: pkgadd -d /cdrom/ncr/simage (for NetVault Server installation), or pkgadd -d /cdrom/ncr/cimage (for NetVault Client installation). NOTE: Once the software is installed, use the nvconfigurator to set the security password to allow access from other NetVault servers and clients.
21
su root mount -r -F hsfs <CD-ROM device node> /cdrom/cdrom0 Installing the NetVault Software: 1. Log on as root. 2. Run the command: pkgadd -d /cdrom/cdrom0/solaris/simage (for NetVault Server installation), or pkgadd -d /cdrom/cdrom0/solaris/cimage (for NetVault Client installation). NOTE: Once the software is installed, use the nvconfigurator to set the security password to allow access from other NetVault servers and clients.
22
Chapter 2 Managing NetVault Software If the Solaris Volume manager is running, the CD-ROM is mounted automatically when you insert it into the drive. The mount point is /cdrom/cdrom0. Alternatively, you can mount the CD-ROM using the following commands (assuming the mount point /cdrom/cdrom0 already exists): su root mount -r -F hsfs <CD-ROM device node> /cdrom/cdrom0 Installing the NetVault Software: 1. Log on as root. 2. Run the command: pkgadd -d /cdrom/cdrom0/solaris/simage (for NetVault Server installation), or pkgadd -d /cdrom/cdrom0/solaris/cimage (for NetVault Client installation). NOTE: Once the software is installed, use the nvconfigurator to set the security password to allow access from other NetVault servers and clients.
23
UnixWare 2.1.3
Mounting the CD-ROM: If the CD-ROM does not mount automatically, mount it using the following commands (assuming the mount point /cdrom already exists): su root mount -F cdfs -o ro <CD-ROM device node> /cdrom Installing the NetVault Software: 1. Log on as root. 2. Run the command: cd/cdrom/uware213 ./install nvdist NOTE: Once the software is installed, use the nvconfigurator to set the security password to allow access from other NetVault servers and clients.
UnixWare 7
Mounting the CD-ROM: If the CD-ROM does not mount automatically, mount it using the following commands (assuming the mount point /cdrom already exists): su root mount -F cdfs -o ro <CD-ROM device node> /cdrom Installing the NetVault Software: 1. Log on as root. 2. Run the command: cd/cdrom/uware7 pkgadd -d/cdrom/uware7/simage (for NetVault Server installation), or pkgadd -d /cdrom/uware7/cimage (for NetVault Client installation). NOTE: Once the software is installed, use the nvconfigurator to set the security password to allow access from other NetVault servers and clients.
24
The only portion of the database for which size requirements are an issue is the MediaDatabase. The NetVault Administrator of a particular NetVault domain must estimate the anticipated size of the database to properly allocate adequate disk space for growth. To calculate the space requirements, you must have the following information: 1. The approximate number of files and directories being backed up in the NetVault Domain (i.e. on the NetVault server and all NetVault clients).
Each file and directory backed up requires 60 bytes for an index entry in the NetVault Database.
2. How many generations of each file are being kept. Each generation is a separate instance of a file or directory backup. For example, if the same file is backed up seven times, using default backup settings, there are said to be seven generations of the file held on media and indexed in the NetVault Database. By default, backups have an infinite life (i.e. the number of generations increases for every backup, causing the NetVault Database to continuously grow in size). Most systems cannot handle this amount of storage requirement, so it is part of the NetVault Administrator's tasks to ensure that a suitable Backup Life is applied to each backup (a setting found in the Advanced Options tab of the NetVault Backup window). Information on the Backup Life option can be found in Using Help (page 5) and in Backup Life (Backup only) (page 274). One example of calculating the NetVault Database size requirements is: If 200,000 files and 15,000 directories are backed up once, approximately 13 Megabytes for the NetVault Database indexing is required. If the same files and directories are backed up three times, 39 Megabytes would be required. Under normal circumstances, it is reasonable to set a Backup Life option of Discard after 7 Full Backups for File System backups. With this option set, only seven generations of files/directories are retained (using the File System plugin) for a particular backup selection. On the eighth backup, the first
n n n n
25
backup set of files/directories is discarded and removed from the NetVault Database index. A formula for estimating the space requirements (in bytes) for a number of machines is: Approximate number of files and directories backed up per machine Approximate number of generations to X be kept using Backup Life options Number of machines backed up
60
NOTES: (1) For some types of backup (e.g. online backup of some databases) it is necessary to keep a very large number of generations. Consult Technical Support (page 6) if space considerations are likely to be an issue. (2) Some Backup Life settings may not clearly indicate the likely number of generations. For example, when choosing the 'Discard after 25 weeks' setting, the number of generations kept depends on how many times you actually do this backup within the 25 week period.
26
Chapter 2 Managing NetVault Software 3. Right-click and choose Install Software from the pop-up menu, as shown in the following figure:
4. Navigate to and select the appropriate installation software. 5. Click Open to begin the installation process. When the installation is complete, a successful installation message appears in the Install Software dialog box.
27
2. Select the machine to be licensed in the Clients list. 3. Choose Properties from the pop-up menu to open the Client Properties dialog box:
28
*When you complete the Activation Key Request form on the web site and click Submit it will be sent automatically to the proper location for processing.
n n n n n n n n n n n n n
production@netvault.co.uk keys@bakbone.com
N/A 858-450-0150
29
be copied directly from the email into the Enter Key String box to avoid possible errors. To install the license key: 1. Open the NetVault Client Management window by clicking the Client Management button on the command toolbars or by choosing the Administration Client Management command. 2. Select the desired machine from the Clients list. 3. Right-click and choose Install License Key from the pop-up menu, shown in the following figure:
4. Copy the new key information from the e-mail into the Enter Key String box. 5. Click OK.
30
Chapter 2 Managing NetVault Software If the license key is installed successfully, a message dialog box appears:
31
4. When upgrading a NetVault server or client for NT, it is necessary to re-create all NT Registry backups. Under NetVault 6.0.0 these were performed using a separate NT Registry plugin; under NetVault 6.0.1 the registry can be selected as the last item appearing under the File System plugin so that a backup of the NT Registry can be included with any File System backup job for NT. 5. Devices are now added by default with the client name (i.e. NetVault name for the machine, not necessarily the machine name, on either a NetVault server or NetVault client) as the first item of the standalone drive or library name. Note that a device can be named almost any name you choose when adding a device and, in some circumstances, the user MUST enter a name other than the default name.
n n n n
32
Chapter 2 Managing NetVault Software NetVault Configurator. For complete information on the Configurator, see Appendix F, Using the NetVault Configurator (page 335). Usually you will only use the NetVault Configurator to stop and re-start security settings. It is recommended that you use the other options in the dialog box only under the guidance of BakBone Technical Support (page 6). For basic informational purposes, the main items of interest in the dialog box are described in this section.
Machine tab
The Machine tab details information about the machine on which NetVault is installed, including the Machine ID required to get a permanent License Key after product purchase. Information on the Machine tab includes the Machine name, ID, network name, IP addresses and software versions. This information is the same information available in the Client Properties dialog box of the NetVault Interface.
33
License Tab
The License tab details the Server Capabilities and the Serial Numbers of Applied Keys for the machine on which NetVault is installed. This information is the same as that available in the Server Properties dialog box of NetVaults Domain Management window. The NetVault Configurator License tab is shown in the following figure:
34
Service Tab
The Service tab allows you to start and stop NetVault service. After installation, or after a system re-boot, the NetVault Process Manager is automatically started. The Current State of NetVault is displayed in the Service tab. When necessary, you can Start NetVault and Stop NetVault by clicking the appropriate buttons on the Service tab. Usually NetVault service is stopped only when configuration settings must be changed, and only on the advice of BakBone Technical Support (page 6). The NetVault Configurators Service tab is shown in the following figure:
Packages Tab
The Packages tab is an alternative way to install or remove NetVault plugin software. The plugin installation procedure is explained in Installing NetVault Plugins and APMs (page 25). The Packages tab is useful when NetVault plugin software is to be installed locally on a NetVault client (without a NetVault interface), rather than remotely from the NetVault server.
35
Security Tab
In the Security tab you can set a new password for the NetVault server or client installation. In addition, security can be disabled by selecting the Disable Security check box. When security is disabled, the machine can be accessed by any NetVault Server.
36
Chapter 2 Managing NetVault Software The NetVault Configurators Security tab is shown in the following figure:
General Tab
If it becomes necessary to track down a problem in the NetVault program, you can generate debugging files in the General tab of the NetVault Configurator dialog box by selecting the Generate debugging files check box. The debugging trace files allow BakBone Technical Support (page 6) to find and correct problems in your NetVault software. The NetVault Configurators General tab is shown in the following figure:
37
Turning on debugging
1. Exit all open NetVault GUI windows. 2. Open the NetVault Configurator and select the Generate debugging files check box on the General tab. 3. Click Apply. 4. Click the Service tab of the NetVault Configurator. 5. Click the Stop NetVault button and then click the Start NetVault button. A trace sub-directory is created in the NetVault6 directory. Trace log files are automatically created and updated as NetVault is used to track NetVault activities. NOTE: Trace files can become large quickly. Remember to turn off debugging as soon as the facility is no longer needed.
n n n n
38
n n n n
39
# lilo 5. Reboot your system. 6. Confirm that the modification has been completed. The kernel automatically recognizes the SCSI device when rebooting. You can also confirm the changes using the Dmesg command after rebooting. An example of the output of the Dmesg command is shown in the following figure:
?? (scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 15/0 (scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs (scsi0) Warning - detected auto-termination (scsi0) Please verify driver detected settings are correct. (scsi0) If not, then please properly set the device termination (scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted (scsi0) during machine bootup. (scsi0) Cables present (Int-50 NO, Int-68 NO, Ext-68 YES) (scsi0) Downloading sequencer code... 419 instructions downloaded scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.7/3.2.4 <Adaptec AHA-294X Ultra SCSI host adapter> scsi : 1 hosts. Vendor: SONY Model: TSL-A300C Rev: L202 Type: Sequential-Access ANSI SCSI revision: 02 (scsi0:0:1:0) Synchronous at 20.0 Mbyte/sec, offset 8. Vendor: SONY Model: TSL-A300C Rev: L202 Type: Medium Changer ANSI SCSI revision: 02
NOTE: For more information on Linux SCSI settings, see Linuxs SCSIHOWTO.txt document.
Uninstalling NetVault
CAUTION: Uninstalling NetVault Software will remove all NetVault Database entries. This will result in loss of all backup records performed with NetVault.
40
CHAPTER 3
NetVault Basics
Graphical User Interface - 43
Menu Bar - 43 Command Toolbar - 45 Status Line - 46 Device Management Window - 47 Client Management Window - 48 Domain Management Window - 48 Media Management Window - 50 Status Window - 50 Backup Window - 52 Restore Window - 53 Jobs Window - 54 Logs Window - 55 Policy Management Window - 56
Managing Media - 49
n n n n n n n n n n n n n
43
The interface contains the menu bar, the command toolbars and the status line which are explained in this section. Information about the windows opened by these commands can be found in Managing Devices and Clients (page 46).
Menu Bar
The NetVault menu bar, shown in the following figure, provides access to the NetVault functions and operations.
The commands available in each menu item are detailed in the following table: Menu File Choose this command: Printer Setup To do this: Open the Print Setup dialog box where you can select the desired printer and specify its properties. Close all open windows and dialog boxes and exit the program.
Exit
44
Chapter 3 NetVault Basics Menu View Choose this command: Toolbar To do this: Turn on or off the display of the command toolbar containing shortcut buttons to the menu commands. Turn on or off the display of the large icon shortcuts to the menu commands. Open the Font dialog box where you can change font and font size. Open the Backup window where you can select items for backup, schedule jobs and set job options. Open the Restore window where you can select backed up items to be restored, schedule jobs and set job options. Open the Status window where you can monitor device, client and job status and view operator messages. Open the Media window where you can view details on media items. Open the Job window where information is stored about jobs, their status and job histories. Open the Log window where you can access log files. Open the Client Management window where you can view and find information on the NetVault Clients and Available NetVault Machines. Open the Domain Management window where you can view and find information on the Controlled Servers and Available NetVault Servers. Open the Device Management window where you can view logs and media requests for your devices.
Restore
Status
Domain Management
Device Management
45
Menu
To do this: Opens the Policy Management window where you can define sets of options for schedules, target media and advanced options (backup life, compression, verification, duplication and pre and post scripting). Display a description of and help for the current focus item. Display the Help Index. Open the About dialog box showing product version number and license information.
Help
Command Toolbar
The command toolbar, when displayed, is located directly below the menu bar in the NetVault interface and consists of shortcut buttons providing access to commonly used commands. These shortcut buttons can be displayed in two sizes: the small buttons on the command toolbar or as large buttons in the interface. The display of the command toolbar can be turned on or off by choosing the View Toolbar command. The display of the large command buttons is turned on or off by choosing the View Large Buttons command. The NetVault command toolbar (small buttons) appears as shown in the following figure:
46
Chapter 3 NetVault Basics The shortcut buttons, accessible from either the command toolbar or the large buttons, are described in the following table: Click this button For this command: Operations Backup Operations Restore Administration Client Management Administration Device Management Operations Status Operations Media Management Operations Job Management Operations Logs
Status Line
The Status Line, located at the bottom of the NetVault window, displays a description of the command over which the cursor is currently placed. An example of the information displayed when the cursor hovers over the Media Management command button, is shown in the following figure:
47
The options available on the NetVault Device Management window are: Server Selection: A list of servers. Devices: Lists the devices currently controlled by the selected NetVault server. Devices you intend to control through the NetVault Device Management window must be added by choosing one of the Add commands. The Devices tab provides access to Library and Drive commands used to check status, modify libraries, remove devices, check drives, and other functions used in managing the devices. Device Logs: A list of the log messages recorded for activity on the devices which were or are currently under the control of the selected NetVault server. Media Requests: Contains all currently active requests for media. Once a media request is filled as part of an active job, the media request is removed.
For complete information on using the Device Management window, see Working with the Device Management Window (page 64).
n n n n
48
The options available in the NetVault Client Management window are: Server Selection: A list of servers. Clients: An alphabetically ordered list of the current NetVault clients for the NetVault server selected in the Server Selection box. Available NetVault Machines: A list of the currently known NetVault machines on the network and their current status: blue if available, red if unavailable. Find NetVault Machine: Allows you to search for a NetVault machine not currently listed in the Available NetVault Machines list. With this search you can find machines located on another network connected by a router, bridge or gateway to the local network.
For complete information on using the Client Management window, see Working with the Device Management Window (page 64).
n n n n
49
providing a Domain Management facility. This facility requires the installation of a NetVault GUI. The NetVault Domain Management window opens when you choose the Administration Domain Management command, as shown in the following figure:
The NetVault Domain Management window is similar to the NetVault Client Management window. The options available in the window are: Available NetVault Servers: The list of currently known NetVault servers on the network and their current status: blue if available, red if unavailable. With proper security, a server may be added as a Controlled Server. Controlled Servers: The list of all NetVault servers which may be controlled from the selected server and their current status: blue if available, red if unavailable. With proper security, a Controlled Server can be added from the Available NetVault Servers frame. Find NetVault Machine: Allows you to search for a NetVault Server machine not currently listed in the Available NetVault Servers frame. Use this facility to find machines on another network connected by a router, bridge or gateway to the local network.
For more information on using the Domain Management window, see The NetVault Domain Management Window (page 117).
Managing Media
An important part of performing backups and restores for your data is being able to manage the media used to store the data, as well as schedule and run the backup and restore jobs. NetVault provides the windows used to supervise the performance of your media. This section describes those windows.
n n n
50
The options available on the NetVault Media Management window are: Server Selection: A list of servers. Media: The list of media and backup savesets on the selected server. Details: The tabs appearing in the Details frame vary, depending on the item selected in the Media frame. For selected media the tabs can include Details, Statistics, History, Library Info and Media Requests. Each tab provides details specific to the media such as location, space used, segments used and date written. When a job is active it also provides information used to administer media requests. When a backup saveset is selected, the tabs displayed are Backup, Segment 1 and Segment 2. Information displayed for a selected backup saveset can include the name of the server which controlled the backup, the name of the client the data was backed up from, the type of backup performed and more. For more information see Media Management (page 127).
Status Window
The NetVault Server Status window displays information on the current status of the selected server.
n n n
51
The NetVault Jobs window opens when you click the Status button on the command toolbars or choose the Operations Status command. The information in the NetVault Server Status window is divided into individual, sizable areas, as shown in the following figure:
The areas in the NetVault Server Status window are: Device Status: Displays the availability and state of each device on the NetVault server. Client Status: Displays the state of each NetVault client on the NetVault server. Job Status: Displays the state of each job controlled by the NetVault server. Operator Messages: Displays all messages for jobs controlled by the NetVault server.
For complete information on using the Server Status window, see The NetVault Server Status Window (page 141).
Backing Up Data
The NetVault Backup window is where you select the data you want to back up, set backup and advanced options, choose the target media and schedule backup jobs.
n n n n
52
Backup Window
The NetVault Backup window allows you to create, edit and submit backup jobs for NetVault clients. NetVault backup jobs transfer data from the NetVault client to a backup device whose media stores the data. The backed up data is then available to be restored to the originating client. The NetVault Backup window opens when you click the Backup button on the command toolbars or choose the Operations Backup command, as shown in the following figure:
Each of the tabs in the NetVault Backup window controls the functions and options available for backup jobs. Complete information on using the NetVault Backup window can be found in Backing Up Data (page 157). Selections: Allows you to select the data you want included in the backup job. For more information on how to select specific data, see Searching for Data (page 57). Backup Options: Backup options vary, depending on the plugin or APM selection. These options control whether you do a full, differential or incremental backup, and if differential or incremental, specify the data you want to include. Schedule: Provides the option to specify when backup jobs are run, whether they are run only once or are repeated at certain intervals, and whether they can be triggered to run by a command. Target: Allows you to specify a particular device or media on which the data will be backed up. Advanced Options: Includes the option to set backup life, data compression, verification, duplication and pre and post scripting. Additional information on the Advanced Options is in Using Advanced Features (page 271).
n n n n n
53
Restore Window
The NetVault Restore window allows you to create, edit and submit restore jobs for NetVault clients. NetVault restore jobs transfer data from a backup device whose media stores the data to the NetVault client. The NetVault Restore window opens when you click the Restore button on the command toolbars or choose the Operations Restore command, as shown in the following example:
Each of the tabs in the NetVault Restore window controls the functions and options available for backup jobs. Complete information on using the Restore window can be found in Restoring Data (page 197). Selections: Allows you to select the data you want included in the restore job. For more information on how to select specific data, see Searching for Data (page 57). Restore Options: Restore options vary, depending on the plugin or APM selection. These options control whether a restore job can overwrite existing data, create backup files or change date and time stamps. Target Client: Allows you to select the client where you want the data to be restored.
n n n
54
Chapter 3 NetVault Basics Schedule: Provides the option to specify when backup jobs are run, whether they are run only once or are repeated at certain intervals, and whether they can be triggered to run by a command. Advanced Options: Includes the option to set backup life, data compression, verification, duplication and pre and post scripting. Additional information on the Advanced Options is in Using Advanced Features (page 271).
Job Operations
The NetVault Jobs window allows you to monitor the performance of and schedules for your backup and restore jobs. This same window also gives you access to historical job information for completed jobs. The Logs window is available to view job logs created during backup and restore job operations. The job logs record what happened while the job was running, including operation messages issued and any warnings or errors that may have occurred. With the job logs, problems can be identified and corrected before the same circumstances are applied to new jobs.
Jobs Window
The NetVault Jobs window contains information relevant to jobs submitted by the NetVault server that are completed, running and scheduled to run. The Job Manager runs on the NetVault server to monitor plugins and device managers on other machines to complete a task. The NetVault Jobs window opens when you click the Job Management button on the command toolbars or choose the Operations Job Management command, as shown in the following figure:
n n
55
Status: The Status tab lists the completed, running and scheduled jobs. Running and scheduled jobs can be controlled by choosing different commands in the pop-up menus. Completed jobs can be viewed and edited. Scheduled jobs can be viewed, edited, deleted from the schedule and placed on hold. You can also monitor, view, edit and abort running jobs. Jobs: Displays the list of jobs in the NetVault database. Jobs listed here do not have to be active; a series of jobs can be created, saved with different names and submitted later. History: The list of all jobs that have been run.
For more information on using the Jobs window, see Job Management (page 239).
Logs Window
The NetVault server centralizes all logs in a NetVault domain, assuring that the logs from the server and the clients are gathered in a single location. The NetVault logging utility pre-allocates disk space for the log storage so that logging continues even if the system runs low on disk space. The NetVault Logs window opens when you click the Logs button on the command toolbars or choose the Operations Logs command, as shown in the following figure:
Operational logging for processes controlled by the selected NetVault server selected are listed in the NetVault Logs window. Logs can be filtered to display only those who meet specified filter options, such as Warning Levels, date ranges, clients, etc. For complete information on using the NetVault Logs window, see Using Logs (page 249).
n n n
56
Using Templates
In most of the backup and restore jobs that you do, the same set of options can be applied. The Policy Management window can be used to define and store sets of options that can be re-used in many of your backup and restore jobs.
n n n n n n
57
The NetVault Policy Management window is opened by choosing the Administration Policy Management command, and appears as shown in the following example with the Schedule tab displayed:
At the bottom of each tab you can name and save a Set of options and load, modify and delete a Set you previously saved. For more information on using Save Sets and working with the Policy Management window, see Using Policy (Set) Templates (page 263).
In the Restore Search dialog box, you can specify a string of characters in the Search String box that must be present in the backed up data you want to find, use a Regular Expression Search and search for Case Sensitive characters. In addition, wildcard characters can be used to expand the results of your search. For more information on Regular Expressions, see Using Regular Expressions (page 315).
58
Selecting Items
By carefully selecting the items you want to backup or restore, you can reduce the time it takes to run the backup and restore jobs and, subsequently, minimize the time data is unavailable to your users. Items are selected or cleared by clicking a square located to the left of the item. The following example shows how the individual items in a Microsoft SQL Database Backup are included or excluded by selection:
The green check next to the master item indicates that the entire database is selected. When the green check is present at this level, all sub-items are automatically selected. The red X next to the spt_datatype_info and spt_datatype_info_ext items indicates that these items are excluded from the selection. A selection at the top, or master, level automatically selects all its sub-items and indicates the selection with a green check. If the master level is opened, and all sub-items selected, then the master item is automatically selected. When the master level is selected (making all sub-items selected), individual sub-items can be excluded by clicking the green check box. The now excluded sub-item is indicated with a red X. If the master level is opened but not selected, individual items not selected are indicated by the blank square.
n n n n n n
CHAPTER 4
n n n n n n n n n n n n n n n n n n n n n n n n n n
61
Device Types
NetVault devices fall into two categories: Simple Devices: Normally a single drive device requiring manual intervention to change media. Libraries: Libraries can be configured as single-drive, random tape libraries (stackers), multi-drive (random) tape libraries (jukeboxes), sequential devices, autochangers, autoloaders, disk libraries, etc.
Device Connections
NetVault devices are controlled by a NetVault server. They can be attached directly to the NetVault server or distributed across the clients of the server. These devices are known as Client Transfer Nodes (CTN). Multi-drive devices can be completely controlled by one NetVault server/client or shared among more than one NetVault server/client.
n n
62
Chapter 4 Device and Library Management Requirements for using shared-SCSI include: The two machines must be physically close enough to each other so that the maximum recommended cable lengths for the type of SCSI cabling in use and number of connections are not exceeded. The two machines must be running a main operating system supported by NetVault (i.e. Microsoft Windows NT, or most versions of UNIX). Note that the two machines DO NOT have to be running the SAME operating system. Each machine must contain a suitable SCSI ID configured to each SCSI Adapter Card. The device(s) to be used (either Standalone Drive or Library) must have SCSI IN and OUT connectors. Note that stackers, jukeboxes and autochangers are all classed as Libraries by NetVault. The SCSI cabling is set up to 'daisy-chain' between the SCSI Adapter Card on one machine, via all of the device SCSI connections, to the SCSI Adapter Card on the second machine. Each machine must have either NetVault client or NetVault server software installed and the NetVault License purchased must allow for the required number of Client Attached (distributed) Devices. Each standalone or library drive can be added as shared by both machines, or or be configured for exclusive use by one machine. Each drive is seen as a local drive to the NetVault machine to which it is added. A library robotic arm connection must be added by NetVault to only one of the two machines.
Once the hardware device(s) and NetVault software installation is complete, the shared device(s) can be added to the NetVault Device Management window, by choosing either the Add Standalone Drive or Add Library commands. For more information on adding standalone, shared devices, see Adding a Shared Standalone Drive to a Client (page 77). Information on adding shared devices is available in Adding Libraries (page 81).
n n n n n n n n n
63
Refer to Adding a Shared Standalone Drive to a Client (page 77) or Adding Libraries (page 81).
The list of tape devices installed in your system is displayed. 3. Click the Drivers tab to display the tape device drivers on your system. 4. Select all of the drivers to be removed and click the Remove button.
Shared Devices
NetVault devices can be shared between two or more machines using sharedSCSI, a SAN or DirecSan connection using standalone drives and drives in a library. A shared drive can be used by NetVault as a local drive while backing up the client. This allows data to be efficiently transferred via the network. Even if a drive is physically shared between two or more machines, it can be added to NetVault for exclusive use by one machine, or shared by specific, connected machines.
Setting up a Device
Before you can start using NetVault, at least one device must be added. NetVault can use various types of media including tape and DVD-RAM for simple devices
64
Chapter 4 Device and Library Management and libraries, and hard disks set up as pseudo tape libraries. Once a device is added, it appears in the NetVault Device Management window. Before trying to add a SCSI tape device to NetVault, make sure that it is recognized by your operating system. NOTE: DVD-RAM devices are slow when writing to them. To improve this process, NetVault compresses data before writing by default. This can be turned off in the Device Management window if desired
Menu Bar
The Device Management menu bar, shown in the following figure, provides access to the NetVault functions and operations.
65
The commands available in each menu item are detailed in the following table: Menu File Choose this command: Printer Setup To do this: Open the Print Setup dialog box where you can select the desired printer and specify its properties. Open the Print dialog box where you can choose the desired printer and properties before printing. Close the window. Add a library. Add a standalone drive. Open the Devices tab. Open the Device Logs tab. Open the Media Requests tab. Display help on the current topic. Open the help system.
Close Add View Add Library Add Standalone Drive Devices Device Logs Media Requests Help Current Topic Help Contents
Window Tabs
Information available in each of the tabs in the Device Management window is described in the following table: Window Tab Devices Provides Information about: The control functions for all devices currently controlled by the NetVault server. For devices to be controlled in this area, they must be added with the Add commands. Log messages for devices which are, or have been, under the control of the selected NetVault server. Currently active requests for media. Once the media request has been satisfied as part of the job progress, the media request is removed.
66
Chapter 4 Device and Library Management combination of icons and colored lights that explain device types and status, as explained in the following tables: Icons Provides Information about: Library - with status indicating light of green if functional. Drive - with status indicating light (see Drive Lights table below for explanations). Slot - Library media slot (with media identity, unless empty). Port - Entry/Exit port enabling media to be imported or exported without opening the main library door.
Drive Lights
Provides Information about: Green Light - The drive is available and not in use. Yellow Light - The drive is currently in use. Red Light - The drive is not available, and there could be a problem with it.
67
Door Closed
Entry/Exit Closed
68
Chapter 4 Device and Library Management This Library Command Scan Does this: The Scan command causes NetVault to scan the selected media to ensure that all backup savesets are recorded in the NetVault database. This command can be used to import an item of media from another NetVault device (marked FOREIGN), including media previously in a device controlled by a different NetVault Server (or controlled by a previous NetVault Server installation on the same machine). No restores can be performed from media while it is marked FOREIGN, it must be scanned first. For more information on scanning, see View the library and drive configurations, make any necessary modifications and click the Save details button to store the settings. (page 92).
Drive/Slot Commands This Drive/Slot Command Status Does this: Opens a Status dialog box for the drive with tabs containing: 1) Details showing whether or not the drive is online and whether it contains media, 2) Media Information indicating read/write capacities, errors and times, 3) Library Info identifying the library and the physical and logical slot positions, and 4) Cleaning describing date/time, data transferred, errors and time in use since last cleaning (this tab appears only when a device is designated for cleaning). Loads the media in the slot into an available drive. Causes the drive to self-test. Choosing the Check command when a drive is showing a red indicator often makes the drive available again. Useful for checking for media after it has been loaded into a simple drive. Submits a request to NetVault to clean the selected drive; a message confirming the clean cycle request appears. If the request is not possible (i.e., the device is busy or offline, a cleaning cartridge is unavailable, etc.) an appropriate message is displayed.
Load Check
Clean
69
Does this: Opens the Cleaning Interval dialog box where you can set one or more of the following options to control when a drive is cleaned: the number of days between cleaning cycles, the amount of data transferred in gigabytes, the number of hours in use, and the number of soft read/write errors encountered. Opens the Cleaning Media Properties dialog box where you can set the desired number of lives (or cleaning passes) for a cleaning device. Opens the Edit Drive dialog box where advanced configuration settings can be changed to maximize drive performance for a particular use and statistics gathered. Enables the selected media to be re-used by NetVault after confirmation. When media is marked to be re-used, it can be overwritten by future backup jobs. Blanks a previously used media item after confirmation that you will lose all data on the media. Allows you to view/edit labels for a selected media item (new or re-used). Also allows you to view the current labels and tape format. NOTE: It is not possible to change the label of media in use without losing the data currently stored on it. Transfers the selected media to the Entry/Exit Port so that it may be removed from the library. Unloads the media from the drive to return it to its designated slot. With a Simple Drive the media is ejected. Opens a multi-tabbed dialog box containing comprehensive information on the media status.
Life
Configure
Re-use
Blank Properties
70
Chapter 4 Device and Library Management This Drive/Slot Command Scan Does this: The Scan command causes NetVault to scan the selected media to ensure that all backup savesets are recorded in the NetVault database. This command can be used to import an item of media from another NetVault device (marked FOREIGN), including media previously in a device controlled by a different NetVault Server (or controlled by a previous NetVault Server installation on the same machine). No restores can be performed from media while it is marked FOREIGN, it must be scanned first. For more information on scanning, see View the library and drive configurations, make any necessary modifications and click the Save details button to store the settings. (page 92).
Entry/Exit Port Commands This Port Command Status Does this: Opens a Status dialog box for the drive with tabs containing: 1) Details showing whether or not the drive is online and whether it contains media, 2) Statistics indicating how much data was read/written, how many errors were read/written and when the data was read/written, and 3) Library Info identifying the library and the physical and logical slot positions. Unloads the media from the drive to return it to its designated slot. With a Simple Drive the media is ejected. Opens a multi-tabbed dialog box containing comprehensive information on the media status. The Scan command causes NetVault to scan the selected media to ensure that all backup savesets are recorded in the NetVault database. This command can be used to import an item of media from another NetVault device (marked FOREIGN), including media previously in a device controlled by a different NetVault Server (or controlled by a previous NetVault Server installation on the same machine). No restores can be made from media while it is marked FOREIGN, it must be scanned first. For more information on scanning, see View the library and drive configurations, make any necessary modifications and click the Save details button to store the settings. (page 92).
71
Information available on the Device Logs tab include: Log Messages: The log messages listed here are also available in the NetVault Logs window where a filter can be applied to select specific logs. For more information on using the Logs command, see Using Logs (page 249). Warning Level: The color indicators used here are also used in the NetVault Jobs window. See Using Logs (page 251) for more information. Exclamation Marks: An exclamation mark inside the warning level dot indicates that additional information is available for the log message. When the exclamation mark is inside the dot of a Backup job, and you doubleclick it, the Transfer Information dialog box opens:
n n n
72
Chapter 4 Device and Library Management When you double-click an error dot, the View Log Context dialog box opens:
73
The commands available when you right-click a media request are described in the following table: Media Request Command Status Does this: Opens the Media Request Status dialog box to view the statistics of the jobs request for media. For more information, see Media Request Status Dialog Box (page 73). Opens the Diagnose Media Request dialog box to view information about how the media request is set up. For more information, see Places the job on hold. Removes the hold, placing the job back in the queue. Opens the Set Request Priority dialog box where you can change the priority level for the selected job, see Set Priority Dialog Box (page 76). For more information on setting default priority levels, see Setting Default Priorities (page 76).
Diagnose
74
Chapter 4 Device and Library Management The above example provides information for a backup job. Each item is explained in the following table: Information Item Request Request type Status Explanation The identifying number for the media request. Whether the media request is for a backup or a restore. The current status of the job. This example shows that there is No Suitable Media Available. This could mean that the Target Media is not in the device. The priority assigned to the media request. The related Job Number. The NetVault machine requesting the media. Specifies which drive(s) the media request applies to. In this example, the backup may only use a library drive (the DLT drive within the Exabyte EXB-210), so only this library drive is listed. Specifies which media the media request applies to. In this example, the backup targeted specific media - New DLT Tape 4. This is the Media Label (MID) of the media which is required for the backup. Allows you to designate the selected media for re-use. Details the setting of Backup - Target, General Options setting Specify minimum space required on media before backup. In this example, this parameter is not set. Details whether or not the Backup - Target, General Options setting Ensure this backup is the first on the media was specified. Details whether or not the Backup - Target, Media Options option Automatically label new or reused media was turned on. Details whether or not the Backup - Target, General Options option Protect media from further writes after backup was turned on.
Media
Re-use media Required amount of media Force first backup Label automatically Mark media read-only on completion
75
Explanation Under normal circumstances, this parameter is set to Default, meaning that any media format can be used. When a media format is specified (i.e., MTF), and a backup needs to span more than one item of media, if the first item of media uses MTF, then all others must also use MTF. A backup job cannot use mixed media formats. This parameter applies only to media in libraries. If the Library Return inactive media to slot delay parameter is set (in the Add Library - Configure dialog box or by choosing the Configure command on a selected library), the parameter specified is displayed here. Currently not available. Details whether or not the Backup - Advanced Options, Compression setting Network Compression has been specified.
The above example provides information for a backup job. Each item is explained in the table in Media Request Status Dialog Box (page 73).
76
The Set Priority dialog box allows you to change the priority of the selected job. NetVault backup and restore jobs are run in order of priority. Decrease the priority of a job to move it forward in the queue.
n n
77
78
Chapter 4 Device and Library Management 2. Choose Add>Add Standalone Drive to open the Add Standalone Drive window, shown in the following figure:
The Add Standalone Drive window contains these options: Choose Drives: A list of the devices already connected to or available to be connected to the NetVault client. Selected Drives - Displays a photograph of the added device, or a photograph of the generic type, as listed in the Type field. Details: Displays a basic description of the devices capabilities. Save details button: Click this button to store the added device. Remove Drive: Click this button to delete a selected drive. File Menu: Accesses the Save, Print Setup, Print and Close commands. Help Menu: Opens the help for the Current Topic or the Help Contents page.
3. Select the client rabbit, right-click and choose Open from the pop-up menu.
4. Select the desired drive, right-click and choose Add Shared from the pop-up menu. If this is the first client selection for this drive only, choose Select to add the drive to the drive bay.
n n n n n n n
The available standalone drives for the client are displayed in the Choose Drives list. The SCSI ID and device string for the drive are displayed.
79
The drive has been added for the first client. Normally the picture displayed in the Selected Drives frame and the information in the Type box match your drive. 5. Add the same drive to the second client using one of the following methods: Manually add the drive as shared for an additional client. Select an additional NetVault client physically connected to this drive via shared-SCSI or a SAN, right-click and choose Open from the pop-up menu. The drive is listed under the selected client. Let NetVault automatically add all shared drives.
6. Right-click the drive and choose Add Shared from the pop-up menu:
n n
80
Chapter 4 Device and Library Management The drive has been added to the second client, as shown in the following figure:
NOTE: You can manually add a drive to any number of clients connected to it. 7. Select the Standalone Drive and right-click to open the pop-up menu. The commands available are: Configure: Click the Configure tab or select the desired drive, right-click and choose Configure from the pop-up menu to access the Configuration settings. For this example, there are no configuration settings. Scan for shared drives: Choose Scan for shared drives from the pop-up menu to automatically detect and add any other clients sharing the drive. See Scanning for Shared Drives (page 94) for more information.
8. Enter a suitable Device Name in the box. You cannot use a default name when a drive is shared.
9. After viewing the configuration, and changing any options as necessary, save the settings for the added device by clicking the Save details button.
n n
If you select a drive, the pop-up menu adds the Remove command so that the selected drive can be deleted.
81
The new drive appears in the NetVault Device Management window and starts to initialize. At first the drive containing media is displayed with UNKNOWN for the media and the yellow drive light, indicating it is being checked by NetVault. After the media has been checked, the drive light turns green. New media, or media previously blanked, is listed as BLANK. Media already in use under NetVault is listed with the Media Label it has been allocated. This will be prefixed with FOREIGN: if it is not known by your current NetVault database; if you wish to use this media, you will need to scan it. For information on scanning for shared devices, see Scanning for Shared Drives (page 94). Media which has been used under NetVault 5 will be marked as NetVault5 NT (or other OS). Media Formatted in some other manner will normally be marked as OTHER.
Adding Libraries
All Libraries to be controlled by a NetVault server are added via the Add Library window. A library can be added to the NetVault server itself as a client, or when using the Client Transfer Node facility, to a NetVault client controlled by the NetVault server. The example below explains how to add an Exabyte 18D Library, with single Quantum DLT 4000 drive, to a NetVault Client (richard) which is also the NetVault server. Before adding the device, the NetVault server does not have any devices added (so no backup can be run). To add a library: 1. Open the NetVault Device Management window by clicking the Device Management button on the command toolbars or by choosing the Administration Device Management command.
82
Chapter 4 Device and Library Management 2. Choose Add Library to open the Add Library window, shown in the following figure:
The Add Library window contains the following options: Library Selection tab: Displays the list of NetVault clients to which libraries are connected, and shows the libraries available to be added. Drive Selection tab: Displays the list of NetVault clients to which drives are connected, and shows the drives available to be added. The correct drive for each library drive bay must be selected. Configure tab: Displays an overview of the complete library configuration and allows additional configuration to be set up using library (arm changer) and drive pop-up menus. Save details: Stores the Library configuration modifications.
3. Select the client having the Library you want to add (for this example, select the richard client).
n n n n
83
4. Right-click and choose Open from the pop-up menu, shown in the following example, or double-click the client.
The available libraries for the client are displayed in the Choose Device frame. NetVault normally displays the SCSI ID and device string for the library (arm changer). 5. Select the library, right-click and choose Select from the pop-up menu. The library picture, Type and Details are displayed in the Selected Library frame and the library (arm changer mechanism) is selected.
6. Click the Drive Selection tab. 7. Select the NetVault Client (richard) in the Choose Drives frame.
84
Chapter 4 Device and Library Management 8. Right-click and choose Open from the pop-up menu to display the libraries available to be added to the selected NetVault servers control.
9. Display the list of drives available to be added to the selected servers control by choosing the Open command from the pop-up menu for the selected NetVault Client.
85
10. Select the desired drive, right-click and choose Select from the pop-up menu:
IMPORTANT: If a library has more than one drive, the correct drive bay for each drive must be selected in the Select for drive bay box before selecting the drive to be added. In the example above, only one of the four drives fitted to this library is connected by SCSI, so only one SCSI Tape drive appears. The drive is now added. The equipment picture in the Selected Drives frame and the Type will match the particular library. For a library with multiple drives, repeat the last step for each drive you want to add. IMPORTANT: When adding multiple drives to a library, the drive order is critical. Make sure the correct drive bays are used for each added drive.
86
Chapter 4 Device and Library Management 11. Click the Configure tab or select the library (arm changer) and/or drive(s), rightclick and choose Configure from the pop-up menu, as shown in the following figure:
12. Click the Save Details button to save the library configuration. The NetVault - Information dialog box displays a message that the library was added:
The new library is displayed in the NetVault Device Management window and initialization is begun. At first, only the library and drive(s) are displayed. As each slot is initialized it is shown with a media of UNKNOWN.
87
Other media types are: Blank: New media or media previously blank. Foreign: Media already used under NetVault is displayed with the Media Label it has been allocated. This will be prefixed with FOREIGN: if it is not known by your current NetVault database; if you wish to use this media, you will need to scan it. NetVault5 NT (or other OS): Media used under NetVault 5. Other: Media formatted in some other manner.
n n n n
88
Chapter 4 Device and Library Management 2. Open Add Library to open the Add Library window:
3. Select the first client (rabbit) which will control the Library Armchanger. 4. Choose Open from the pop-up menu. The available libraries for the client are displayed in the Choose Library frame. NetVault displays the SCSI ID and device string for the library (arm changer). 5. Select the library, right-click and choose Select from the pop-up menu, shown in the following figure:
89
The Library (arm changer mechanism) is selected. The library picture, Type and Details are displayed in the Selected Library window.
6. Click the Drive Selection tab. 7. Select the NetVault client in the Choose Drives frame of the Drive Selection tab. 8. Right-click and choose Open from the pop-up menu to display the libraries available to be added to the selected NetVault servers control. 9. Select the NetVault client, right-click and choose Open from the pop-up menu to display the drives available to be added to the selected NetVault servers control. IMPORTANT: If a library has more than one drive, the correct drive bay for each drive must be selected in the Select for drive bay box before selecting the drive to be added. In the example above, only one of the four drives fitted to this library is connected by SCSI, so only one Scsi Tape drive appears.
90
Chapter 4 Device and Library Management 10. Select the desired drive in the Choose Drives frame of the Drive Selection tab, right-click and choose Add Shared from the pop-up menu, as shown in the following figure:
If this is the first client selection for this drive only, choose Select to add the drive to the drive bay. The drive has been added for the first client. Note that the picture under Selected Drives, and the information shown in the Type box, match your particular library. For a library with multiple drives, repeat the last step for each library drive to be added to the first client. WARNING: When adding multiple drives to a library, the drive order is critical. Make sure the correct drive bays are used for each added drive. 11. Add the same drive to the second client using one of the following methods: Manually add the drive as shared for an additional client. Select a NetVault client physically connected to this drive via shared-SCSI or SAN, right-click and choose Open from the pop-up menu. The drive appears under this client. Continue this procedure with the steps in Manually Adding Shared Drives for Other Clients (page 91). Let NetVault add all shared drives automatically. Continue with this procedure using the steps in Manually Adding Shared Drives for Other Clients (page 91).
n n
91
View the library and drive configurations, make any necessary modifications and click Save to store the settings.
The drive is added to the second client, as shown in the following figure:
92
NOTE: You can manually add a drive to as many clients as are connected to it. 3. Click the Configure tab or select the library (arm changer) and/or drive(s), rightclick and choose Configure to change the configuration settings:
4. View the library and drive configurations, make any necessary modifications and click the Save details button to store the settings.
93
4. Right-click the device and choose Properties as shown in the following example, to open the Properties dialog box:
5. In the Properties dialog box, clear the Enable library option as shown in the following figure:
94
Chapter 4 Device and Library Management 6. Click Apply and then OK to exit the dialog box.
The NetVault - Working dialog box informs you that NetVault is scanning.
95
Please wait while the scanning function completes. You would NOT normally click Cancel. When the scan is complete, a message appears indicating that the scan is complete:
When NetVault machines with this device attached are found, they are displayed in the NetVault Working dialog box. In the above example, a machine identified as /dev/nvscsi/SCTL020 (HP C1533A) was found. 3. Click OK to close the dialog box. 4. Click the Configure tab to view the clients that can control the drive(s).
5. After viewing the configuration, and changing any options as necessary, save the settings by clicking the Save details button.
Scanning Media
If you want to import NetVault media from a different NetVault server (or a previous installation of your current NetVault server), you may do so using the Scan function. The Scan function is also useful when you encounter problems with your media. You may be advised that the media needs scanning on the Details tab of the Media Properties dialog box. To scan media: 1. Open the NetVault Device Management window by clicking the Device Management button on the command toolbars or by choosing the Administration Device Management command.
96
Chapter 4 Device and Library Management 2. Make sure that the media is in a drive or library slot. In the following example, the media is a tape inserted into a simple drive:
The media is displayed as FOREIGN if it is unknown to the NetVault Database of your installation. 3. Select the drive or library slot containing the media, right-click and choose Scan from the pop-up menu:
97
The media will be scanned and details of the backups contained on it will be added to the current NetVault Database. The word FOREIGN should now be removed and the drive light should return to green.
98
Chapter 4 Device and Library Management 4. Right-click the library, again, and choose Configure to open the Configure Device dialog box. 5. Click the Cleaning tab, as shown in the following figure:
6. Enter the appropriate information. Generally you would choose one of the following methods: Barcode Prefix(es) of cleaning media: Enter one or more (separated by commas) barcode prefixes to identify the tapes used for cleaning. Cleaning Slots: Enter the identification of the slots you want to use for cleaning. You can enter one or more (separated by commas).
NOTE: If you want to remove the cleaning ability from a slot, open the Configure Device dialog box and clear the entry in the Cleaning Slots box. 7. Click OK to save the changes, exit the Configure Device dialog box and return to the Modify Library dialog box. 8. Click the Save details button to commit the changes.
n n
99
3. Click the Cleaning tab for information, as shown in the following figure:
Information available in the Status dialog box, Cleaning tab, includes: Date Last Cleaned Time Since Last Clean Times Cleaned Data Transferred Since Last Clean Time in Use Since Last Clean Soft Errors Since Last Clean
4. Click OK to exit the dialog box. To check the status of a cleaning slot, follow these steps: 1. With the Device Management window open, right-click the desired cleaning slot and choose Status to open the Status dialog box, shown in the following figure:
n n n n n n n n n n
Information available in the slots Status dialog box, includes: Name Physical slot position Logical slot position Locked by
3. Click the up and down arrows (or enter the number) until the number of Lives you want appears in the box. 4. Click OK to commit the change and exit the dialog box.
In the Cleaning Interval dialog box you can set one or more options, as described below: Days: The number of days between cleanings. Data Transferred (Gb): The amount of data transferred in gigabytes. Hours of Use: The number of hours the media has been in use.
n n n
101
Soft Read/Write Errors (x100): The number (in hundreds) of soft read/write errors that have occurred.
3. Click OK to commit the specified options and exit the dialog box.
4. Click OK to exit the dialog box and return to the Device Management window.
Cleaning occurs when any one of the set options is encountered. For instance, if you set the number of Days to 3, cleaning happens every third day. If you want to clean media after a specific number of hours in use, set the Hours of Use to that number. If all the options are set, cleaning occurs when that criteria is met.
CHAPTER 5
Client Management
Client Management - 105 The Client Management Window - 105
Using the Available NetVault Machines List Box - 106 Using the Clients List Box - 107 Using Find NetVault Machine - 108
n n n
105
Client Management
All NetVault clients for the Server Selection are controlled by a NetVault server using the NetVault Client Management window, shown in the following figure:
The NetVault Client Management window is used to monitor, control, and add the NetVault clients under the control of a NetVault server, as chosen from the Server Selection list. The list of machines that have NetVault loaded are automatically detected on the network and displayed under Available NetVault Machines. Any machine on the network, including other NetVault Servers, can be added as a client to the selected server.
n n n n
106 Chapter 5 Client Management machines located on another network connected by a router, bridge or gateway to the local network. File Menu: Provides access to the Close command used to close the window. Help Menu: Accesses help for the Current Topic or the Help Contents page.
n n
Icons
The Available NetVault Machines list box indicates the status of NetVault machines using the following icons: Icon Indicates: Available NetVault machine with NetVault password protection. This machine may be added as a NetVault client. Available NetVault machine without NetVault password protection. You may add this client without providing a password. Unavailable NetVault machine. This is usually a machine with NetVault installed, but is currently powered-off, or booted with a different operating system than used for the NetVault installation.
(blue) (blue)
(red)
107
Icons
The Clients list box displays the status of NetVault clients using the following icons: Icon Indicates: Available NetVault Client with NetVault password protection. This is normally a temporary state while the client is being added; once the client has been successfully added, the key is removed. It can also occur if the NetVault Password has been changed for the client since it was added. Available NetVault Client which has been successfully added. The blue icon does not necessarily mean that the NetVault server has good access to this client; if you are in doubt as to how efficient the access is, right-click the client, then choose Check Access.
(blue)
(blue)
108 Chapter 5 Client Management Icon Indicates: Unavailable NetVault Client. This is often a machine with NetVault installed that is currently switched off, or booted under a different operating system from the one containing the NetVault installation.
109
The following figure shows two examples of the types of searches you can do:
Searching for a Client by Machine Name 1. Enter the name of the machine in the Machine Name box (e.g. nvserver). 2. Click the Find button. The hourglass cursor appears while NetVault searches. If the search is successful, the NetVault Machine (nvserver) is added to the Available NetVault Machines list box:
See also Reasons for Search Failures (page 110). Searching for a Client by IP Address 1. Enter the name of the machine in the Machine Name box (e.g. 192.9.201.238). 2. Click the Find button.
110 Chapter 5 Client Management The hourglass cursor appears while NetVault searches. If the search is successful, the NetVault Machine (nvserver) is added to the Available NetVault Machines list box:
n n
The machine was found, but probably does not have NetVault installed or running. In this case, one of the following dialog boxes appears:
111
n n n
Domain Admin
Domain B
NetVault 6 Server Unix / NT Client Client Client Client Client Client
Adding a NetVault Client 1. Open the NetVault Clients window. Make sure the correct NetVault machine is displayed in the Server Selection box. 2. Select the client you want to add from the Available NetVault Machines list. 3. Right-click the client, then choose Add As Client. SECURITY NOTE: Unless the Security has been disabled in the NetVault Configurator, Security tab, you must enter the NetVault Password to be granted access to this client.
113
4. Type the NetVault Password for this machine in the Enter Password box. 5. Click the OK button. If the password entered was correct and there were no network communication problems, the System Access Passed dialog box opens:
NOTE: If the wrong password is entered when adding the client, right-click the client in the Clients list and choose Check Access; you can then enter the correct password. The System Access Passed message will appear when the security password has been entered correctly.
CHAPTER 6
Domain Management
Domain Management - 117 The NetVault Domain Management Window - 117
Using the Available NetVault Servers List Box - 118 Using the Controlled Servers List Box - 119 Using Find NetVault Machine - 121
n n n
117
Domain Management
NetVault is a network solution in which one machine is configured as a NetVault server with NetVault clients assigned to it. A single NetVault server and its NetVault clients make up a NetVault Domain. You can choose to administer the server from the machine running the server software, or from a remote workstation. Many servers can be administered from a central location, thus creating a Domain Management facility. A Domain Manager requires the installation of a NetVault GUI (Graphical User Interface). In the NetVault Domain Management window you can designate an Available NetVault Server as a Controlled Server (with the proper security permissions). This sets the servers available in the Server Selection list of the general NetVault control windows. Any single Controlled Server can be set as the automatic default for the Server Selection list in all other windows.
Options available in the window include: Available NetVault Servers: The list of all currently known NetVault servers on the network (local area, wide area or the Internet), along with their current status (blue for
118 Chapter 6 Domain Management available, red for unavailable). With the correct security password, servers may be added to the Controlled Servers area. Controlled Servers: Displays a list of all NetVault servers which may be controlled from the selected server, along with their current status (blue for available, red for unavailable. With the correct security password, servers may be added from the Available NetVault Servers list. Find NetVault Machine: Allows a search to be made for a NetVault server machine not currently listed in Available NetVault Servers. With this function you can find machines located on another network connected by a router, bridge or gateway to the local network. File Menu: Provides access to the Close command used to close the window. Help Menu: Accesses help for the Current Topic or the Help Contents page.
n n n n
Icons
The Available NetVault Servers list box indicates the status of NetVault servers using the following icons: Icon Indicates: Available NetVault server. This machine may be added to the Controlled Servers list. Unavailable NetVault Server. This is often a machine which has NetVault installed on it which is currently switched off, or booted under a different operating system from the NetVault installation.
(blue) (red)
119
The following information is included: The NetVault name of the machine. The Type of the machine (NT or UNIX). UDP Fragment Size is the maximum size of a UDP packet. Server. TRUE if the machine is a server, FALSE if it is a client. Networks. A list of all the network addresses associated with the machine. Fixed entry. Not used at this time. Preferred Address. The network specified as the primary communication for that machine. Contact Address. The network used by NetVault to communicate with the machine. Id. The internal ID number. Version. The internal version number.
n n n n n n n n n n
120 Chapter 6 Domain Management available, red for unavailable). With the correct security password, servers may be added to the area from the Available NetVault Servers area.
Icons
The Controlled Servers list box displays the status of NetVault servers using the following icons: Icon Indicates: Available NetVault Server which has been successfully added. The blue icon does not necessarily mean that the NetVault GUI has good access to this server; if you are in doubt as to how efficient the access is, check it by choosing the Check Access command. Unavailable NetVault Server. This is often a machine with NetVault installed that is currently switched off, or booted under a different operating system from the one containing the NetVault installation.
(blue)
(red)
121
Searching by Machine Name 1. Enter the name of the machine in the Machine Name box (e.g. nvserver). 2. Click the Find button.
122 Chapter 6 Domain Management The hourglass cursor appears while NetVault searches. If the search is successful, the NetVault Server (nvserver) is added to the Available NetVault Servers list box. Searching by IP Address 1. Enter the name of the machine in the Machine Name box (e.g. 192.9.201.238). 2. Click the Find button. The hourglass cursor appears while NetVault searches. If the search is successful, the NetVault Machine (nvserver) is added to the Available NetVault Machines list box.
n n
The machine was found, but probably does not have NetVault installed or running. In this case, one of the following dialog boxes appears:
123
n n
CHAPTER 7
Media Management
Media Management - 127 The Media Management Window - 127
Using the Media List Box - 128 Status Information in Details Area - 129 Using the Backup Saveset Pop-up Menu - 135 Backup Saveset Information in Details Area - 135
n n n n
127
Media Management
Managing the media you use to store your data is effortless with NetVaults Media Management utility. In the Media Management window you have access to all the information you need about your media. To open the Media Management window, shown in the following figure, click the Media Management button on the command toolbars or choose Operations Media management:
n n n n
Icons
Icon Indicates: Media Group (with Group Label Name alongside) - This icon is only shown if a Group Label was defined when the media was first labelled (an advanced function). All media with this Group Label will be shown in an indented list directly beneath it. Tape Media (with Media Label Name alongside) - This icon represents Tape Media. If the media has been automatically labelled by NetVault, or manually labelled without a Group Label, the icon is shown on the left; otherwise it will be indented under the Media Group icon (as shown at the bottom). Virtual Tape Media (with Media Label Name alongside) - This icon represents Virtual Tape Media (actually a disk file). If the media has been automatically labelled by NetVault, or manually labelled without a Group Label, the icon is shown on the left; otherwise it will be indented under the Media Group icon (as shown at the bottom). Backup Saveset (with Job Title and Saveset Number alongside) - This icon represents a Saveset for a job written to the media. Note that a Saveset may span more than one media item, in which case it will be listed under each.
Remove
Re-use
129
To do this: Displays the Properties of the media which include: Media Label, Group Label, Offsite Location and Tape Format. Except for blank media, only the Offsite Location may be changed here.
The actual tabs appearing in the Details section can vary, but can include tabs for Details, Statistics, History and Library and Media Requests.
Details Tab
The Details tab appears as shown in the following figure:
130 Chapter 7 Media Management Typical information shown on the Details tab includes: Name Name Group Name Offsite Location Space Used Description The title given to a specific piece of media. The name assigned to several pieces of media. The location of the media. Used to identify a medias origin when the media is imported to a new location. Graphically indicates how much space on the media has been used. If you require a quantity in Mbytes, please see Space Used in the Statistics tab. Details the type of media used, tape, disk file, etc. If the media has a barcode, it is displayed here. Indicates whether the device media should be discarded after a specified number of backups or period of time.
Statistics Tab
The Statistics tab appears as shown in the following figure:
Typical information shown on the Statistics tab includes: Name Space Left Description Indicates how much space is left on the media. This information is important when considering where backed up data should be placed. Shows how much data has been stored on the media. Details the number of media segments contained on an item of media.
131
Description Shows when the media was last written on. The first four digits signify the year, the next two the month and the last two the day. The time is displayed in a 24 hour clock format.
Date Last Read Shows when the media was last read. The date protocol is the same as Date Last Written.
History Tab
The History Tab appears as shown in the following figure:
Typical information shown on the History tab includes: Name Times Reused Read Errors Description Indicates how many times the media has been used. Lists the number of Read Errors that have occurred. Normally you would see no errors. If there are errors it could indicate possible media or drive failures, and the cause should be investigated immediately. Lists the number of errors that have occurred writing data to the media. If there are errors it could indicate possible media or drive failures, and the cause should be investigated immediately. Indicates the amount of data written to the Media. This is a running total which spans any Reuse of the tape. Indicates the amount of data read from the Media. This is a running total which spans any Reuse of the tape.
Write Errors
Typical information shown on the Library Info tab includes: Name Name In Home Description The name allocated to the Library in the NetVault Device Management window. Shows the Drive where the media is located. Shows the Slot where media is located.
133
Typical information shown on the Media Request tab includes: Name Request Job Request type The related Job Number. Indicates whether the media request is for a backup or a restore. NOTE: The other parameters listed here are for a backup media request. The current status of the job. The NetVault machine requesting the media. Indicates which drive(s) the media request uses. In this example, the Backup was targeted to a single drive, the virtual library G:, DRIVE 1, so only this drive is listed. Description The identifying number for the media request.
134 Chapter 7 Media Management Name Media Description Specifies which media the request uses. In this example, the Backup did not use target specific media, so 'Any' is shown. If the Backup uses target specific media, e.g. by Media Label (MID) or Media Group, then the appropriate identifier is shown. Indicates the setting of the Specify minimum space required on media before backup option in the Backup - Target, General Option tab. In this example, only media with at least 18 Mbytes free may be used. Indicates the setting of the Force first backup option. ensure this backup is the first on the media option in the Backup - Target, General Option tab. Indicates the setting of the Automatically label new or reused media option in the Backup - Target, Media Option tab. Indicates the setting of the Protect media from further writes after backup option in the Backup - Target, General Option tab. Normally this parameter will be set to default. This means that the default media format will be used (MTF for NT, or CPIO for UNIX). When a backup needs to span more than one item of media, if the first item of media uses MTF, then all other others must also use MTF (similar for CPIO, i.e. a backup job cannot used mixed media formats). This parameter applies only to media in Libraries. When the Library Return inactive media to slot delay parameter is set in the Add Library - Configure, Library Icon pop-up menu, Configure command, the specified parameter is listed here.
Required amount of media Force first backup Label automatically Mark media read-only on completion Use media format
135
Typical information shown on the Backup tab includes: Name Job Title Server Client Plugin Backup Set Description This is the job number the request relates to. The name or title given to the backup job. The NetVault Server in control of the relevant backup. The NetVault Client for whom data had been backed up. Details the type of plugin used to carry out the backup. The Backup Set allows a particular backup to be saved and reloaded for use with more than one Backup Submission. This area will tell you the name of the Backup Set used, if any (e.g. Rich,e:\_test). The date and time when the backup occurred. Indicates if the backup is an Incremental type backup or a Full backup. Indicates if the backup has been marked as an archive If the backup is to be discarded after a specified number of full backups, the Generations detail shows the remaining number of backups available. For instance, if n (the number of full backups) has a value of 5, the generations counter is reduced by 1 each time there is a full backup. Once the generations reach 0, the backup is retired. Backup Life is set in the NetVault Backup, Advanced Options tabbed area. For more information about using Advanced Options, see Using the Advanced Options Tab (page 273).
137
Name Retire
Segment 1 Tab
The Segment 1 tab appears as shown in the following figure:
Typical information shown on the Segment 1 tab includes: Name Length Offset Position Block Size Description The length of the segment in Mbytes. The number of bytes the start of this segment is offset from the start of the backup. The first segment is always offset 0 bytes. Position of the segment on the NetVault media. The block size being used by the device. Backups are saved to the media in whole multiples of this block size, with the last block being padded out when required. Total time taken for the backup. In this example, using a virtual (disk) tape, the time taken was so short that it is shown as 0 secs. The amount of time taken for the backup job to transfer to the segment. In this example, using a virtual (disk) tape, the time taken was so short that it is shown as 0 secs. The date the backup will be retired, or NEVER. The length of the segment in Mbytes.
Total Time
Transfer Time
Retire Length
Segment 2 Tab
The Segment 2 tab, with information on a fixed 32 Kilobyte tape index section for MTF compliance, appears as shown in the following figure:
Typical information shown on the Segment 2 tab includes: Name Length Offset Description The length of the segment in Mbytes. The number of bytes the start of this segment is offset from the start of the backup. In this example, as the first segment was 1.81 Mbytes long, the start of the second segment is offset by that amount. Position of the segment on the NetVault media. The block size being used by the device. Backups are saved to the media in whole multiples of this block size (the last block being padded out when required). Total time taken for the backup. In this example, using a virtual (disk) tape, the time taken was so short that it is shown as 0 secs. The amount of time taken for the backup job to transfer to the segment. In this example, using a virtual (disk) tape, the time taken was so short that it is shown as 0 secs. Is a date the backup will be retired, or NEVER. The length of the segment in Mbytes.
Total Time
Transfer Time
Retire Length
CHAPTER 8
n n n n
141
The window contains the following information: Device Status: Shows the availability and state of each device for the NetVault server. Client Status: Shows the state of each NetVault client of the NetVault server. Job Status: Shows the state of each job controlled by the NetVault server. Operator Messages: Shows all Operator Messages for jobs controlled by the NetVault server. File Menu: Accesses the commands used to Print Setup, Print and Close the window.
n n n n n
142 Chapter 8 NetVault Server Status Operations Menu: Contains commands to open other windows: Backup Restore Media Management Job Management Logs Client Management Domain Management Device Management Policy Management
Help Menu: Accesses the commands used to display help for the Current Topic or the Help Contents page.
Drive Lights
Drives are shown with one of three colored lights: Drive Light Indicates: A drive with a Green light, indicates that the drive is available and not in use. A drive with a Yellow light, indicates that the drive is currently in use. A drive with a Red light, indicates that the drive is not available (and there could be a problem with it).
Green
Yellow
Red
n n n n n n n n n
n n n
143
Icons
The Client Status area shows NetVault clients using the following icons: Icon Indicates: Available NetVault Client with NetVault password protection. This is normally a temporary state while the client is being added; once the client has been successfully added, the key is removed. It can also occur if the NetVault Password has been changed for the client since it was added. Available NetVault Client which has been successfully added. The blue icon does not necessarily mean that the NetVault Server has good access to this client; if you are in doubt as to how efficient the access is, right-click the client then choose Check Access. Unavailable NetVault Client. This is often a machine with NetVault installed that is currently switched off, or booted under a different operating system from the one containing the NetVault installation.
(blue)
(blue)
(red)
Delete Schedule
Hold
Run Now
145
Running Job Area Pop-up Menus The Running Job area (default color Yellow) pop-up menu commands are: Choose this command: Monitor Job To do this: Open the Job Monitor dialog box for the selected job. This provides both Job Information and Data Transfer information as the job progresses. You may also double-click the log entry to perform the same function. View the log for the selected job. Use the filter options to display the required level of information (e.g. All to show all log entries). Abort a running job. After selection, an Aborting Job dialog box opens. The job Status is shown as Aborted by user. Load the job into the appropriate Backup or Restore window to allow all the settings to be viewed, modified or copied to a new job.
View Log
Completed Job Area Pop-up Menus The Completed job area (default color White) pop-up menu commands are: Choose this command: View Log To do this: View the log for the selected job. Use the filter options to display the required level of information (e.g. All to show all log entries). Load the job into the appropriate Backup or Restore window to allow all the settings to be viewed, modified or copied to a new job. Run the job immediately. Note that this option adds the job to the job queue to run it as soon as possible.
Edit/View Job
Run Now
Most of these messages are various types of Warnings that require some operator intervention. For example, the above message indicates No suitable media found for Job 15. This may require the tape(s) to be changed in one or more devices controlled by the selected NetVault server.
CHAPTER 9
Disaster Recovery
Disaster Recovery - 149 Backing Up the NetVault Database - 149 NetVault Database Recovery - 149
Restoring Basic Operating System - 149 Restoring NetVault Operation - 150 Handling Backups Since Last NV Database Backup - 150
Restoring the NetVault Database - 150 Importing Media Unknown to NV Database - 151 Using the Data Copy Plugin - 151
Target Audience - 152 Installing the Data Copy Plugin - 152 Backing Up Data with the Data Copy Plugin - 152 Copying Data - 152 Copying a Backup - 155 Copying a Backup Set - 156
n n n n n n n n n
149
Disaster Recovery
Backing up and storing your data is crucial to recovering from a catastrophic event that destroys your data. There are two important components to easily restoring information: The NetVault Database Copying backed up data to an offsite location using the Data Copy plugin included in your NetVault installation.
This chapter discusses how to use each of these features to ensure that you can access and recover data.
n n
150 Chapter 9 Disaster Recovery 2. Re-install the operating system if it was stored on the defective drive.
151
3. Select the drive or library slot, right-click and choose Scan from the pop-up menu. The media is scanned and details of the backups contained on it are added to the current NetVault database. The word FOREIGN is removed and the drive light should turn green. 4. Close the Device Management window. 5. Open the Restore window by clicking the Restore button on the command toolbars, or by choosing Operations Restore. 6. Select the client (or NetVault server) and choose Open from the pop-up menu, or double-click the client to display the databases within it. 7. Open the NetVault Databases item to display the backup savesets available for restore. 8. Select the most recent backup saveset, right-click and choose Open from the pop-up menu, or double-click the backup saveset. 9. Select all items in the backup saveset by clicking the square next to each item. 10. Enter the name of the job in the Job Title box. 11. Submit the job by clicking the Submit button. The NetVault database restore will be run. Do not monitor the job while it is running, since this may interfere with the process. It is best to submit the job and then close all NetVault windows until the restore is complete.
Target Audience
No special skills are required for routine backup operations or for using the Data Copy plugin.
Copying Data
The Data Copy plugin copies previously made backups. You can make copies in two ways: From the Backups folder. You can select a single backup saveset from the Backups folder and create a copy. From the Backup Sets folder: When you select a Backup Set to copy, NetVault always copies the most current data, unless the use last full backup option is selected.
To perform a copy of a backup using the Data Copy plugin, follow these steps: 1. Open the NetVault Backup window by clicking the Backup button on the command toolbar or by choosing the Operations Backup command. The NetVault Backup window displays the list of clients in the Selections tab. 2. Select the desired client, right-click and choose Open from the pop-up menu or double-click the client to display the list of installed plugins. You must select the server with the Data Copy plugin installed. Servers are always listed at the top of the data tree
n n
153
NOTE: It is important to note that two devices, or pieces of media, are required to copy data.
3. Double-click the Data Copy plugin to open and display the folders:
154 Chapter 9 Disaster Recovery 4. Double-click the Backups or Backup Sets folder to display the list of clients on the server with backups or backup sets available to be copied. 5. Double-click the desired client and continue to double-click to open each item until you reach the backups available to be copied. For instructions on copying a backup saveset, see Copying a Backup (page 155). Information on copying a backup set can be found in Copying a Backup Set (page 156). 6. Click the Backup Options tab to display the backup options, shown in the following figure:
7. Select the desired Data Copy Options as follows: COPY TYPE - Copy a full backup to produce a new independent copy of the data: Copies the selected backup; producing a new image with its own index. COPY TYPE - Duplicate a backup (duplicated incrementals will need their original full backup for restore): Duplicates the data. Both copies share the existing index. A new index is not created. COPY TYPE - Use Saveset name from original backup: Loads and uses the Selection saveset from the original backup for the current data copy. This option is available for selection when the Copy a full backup to produce a new independent copy of the data option is selected. When the Duplicate a backup (duplicated incrementals will need their original full backup for restore) option is selected, this option is automatically activated. COPY TYPE - Automatically get a sets last full backup: When selected, this option directs NetVault to retrieve the last full backup performed with the selected set.
n n n n
155
COPY TYPE - Use a sets most recent job regardless of type: Repeats the last backup performed on the set, whether it was an incremental or full backup. Migrate (Discard original backup): Makes a copy of the original backup then removes the original. This option is useful for disk staging and tape cleanups. BACKUP LIFE - Use originals life: Applies the same backup life to the copy as was used for the original backup. BACKUP LIFE - Use Backup Life on Advanced Options tab: Resets the backup life for the copy to the selection made in the Advanced Options tab.
8. Enter a title for the job in the Job Title box. 9. Submit the backup job by clicking the Submit button on the command toolbar. See your NetVault Administrators Guide for information on viewing the job status, progress and log.
Copying a Backup
The Backup folder lists the clients and all backups done on each, similar to the example shown in the following figure:
1. Select the desired backup saveset. 2. Select any other desired options and submit the job.
n n n n
1. Select the desired backup set. 2. Select any other options and submit the job NetVault locates the most current backup with this data in it and performs the copy.
CHAPTER 10
Backing Up Data
Backing up Your Data - 159 The NetVault Backup Window - 159
Backup Window Buttons - 160 Window Tabs - 160 Menu Commands - 161 Using the Selections Tab - 162 Using the Backup Options Tab - 168 Using the Schedule Tab - 173 Using the Target Tab - 174 Advanced Options - 178 Savesets - 178 Creating a Typical Weekly Full and Incremental Schedule - 179
Incremental Backup Procedure - 179 Restoring Incremental Backups - 180 Doing a Simple Backup - 180 Using the Consolidate File System Backups Plugin - 182
Installing the Consolidate File System Backups Plugin - 182 How the Plugin Works - 182 Consolidating Backups - 182 Installing the Raw Device Plugin - 186 Using the Raw Device Plugin for NT - 187 Using the Raw Device Plugin for UNIX - 192
n n n n n n n n n n n n n n n n
159
In this chapter you will learn how to perform a simple backup and what the advanced options are for more complex backup jobs.
n n n n n
160 Chapter 10 Backing Up Data The NetVault Backup window contains the following options:
NEW
LOAD
SAVE
SUBMIT
Window Tabs
The following tabs appear on the window: Selections: Used to select the data to be backed up, using the appropriate NetVault plugin. Some NetVault plugins are provided as part of the standard installation, while Application Plugin Modules (APM) are only available if installed separately. For more information on installing plugins, see Installing NetVault Plugins and APMs (page 25). Backup Options: The Backup Options tab allows extra information for the job to be specified, depending on the NetVault plugin or APM in use in the Selections area. For example, a File System backup (e.g. NT or UNIX File System plugin) allows you to specify the type of backup (e.g. Full, Incremental, etc.). For NetVault APMs, the settings available may include login details (e.g. Connect As, Password) to allow access to the data selected for backup. For a
n n
161
description of the more standard options, see Using the Backup Options Tab (page 168). Schedule: Used to specify when the job will run. Jobs can be scheduled to run immediately, at a later date/time or run when triggered by a command line or script command. You can also set a job to run once or to repeat. For full information on both backup and restore job scheduling, see Scheduling Backup & Restore Jobs (page 225). Target: Used to specify what the selected data is backed up on (or to). You may Target a particular Device or Media, and set parameters for General Options. See Using the Target Tab (page 174) for more information. Advanced Options: The options in the Advanced Options tab are only used for advanced functions, including setting Backup Life, Compression, Verification, Duplication, Pre and Post Scripts. The use of these functions is detailed in Using Advanced Features (page 271).
Menu Commands
The Menu Bar in the NetVault Backup window provides access to the commands described in the following table: Menu File New Load Choose this command: To do this: Creates a new backup job. Opens the Load Backup Job dialog box where you can select a saved job that you want to run again. Saves the current backup job and assigns a job name. Open the Print Setup dialog box where you can select the desired printer and specify its properties. Close the Backup window. Open the Selections tab. Open the Backup Options tab. Open the Schedule tab. Open the Target tab. Open the Advanced Options tab. Starts the backup job.
View
Accept
n n n
Close Selections Backup Options Schedule Target Advanced Options Submit Backup
162 Chapter 10 Backing Up Data Menu Help Choose this command: Current Topic Help Contents To do this: Display a description of and help for the current focus item. Display the Help Contents.
163
The About menu command displays information on the NetVault Plugin Version, and if applicable, the Licence details. The File Systems Help menu item opens the Help screen for the plugin loaded. The plugin opens to display all drives for the selected client. The following is an example of typical drives which may be displayed when using the NT File Systems plugin. Note you cannot select the Shared Drives for backup with this plugin.
164 Chapter 10 Backing Up Data 3. Select the desired Drive, right-click and choose Open or double-click the drive, as shown in the following figure:
When you want the drive to be included in the backup, click the square to its left to place a green check mark there. Information about the drive can be displayed by right-clicking and choosing the View Details command from the pop-up menu.
165
4. Select the Directory, right-click and choose Open or double-click it. When you want the directory to be included in the backup, click the square to its left to place a green check mark there. Information about the directory can be displayed by choosing the View Details command.
166 Chapter 10 Backing Up Data The restore tree for this example saveset has been expanded. Continue to open each level of the tree until the files you want to backup are displayed. You can select a file to be restored by clicking the square to its left, so that the green check mark is displayed. You can also View Details of the file.
5. Select the data to be backed up by clicking the square to the left of each desired item. In the following example, the complete drive is selected for backup:
If you do not want to include a file (or directory tree) in the selection, click the square to its left again. The green check mark changes to a red X, indicating that it is excluded from the backup:
167
Once the data has been selected, you should do the following: 1. Set the required Backup Options. See Using the Backup Options Tab (page 168). 2. Enter a name for the job in the Job Title box. 3. Either click the Save button to save the backup, or the Submit button to start the backup job. A job can be created and submitted this way very quickly, and because no Schedule (or other) options have been set, the backup should run immediately using whatever media (not in a Media Group) is available.
The icons and files located in the System Settings directory appear only when that particular service is running and can include all or a portion of the following: Registry
168 Chapter 10 Backing Up Data Active Directory Cluster Database Certificate Server COM + class registration database Remote Storage Manager Remote Storage Manager Database IIS Metabase Disk Quota Database
n n n n n n n n
169
The Backup Options tab for Windows 2000 is shown in the following example:
The online Help System provides for specific Backup Options information for each NetVault plugin. See Using Help (page 5) for instructions on accessing the help files.
Backup Type
When present, the Backup Type frame normally has two options: Full: When the selected Backup Type is Full, NetVault will perform a complete backup of all data selected. The only exceptions are certain types of data (often specific system files) which can never be backed up and will
n n n n
170 Chapter 10 Backing Up Data produce warning messages in the Job Log if NetVault attempts to back them up. The Full backup type is always the default backup method, used when there are no Backup Options displayed or they have not been explicitly set Incremental: When the selected Backup Type is Incremental, NetVault will backup only data that has altered since a previous backup was completed. There are two types of Incremental backup: Changed since last backup - This Incremental backup type will only backup data that has changed since the last backup, regardless of the type of backup previously executed. Changed since last FULL backup - This Incremental backup type will backup all data that has changed since the last Full backup. This may include data that has already been backed up by the Incremental backup type - Changed since last backup. WARNING: In order to perform an Incremental Backup, you MUST use a Selection Set set up for a job using the Full backup type. Please refer to Incremental Backup Procedure (page 179) for more information. NetVault uses an innovative method of displaying Incremental backups in the NetVault Restore window, allowing ALL data in the selection to restored in a single Restore Job (regardless of what saveset actually contains the data). See Restoring Incremental Backups (page 218).
Miscellaneous Switches
NetVault checks for files modified during a backup by reading the date and size of the file being backed up before and after the backup is performed. By default, files modified during the backup are not restored unless the Check for files being modified during backup option is turned on. The backed up file is placed in the backup index and is fully restorable. A modified file is displayed with a broken file folder icon in the restore window. The Windows 2000 plugin includes the option to Backup through Mount Points, which is a drive attached to an empty folder on an NTFS volume. Mounted drives function the same as any other drive, but are assigned a label or name instead of a drive letter. The mounted drives name is resolved to a full file system path instead of just a drive letter. If this option is cleared, only the mount information is backed up, not the data on the mounted drive. NOTE: If you have backed up data through a mount point, and then perform a restore, NetVault restores the data to its original location.
171
The Ignore archive bit switch is available when Incremental Backup Type is selected. When selected, this switch causes incremental data to be backed up, regardless of the state of the archive bit.
There is an additional area, Miscellaneous Switches, which include: Backup through Mount Points: When selected, the data that is on a mounted drive is backed up. If this option is cleared and you back up a mounted drive, only the path information for the mounted drive is backed up.
172 Chapter 10 Backing Up Data The Account Details area requires the following information when backing up encrypted files: Username: The username of the Administrators group. This must be an account in the group which has the run as service privilege. Password: The password for the Administrators username. Hard Links: When the first occurrence of a hard link is found, the data is backed up. For all other occurrences, only the link is backed up. This data can only be restored when the first occurrence exists; trying to restore subsequent occurrences without the presence of the first causes the job to fail. Sparse files: A sparse file is a very large file created by application in such a way that only limited disk space is needed (i.e. NTFS allocates disk space only to the portions of a file that are written to). A backed up sparse file is restored sparse rather than taking up the physical disk space for its size. NTFS-5 volume: A NetVault backup can be used to backup and restore NTFS volumes. If you have backed up data from an NTFS volume used in Windows 2000, it is recommended that you restore the data to an NTFS volume used in Windows 2000 to avoid losing data and some file and folder features. For example, permissions, encrypting file system (EFS) settings, disk quota information, mounted drive information, and Remote Storage information can be lost if you back up data from an NTFS volume used in Windows 2000 and then restore it to an NTFS or FAT volume used in Windows NT 4.0.
Some important information about the Windows 2000 File System plugin:
n n n n n
173
There is an additional area, Miscellaneous Switches, which can be dynamically altered as necessary. A typical option provided here is: Backup through NFS mounts? - When selected, this switch causes any NFS mounts in the backup selection to be included in the backup. By default, this switch is cleared, as normally the mounted system would be backed up via a NetVault Client on that machine.
The options available in the Target tab are: Device Options Media Options General Options
n n n n
175
Specify Device: When selected, all devices available to the NetVault Server are displayed in the device area, as shown in the following figure:
n n
To clear the library or drive selection, click the square to its left. NetVault will use one of the selected devices (shown with a green check mark) to perform the backup.
If you want to specify a target device using shared devices, see Shared Devices (page 63).
176 Chapter 10 Backing Up Data Any: When selected, NetVault will use an advanced algorithm to back up using the most suitable media available to give maximum efficiency. You may use other Media Options to restrict this action, as required.
n n n n
MID: When selected, click the down arrow to list and select the Media Label (Media Identifier) of the specific item of media you would like to back up to. NetVault will only use this media for the backup.
Group Label: When selected, click the down arrow to list and select the Group Label of the media you would like to back up to. NetVault will only use the media belonging to this group for the backup.
Label Media - Automatically label blank media: When cleared, suitable labelled media must be available to NetVault or the backup will fail.
177
When Label Media (Automatically label blank media) is selected, NetVault automatically labels and uses blank media, when no other suitable media is available for the job.
Reuse Media: You can specify how media may be reused for the backup by choosing one of the following options:
The options available under General Options are: Specify minimum space required on media before backup: Allows you to specify the minimum amount of space that a piece of media must have before it is used (in Megabytes). Protect media from further writes after backup: This option can be used to stop any further backups from being placed on that media. Ensures this backup is the first on the media: This option ensures that the backup is the first one on the media.
n n n n
Never: Select if you never want any media marked for reuse to be used for this backup. Any: Select if you would like any media marked for reuse to be used for this backup, if necessary. With same group label as target media: (Target Media By Group only). Select if you would like any media with the same Group Label, and marked for reuse, to be used for this backup, if necessary.
Advanced Options
The Advanced Options tab provides options used only for advanced functions, including setting Backup Life, Compression, Verification, Duplication, Pre and Post Scripts. For more information, refer to Chapter 16 - Using Advanced Features (page 271) The Advanced Options tab appears as shown in the following figure:
Savesets
In the Selection, Schedule, Target Client and Advanced Options tabs you can save the set of options specified, load an existing set of options and modify a loaded set of options. These sets are known as Policy Sets and are managed from the individual tabs in the Backup and Restore windows or from the Policy Management window. The following figure shows an example of the controls used to perform activities on sets in the Backup window:
179
Complete information on using sets can be found in Using Policy (Set) Templates (page 263).
n n
180 Chapter 10 Backing Up Data 8. Change the Schedule as appropriate (e.g. to Repeating every Monday, Tuesday, Wednesday, Thursday at 23:00). If required, you may change any other tabbed areas, as appropriate. 9. Edit a descriptive job name in the Job Title box to replace the indication of Full backup type to the Incremental sub-type you have chosen (e.g. Inc_CSLBU, as an abbreviation for Incremental, Changed since last backup). 10. Submit the Job. The job will be saved under a new Job Number because the Job Title has been changed. You can use the Consolidate Backups plugin to combine Incremental Backups instead of doing periodic Full backups. For more information, see Using the Consolidate File System Backups Plugin (page 182).
181
Note that no network is required for this type of backup as long as the device is locally connected.
To use the File System plugin to do a new backup, the basic procedure is detailed below. Before trying this procedure, ensure that you have successfully added a device (as detailed in Setting up a Device (page 63) and have blank media (or media with a NetVault label and sufficient space left) inserted in the device. 1. Open the NetVault Backup window by clicking the Backup button on the command toolbars, or by choosing Operations Backup. 2. In the Selections tab, open the client to be backed up. 3. Open the File System Plugin to display all drives and devices which may be backed up on the selected client. 4. Select the data to be backed up, drives, directories and files, as required. For this simple backup, you can ignore the Backup settings on the Backup Options, Schedule, Target and Advanced Options tabs. 5. Enter a name for the job in the Job Title box. 6. Submit the backup by clicking the Submit button or by choosing Accept Submit Backup. This simple backup will run immediately (i.e. it will be scheduled to run as soon as possible, using whatever device and media are available). The progress of the job can be viewed in the NetVault Server Status window (or in the Status tab of the NetVault Jobs window) by selecting the job and choosing the Monitor Job command to display the Monitor Job information.
Consolidating Backups
NetVault consolidates File System backups using the incremental backups performed since the last full backup and creates a new full backup.
183
To perform a consolidation of File System backups using the Consolidate File System Backups" Plugin, follow these steps: 1. Open the NetVault Backup window by clicking the Backup button on the command toolbar or by choosing the Operations Backup command. The NetVault Backup window displays the list of clients in the Selections tab. 2. Select the desired client, right-click and choose Open from the pop-up menu or double-click the client to display the list of installed plugins.
184 Chapter 10 Backing Up Data 3. Double-click the Consolidate File System Backups plugin to open and display the Filesystem Backups folders:
4. Double-click each folder or file to open and display the backup savesets or backup sets that you want to consolidate. If you are consolidating with backups, proceed to the section Consolidating with Backups (page 185). To consolidate with Backup Sets go to Consolidating with Backup Sets (page 186). 5. Enter the name of the job in the Job Title box. 6. Submit the backup job by clicking the Submit button on the command toolbar. See your NetVault Administrators Guide for information on viewing the job status, progress and log. NOTE: It is important to note that two devices are required to perform a consolidated filesystem backup.
185
The Filesystem Backups folder lists all incremental backups performed on the client using the File System plugin. When you choose one of the savesets, NetVault consolidates all previous incremental savesets back to the last full backup created, resulting in a Full backup from the selected incrementals date. All Full backups produced when selecting an individual incremental backup are archived and, therefore, will not affect the life of the last Full backup. To consolidate with a Backup: 1. Select the desired backup saveset. 2. Select any additional options and click Submit.
The Filesystem Backup Sets folder lists the Selection Sets used to perform backups for the selected client. When you choose one of the Sets, NetVault finds the incremental savesets produced using that Selection Set back to the last Full backup created, and produces a new, Full backup. This new Full backup is not an archive and does affect the life of the last Full backup performed. To consolidate with a Backup Set: 1. Select the desired Backup Set. 2. Select any additional options and click Submit.
187
188 Chapter 10 Backing Up Data 5. Click the Backup Options tab to display the Raw Device backup options shown in the following figure:
Options available in the Backup Options tab include: Backup Reported Disk Size: NetVault requests the size of the disk from the operating system and only backs up that amount of data. The advantage of this option is that a restore to another hard disk is possible if the reported sizes are the same, even if the actual sizes differ slightly. It is possible for applications to use the disk beyond the end of the reported size when using it for raw data. If this is the case, it is recommended that you use the Backup Entire Contents option. Backup Entire Contents: With this option selected, NetVault backs up the whole disk, even if it must read past the end of the reported size.
6. Continue selecting any desired job options and click Submit to start the backup job. CAUTION: When backing up a raw partition, it is important to ensure that it is not in use. Backing up a partition in use may result in a corrupted backup.
n n
189
To perform a restore using the Raw Device plugin, follow these steps: 1. Open the NetVault Restore window by clicking the Restore button on the command toolbar or by choosing the Operations Restore command. 2. Select the desired client, right-click and choose Open from the pop-up menu or double-click the client to display the list of installed plugins. 3. Double-click the Raw Device plugin to display the list of Savesets available for restore. 4. Continue double-clicking until the desired disk/partition is displayed.
n n n n n
190 Chapter 10 Backing Up Data 5. Select the items to be restored. An example of the selection of Physical Disk 0, Partition 1 is shown in the following figure:
To restore the data to a different location, follow these additional steps: 6. Right-click the selected data and choose Rename, as shown in the following figure:
191
The Restore - Rename dialog box opens, as shown in the following figure:
7. Select the Relocate To check box and enter the desired location in the edit box. You must identify the target location by entering a disk identification and a partition number. This can be in the format shown in the example (e.g., Disk1 Partition4) or as just the disk and partition numbers (e.g., 1 4). In each case the entries must be separated by a space. When the data being restored is relocated/renamed, the Restore Selections tab appears similar to the following example:
192 Chapter 10 Backing Up Data 8. Click the Target Client tab and select the client where the backed up data will be restored, as shown in the following figure:
9. There are no Restore Options for the Raw Device plugin. Select any other settings as desired. 10. Enter a Job Title in the edit box. 11. Click the Submit button to start the job.
193
1. Open the NetVault Backup window by clicking the Backup button on the command toolbar or by choosing the Operations Backup command. The NetVault Backup window displays the list of clients in the Selections tab. 2. Select the desired client, right-click and choose Open from the pop-up menu or double-click the client to display the list of installed plugins. 3. Continue double-clicking each item in the tree to display the devices you want to backup, as shown in the following figure:
4. There are no Backup Options for the Raw Device plugin on UNIX. Continue selecting any desired job options in the Schedule, Target or Advanced Options tabs. 5. Enter a Job Title in the edit box. 6. Click Submit to start the backup job.
195
To restore the data to a different location, follow these additional steps: 5. Right-click the selected data and choose Rename, as shown in the following figure:
The Restore - Rename dialog box opens, as shown in the following figure:
6. Select the Relocate To check box and enter the desired location in the edit box. You must identify the target location by entering the full path to the new location. 7. There are no Restore Options for the Raw Device plugin. Select any other settings in the Target Client, Schedule or Advanced Options tabs as desired. 8. Enter a Job Title in the edit box. 9. Click the Submit button to start the job.
CHAPTER 11
Restoring Data
Restoring Data - 199 The NetVault Restore Window - 199
Restore Window Buttons - 200 Window Tabs - 200 Menu Commands - 201 Using the Selections Tab - 202 Renaming or Relocating a Data Selection - 205 Using the Restore Search Facility - 209 Using Restore Filter Options - 210 Using the Restore Options Tab - 212 Using the Target Client Tab - 215 Using the Schedule Tab - 216 Using the Advanced Options Tab - 217 Savesets - 218
n n n n n n n n n n n n
199
Restoring Data
A NetVault Restore is the name given for the transfer of data from the backup device (which holds the required data) to the NetVault client. The device's media stores the data, where it can be recovered from by NetVault. Note that the NetVault server itself also acts as a NetVault client so that it may restore data to itself.
NOTE: With some optional NetVault plugins (particularly for certain databases) it is necessary to run NetVault restores entirely from the external software without using the NetVault Restore window.
NEW
LOAD
SAVE
SUBMIT
Window Tabs
The following tabs appear on the window: Selections: Used to select the data to be restored, using the appropriate NetVault Plugin or APM. Some NetVault Plugins are provided as part of the standard installation, while APMs are only available if installed separately. For more information, see Installing NetVault Plugins and APMs (page 25). Restore Options: The Restore Options tab allows extra information for the job to be specified, depending on the NetVault Plugin in use in the Selections tab. For a description of the more standard options, see Using the Restore Options Tab (page 212). Target Client: Used to set which NetVault Client the data is to be restored to. You may Target any Client in the NetVault Domain of the selected NetVault
n n n
201
Server. This option should only be used with caution, see Using the Target Client Tab (page 215) for more information. Schedule: Used to specify when the job is to run. Jobs can be scheduled to run immediately, at a later date/time or run when triggered by a command line or script command. You can also set a job to run once or to repeat. For full information for both Backup and Restore JOB scheduling, see Using the Schedule Tab (page 216). Advanced Options: The options in the Advanced Options tab are only used for advanced functions, including setting Compression, Pre and Post Scripts.
Menu Commands
The Menu Bar in the NetVault Restore window provides access to the commands described in the following table: Menu File New Load Choose this command: To do this: Creates a new restore job. Opens the Load Restore Job dialog box where you can select a saved job that you want to run again. Saves the current restore job and assigns a job name. Open the Print Setup dialog box where you can select the desired printer and specify its properties. Close the Restore window. Open the Selections tab. Open the Restore Options tab. Open the Schedule tab. Open the Target tab. Open the Advanced Options tab. Starts the restore job. Display a description of and help for the current focus item. Display the Help Contents.
View
Accept Help
n n
Close Selections Restore Options Schedule Target Advanced Options Submit Restore Current Topic Help Contents
203
3. Select the backup saveset containing the data to be restored, right-click and choose Open (or double-click it). If you are not sure if the saveset contains the data you are looking for, you can use the Search facility. For more information, see Using the Restore Search Facility (page 209).
4. Double-click the drive to open it. You can select the drive to be restored by clicking the square to its left. A selected item is indicated with a green check mark. 5. Double-click the directory, and each subsequent level until the data you want to restore is displayed. Select the directory to be restored by clicking the square to its left. The restore tree for this example saveset has now been fully expanded. The Search command allows you to search a particular saveset for a specific item
204 Chapter 11 Restoring Data backed up. This is useful when a large number of directories and files are present; it does not search the selected file!
6. Select the data to be restored by clicking the square to the left of each item. In the following figure, the complete drive backup is selected:
205
If you do not wish to include a file (or directory tree) in the selection, click the square to the left of the item until the red X appears:
Once the data has been selected, right-click and choose Rename on the highest level selected. See Renaming or Relocating a Data Selection (page 205).
206 Chapter 11 Restoring Data 2. Click the square and enter the designated drive for the backup to be restored to (e.g. F:\ or F:) in the Rename to box. In the special case of drives ONLY, Rename to and Relocate to have an identical function. WARNING: The drive specified must exist or the restore will fail.
To Rename: Select the Rename to check box and enter the desired name for the restored backed up directory (e.g., _test9). WARNING: Do not enter a path here or the restore will fail.
207
To Relocate: Select the Relocate to check box and enter the path to the location where the backed up directory is to be restored (e.g. E:\temp). WARNING: The path entered must exist at run-time or the restore will fail.
To Rename: Select the Rename to check box and enter the filename for the backed up file to be renamed when it is restored (e.g. new_simple.htm). WARNING: Do not enter a path here or the restore will fail. To Relocate: Select the Relocate to check box and enter the path for the location where the backed up file is to be restored (e.g. E:\_test2). WARNING: The path entered must exist at run-time or the restore will fail.
The differences between Selection Methods is explained below: Plugin Selection Method: This is the default method which works with any backup.
n n
Backup Set Selection Method: Shows backups saved using a Backup Set. For more information, see Using Policy (Set) Templates (page 263).
209
Job Selection Method: This method lists the backups by Job Title and works with any backup.
This example shows a search for J?rgen*.doc. This search could be used to find all backed up document files for Jurgen or Jergen - the star (*) before the extension allows numbered files to be included in the search results, e.g: Jurgen.doc Jurgen_02.doc Jurgen_03.doc Jergen_04.doc
This example uses: A star (*) character to represent any number of characters. A question mark (?) character to represent any single character.
This search will not find Juegen.doc because the specified search string asks for an r in the third position of the file name. Regular Expression Search With Regular Expression Search selected, you can enter a Regular Expression in the Search String. For more information, refer to Using Regular Expressions (page 315). Other Search Types Search. If you select Search at the relevant Search Level to set the scope (or boundary) containing the backed up data you are looking for. Client Level Search. If you select Search from a Client pop-up menu, ALL Savesets for the selected Client will be searched in all installed plugins. Plugin Level Search. If you select Search from a Plugin pop-up menu, ALL Savesets for the selected Plugin (under the relevant client) will be searched. Saveset Level Search. If you select Search from a Saveset pop-up menu, a single selected Saveset under the relevant client and plugin will be searched. You can also select Saveset Level Search from the pop-up menu of any selected drive, directory or file in the tree under the Saveset; only ONE Saveset is searched.
Choose the type of Filter Options you require: By Date Range Show On-line Status
n n n n n n n n
211
2. Click the Apply Filter button. Only the data whose dates fall inside the specified date range are displayed, as shown in the following figure:
213
For information on the specific Restore Options available for data selected in the Selections area using a particular NetVault plugin, please refer to the online Plugin Help which is installed with the plugin. Some standard options are detailed on the next page.
By selecting Overwrite newer files, NetVault overwrites any files being restored of the same name, in the same path, on the target system (this is the default action). With Overwrite newer files cleared, no newer files will be overwritten.
214 Chapter 11 Restoring Data By selecting Create backup files, NetVault renames the existing copies of any files being restored with a '.bak' extension, before the restored file is written. With Create backup files cleared, no backup files will be created. By selecting Restore files modified during backup, NetVault restores a file modified during a backup. A broken file icon indicates that a file was modified during a backup.
Windows 2000 File System plugin Restore Options include those in the Windows NT File System Options and many more, as shown in the following figure:
NOTE: If you have backed up data through a mount point, and then perform a restore, NetVault restores the data to its original location. Encrypted data remains encrypted after the restore is performed. The Account Details area information is required when restoring encrypted files: Username: The username of the Administrators group. This must be an account in the group which has the run as service privilege. Password: The password for the Administrators username.
n n n n
215
Update active registry: Enables the update of an active registry. To restore the active registry the system must be rebooted in Active Directory Restore Mode. Restore to file: When this option is selected, data can be restored and/or renamed to a specified location. Force cluster database restore: If another node in the cluster has a copy of the cluster database and the system thinks this is the best copy, it will overwrite the newly restored copy. Select this option to prevent the newly restored copy from being overwritten. Use original cluster database location: Select this option only when you want to designate a new location for the restored data. Cluster Quorum Drive Letter: When specifying a new location, enter the drive letter in the edit box. Apply changes made subsequent to Active Directory backup: Applies changes made to the System State data since the backup was performed. Apply changes mad subsequent to Certificate Server backup: Applies changes made to the Certification Services log files made since the backup was performed.
Two additional settings in the Restore Options tab for Windows 2000 are:
UNIX Filesystem Restore Options include those shown in the Windows NT Filesystem Options and include one additional option, shown in the following figure:
n n n n n n n n
With Reset file datestamps cleared, files will be restored with a current datestamp. By selecting Reset file datestamps, all files will be restored with the datestamp they were backed up with.
216 Chapter 11 Restoring Data The Target Client tab appears as shown in the following figure:
The top NetVault client is always the NetVault server itself, acting as a NetVault client. With no clients selected, all restores are targeted to the client selected in the Selections tab. To target a specific client, select the check box to its left - selection of all other clients will then be barred with a stop sign or be greyed out.
217
The Schedule tab of the Restore window appears as shown in the following figure:
218 Chapter 11 Restoring Data The Advanced Options tab of the Restore window appears as shown in the following figure:
Savesets
In the Selection, Schedule, Target Client and Advanced Options tabs you can save the set of options specified, load an existing set of options and modify a loaded set of options. These sets are known as Policy Sets and are managed from the individual tabs in the Backup and Restore windows or from the Policy Management window. The following figure shows an example of the controls used to perform activities on sets in the Backup window:
Complete information on using sets can be found in Using Policy (Set) Templates (page 263).
219
The following example demonstrates how this concept works and included partial views of the NetVault Media Management and NetVault Restore windows. It might at first seem a little complex, but once you understand the principle and functionality provided, it should become clear how to select the required data for restore. 1. A directory was created, E:\test, containing a single file file1.bin, about 320 Kbytes. The directory was then backed up using a Selection Set and Full backup type (Job ID 24, stored as Saveset 46). The backup saveset in the NetVault Media Management window displays a Segment 1 Length of 320 Kbytes:
The directory in the NetVault Restore window displays the single file file1.bin in the directory, which may be selected for restore: The file1.bin file is obviously part of the Full backup.
2. A new file file2.bin, about 320 Kbytes, was added to the directory E:\test, so the directory now contains two files, a total of 640 Kbytes. The directory was then backed up with the same Selection Set, but this time using a Incremental, Changed since last backup backup type (Job ID 25, stored as Saveset 47). The backup saveset in the NetVault Media Management window displays a Segment 1 Length of 320 Kbytes (as only file file2.bin has changed):
The directory in the NetVault Restore window displays BOTH files file1.bin and file2.bin in the directory, which may be selected for restore. The file2.bin file is part of the first Incremental, Changed since last backup backup (Job ID 25, stored as Saveset 47). The file1.bin file is actually part of the Full backup (Job ID 24, stored as Saveset 46), but is also displayed under Saveset 47 so any file in the directory at the time of backup can be selected for restore.
3. A new file file3.bin, about 320 Kbytes, was added to the directory E:\test, so the directory now contains three files, a total of 960 Kbytes. Files file1.bin and file2.bin where then both edited and re-saved so that they changed. The directory was then backed up using the same Selection Set and Incremental, Changed since last backup backup job (Job ID 25, this time stored as Saveset 48). The backup saveset in the NetVault Media Management window displays a Segment 1 Length of 960 Kbytes (as all files: file1.bin, file2.bin and file3.bin have changed):
221
The directory in the NetVault Restore window displays ALL files file1.bin, file2.bin and file3.bin in the directory, which may be selected for restore. This time all files file1.bin, file2.bin and file3.bin are part of the second Incremental, Changed since last backup backup (Job ID 25, stored as Saveset 48). Again, any file in the directory at the time of backup can be selected for restore.
Files can be selected for restore, as detailed in the Windows File System Plugin Data Selection Example (page 202).
222 Chapter 11 Restoring Data Note that no network is required for this type of restore as long as the device is locally connected .
To use the File Systems plugin to do a new restore, the basic procedure is detailed below. Before trying this procedure, ensure that you have the same device configuration and media as used for the backup. This simple procedure will overwrite any newer data with the data stored on the media, so ensure that you are not overwriting anything that matters. 1. Open the NetVault Restore window by clicking the Restore button on the command toolbars, or by choosing Operations Restore. 2. In the Selections tab, open the client that was backed up. 3. Open the File Systems plugin to display all backup savesets and then open the backup saveset containing the data to be restored. 4. Select the data to be restored, drives, directories and files, as required. For this simple restore, you can ignore the Restore settings on the Restore Options, Schedule, Target and Advanced Options tabs. 5. Enter a name for the job in the Job Title box. 6. Submit the restore by clicking the Submit button or by choosing Accept Submit Restore.
223
This simple restore will run immediately (i.e. it will be scheduled to run as soon as possible). Note that the simple restore will use the default Restore Option of Overwrite newer files. The progress of the job can be viewed in the NetVault Server Status window (or in the Status tab of the NetVault Jobs window) by selecting the job and choosing the Monitor Job command to open the Monitor Job information.
CHAPTER 12
n n n n n
227
Scheduling Jobs
You can set up your backup and restore jobs to run at various times. The Schedule tab of both the Backup and Restore windows provides access to the scheduling options. An example of the Schedule tab from the NetVault Backup window is shown in the following figure:
Schedule Options
The Schedule tab on both the Backup and Restore windows have identical option buttons to select the main functions:
228 Chapter 12 Scheduling Backup & Restore Jobs The main schedule functions are: Immediate: Runs the job only once and as soon as possible. When submitted, the job is immediately added to the job queue and runs as soon as the right device/media combination is available. Once: Runs a single scheduled function only once.
NOTE: Note that once means only one backup, or the FIRST scheduled. Repeating: Runs a function whenever the specified hour, day, week, or month occurs.
NOTE: Note that Repeating means that the selection will continue repeating until discontinued. You can put a temporary Hold on a repeating job, and resume a held job, through the Status tab of the NetVault Jobs window. Triggered: Runs a job only when triggered by a special nvtrigger command.
Method
Available options in the Method area are: Any Day: A job scheduled to run Once, Any Day depends on the , and
n n n n
hour/minute entered in the Run at boxes the day/month/year entered in the From boxes .
229
Days of week: A job scheduled to run on a specified day of the week will run the first time that day occurs in the month. This type of job depends on the days selected in the Options list of days:
n n n
When the Days of week is the selected method, you can specify the Days in Month as All or Selected.
Days of month: A job scheduled to run on a specified day of the month will run on the days selected:
Specified Date: A job scheduled to run on a specified date depends on the day/month/year entered in the Options date boxes:
n n
Example 2: Days of the week To schedule a job Once at 23:15 on All Sundays, Tuesdays and Thursdays during May 2000, From 11 May 2000 (i.e. job will run ONCE on 14 May 2000 ONLY).
231
Example 3: Days of the week To schedule a job Once at 23:15 on Selected Second and Last Saturdays during May 2000, From 11 May 2000 (i.e. job will run ONCE on 13 May 2000 ONLY).
n n
Example 4: Days of the week To schedule a job Once at 23:15 on Selected Third and Last Sundays, Tuesdays and Thursdays during May 2000, From 11 May 2000 (i.e. job will run ONCE on 14 May 2000 ONLY).
232 Chapter 12 Scheduling Backup & Restore Jobs Example 5: Days of Month To schedule a job at 10:29 on the 10 September 1998 the 10 in Options is selected (the 26 has also been selected to explain the effect this has):
The From field displays a date of 27 Aug 1998. Because the first specified day of the month is 10, the job will be run in September rather than August. Only the first date number in Options (in this case 10) after the date number in the From field (in this case 27) is used; any other dates entered in Options (e.g. 26 in our example) are ignored.
233
Depending on the Method selected, additional information may be required. Options appearing on the Schedule tab for a repeating job are:
Method
Available options in the Method area are: Every Day: A job scheduled to repeat Every Day will run every
day at the hour/minute specified in the Run at boxes and begin on the day/month/year specified in the From boxes . Days of week: A job scheduled to run on a specified day of the week will run the first time that day occurs in the month. This type of job depends on the days selected in the Options list of days:
When the Days of week is the selected Method, you can specify the Days in Month as All or Selected.
234 Chapter 12 Scheduling Backup & Restore Jobs Days of month: A job scheduled to run on a specified day of the month will run on the days selected:
n n n
Every. . . : A job scheduled to run at a specified option, including every hour, day, week, and month:
235
Example 2: Days of the week To schedule a job Repeating at 23:15 on All Sundays, Tuesdays and Thursdays during each month From 10 Dec 1998 (i.e. job will run on 10, 13, 15, 17, 20, 22, 24, 27, 29, 31 December 1998, then on 3, 5, 7, 10, 12, 14, 17, 19, 21, 24, 26, 28, 31 January 1999, etc.).
n n
Example 3: Days of the week To schedule a job Repeating at 23:15 on Selected Second and Last Saturdays during each month From 1 Nov 1998 (i.e. job will run on 14, 28 November 1998, then on 12, 26 December 1998, then on 9, 30 January 1999, etc.).
236 Chapter 12 Scheduling Backup & Restore Jobs Example 4: Days of the week To schedule a job Repeating at 23:15 on Selected Third and Last Sundays, Tuesdays and Thursdays during each month From 10 Dec 1998 (i.e. job will run on 15, 17, 20, 27, 29, 31 December 1998, then on 17, 19, 21, 26, 28, 31 January 1999, etc.):
n n
Example 5: Days of month To schedule a job at 10:29 on the 10 and 26 of each month, From 27 Aug 1998:
Note that the From field has a date of 27 Aug 1998. Because the first day of the month selected is 10, the job runs first in September rather than August. If the From field had a date of 12 Aug 1998, the job would be run at 10:29 on the 26 August 1998, then at 10:29 on the 10 September 1998, then at 10:29 on the 26 September 1998, then at 10:29 on the 10 October 1998, etc.
237
NOTE: When a Triggered job is submitted, it is NOT added to the scheduled jobs, but only saved (same effect as using the Save button). You may view all of the triggered jobs in the Jobs tab of the NetVault Jobs window. See Using the Jobs Tab (page 245). For information on how to use the nvtrigger command to start a Triggered Job, please refer to Using Schedule - Triggered (page 237).
CHAPTER 13
Job Management
Managing Jobs - 241
Job Management Tabs - 241 Using The Status Tab - 242 Using the Jobs Tab - 245 Using the History Tab - 247
n n n n
241
Managing Jobs
Each time you start a job, NetVault starts the Job Manager which oversees and coordinates the job. The Job Manager runs on the NetVault server, and monitors plugins and device managers on other machines, as necessary, to complete a task. The NetVault Jobs window displays information about all the jobs submitted by the selected NetVault Server: completed, running and scheduled. The NetVault Jobs window is shown in the following figure:
242 Chapter 13 Job Management Window Tab History Provides Information about: The chronological list of all jobs run and controlled by the NetVault server (on any NetVault client)
The colors can be changed in the NetVault Configurator, GUI tab. For more information about using the NetVault Configurator, see Understanding the NetVault Configurator Dialog Box (page 32).
Id
Instance
243
Heading Phase
Description: When the NetVault Backup Advanced Option, Duplicate option is turned on, the duplicate job is allocated the same Job ID and Job Title as the backup job, but the Phase for the duplicate job will read 2 (so that the duplicate can be identified). In all other cases, the Phase of jobs will read 1. The current condition of the job (e.g. Scheduled, On Hold, Running, Backup Completed, etc.). For more information on the job, right-click it and choose the Monitor Job and/or View Log commands.
Status
The commands available on the right-click popup menu are: Choose this command: Edit/View Job To do this: Load the job into the appropriate Backup or Restore window. This allows all the settings to be viewed, modified or copied to a new job. You may also double-click the log entry to perform the same function. Delete the job schedule. Note that the job itself is not deleted and continues to appear in the Jobs area. If necessary you can load the job into the appropriate backup or restore window and re-submit it later.
Delete Schedule
244 Chapter 13 Job Management Choose this command: Hold To do this: Put a temporary hold on the scheduled job. After selection, this menu item changes to Resume which may be selected to reactivate the job as scheduled. Run the job immediately. Note that this option adds the job to the job queue to run it as soon as possible.
Run Now
Running Job Commands Running jobs appear in the Jobs Management window as shown in the following figure:
The commands available on the right-click pop-up menu are: Choose this command: Monitor Job To do this: Open the Job Monitor window for the selected job. This provides both Job Information and Data Transfer information as the job progresses. You may also double-click the log entry to perform the same function. View the log for the selected job. Use the filter options to display the required level of information (e.g. All to show all log entries). Abort a running job. After selection, an Aborting Job dialog box opens. The job Status is shown as Aborted by user. Load the job into the appropriate Backup or Restore window to allow all the settings to be viewed, modified or copied to a new job.
View Log
245
Completed Job Commands Completed jobs appear in the Jobs Management window as shown in the following figure:
The commands available on the right-click pop-up menu are: Choose this command: View Log To do this: View the log for the selected job. Use the filter options to display the required level of information (e.g. All to show all log entries). Load the job into the appropriate Backup or Restore window to allow all the settings to be viewed, modified or copied to a new job. Run the job immediately. Note that this option adds the job to the job queue to run it as soon as possible.
Edit/View Job
Run Now
246 Chapter 13 Job Management The Jobs tab appears as shown in the following figure:
Delete
Edit/View Job
Run Now
247
248 Chapter 13 Job Management If you want to apply filters to the logs, choose View>Set Filters. When the Filter Options dialog box opens, select the options (e.g. All to show all log entries) that you want to apply, then click OK.
CHAPTER 14
Using Logs
Using Logs - 251 The Logs Window - 251
Logs Window Buttons - 252 Using the Logs Window - 252 Viewing Extended Logs - 254 More Info - Job Messages - 255 More Info - Warnings - 256 More Info - Errors - 257 Filtering Logs - 258 Using the Filter Options Dialog Box - 259
n n n n n n n n
251
Using Logs
The NetVault server has a logging service that is used to centralize all the logs in a NetVault domain. This means that logs from the server and the clients are gathered into one central location. To ensure that logging can continue even when the system is low on disk space, the logging manager pre-allocates disk space. Operational logging for processes controlled by the selected NetVault server are displayed in the NetVault Logs window. A specific job can be easily identified, along with the processes that occur during it. Jobs can be viewed as they progress.
Each log message is preceded with a color-coded dot signifying its level of importance. Logs can be filtered to display the required level of detail (either higher or lower than the default view).
Set Filters
Command Menus
The screen has menus for: Menu File Choose this command: Printer Setup To do this: Open the Print Setup dialog box where you can select the desired printer and specify its properties. Open the Print dialog box where you can choose the desired printer and properties before printing. Close the window. Open the Filter Options dialog box to set the level of detail you want to display. Save the current logs so they may be archived and then the active logs purged. Select the logs source to be displayed in the NetVault Logs window.
Options
253
Menu
To do this: Purge (delete) logs back to a specified date from the system. Should only be used if the logs have been dumped to a binary file and archived for possible future reference. Display help on the current topic. Open the help system.
Help
Green
Blue
Purple
Yellow
Red
Red
254 Chapter 14 Using Logs The log dots will sometimes contain an exclamation mark. By double-clicking the exclamation mark additional information is displayed in a dialog box. Double-click this dot: To display: A Transfer Information dialog box for the job. See More Info Job Messages (page 255). A View Log Context dialog box for the warning. See More Info - Warnings (page 256). A View Log Context dialog box for the error will appear. See More Info - Errors (page 257).
Purple
Yellow
Red
When viewing the NetVault Logs window, you only want to see a specific type of log, unnecessary logs can be removed by clicking the Log Filter button.
255
257
Filtering Logs
To see all of the log entries for a job: 1. Open the NetVault Logs window.
2. Click the Filter button to open the Filter Options dialog box.
259
3. Change Warning Levels to All, and click OK - all log entries are listed in the NetVault Logs window, shown in the following figure:
TIP: The quickest way of viewing a log for a particular job is to right-click it in the NetVault Jobs window and choose View Log; that way the NetVault Logs window is already filtered to show information for the selected job only. For more information, see Using the Jobs Tab (page 245). The following information provides an overview of the filter options available: From: Select either the First Event option button or the Specify Time option button for a particular date and time. To: Select either the Last Event option button, or the Specify Time option button for a particular date and time. Warning Levels: The Warning Levels determine the level of detail displayed with All for maximum detail, and Severe Errors Only for minimum detail. Job Messages is the default setting. Classes: By default all Classes of log are selected. By clicking the title of a Class, the log messages belonging to that Class can be prevented from appearing. The same procedure applies if the logs are not selected and you wish to view them. Each Class contains specific log information, detailed in the table below: Class System Schedule Jobs Media Devices Database Data Plugins GUI Description Messages relating to the Operating System Messages relating to when the backup or restore occurs. Messages relating to information produced for a specific job. Messages relating to the media. Messages relating to the device(s). Messages relating to the NetVault database entries. Messages relating to the data plugin being used. Messages relating to the Graphical User Interface. Clients: By default, NetVault selects all the NetVault clients referenced in the log files. All the log information for these clients is displayed in the NetVault Logs window. If you do not require logs about all the clients, unwanted client logs can be filtered out by clearing the specific Client box. If just one client is selected, only the logs relating to this client are available for viewing. If another client is selected, the logs of both these clients are displayed. This process continues until all the clients are selected; however, if
n n n n n
261
no clients are selected, the log information relating to any clients will be visible. Jobs: If the Filter On Job check box is selected, only the logs relating to the Job ID specified are displayed. If the Filter On Job check box is cleared, the logs for all jobs are shown, as moderated by other filter options. Text: If the Filter on Text check box is selected, and a text string is entered in the field, only log entries containing that text (case insensitive) in the Log Messages field are displayed. If the Filter on Text check box is, the jobs containing any Log Message text will be shown, as moderated by other filter options.
n n
CHAPTER 15
n n n n n n n n n n
265
Restore Advanced Save specific Advanced Options settings. Options Set (compression, scripts selection)
267
2. Enter a meaningful name for the set, for instance Every 14th & last of Month, in the Save Schedule Set dialog box:
3.
Modify Selected: The loaded set (in this example, Weekdays at 1900) may now be modified and the Modify button is available. Change the selections as required. All settings will be saved when you Submit this job, or click the Save As button. Copy Selected: The previously loaded set (in this example, Weekdays at 1900) has now been copied - NO SET IS CURRENTLY LOADED. Change the selections as required. All settings will be saved when you Submit this job and no set will be defined. Click Save As to save the selections under a new set name. Cancel: To abort the loading of the set, click Cancel or close the message dialog box.
n n n
269
The set will be loaded. 3. With the set loaded for deletion, select the Modify check box. The Delete button is now available. A Warning message appears, offering you the options to Modify the loaded set, Copy it, or Cancel the operation, which is the same as that of the Modify/Copy a Set Using the Modify Check Box (page 268). Click Modify to allow the set to be deleted. Click Delete to delete the set upon confirmation:
4.
n n
Important information to remember: The most important aspects of the schedule selection are named. The schedule can be any combination of Immediate, Once, Repeating, Triggered. It is not practical to identify all of the schedule selections made from the set name. If you are not sure if you have loaded the correct settings, check them carefully before submitting or saving the backup. The wording At... on ... has been used for a Once schedule. The wording Every... has been used for a Repeating schedule. The wording Triggered by... has been used for a Triggered schedule and where the trigger string is more than one word it has been put in double quotes ("...").
n n n n n n
CHAPTER 16
n n n n n
273
Options available on the Advanced Options tab are: Backup Life Compression Verification Duplication Pre and Post Scripts
n n n n n
A backup life can be defined in the following ways: NOTE: You can use both of the backup options at the same time. The first to be satisfied causes the backup to be retired. Backup - Discard after n Full Backups: This option allows you to specify the number of generations of backups you want to keep. A backup is defined by a Backup Set. Once the specified number of full backups for a given Backup Set has been exceeded, the oldest backups are discarded. See also Backup Life (Backup only) (page 274). Backup - Discard after time: Allows you to specify how long to keep a backup before it is discarded. The duration of the media's usefulness is dependent on the specified time interval number for the selected Days, Weeks or Years option button. Archive - This option is a stand-alone backup. Incremental backups can not be based on it and its life can only be set by time, not generations (number of full backups).
n n n
275
When Network Compression is selected, the following occurs: Backup Compression - Data is compressed on the NetVault client containing the backup selection before it is transmitted over the network, then decompressed on the client with the selected device attached. Note that when a backup is to a Distributed Device (i.e. a device connected to a different NetVault machine to the NetVault server) it can be useful to set Network Compression ON for a backup of any other NetVault machine (including the NetVault server itself). Restore Compression - Data is compressed on the NetVault client with the device attached before it is transmitted over the network, then decompressed on the client to which data is being restored. Note that when a restore is from a Distributed Device (i.e. a device connected to a different NetVault machine to the NetVault server) it can be useful to set Network Compression ON for a restore to any other NetVault machine (including the NetVault server itself).
n n
276 Chapter 16 Using Advanced Features Options under Duplication appears in the following figure:
Once a backup is duplicated, NetVault treats the duplicate as another instance of the same data. The only difference between the duplicate and the original is that the duplicate can be given a different Backup Life from the original backup. When the Media Manager is given a restore request for data that has been duplicated, it will use the copy that is most convenient for the task. Options available under Duplication: Migrate (Discard original backup) - With Migrate (Discard original backup) selected, as soon as the duplicate has been created, the original backup is discarded (i.e. future backups may overwrite it). This option is used when a backup is to be made to the most efficient device (e.g to a hard disk as a pseudo library, or a fast tape drive) to minimize the required 'backup window', the backup is then migrated to a different device (e.g. a slower tape library) in the background and the fast device freed for another operation. Use Originals Life - With Use Originals Life selected, the duplicate is created with a Backup Life identical to that of for the original backup under Backup Life. Discard after time - With Discard after time selected, the duplicate is created with the new Backup Life that you select in this area. The duration of the media's usefulness is dependent on the interval number entered in the field and the selected Days, Weeks or Years option button. Using Schedule Set - To set the time for the duplicate, select the relevant schedule from the Using Schedule Set list.
n n n n
277
If a suitable schedule is not already in this list, click the Manage button to open the NetVault Schedule Management window, shown in the following figure, where you can create, modify or copy a Schedule Set.
Select the desired schedule option button, and choose the appropriate settings. See Schedule Options (page 227) for more information. When you click OK, the schedule set shown as loaded in the screens Schedule Set field is displayed in the Duplication Schedule Set field. Using Target Set: To set the target for the duplicate, select the relevant target from the Using Target Set list.
278 Chapter 16 Using Advanced Features If a suitable target is not already in this list, click the Manage button to open the NetVault Target Management window, shown in the following figure, where you may create, modify or copy a Target Set.
The window is identical to the Target tab in the Backup window. For more information, see Using the Target Tab (page 174). Click OK and the set shown as loaded in the screens Target Set field is displayed in the Duplication Target Set field.
279
A Post Script is run after the NetVault job. It could be used to re-start any processes closed down by the Pre Script.
Using Scripts
Scripts must be an executable file for the operating system in use (for example, under Microsoft Windows NT you may use filename.bat, filename.exe, filename.com, or if Perl is installed filename.pl). Please note the following important points: All scripts must reside in the NetVault/scripts directory. If this directory does not already exist, you must create it and copy your scripts into it before attempting to use them with NetVault. When entering the script name, the filename and the extension exists must be entered (for example myprescript.bat, startdb.exe). Do not enter absolute paths in the script name fields. You can enter paths relative to the NetVault6/scripts directory, if you want to organize your scripts in subdirectories, (e.g. dbscripts/startdatabase.bat). Be careful how you use the parameter field. Whatever is entered into the parameter field is passed to the script via the NV_USER_ARG Environmental Variable; this is a string up to the maximum length that your system will support. Do not enter quotation marks or escape characters in this field. If using a script running under Microsoft Windows NT - Use nvexitstatus (in the NetVault\util directory) to provide the return value from the script.
n n n n n n n n
280 Chapter 16 Using Advanced Features NV_USER_ARG - Contains whatever value(s) were typed in the User Parameter field when the script was entered. This is a string up to the maximum length that your system will support.
Example Scripts
Please refer to: Example Scripts under Windows NT (page 280). Example Script under UNIX (page 284).
** Without a post script the job will fail with a message in the NetVault Jobs window, Status area such as Backup Failed or Failed to write segment. With a post script, using the correct exit status reporting, the job will be shown as Backup Failed. The post script is always run, if the job runs, so that processes stopped with a pre script can be re-started, even if the NetVault job fails.
n n n
281
rem @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ rem rem @@@ Standard Reporting (for all batch jobs) @@@ echo. echo The home directory of NetVault (NV_HOME) = %NV_HOME% echo. echo The NetVault Job ID (NV_JOBID) = %NV_JOBID% echo. echo The user argument (NV_USER_ARG) = %NV_USER_ARG% echo. echo Previous job phase status (NV_STATUS) = %NV_STATUS% echo rem @@@ Previous Job Reporting (for log) @@@ if %NV_STATUS% == SUCCEEDED echo YES! - The backup succeeded! if %NV_STATUS% == FAILED echo OH NO! - The backup FAILED! rem @@@ Main Actions (Using net reporting) @@@ rem @@@@ Edit next line for correct machine to Net report to @@@@ if %NV_STATUS% == SUCCEEDED net send richard "Job %NV_JOBID% completed" if %NV_STATUS% == FAILED net send richard "Job %NV_JOBID% FAILED" goto end rem Any other command batch file labels go here. :end echo End of Particular Batch File Actions rem Return nonzero exit state if previous NetVault job phase failed rem DO NOT PUT ANYTHING AFTER THE LAST LINE !!!! rem (or job will be shown as Backup Completed, instead of Backup Failed rem when it is no good) cd %NV_HOME%\util if %NV_STATUS% == SUCCEEDED nvexitstatus 0
A Trigger batch file script to trigger each new job using the NV_USER_ARG as the Post Script parameter and net report job completion status to another machine.
@echo off rem trigger.bat rem Richard Benton 19990422 rem rem @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ rem @ rem @ rem @ Standard NT Triggered Job Batchfile Call with Advanced Option, Post Script to trigger the next job in daisy-chain @ @ @ @
rem @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
rem 1. Batch File must reside in NetVault6\scripts directory rem 2. If used for triggering remote jobs, script reside on both machines rem 3. Should work wherever NetVault6 is installed rem 4. Written for and tested on NT; with modifications, should work for UNIX. rem 5. Used successfully for daisy-chained job series. rem 6. Uses Net remote info box reporting to indicate progress of jobs rem 7. Must have NetVault6 services running on both machines rem if triggering remotely. rem 8. Set to end backup series submissions if any job fails (with error). rem rem @@@ Standard Reporting (for all batch jobs) @@@ echo. echo The home directory of NetVault (NV_HOME) = %NV_HOME% echo. echo The NetVault Job ID (NV_JOBID) = %NV_JOBID% echo. echo The user argument (NV_USER_ARG) = %NV_USER_ARG% echo.
283
echo Previous job phase status (NV_STATUS) = %NV_STATUS% echo rem @@@ Previous Job Reporting (for log) @@@ if %NV_STATUS% == SUCCEEDED echo YES! - Job %NV_JOBID% succeeded! if %NV_STATUS% == FAILED echo OH NO! - Job %NV_JOBID% FAILED! rem @@@ Main Actions @@@ if %NV_STATUS% == FAILED goto bypass rem @@@@ Edit next line for correct machine to Net report to @@@@ if %NV_STATUS% == SUCCEEDED net send richard "Job %NV_JOBID% Completed OK, Triggered Job %NV_USER_ARG% being called..." rem The following cd command is necessary, as must be in NetVault6\util to run util commands. if %NV_STATUS% == SUCCEEDED cd %NV_HOME%\util if %NV_STATUS% == SUCCEEDED echo now in directory %NV_HOME%\util if %NV_STATUS% == SUCCEEDED echo (about to run nvtrigger job) rem @@@@ Edit next 2 lines for correct NetVault Server name @@@@ if %NV_STATUS% == SUCCEEDED nvtrigger -server bentonsvr %NV_USER_ARG% if %NV_STATUS% == SUCCEEDED echo "Command was nvtrigger -server bentonsvr %NV_USER_ARG%" goto end rem @@@ Trigger Arguments Reference @@@ rem Example NetVault User Arguments to be used with this batchfile rem (these are each used to backup a separate partition on Richard PC) rem (T for Triggered, rich for Richard PC, X for drive letter, _Xxx for label) rem rem TrichD_Apps rem TrichE_Games rem TrichF_Apps2 rem TrichG_Data rem TrichH_Web rem TrichI_Sue
285
nvtrigger Commands
The usage (or command syntax) for nvtrigger is: nvtrigger [-server <servername>] <triggername> where: <triggername> is a string, which may be up to the maximum length allowed by your system, as entered in the Trigger name field of the Schedule tab on the NetVault Backup or Restore windows before the job was saved or submitted. and optionally (for triggering a job on remote server only): <servername> is the NetVault server name (as listed under Available Servers), on which the job is to be triggered.
The above triggered backup job was created. Note the following points: The Trigger name entered (trigger_test1) is a single word; this enables the trigger command to be entered without the use of double quotes (" ") which are required when a trigger name contains spaces. The Job Title for the backup contains the Trigger name. This makes it easy to identify the correct trigger when looking at the list of jobs in the Jobs tab of the NetVault Jobs window. The Schedule Set has been saved for possible future use.
When the backup is either saved (or submitted) the job is ready to be scheduled. It will only be added to the backup schedule of the NetVault server (in this example richard) when the nvtrigger command is issued: Either for a job on the local NetVault server: nvtrigger trigger_test1 or for a job on a remote NetVault server (called richard): nvtrigger -server richard trigger_test1 from a command prompt, script or batch file. If the command is accepted, you should receive the response:
n n n n n
287
Activating trigger trigger_test1 If you then see the response: Failed to activate trigger this probably means that you have made a typing error, there is a network problem, or that the NetVault services are not running on the NetVault Server being triggered. If you see the response: Failed to communicate to NetVault services this probably means that the NetVault services are not running on the local NetVault machine. To create the triggered job on a remote NetVault server, you can either go to the remote NetVault machine and do it, or add the machine to your list of Controlled Servers, by choosing the Administration Domain Management command and creating the job on the remote machine using your local NetVault GUI.
288 Chapter 16 Using Advanced Features The above triggered backup job was created. Note the following points: The Trigger name entered (trigger test 3) is three words, so it will be necessary to use double quotes (" ") around the name when using the nvtrigger command. The Job Title for the backup contains the Trigger name enclosed in quotes. This makes it easy to identify the correct trigger when looking at the list of jobs in the Jobs tab of the NetVault Jobs window. The Schedule Set has been saved for possible future use.
When the backup is either saved (or submitted) the job is ready to be scheduled. It will only be added to the backup schedule of the NetVault server (in this example test_srv2) when the nvtrigger command is issued: Either for a job on the local NetVault Server: nvtrigger "trigger test 3" or for a job on a remote NetVault Server (called test_srv2): nvtrigger -server test_srv2 "trigger test 3" from a command prompt, script or batch file. If the command is accepted, you should receive the response: Activating trigger trigger test 3 If you then see the response: Failed to activate trigger this probably means that you have made a typing error, there is a network problem, or that the NetVault services are not running on the NetVault Server being triggered. If you see the response: Failed to communicate to NetVault services this probably means that the NetVault services are not running on the local NetVault machine. To create the triggered job on a remote NetVault server, you can either go to the remote NetVault machine and do it, or add the machine to your list of Controlled Servers, by choosing the Administration>Domain Management command and creating the job on the remote machine using your local NetVault GUI.
n n n n n
APPENDIX A
Performance Tuning
What is Performance Tuning? - 291 Optimizing Drive Performance - 291 Opening the Edit Drive Dialog Box - 292
From a Selected Drive - 292 From the Device Management Window - 292 From the Library Configure Tab - 293 Relationship between Block Size and Shared Memory Size - 297 Viewing the Statistics - 298
Using the Edit Drive Window - 294 Gathering Statistics - 297 Understanding How the Data Stream is Handled - 302
n n n n n
291
293
The Add Standalone Drive window opens, as shown in the following figure:
NOTE: This method can only be used at the time a device is being added. 2. Navigate to and select the desired drive in the Choose Drives list. 3. Right-click and choose Configure from the pop-up menu
294 Appendix A Performance Tuning The Modify Library window opens. 2. Click the Configure tab.
3. Navigate to and select the desired drive. 4. Right-click and choose Configure. NOTE: This method may be used while the library is being added.
295
The Configuration tab default settings are shown in the following figure:
1. Click the Performance tab. The default settings on this tab are shown in the following figure:
The field Amount of memory to assign to transfer buffers (Kb) is what is often referred to a the shared memory setting. The shared memory is normally allocated in 32Kb blocks represented in the following figure, showing how it is shared between the two transfer functions.
The default setting of 257Kb is actually 8 buffers of 32Kb (plus a byte). If your available memory allows, NetVault Limited recommends increasing this setting to optimize performance. It is also best to leave the Lock transfer buffer in memory check box cleared. Under Microsoft Windows NT, it is recommend that you change the setting to 8193Kb; under certain UNIX operating systems, the kernel memory available may be more restricted. 2. Increase the Amount of memory to assign to transfer buffers (Kb) to a more optimal value, as discussed.
3. Click the Statistics tab. The two check boxes on this tab allow performance statistics to be gathered and logged. Unless you need to gather statistics, leave both check boxes cleared. See Gathering Statistics (page 297). 4. Click the OK button.
297
This configuration is set up for each tape drive. If you dont satisfy this requirement, you may encounter problems with your system. For example, If youd like to increase the block size (e.g. from 32 KB to 96 KB), you must increase the shared memory size. Bad Configuration 96 KB (Block Size) with 384 KB or less of shared memory Good Configuration 96 KB (Block Size) with 385 KB or more of shared memory.
NOTE: Configuring total shared memory size also depends on your operating system. Always use caution when setting block size and shared memory size on your system.
Gathering Statistics
NetVault provides the ability to gather statistics for each drive via the Statistics tab in the Edit Drive window. To gather statistics for a drive: 1. Open the Edit Drive window for the drive to be monitored using the instructions in Opening the Edit Drive Dialog Box (page 292). 2. Click the Statistics tab.
n n
298 Appendix A Performance Tuning 3. Select both check boxes and click the OK button.
299
1. Choose the Operations Logs command to open the NetVault Logs window, shown in the following figure:
2. Click the Filter Options button on the window or choose the View Set Filters command to open the Filter Options dialog box. 3. Select the Warning Level - All option button and the extended logging will be shown as Background log items. Contact Technical Support (page 6) if you need help interpreting your statistics. The following example shows the statistics entries as Background, with green exclamation mark icons. Double-click an extended log icon to see the information gathered.
300 Appendix A Performance Tuning The Data channel statistics (Device side) show that the device was only blocked from receiving data from the data channel 5 times, for a total time of just over 1 second.
The Device transfer statistics show that the transfer was blocked on the device 8+2232+11+2+91 times (i.e.2344 times), for a total time of about 2 1/2 minutes). This shows that the device is the bottle neck in the chain.
301
The Data channel send statistics show that the NetVault plugin was blocked from sending data to the data channel 1931 times, for a total time of nearly 2 1/4 minutes.
The Transfer Information shows that the transfer took 2 mins 35 secs at a transfer rate of 483.10 Kbytes/sec.
APPENDIX B
Troubleshooting
Getting Help - 305 Dumping Log Files - 305 Producing Trace Files - 306 Running the NetVault Configurator - 306
NetVault for Microsoft Windows NT 4.0 - 306 NetVault for UNIX - 306 Waiting for Media - 307 Checking Media Request, Media Status and Job Log - 307 Block Sizes and Shared Memory Configuration - 308 Tips on Backing Up Sybase - 308 Using CPIO to Retrieve Files from a NetVault Tape - 309 Informix Configurations - 311 Missing Icons in the NetVault GUI - 311 Multiple Network Interface Cards (NIC) and communication problems - 311 Overheads in writing to tape - 312 Oracle backup fails with "Can't open XXXX" message - 312 Tips on Resolving Connection Problems Between NetVault servers and clients - 313 Why does NetVault not allow you to backup the proc directory? - 314
n n n n n n n n n n n n n n
Getting Help
BakBone Technical Support can provide you with the assistance you need if you are having problems with your NetVault software. For details, please refer to our web site: http://www.bakbone.com Technical Support may need copies of your (binary) log files and special debugging trace files to get the information they need to help you. This appendix contains instructions on how to get that information.
5. Enter a suitable filename (without an extension) in the Dump Log File Name box and click OK.
306 Appendix B Troubleshooting A NetVault - Information dialog box should confirm that the log dump has been written correctly:
6. Click the OK button to acknowledge it. The log should have been written in the NetVault6/logs/dumps/binary (or NetVault6\logs\dumps\binary) directory, with the specified filename.
n n n n
n n n n n
exit 0 4. In the NetVault configurator (nvconfigurator) go to the Plugin Options tab, then the Sybase options tab. Ensure the path to Sybase is correct, the default is /opt/ sybase/XI.
Note: The lines between the files are filemarks on the tape. If you want to CPIO the first backup job from the tape then you will need to position the tape past the NetVault Header to the first filemark that denotes the beginning of the first backup job, using these steps: Issue the following command: mt -f <device_name> fsf X where X denotes the number of file marks you want to move to. e.g., to move to the start of Backup Job 2, the command would be mt -f <device_name> fsf 3 Important: Only use NON-REWINDING device drivers. If you use a rewinding device driver, after each time the tape is repositioned it will rewind. No matter
310 Appendix B Troubleshooting how many file marks you move you will always end up at the beginning of the tape. 3. Use CPIO to un-archive the files onto your hard disk. Issue the following command to un-archive the data from the tape onto your hard disk into the original directory the files were backed up from: cpio -icvdumB <device_name> For example, if the files were backup up from /home/elliott, then the files will be restored to /home/elliott even if you ran CPIO from /usr. Make sure you have enough disk space to complete this activity. If you want to view the archive before you un-archive onto your hard disk, issue the following command: cpio -tab <device_name> This will list the archive as if you listed a directory contents with the ls -I command. To move the archive from tape onto your hard disk before un-archiving, issue the following command: dd if=<device_name> of=/<location to place file/name of the file> bs=xxk where xxk is the device block size. e.g., dd if=/dev/rmt/c120t5d0s0nn of=/home/elliott/ file.cpio bs=32k If you check the directory into which the file was copied. Now you need to un-archive the file by issuing the following command: cpio -icvdumB </location of cpio file> e.g., cpio -icvdumB </home/elliott/file.cpio Again, this will un-archive the files into their original directory. There is no function within CPIO that allows files to be redirected into an alternate directory. FOR SUN SOLARIS ONLY The command shown below will not work on Sun Solaris machines: cpio -icvdumB <device_name> To cpio directly from tape, use the following command: dd if=<non rewinding tape> bs=xxk | cpio -icvdumB where xx is the block size of the device.
Informix Configurations
In the Informix onconfig file, there are 2 settings that may cause problems if not correctly configured: TAPEDEV LTAPEDEV /dev/null /dev/null # Tape device path # Log tape device path
If these are set to /dev/null then this could cause Informix problems. Change the /dev/null to NetVault, and this problem is resolved.
312 Appendix B Troubleshooting In a environment that has more than 2 networks, this can be used to prefer some networks over others, as described in the following example: A site has 3 networks: Network A is the working network. Network B is a the backup network Network C is a private network that should not be used for backups at all. Most machines are connected to network A, but some are only connected to Network B. No machines are only connected to network C. A few machines are connected to both network A & B In this case, we can set up Network B as the preferred network, and network C as a barred network. This will have the following effect: Machines that are connected to both A & B will use B. Machines that are connected to A only will be able to backup as network A is not barred. Machines that are connected to B will only backup over network B, completely ignoring network A. This means that only machines that have to be backed up over Network A will, all other machines if possible will backup over Network B. This reduces traffic on the working network, and ensures that you will get the best usage out of your backup network.
Data stored on tape will ALWAYS be bigger than that on disk. This is because there is an overhead with tape formats for storing data. This means that if you are doing lots of small files - less that 1k, your backups will easily be twice as big. If you have 1000 empty files they will actually require 2Mb of tape space when using MTF.
n n
The following directories both need read/write access rights to both the netvault/root user and the to oracle user: /netvault6/config /netvault6/tmp During the backup, NetVault SU's from root to oracle user. Problems can occur if the oracle user cannot write into either of the above directories. Usually the process manager on a restart will set the correct write accesses to both the netvault and oracle user, but there have been times when this does not work under certain circumstances. The resolution in this case is to chmod the above directories to 777. This will allow ALL users read and write access.
314 Appendix B Troubleshooting Once you have ascertained that you are able to ping with the network name, check to see if you can communicate with the client. 3. If the reverse DNS is incorrect (i.e., nslookup <ip address> is returning nothing or the wrong name), then add the server and clients name and IP address to the hosts files on both the server and client. Most machines are set up to try name resolution from hosts files first, then DNS. If this is the case, adding names and IPs into the hosts file should override the DNS problem. However, this is not a permanent fix and efforts to resolve the DNS problems should be made. This is particularly so if you are using DHCP. This will achieve 2 things. First, it will allow you to be able to back up your client. Second, it will prove that there is a problem with the name resolving of your DNS server.
Why does NetVault not allow you to backup the proc directory?
The /proc directory is a dynamic structure created so that the operating system memory space can be accessed through the filesystem. It is almost completely read only and restoring it cannot be done. It is not the original image for the kernel on disk but the memory version of it.
n n
You will find the hosts file is the following places: Windows NT: C:\winnt\system32\drivers\etc\hosts Unix: /etc/hosts The layout of the hosts file is: <IP Address><space or tab><Name> for example: 192.168.1.23 elliott You can also have multiple network names (or aliases) in hosts. These will be separated by a space.
APPENDIX C
Select the Regular Expression Search check box to search for all backups satisfying the regular expression pattern entered as a Search String. The use of these expressions is beyond the scope of this manual but this Appendix provides some information from a Public Domain source which may be of use. NOTE: BakBone Software assumes no responsibility for the accuracy of this information.
318 Appendix C Using Regular Expressions themselves. Digits, are regular expressions that match themselves. Any meta-character with special meaning may be quoted by preceding it with a backslash. A list of characters enclosed by [ and ] matches any single character in that list; if the first character of the list is the caret ^ then it matches any character not in the list. For example, the regular expression [0123456789] matches any single digit. A range of ASCII characters may be specified by giving the first and last characters, separated by a hyphen. The above expression can therefore be concisely expressed as [09]. Finally, certain named classes of characters are predefined. Their names are self explanatory, and they are [:alnum:], [:alpha:], [:cntrl:], [:digit:], [:graph:], [:lower:], [:print:], [:punct:], [:space:], [:upper:], and [:xdigit:]. For example, [[:alnum:]] means [0-9A-Za-z], except the latter form is dependent upon the ASCII character encoding, whereas the former is portable. (Note that the brackets in these class names are part of the symbolic names, and must be included in addition to the brackets delimiting the bracket list.) Most metacharacters lose their special meaning inside lists. To include a literal ] place it first in the list. Similarly, to include a literal ^ place it anywhere but first. Finally, to include a literal - place it last. The period . matches any single character. The symbol \w is a synonym for [[:alnum:]] and \W is a synonym for [^[:alnum]]. The caret ^ and the dollar sign $ are metacharacters that respectively match the empty string at the beginning and end of a line. The symbols \< and \> respectively match the empty string at the beginning and end of a word. The symbol \b matches the empty string at the edge of a word, and \B matches the empty string provided it's not at the edge of a word. A regular expression matching a single character may be followed by one of several repetition operators: ? The preceding item is optional and matched at most once. * The preceding item will be matched zero or more times. + The preceding item will be matched one or more times. {n} The preceding item is matched exactly n times. {n,} The preceding item is matched n or more times. {,m} The preceding item is optional and is matched at most m times. {n,m} The preceding item is matched at least n times, but not more than m times. Two regular expressions may be concatenated; the resulting regular expression matches any string formed by concatenating two substrings that respectively match the concatenated subexpressions. Two regular expressions may be joined by the infix operator |; the resulting regular expression matches any string matching either subexpression. Repetition takes precedence over concatenation, which in turn takes precedence over alternation. A whole subexpression may be enclosed in parentheses to override these precedence rules.
The backreference \n, where n is a single digit, matches the substring previously matched by the nth parenthesized subexpression of the regular expression. In basic regular expressions the metacharacters ?, +, {, |, (, and ) lose their special meaning; instead use the backslashed versions \?, \+, \{, \|, \(, and \). In egrep the metacharacter { loses its special meaning; instead use \{.
APPENDIX D
n n n n n n n
File System backup and restore using Office Data Share plugin
324 Appendix D Hardware and Software Support Run an interactive program that automates the installation procedure.
3. Enter the INPUT device /directory for software, i.e. manually type in the path: /tmp/image 4. Click OK.
5. Click List alongside the SOFTWARE to install line. The Multi-select List window is displayed:
326 Appendix D Hardware and Software Support 6. Select the NetVault Scsi Media Changer Driver and click OK (twice) on this screen and the previous screen. You will be asked Are you sure?. 7. Click OK. The Netvault SCSI drivers will now install. Please wait. At the end of the installation the Install/Update From All Available Software window will show the installation output:
8. Choose Done. Your NetVault SCSI driver software is now installed in the /usr/lpp/netvault directory. 9. Exit smit and continue with the Post Installation procedure.
Post-Installation
After installing the software, it is necessary to configure the media changer of an attached library onto your system:
NetVault Utilities
The /usr/lpp/netvault directory contains a number of files which should not be manually removed. The two executables which you may run are: /usr/lpp/netvault/addchm This automatically configures the media changer on the system (see previous heading) and /usr/lpp/netvault/remove_chm_devices
328 Appendix D Hardware and Software Support Use this to remove wa devices before uninstalling the NetVault SCSI drivers using smit.
APPENDIX E
n n
3. Navigate to the directory where your NetVault software was installed and find the packages/extra-npks/ddv110g.npk file.
332 Appendix E Creating Virtual Libraries 4. Double-click the file. The software is loaded and the following message appears:
5. Click OK to exit the dialog box. Now you are ready to generate your disk devices.
3. Right-click the client in the Choose Library area and choose Create Pseudo Library to open the Add new pseudo library dialog box, shown in the following figure:
4. Enter the following information: Library location: The path to the location of the library. Library name: The name of the library you want to create. Barcode prefix: The prefix for the barcodes you want to assign. NetVault generates a random code to help maintain the uniqueness of bar codes. Number of drives: Select the number of drives you want to create. Number of slots: Assign the number of slots in the library. Media capacity (MB): The size of the media in each slot.
NOTE: The media capacity you choose in the Add new pseudo library dialog box is the size of each slot in the library. Make sure your available disk space can accommodate these requirements. 5. Click OK to start building the library. When the library has been created a confirming message appears, as shown in the following figure:
6. Click OK to close the dialog. Now you can add the library to the client by following the normal steps used to add libraries. See Adding Libraries (page 81) for instructions.
n n n n n n
334 Appendix E Creating Virtual Libraries To see that the devices you just added are available for use, open the Device Management window, as shown in the following example:
APPENDIX F
n n n n n n n n n n n n
Machine Tab
The Machine tab details information about the machine NetVault is installed on, including the Machine ID required to get a permanent License Key after product purchase. The NetVault Configurators Machine tab is shown in the following figure:
Information available in the Machine Tab includes: NetVault Machine Name: The name given to the NetVault server or client during installation, used to reference the NetVault machine while using NetVault. This name does not have to be the same as the host name, it can be different. Note that in naming a NetVault machine you cannot use special characters, punctuation characters, spaces or capital letters. For instance,
338 Appendix F Using the NetVault Configurator server, server1 and servernumber1 are acceptable, whereas server/1, server1, server1! or server1 are not. Machine ID: The unique machine identification generated by NetVault, in most cases from the host name of the machine. License keys are generated from the machine ID and are tied to it. If the machine ID is changed, a new license key must be made. Network Name(s): The host name of the NetVault server. Machines can have more than one network name also known as Aliases. IP Address(es): The IP address of the computer. If multiple addresses are present all are displayed here whether they are on the same nic or on multiple nics. This is independent of any settings in the preferred/barred configuration. NetVault Version: The version number of the NetVault installation. O.S. Version: The version of the Operating System running on this computer. NetVault Platform: The platform under which NetVault is operating.
License Tab
The License tab details the Server Capabilities and the Serial Numbers of Applied Keys for the machine on which NetVault is installed. This information is the same as that available in the Server Properties dialog box of NetVaults Domain Management window. The NetVault Configurator License tab is shown in the following figure:
n n n n n n
Information available in the License tab includes: Server Capabilities: Lists the maximum Number of different server capabilities. Information displayed depends on the license installed. During an evaluation period all capabilities are enabled. With a permanent key installed only the purchased features are enabled and displayed here. Serial Numbers of Applied Keys: The serial numbers installed on this computer. This is a list of ALL keys applied to this server/client. Keys applied to other machines are not displayed here.
NOTE: If this is an evaluation installation, the length of the evaluation period and the number of days left in that period are displayed. If a permanent key is installed prior to the expiration of the evaluation period, both keys are listed. When the evaluation period expires, that information is removed from this display.
Service Tab
The Service tab allows you to start and stop NetVault service. After installation, or after a system re-boot, the NetVault Process Manager is automatically started. When upgrading to the most current NetVault release, you must start the service manually. The Current State of NetVault is displayed in the Service tab. When necessary, you can Start NetVault and Stop NetVault by clicking the appropriate buttons on the Service tab. If you need assistance in stopping NetVault services, contact BakBone Technical Support (page 6). NOTE: When stopping NetVault, wait for at least 30 seconds after the service shows Stopped before restarting the service to ensure that all processes were stopped correctly.
n n
340 Appendix F Using the NetVault Configurator The NetVault Configurators Service tab is shown in the following figure:
Information available in the Service Tab includes: Current State: Shows if NetVault is running or stopped. Stop NetVault: Click this button to stop the NetVault service. Start NetVault: Click the button to start the NetVault service.
Packages Tab
The Packages tab is an alternative way to install or remove NetVault Application Plugin Module software. The APM installation procedure is detailed in Installing NetVault Plugins and APMs (page 25). The Packages tab is useful when NetVault plugin software is to be installed locally on a NetVault client (without a NetVault interface), rather than remotely from the NetVault server.
n n n
Information available in the Packages Tab includes: Install Software: Click this button to install new software (i.e., plugins) to the server. Note that this only installs packages on the local machine. To install a package on another NetVault machine, use the Client Management window. Installed Packages: The list of packages installed on this machine, along with the date installed and any flags associated with the package. Remove Software: Click this button to remove selected software from this machine. To remove software from another machine, use the Client Management window.
General Tab
The General Tab allows you to change the pathnames of the directories used by NetVault, select a language and set buffer sizes.
n n n
342 Appendix F Using the NetVault Configurator The NetVault Configurators General tab is shown in the following figure:
Information available on the General Tab includes: Generate debugging files: When enabled, a normal level of trace is generated for all processes. A trace file is created for each process and placed in a trace directory in the root of the NetVault directory. No additional action is required to create normal level trace. To create higher levels of trace the programs.cfg file must be modified to set the appropriate trace level.
NOTE: Trace generates large files very quickly, and some processes are more verbose than others. Make sure you have sufficient space to store trace files and leave trace turned on only as long as you need it. Some processes may need to be restarted before doing a trace. Consult Technical Support (page 6) for assistance with trace levels and restarting processes. Database Directory: The pathname of the NetVault database directory. Trace Directory: The pathname of the NetVault trace directory. Log Directory: The pathname of the NetVault log directory.
n n n n
NOTE: Make sure you have enough space allocated for these directories if you are relocating them. For example, relocating the tmp directory to a new location without enough space causes backup and restore jobs to fail. NetVault requires some temp space as a working area for creating and retrieving previous indexes. Also allocate enough space for the NetVault database to grow if media is not being rotated. Language Selection: Choose the desired language to be used in NetVault. Normally the only selection available is English, unless the installation has been localized. Minimum network send buffer size (Kb): Controls the minimum size of kernel memory NetVault can use to buffer data on network sockets. If the minimum buffer size is increased, performance increases. Maximum network send buffer size (Kb): Controls the maximum size of kernel memory NetVault can use to buffer data on network sockets. If the maximum buffer size is decreased, the reliability of the connection may be increased. Minimum network receive buffer size (Kb): Controls the size of the receive buffer. See minimum send buffer for further explanation. Maximum network receive buffer size (Kb): Controls the size of the receive buffer. See maximum send buffer for further explanation. Package Install System Check: When enabled, NetVault checks the installed packages and makes sure they are for the operating system the package requires. For instance, if you attempt to install a Solaris package on a Windows machine a warning message appears.
n n n n n n n
344 Appendix F Using the NetVault Configurator An example of the NetVault Configurators Plugin Options tab is shown in the following figure:
Because the information appearing in this tab varies by plugin, the options and settings will be different for each installation. If you do not understand any of these options, contact Technical Support (page 6).
The NetVault Configurators Fire Wall Tab appears as shown in the following figure:
Information available in the Fire Wall tab includes: Valid Ports for Devices: Enter a comma or dash-separated list of valid port IDs in the box.
GUI Tab
Settings in the GUI tab allow you to specific screen refresh rates, change display colors, control messages in the Jobs window and set the number of messages appearing in the Logs window. The GUI tab includes an individual tab for each of the settings available, as described below:
346 Appendix F Using the NetVault Configurator The Refresh Rates tab within the NetVault Configurators GUI tab appears as shown in the following figure:
Information available on the Refresh Rates tab within the GUI tab includes: Job refresh rate in milliseconds: The rate of screen update for the Jobs window. Device refresh rate in milliseconds: The rate of screen update for the Device window. Job Monitor refresh rate in milliseconds: The rate of screen update for the Job Monitor window.
n n n
The Colors tab within the NetVault Configurators GUI tab appears as shown in the following figure:
The colors red, green and blue are used in various combinations to display the scheduled, running and completed jobs in the Jobs window. Increasing or decreasing the RGB values changes the colors. Color intensity can be changed for each of the following: Color of scheduled jobs (RGB) Color of running jobs (RGB) Color of completed jobs (RGB)
n n n
348 Appendix F Using the NetVault Configurator The Jobs tab within the NetVault Configurators GUI Tab appears as shown in the following figure:
Information available on the Jobs tab within the GUI tab includes: Permit Duplicate Phase with no Target Set: A target set is required for duplicate media unless this option is selected to override it. If multiple duplication jobs claim all the drives to read the source media, there will be no drives available for the target media. To prevent a deadlock situation when using the same target for all your duplicates, leave this option cleared.
The Logging tab within the NetVault Configurators GUI Tab appears as shown in the following figure:
Information available on the Logging tab within the GUI tab includes: Maximum log messages in log window: Enter the desired number of messages in the box or click the up and down arrows until the desired number appears. By allowing only 1,000 log messages, the amount of used disk space is kept to a minimum.
350 Appendix F Using the NetVault Configurator The NetVault Configurators Logging Daemon tab appears as shown in the following figure:
Information available in the Logging Daemon tab includes: Disk Space Warning Threshold (percent full): Specifies the percentage of space which can be used for the tmp directory of the NetVault database on Windows NT systems only, based on the disk or partition that NetVault is installed on. When this level is reached, NetVault logs a message to inform you that you are running out of free space and also sends a warning to the NT event viewer. Administrators should check the log messages and apply appropriate measures to assure adequate free space.
CAUTION: If the disk space level is exceeded, the NetVault Database can be damaged. Log file page size (Kb): The value entered here is the size of each of the files (two) created at the time NetVault is opened. Activity is logged to the first file until the allocated space in that file is used. When the first file is full, NetVault creates a third file of the same size and continues logging activity to the second file. These files are created as sparse files, so that if you run out of hard disk space logging can continue in the pre-allocated files.
n n
Message Response Interval (in milliseconds): When opening a Logs window the opening progress dialog box appears. The Cancel button on this dialog box allows you to cancel the Logs window. Decreasing the response interval increases the responsiveness of the Cancel button at the expense of CPU performance. Outgoing message bundle size: Log messages are sent to the Logs window in bundles to improve performance, the size of which is defined in this option. Minimum time (in milliseconds) between progress updates: The progress dialog box that appears when opening logs displays the number of log messages loaded. This setting specifies how often the dialog box information is updated. Minimum warning level to send to system log: This setting controls how much of the NetVault logs are sent to the operating system logs.
n n n n
352 Appendix F Using the NetVault Configurator Minimum life for imported backups (days): When media is deleted from the NetVault database or a tape from another NetVault server is used, it appears in the Media Management window as FOREIGN. To access the data through NetVault, scan the tape to build the contents back into the database using the tape index. The value entered here controls the life of the savesets on the tape once it has been scanned. Any existing life spans of savesets on tape remain in effect after being scanned; the setting in this option affects only expired savesets and designates its life span after being imported into the database. Use barcodes as labels: When selected, this option automatically uses the barcode of a tape as the tape label. The default naming convention is <server name><date>. When using barcodes you may want the tape name to match the barcode. This option applies only if your library has a barcode reader and your tapes have barcodes. Priority Settings: Backup and Restore jobs can be given specific priorities to change the order in which the jobs are performed. The remaining options in the Media Manager set default priorities as shown in the following table: Types of Priorities Restore Request Priority (1=Highest, 0=Background) Continuation Restore Request Priority Boost Backup Request Priority (1=Highest, 0=Background) Continuation Backup Request Priority Boost Label Request Priority (1=Highest, 0=Background) Blank Request Priority (1=Highest, 0=Background) The following information applies to the types of priorities: For Restore, Backup, Label and Blank requests, 1 is the highest level and 0 runs the request in the background. A Continuation request occurs when an unfinished Restore or Backup job requires more than one piece of media to complete successfully. It is possible for a job paused for media changes to be pre-empted by another request. In order to allow the original Restore or Backup request to continue without interruption, set the priority number of the continuation Restore or Backup to a smaller number than that of other requests. Priority Number 20 5 30 5 10 10
n n n n n
The NetVault Configurators Network Manager tab contains three additional tabs and appears as shown in the following figure:
n n n n
354 Appendix F Using the NetVault Configurator may not be displayed as quickly as needed. You can manually add an undisplayed client using the find utility. Time (in seconds) between security broadcasts: The security broadcast results in the display of a key on the machine icon seen in the Client Management window. The key in the icon indicates the presence of security and the need for a password to access that machine.
Information available in the Connections tab includes: Broadcast details to machines on local networks: To automatically display machines in a clients window, select this option. If this option is cleared you can add clients only by using the Find utility in the clients window to locate the desired client. When this option is cleared, the amount of network traffic generated by NetVault is reduced; however, adding clients becomes more
n n
complicated. This option should only be cleared when it is necessary to reduce network traffic. NOTE: NetVault uses UDP broadcasts. UDP does not route over different network segments and machines on different segments do not appear automatically. They must be found manually. Preferred network address: Only used when your machine is connected to multiple networks either via multiple nics or by virtual IP addressing. To use this option, enter the IP address of the interface (not the address of the machine) you prefer NetVault to use as its primary access point no matter which network(s) the machine is connected to. If this primary network access is not available, NetVault uses one of the other available networks. Comma separated list of barred address(es): The list of addresses you want to prevent NetVault from using should be entered in this box, separated by a comma.
Using a combination of these two options can be very helpful to direct your networks traffic. For instance, you may have a network specifically for backups and another network you do not want to use for backup data. In this case you can bar one network so that NetVault will not use it at all and force the network designated for backup traffic to be the first one NetVault uses. CAUTION: Be careful that you do not bar all networks on your server since you will not be able to perform any backups.
n n
356 Appendix F Using the NetVault Configurator The NetVault Configurators Schedule Manager tab appears as shown in the following figure:
Information available on the Schedule Manager tab includes: Number of days to keep job history: This setting limits the number of days of job information displayed in the Jobs windows History tab. Number of days to keep job status: This setting limits the number of days of job information displayed in the Job windows Status tab. Maximum simultaneously active jobs: The value entered in this setting limits the number of jobs than can be running at any one time. Because each running job consumes a small amount of shared memory, it can be advantageous to specify a small number of jobs that can run simultaneously. When setting this value, keep in mind that only a small number of jobs can be writing to media at any given time. If you submit a large number of jobs, those over the limit will stay pending until the required resources are available, affected also by the number of available tape drives.
n n n
Security Tab
In the Security tab you can set a new password for the NetVault server or client installation and disable security. When security is disabled, the machine can be accessed by any NetVault Server. The NetVault Configurators Security tab appears as shown in the following figure:
Information available in the Security tab includes: Disable Security: When selected, this option allows any NetVault server to add your machine to its list of clients. Clear this option to require the NetVault server to provide a password in order to add your machine to a list of clients. New Password: To change the machine password enter it in this box. Confirm Password: Enter the new password again in this box.
n n n
APPENDIX G
n n n n n n n n
Report Arguments
Valid report arguments are described in the following table: Short Argument h or ?
Description Displays basic help information, including details on how to request additional information. Identifies the nvreport to be produced. Identifies the fields to be included in the report. Identifies the server to be queried. Specifies how the output data is sorted. Specified a set of conditions that must be met for a record to be included in a report. Specified a set of conditions that, when met, exclude items from a report. Identifies the nvreport template to be used.
r f v s i e t
1 2 3 4
1 1 1 1
1 1 1 1
By default all the fields shown above are included in the report. To include specific fields, issue the command nvreport -help fields jobhistory to list the fields available for inclusion in this particular report. See Creating Custom Templates (page 365) for a complete list of the fields available for each type of report. To define the fields you want to include in the output, issue the following command nvreport -r jh -f %exitstatus %startdate %jobid -s %exitstatus %startdate %jobid which calls the jobhistory template (jh), includes fields (f) exitstatus, startdate and jobid and sorts (s) the report by exitstatus, startdate and jobid. This produces the following output:
JobID Inst Phase Title Type Exit Status Start Date Start Run Lngth
1 2 3 4
1 1 1 1
1 1 1 1
Exit Status
Start Date
JobID
Backup Comp
23 Oct 2000
JobID 2 3 4
IMPORTANT: Using format only affects the fields shown in the report. It does not affect the selection of records included in the output. To filter the records in the output use the include and exclude arguments.
JobID
Inst
Phase
Title
Type
Exit Status
Start Date
Start
Run Lngth
backup 4
Backup
Backup Comp
24 Oct 2000
11:12
00:00:26
To use a filter string to include or exclude fields, apply the following argument: %[fieldname][operator][constant] for example: %ID = 23 where: fieldname can be any valid field name included in the reports format string. To see the list of valid field names issue the command nvreport -help fields [report name] operator can be: greater than (>), greater than or equal to (>=), less than (<), less than or equal to (<=), equal to (=) and not equal to (!=). constant is the value you want to find in the specified field.
In addition, filtering expressions can be linked using the Boolean operator AND and OR. Brackets can be used to order the Boolean expressions as shown in the following simple example: (%jobid > 10 AND %instanceid <5) OR %jdefntype = restoreid
n n n
364 Appendix G Using the Reporting Tool or in this more complex example: nvreport -r jh -include ((%jobid > 10 AND %instanceid < 5) OR %phaseid = 12) OR (%jdefntype = restore AND %phaseid = 23) This example illustrates the way you can nest statements to create sophisticated filters.
Sorting Output
The sort argument is used to order the records included in a reports output. The sort specification format is %fieldname[+-] For example, if you entered %id+, the records are sorted in ascending order by ID. If you entered %title-, the records appear by title in descending order. Multiple sort expressions can be combined in a specified order. For example, if you entered %type+ %jobid+ %title-, the data is sorted by ascending type, then by ascending job ID, then by descending title. The command nvreport -r jh -s %jobid+ returns the following output:
JobID
Inst
Phase
Title
Type
Exit Status
Start Date
Start
Run Lngth
1 2 3 4
1 1 1 1
1 1 1 1
JobID
Inst
Phase
Title
Type
Exit Status
Start Date
Start
Run Lngth
4 5 2 1
1 1 1 1
1 1 1 1
Notice that the order of the jobs is reversed from that of the first report. Filter arguments can be applied to any of the relevant fields in the report being run.
ID
Title
Type
Client
Plugin
Trigger
1 2 3 4
The following example shows how to add another field to the list of included fields: %REPTYPE jobdefinitions %FORMAT %ID %TITLE %TYPE %CLIENT::7 %PLUGIN %SCHEDTRIGGER %AOPTSVERIFY %SORT %ID+
366 Appendix G Using the Reporting Tool The output from the second example now includes the Vrfy column and appears as follows:
ID
Title
Type
Client
Plugin
Trigger
Vrfy
1 2 3 4
no yes no no
You can filter the data appearing in the output by adding include or exclude statements. On the command line the syntax is -i or -include, whereas in a report template the argument is preceeded with a % sign. In the following example, the job history template, there is no filter applied: %REPTYPE jobhistory %FORMAT %JOBID %INSTANCEID::4 %PHASEID %JDEFNTITLE %JDEFNTYPE %EXITSTATUS %STARTDATE %STARTTIME::5 %RUNTIME %SORT %JOBID %INSTANCEID+ %PHASEID+ When a filter is added the report appears as follows: %REPTYPE jobhistory %FORMAT %JOBID %INSTANCEID::4 %PHASEID %JDEFNTITLE %JDEFNTYPE %EXITSTATUS %STARTDATE %STARTTIME::5 %RUNTIME %include (%startdate > 2000/10/23) and (%exitstatus = backup complete) %SORT %EXITSTATUS+ Note the brackets around each filter statement. Also note the use of and to combine the two statements. You can also use an or operator, if desired. When applying more than 2 filters, it is important to use double brackets to denote the order in which they should be applied. Make sure the order and logic of the filters is correct or the resulting output may not be what you expect. You can also run multiple reports and direct the output into one large report.
n n n n
368 Appendix G Using the Reporting Tool The following tables list, for each type of report, the fields available for use:
Formats HH:MM:SS (e.g., 22:10:11) HHMMSS (e.g., 221011) YYYY/MM/DD (e.g., 2000/04/26) YYYYMMDD (e.g., 20000426) Yes No True False NNNN[HDWMY] 12H 2W 564M 44Y A string of days using the following abbreviations: SU = Sunday MO = Monday TU = Tuesday WE = Wednesday TH = Thursday FR = Friday SA = Saturday (e.g., MOWEFRSU for Monday, Wednesday, Friday and Sunday) A string of dates separated by commas (e.g., 1,2,4,8,10) A string indicating the number of the week in the month (e.g., 145 for the first, fourth and fifth weeks, 13L for the first, third and Last week, etc.) N/A N/A
hdwmycount daysinweek
daysinmonth weeksinmonth
selectiontree pluginscreen
Glossary
A
Add Library window The Add Library window controls the adding or modifying of libraries for the selected server. The Library Name field shows the selected library name, once added. The window contains tabbed control and information areas to allow different aspects of the library to be set up and viewed.
Add Standalone Drive The Add Standalone Drive window controls the adding or modifying window of simple devices to the selected server. The Device Name field shows the selected device name, once added. The window contains control and information areas to allow the device to be chosen and added and the device details viewed. There is also a Configure button to allow the parameters of the device to be changed including Configuration, Performance and Statistics settings. Application Plugin Module (APM) An Application Plugin Module provides a bridge from NetVault to another application. This allows you to use the NetVault GUI to control and manage your backup and restore operations in other databases. APMs are sold separately; contact your BakBone representative for more information.
B
backup A NetVault backup is the saving of computer data onto media, under the control of a NetVault Server. With NetVault, many types of data may be backed up using the appropriate plugin (e.g. NetVault Database plugin, NT File System plugin, NT Registry plugin, UNIX File System plugin, etc.). The NetVault Backup window controls the scheduling of backups for the selected server and Job Title. The window contains tabbed control areas to allow different aspects of the backup to be set up
Backup window
374 Glossary
Backup Set
A Backup Set is the complete set of data stored on one or more items of media for a single backup job. The complete Backup Set may be contained as one Saveset on a single item of media, or it can be spread over several items of media (e.g. tapes), occupying a single unique Saveset on each media item.
C
Client Management window The NetVault Client Management window displays client information for the selected server. The window contains two list areas to display available machines and those added to NetVault as clients; there is also an area to find NetVault Machines not currently displayed in either list. The NetVault Configurator is a standard tool included with the NetVault installation. Normally the Configurator is used to start and stop NetVault services. It also provides information about the machine, the license(s) purchased for the machine, the software installed on the machine and a variety of other options used to manage security, interface appearance, logging and many more. For complete information on the NetVault Configurator see Using the NetVault Configurator (page 335). A cleaning drive is a drive with designated slots used to clean tapes.
Configurator
cleaning drive
D
distributed devices NetVault can use distributed devices, i.e. devices can be connected to any NetVault Node (NetVault server or client), not just to the NetVault server. A NetVault device is any equipment which can hold NetVault media (e.g. simple tape drives, tape libraries, pseudo disk libraries, optical drives, etc.). NetVault devices are only controlled by a NetVault server, whatever computer they may be physically connected to (e.g. to a local or remote NetVault client, as well as locally on the NetVault server). A NetVault domain is the term used to signify a group of computers comprising a NetVault server, and a number of NetVault clients, (which may be on the local network, remotely via a bridge, gateway the Internet, etc.).
device
domain
The NetVault Device Management window controls the devices added to the selected server. The window contains tabbed areas to allow different control or viewing of various functions
Domain Management The NetVault Domain Management window allows NetVault servers window to be viewed and controlled.
F
Firewall A system designed to prevent unauthorized access to or from a private network. Firewalls can be implemented in both hardware and software or a combination of both. Firewalls are frequently used to prevent unauthorized internet users from accessing private networks connected to the internet, especially intranets. All messages entering or leaving the intranet pass through the firewall, which examines each message and blocks those that do not meet the specified security criteria. A Full backup is a complete copy of selected data.
Full backup
G
GUI The GUI or Graphical User Interface is used to access the windows and functions provided by NetVault to manage your hardware and software configurations and data storage. The interface contains the menu bar, command toolbars and a status line to aid in choosing the desired function.
I
Instance The Instance of a job is a number representing the number of times that this particular job has been submitted. The first time a new job is submitted, the number is always 1, the second time it is 2, etc. (even if you have used View/Edit Job to modify the job in between submissions, provided you do not change the job title). An Incremental backup is a copy of the changes made to files or databases since the last backup was performed.
Incremental backup
J
Jobs window The NetVault Jobs window displays jobs submitted for the selected server. The window contains tabbed areas to allow viewing of various functions.
376 Glossary
L
Logs window The NetVault Logs window displays log entries for processes controlled by the selected server. Each log message is preceded with a colorcoded dot, which signifies the message's level of importance. The authorization number(s) for the BakBone product(s) you have purchased. A library is any combination of tapes, multi-drive tape jukeboxes, sequential devices, autochangers, autoloaders, disks, etc. NetVault controls the devices in a library and libraries can be shared among clients.
License
Library
M
Media Management The NetVault Media Management window allows media to be examwindow ined for the selected server. The window contains a Media selection area and Details tabbed areas to allow different aspects of either the media or saveset to be examined.
N
NAS NAS is the acronym for Network Attached Storage. Devices used in storage management can be directly attached to a network and accessed by all clients on the network.
NetVault Database The NetVault database contains all the details for the installation of the NetVault server, including information on configuration, keys, logs, media and schedules. This information is critical to keeping NetVault operations available and recoverable in case of a catastrophic event. Node A NetVault Node is any networked computer with NetVault (server or client) software installed. A Node can act as a NetVault server for one NetVault domain, and at the same time be a NetVault client to another NetVault server in another NetVault domain.
P
Phase When the NetVault Backup Advanced Option, Duplicate is used the duplicate job is allocated the same Job ID and Job Title as the backup job, but the Phase for the duplicate job will read 2 (so that the duplicate can be identified). In all other cases, the Phase of jobs will read 1. This information is shown in the NetVault Server Status window, Job Status area. A plugin is a NetVault program module designed to add functionality to NetVault core features. Plugins included with the NetVault installation are the Data Copy, Consolidate File System Backups, File System and Raw Device.
plugin
Policy Manage- The Policy Management window organizes and accesses the backup Polment Window icy Sets you have saved for selection, target and advanced options. Policy Set priorities A Policy Set is a collection of options defined for a job, or portion of a job, saved for future re-use. A Priority assigns the order in which jobs run. Default settings are found in the Using the NetVault Configurator (page 337). In addition, individual job priorities can be set to override the default settings. For more information, see The Media Requests Tab (page 72) in Chapter 4.
R
restore A NetVault restore is the restoration of computer data from media, under the control of a NetVault server. With NetVault, many types of data may be restored using the appropriate plugin (e.g. NetVault Database plugin, NT File System plugin, NT Registry plugin, UNIX File System plugin, etc.). Data may be restored from a tape imported from another NetVault server's device using the media Scan facility. Data may also be restored to a different Target client, Location or Name, from that of the original backup.
Restore window The NetVault Restore window controls the scheduling of restores for the selected server and Job Title. The window contains tabbed control areas to allow different aspects of the restore to be set up.
378 Glossary
S
Saveset A Saveset is the set of data stored on a single item of media for a NetVault backup job. An item of media (e.g. a tape) may contain several Savesets, each a single Backup Set for a job; but a Backup Set may be large enough to be spread over several items of media, occupying a unique Saveset on each media item. Selection Sets allow often used selections in several tabs of both the Backup and Restore windows to be saved and used for multiple jobs. This time saving feature is described in Using Policy (Set) Templates (page 263). A NetVault server controls all backup and restores for all NetVault clients in a NetVault domain., including the server machine itself acting as a client. NetVault devices are only controlled by a NetVault server, wherever they may be physically connected (e.g. to a remote NetVault client, as well as locally). A NetVault server may be remotely controlled using NetVault Domain Management. The NetVault Server Status window displays status information for the selected server. The window contains individual, re-sizeable areas to display each type of information.
Selection Sets
Server
Shared Devices A device being used by two or more machines through a shared-SCSI or SAN (Storage Area Network) is a shared device. A shared drive can be used by NetVault as a local drive when backing up the client, increasing the efficiency of data transfer across the network. SAN (Storage Area Network) The Storage Area Network provides the ability to attach devices to client with high-speed connections to provide centralized tape storage and drive sharing.
T
target media Template Target media is a specific tape, disk or other piece of media where data being restored is placed. A template is a block or pattern used as a basis to build a new function (e.g., customized reports).
tracing
Tracing is a NetVault utility that allows you to capture and store a history of events. With this file you can provide Technical Support (page 6) with enough information to diagnose a problem. A tree is another name for a hierarchical list which indents from trunk to branch to twig, etc. (but upside-down!). It is the method used for displaying data in both the NetVault Backup and Restore windows, using the relevant plugin or APM. NetVault backup and restore jobs can be created and saved as triggered jobs. They are only added to the schedule list when they are triggered using a provided nvtrigger program.
Tree
Triggered Job
V
virtual library A virtual library is a library set up in a temporary area, such as a hard drive, used to perform disk staging and tape cleaning.
INDEX
A
add library window ................................................................................................ 373 add standalone drive window ............................................................................... 373 adding ..................................................................................................................... 81
a NetVault Client ............................................................................................... 111 clients ............................................................................................................... 111 libraries............................................................................................................... 81 shared libraries ................................................................................................... 87
Adding Libraries
Add Library Screen Functions ..............................................................................
82
274 274 275 285 278 275 273 178 217 370 16
APM (Application Plugin Module) ......................................................................... 373 Archive (Advanced Backup Option) ..................................................................... 274
B
backup
consolidating ..................................................................................................... consolidating sets .............................................................................................. definition ........................................................................................................... full .................................................................................................................... incremental .......................................................................................................
382 Index
274 149 187 192 162 374 180 175 373 backup life option .................................................................................................. 274
Backup Management
life .................................................................................................................... NetVault Database............................................................................................. raw device (NT) ................................................................................................. raw device (UNIX) ............................................................................................. selecting data .................................................................................................... set .................................................................................................................... simple ............................................................................................................... to Specific Media ............................................................................................... window ..................................................................................................... 159,
160 161 179 178 168 169 173 162 174 174 177 175 backup options tab, in backup window ................................................................. 168 backup saveset commands, in media management ............................................ 135 backup saveset, status ......................................................................................... 135
backup sets
Backup window functions ................................................................................... Menus ........................................................................................................ Incremental Backup Procedure ........................................................................... Using the Advanced Options Tab ........................................................................ Using the Backup Options Tab ........................................................................... General Backup Options .............................................................................. Using the Schedule Tab ..................................................................................... Using the Selections Tab ................................................................................... Using the Target Tab ......................................................................................... Device Options ............................................................................................ General Options .......................................................................................... Media Options .............................................................................................
186 152 backup tab, in media management ...................................................................... 136 backup through mount points ............................................................................... 170 backup window ............................................................................................... 52, 159 2000 backup options .......................................................................................... 171 backup options tab............................................................................................. 168 miscellaneous switches ................................................................................ 170 buttons .............................................................................................................. 160 commands ........................................................................................................ 161 general backup options ...................................................................................... 169 NT backup options ............................................................................................. 171 schedule tab ...................................................................................................... 173 selections tab .................................................................................................... 162 tabs .................................................................................................................. 160 type of backup ................................................................................................... 169
383
UNIX Filesystem backup options ........................................................................ copying ..................................................................................................... 151, incremental ....................................................................................................... restoring incremental ................................................................................. 180, selections in NT ................................................................................................. selections in W2K .............................................................................................. simple ...............................................................................................................
172
152 179 218 163 167 181 backuptarget report ............................................................................................... 370 BakBone Software .................................................................................................... 6 basics ...................................................................................................................... 41 block size .............................................................................................................. 297
C
cleaning
automatic interval .............................................................................................. 100 drives .......................................................................................................... 97, 374 life of media....................................................................................................... 100 manual .............................................................................................................. 101 slots .................................................................................................................... 97
client
111 109 108 121 client management........................................................................................ 103, 105 available NetVault machines .............................................................................. 106 clients ....................................................................................................... 107, 108 Find NetVault Machine ............................................................................... 108, 109 client management window .................................................................... 48, 105, 374 client status, in server status window ................................................................... 143 client transfer nodes ............................................................................................... 61 command line reports ........................................................................................... 361 arguments ......................................................................................................... 361 example ............................................................................................................ 362 fields ................................................................................................................. 367 filtering .............................................................................................................. 363 sorting .............................................................................................................. 364 templates .......................................................................................................... 365 templates, new .................................................................................................. 366 command toolbar .................................................................................................... 45
commands
adding (to NetVault Server) ................................................................................ finding Unlisted NetVault Machine ...................................................................... Install Software (optional plugin) ......................................................................... Properties ................................................................................................. 108,
384 Index
252 201 243 configurator ..................................................................................... 31, 335, 359, 374 fire wall tab ........................................................................................................ 344 general tab ........................................................................................................ 341 GUI tab ............................................................................................................. 345 license tab......................................................................................................... 338 logging daemon tab ........................................................................................... 349 machine tab ...................................................................................................... 337 media manager tab ............................................................................................ 351 network manager tab ......................................................................................... 352 packages tab ..................................................................................................... 340 plugin options tab .............................................................................................. 343 running ............................................................................................................. 306 schedule manager tab........................................................................................ 355 security tab ....................................................................................................... 357 service tab ........................................................................................................ 339
configuring
185
D
data copy plugin .................................................................................................... 151 data stream ........................................................................................................... 302 data, searching for .................................................................................................. 57 database
management ..................................................................................................... 147 recovery ............................................................................................................ 147 restore .............................................................................................................. 150 sizing .................................................................................................................. 24
385
71 66 68 70 65 65 72 65 67
dialogs
294 259 119 disaster recovery ................................................................................................... 149 disk devices............................................................................................. 94, 331, 332
Domain
Network Diagram ............................................................................................... available NetVault Servers icons ........................................................................................................... available NetVault servers .................................................................................. pop-up commands ....................................................................................... Controlled Servers .............................................................................................
386 Index
120 121 121 121 117 domain management window ............................................................................... 375 domain, definition of .............................................................................................. 374 drive lights, in server status window ..................................................................... 142
drives
icons ........................................................................................................... pop-up commands ....................................................................................... Find NetVault Machine ....................................................................................... Server, making default for control ....................................................................... window ....................................................................................................... 48,
97 94 dumping log files ................................................................................................... 305 duplication, of backup ........................................................................................... 275 DVD-RAM ............................................................................................................... 61
E
edit drive dialog ..................................................................................................... 294 errors
for jobs .............................................................................................................. in searches .......................................................................................................
257 110
F
features
advanced .......................................................................................................... 271 NetVault ................................................................................................................ 3
fields
reports ..............................................................................................................
filtering
logs .................................................................................................................. reports ..............................................................................................................
finding
121 109 fire wall tab, configurator....................................................................................... 344 firewall, definition of .............................................................................................. 375
387
G
general backup options ......................................................................................... 169 general tab, configurator ....................................................................................... 341 generations ........................................................................................................... 136 Glossary ................................................................................................................ 373 GUI .................................................................................................................. 43, 375 GUI tab, configurator ............................................................................................ 345
H
hardware
support .............................................................................................................
I
Icons
Client Status ...................................................................................................... Clients List ........................................................................................................ Controlled Servers Area ..................................................................................... Machine Available NetVault Machines ................................................................ 106, server status .....................................................................................................
118 143 importing media .................................................................................................... 151 incremental backups ............................................................................................. 375 procedure ......................................................................................................... 179 restoring.................................................................................................... 180, 218
installing
NetVault software .................................................................................................. 9 on AIX 4.2/4/3 ............................................................................................... 16 on Compaq TRU64 ........................................................................................ 17 on FreeBSD 3.2 ............................................................................................. 17 on HP9000/700/800 ....................................................................................... 17 on HP-UX 10/11 ............................................................................................ 17 on IRIX 6.2/6.5 .............................................................................................. 18 on LINUX ...................................................................................................... 18 on NCR UNIX SVR 5.4 MP-RAS 03 ................................................................ 19 on SCO Open Server 5 .................................................................................. 20
388 Index on Sun Solaris 2.5 (SPARC) ........................................................................... 20 on Sun Solaris 2.6 (SPARC) ........................................................................... 21 on Sun Solaris 7 ............................................................................................ 21 on Sun Solaris 7 (SPARC) ............................................................................. 22 on UnixWare 2.1.3 ......................................................................................... 23 on UnixWare 7 .............................................................................................. 23 on Windows 2000 .......................................................................................... 18 on Windows 95/98 Client ................................................................................ 19 on Windows NT ............................................................................................. 10 on Windows NT 4.0 ....................................................................................... 19 packages .......................................................................................................... 331 plugins ................................................................................................................ 25
J
job logs, extended ................................................................................................. 254 job management ........................................................................................... 239, 241
deleting ............................................................................................................. using history tabbed area pop-up commands .......................................................................................
246 247
247 245 246 242 242 245 job status, in server status window ....................................................................... 143 jobdefinitions report............................................................................................... 368 jobhistory report .................................................................................................... 369
jobs
Using the History Tab ........................................................................................ using the Jobs Tab ............................................................................................ pop-up commands ....................................................................................... using the Status Tab .......................................................................................... Log Entry Headings ..................................................................................... pop-up commands .......................................................................................
257 247 249 225 242 285 256 375 jobs tab, in jobs management window ................................................................. 245 jukeboxes ................................................................................................................ 61
errors ................................................................................................................ history ............................................................................................................... logs .................................................................................................................. scheduling......................................................................................................... status ................................................................................................................ triggering ........................................................................................................... warnings ........................................................................................................... window ....................................................................................................... 54,
389
L
libraries ............................................................................................................ 81, 376
adding shared ..................................................................................................... 87 creating pseudo/virtual ......................................................................................... 94 creating virtual ................................................................................................... 331 jukeboxes ........................................................................................................... 61 stackers .............................................................................................................. 61 virtual ........................................................................................................ 329, 379 virtual libraries ..................................................................................................... 64
library management ................................................................................................ 59 license ................................................................................................................... 376 license tab, configurator ........................................................................................ 338 licenses for NetVault products ................................................................................ 26 Linux
configuring .......................................................................................................... uninstalling ..........................................................................................................
38 40
loading
sets ..................................................................................................................
log files
dumping ............................................................................................................
M
Machine Details dialog .......................................................................................... 119 machine tab, configurator ..................................................................................... 337 managing
clients ............................................................................................................... 103 devices ............................................................................................................... 59 domains ............................................................................................................ 115 jobs .......................................................................................................... 239, 241 libraries ............................................................................................................... 59 NetVault database ............................................................................................. 147 software ................................................................................................................ 7
media
390 Index importing unknown............................................................................................. 151 scanning ............................................................................................................. 94 target ................................................................................................................ 378
129 128 128 132 128 130 129 media management window ................................................................... 50, 127, 376 media manager tab, configurator .......................................................................... 351 memory size .......................................................................................................... 297 menu bar ................................................................................................................. 43
modified files
during backup....................................................................................................
170 268 40
modify
sets ..................................................................................................................
N
NAS (Network Attached Storage) ......................................................................... 376 NetVault
basics ................................................................................................................. 41 configurator ................................................................................. 31, 335, 359, 374 configuring .......................................................................................................... 38 database ........................................................................................................... 376 database backup ............................................................................................... 149 database restore ............................................................................................... 150 database size ...................................................................................................... 24 disaster recovery ............................................................................................... 149 features ................................................................................................................ 3 introduction to NetVault .......................................................................................... 1 licenses for products ............................................................................................ 26
391
NetVault software
installing................................................................................................................ 9 installing on AIX 4.2/4.3 ....................................................................................... 16 installing on Compaq TRU64 ................................................................................ 17 installing on FreeBSD 3.2 ..................................................................................... 17 installing on HP9000/700/800 ............................................................................... 17 installing on HP-UX 10/11 .................................................................................... 17 installing on IRIX 6.2/6.5 ...................................................................................... 18 installing on LINUX .............................................................................................. 18 installing on NCR UNIX SVR 5.4 MP-RAS 03 ........................................................ 19 installing on SCO Open Server 5 .......................................................................... 20 installing on Sun Solaris 2.5 (SPARC) ................................................................... 20 installing on Sun Solaris 2.6 (SPARC) ................................................................... 21 installing on Sun Solaris 7 .................................................................................... 21 installing on Sun Solaris 7 (SPARC)...................................................................... 22 installing on UnixWare 2.1.3 ................................................................................. 23 installing on UnixWare 7 ....................................................................................... 23 installing on Windows 2000 .................................................................................. 18 installing on Windows 95/98 Client ........................................................................ 19 installing on Windows NT ..................................................................................... 10 installing on Windows NT 4.0................................................................................ 19
Network Attached Storage (NAS) ......................................................................... Network Diagram .................................................................................................. network manager tab, configurator ....................................................................... node ...................................................................................................................... nvreport .................................................................................................................
arguments ......................................................................................................... example ............................................................................................................ fields ................................................................................................................. filtering ..............................................................................................................
392 Index
O
operating system support ..................................................................................... 323 operator status, in server status window .............................................................. 146 options tab, in restore window .............................................................................. 212
P
package installation .............................................................................................. 331 packages tab, configurator ................................................................................... 340 Performance Tuning ............................................................................................. 289
297 302 297 297 294 phase..................................................................................................................... 377 platform support .................................................................................................... 323 plugin options tab, configurator ............................................................................ 343
plugins
consolidate file system backups .......................................................................... 182 data copy .......................................................................................................... 151 definition of ....................................................................................................... 377 installing.............................................................................................................. 25 NetVault ................................................................................................................ 4 properties of in Client Management ............................................................. 108, 121 raw device......................................................................................................... 186
block size .......................................................................................................... data stream ....................................................................................................... Gathering Statistics ............................................................................................ memory size ...................................................................................................... Optimizing Drive Performance .................................................................... 291,
policy management window ........................................................................... 56, 377 policy management, using .................................................................................... 270 policy sets ............................................................................................................. 218
268 377 268 268 267 270 265 policy templates ............................................................................................ 263, 265
copy ................................................................................................................. definition of ....................................................................................................... loading .............................................................................................................. modify ............................................................................................................... saving ............................................................................................................... schedule ........................................................................................................... types of .............................................................................................................
393
pop-up commands
media management window ...............................................................................
128
R
raw device plugin .................................................................................................. 186
backup (NT) ...................................................................................................... backup (UNIX) ................................................................................................... restore (NT)....................................................................................................... restore (UNIX) ...................................................................................................
187 192 189 193 207 206 359 370 370 370 368 369 370 370 370
renaming
a file for restore ......................................................................................... 205, directory for restore ............................................................................................
reports ...................................................................................................................
advancedoptions ............................................................................................... backuptarget ..................................................................................................... constants .......................................................................................................... jobdefinitions ..................................................................................................... jobhistory .......................................................................................................... schedules ......................................................................................................... selections .......................................................................................................... syntax ...............................................................................................................
request
72, 76 restore ........................................................................................................... 197, 377 advanced options .............................................................................................. 217 comprehensive .................................................................................................. 197 filter options....................................................................................................... 210 By Date Range ............................................................................................ 211 Show On-Line Status ................................................................................... 212 incremental backups .......................................................................................... 218 NetVault database ............................................................................................. 150 Options ............................................................................................................. 212 raw device (NT) ................................................................................................. 189 raw device (UNIX) ............................................................................................. 193 renaming a directory .......................................................................................... 206 renaming a file ........................................................................................... 205, 207 scheduling......................................................................................................... 216
priorities ........................................................................................................
394 Index search for data .................................................................................................. setting selection method..................................................................................... simple ............................................................................................................... to Specific Client ................................................................................................ window ....................................................................................................... 53,
209 208 222 215 377 197 218 217 212 213 216 202 202 205 202 208 210 209 215 215 214 213 199 201 202 202 200
restore options
UNIX................................................................................................................. Windows 2000 ................................................................................................... Windows NT ......................................................................................................
S
SAN (Storage Area Network) ......................................................................... 63, 378 SAN devices............................................................................................................ 62 Saveset Information in Details Area ..................................................................... 135 savesets ........................................................................................................ 218, 378 saving sets ............................................................................................................ 267 scanning
395
scheduling
228 228 225 228 227 232 228 270 237 scripts, using ......................................................................................................... 280
search
backup jobs ............................................................................................... 225, immediate ......................................................................................................... jobs .................................................................................................................. once ................................................................................................................. options .............................................................................................................. repeating ........................................................................................................... restore jobs ............................................................................................... 225, sets .................................................................................................................. triggered ...........................................................................................................
110 searching for data ........................................................................................... 57, 209 security tab, configurator ...................................................................................... 357 segment tabs, in media management .......................................................... 137, 138
selecting data
errors ................................................................................................................
162 202 selecting items ........................................................................................................ 58 selection set .......................................................................................................... 378 selections report .................................................................................................... 370
selections tab
162 202 server .................................................................................................................... 378 server status window .............................................................................. 50, 139, 378 client status ....................................................................................................... 143 device status ..................................................................................................... 142 job status .................................................................................................. 143, 144 operator status .................................................................................................. 146 service tab, configurator ....................................................................................... 339 set (policy) templates .................................................................................... 263, 265 setting selection method for restore ..................................................................... 208 setting up a Device ................................................................................................. 63 shared devices ...................................................................................................... 378 shared devices installation, planning for ................................................................ 61 shared SCSI devices ........................................................................................ 61, 63 shared standalone drives, adding to clients ........................................................... 77
simple procedure
backups ............................................................................................................ restore ..............................................................................................................
181 222
396 Index
Solaris
uninstalling ..........................................................................................................
40
sorting
reports ..............................................................................................................
364
stackers ................................................................................................................... 61 statistics ................................................................................................................ 297 statistics tab, in media management .................................................................... 130 status status commands, in jobs management window.................................................. status information, in media management ........................................................... status tab, in job management window ................................................................ status, of jobs ........................................................................................................ Storage Area Network .......................................................................................... support
397
321 323 323 321 support, technical ...................................................................................................... 6 syntax, report ........................................................................................................ 370
T
tape cleaning ........................................................................................................... 97 tape libraries, virtual ................................................................................................ 64 Target Device ........................................................................................................ 174 Target Media ................................................................................................. 175, 378 target tab, in backup window ................................................................................ 175 technical support ....................................................................................................... 6 templates ............................................................................................................... 378
265 366 toolbar, commands ................................................................................................. 45 tracing ............................................................................................................. 37, 379 creating files ...................................................................................................... 306 tree ........................................................................................................................ 379 triggered job .......................................................................................................... 379 triggering jobs using nvtrigger ...................................................................... 237, 285 troubleshooting ..................................................................................................... 303 using log files .................................................................................................... 305 types of backups ................................................................................................... 169
U
uninstalling
from Linux ........................................................................................................... from MP-RAS ...................................................................................................... from Solaris ......................................................................................................... from UNIX ........................................................................................................... from Windows NT ................................................................................................ NetVault ..............................................................................................................
40 40 40 40 39 39
UNIX
filesystem backup options .................................................................................. 172 restore options .................................................................................................. 215 uninstalling .......................................................................................................... 40
user interface .................................................................................................. 43, 375 using Advanced features ...................................................................................... 271
Backup and Restore Advanced Options
398 Index
274 274 275 278 275 285 285 287 286 284 280 using Filter Options Dialog.................................................................................... 259 using help .................................................................................................................. 5 using Logs ............................................................................................................. 249 filtering .............................................................................................................. 258 Filtering Options Dialog ...................................................................................... 259 Viewing Extended Logs ...................................................................................... 254 Errors ......................................................................................................... 257 Job Messages ............................................................................................. 255 Warnings .................................................................................................... 256 using Policy (Set) Templates ................................................................................ 263 Guidelines ......................................................................................................... 270
Set Control Functions Saving a Set using the Save As button .......................................................... Standard Policy (Set) Facilities Set Controls ................................................................................................ Standard Policy (Set) features ............................................................................
Backup Life (NetVault Backup only) .............................................................. Compression (NetVault Backup and Restore) ................................................ Duplication (NetVault Backup only) ............................................................... Pre and Post Scripts (NetVault Backup and Restore) ..................................... Verify after Backup (NetVault Backup only) ................................................... triggering jobs using nvtrigger ............................................................................. nvtrigger commands .................................................................................... triggered Backup Job (multiple word trigger name)......................................... triggered Backup Job (single word trigger name) ........................................... UNIX example ................................................................................................... Windows NT example ........................................................................................
267
266 266 using policy management ..................................................................................... 270 using Regular Expressions ........................................................................... 315, 321 using the configurator ................................................................................... 335, 359 using the Edit Drive Dialog ................................................................................... 294
V
Verify ..................................................................................................................... 275 virtual libraries ............................................................................................... 329, 379
creating .............................................................................................................
331
W
warnings
for jobs ..............................................................................................................
windows
add library ......................................................................................................... add standalone drive..........................................................................................
399
backup ................................................................................................ 52, 159, client management .............................................................................. 48, 105, device management .................................................................. 47, 64, 65, 66, domain management ........................................................................... 48, 117, jobs ............................................................................................................ 54, logs .................................................................................................... 55, 251, media management ............................................................................. 50, 127, policy management ...................................................................................... 56, restore ................................................................................................ 53, 199, server status ....................................................................................... 50, 139,
373 374 375 375 375 376 376 377 377 378
Windows 2000
adding devices .................................................................................................... 92 backup options .................................................................................................. 171 file system selections ......................................................................................... 167 restore options .................................................................................................. 214
Windows NT
backup options .................................................................................................. 171 devices ............................................................................................................... 63 file system selections ......................................................................................... 163 installing NetVault software on .............................................................................. 10 restore options .................................................................................................. 213 uninstalling .......................................................................................................... 39