6.5adminguidevol1 Netbackup
6.5adminguidevol1 Netbackup
Release 6.5
12308276
Technical support
For technical assistance, visit http://entsupport.symantec.com and select phone or email support. Use the Knowledge Base search feature to access resources such as TechNotes, product alerts, software downloads, hardware compatibility lists, and our customer email notification service.
Contents
Chapter 1
Introduction
Overview ................................................................................................................31 NetBackup administration interfaces ...............................................................34 NetBackup Administration Console setup .......................................................35 Running the Java-based Windows Display Console ...............................37 Administering remote servers ...................................................................38 Administering multiple versions of NetBackup servers ........................38 Earlier versions of the NetBackup-Java Administration Console on UNIX platforms ............................................................................38 Earlier versions of the NetBackup-Java Administration Console on Windows platforms ......................................................................38 Remote display-back from UNIX servers .........................................38 Remote display-back from Windows servers ..................................39 At the console of the server with an earlier version of NetBackup 39 Using the NetBackup Administration Console ...............................................40 NetBackup configuration wizards .............................................................41 Backup, Archive, and Restore ....................................................................42 Activity Monitor ...........................................................................................42 NetBackup Management .............................................................................42 Reports ...................................................................................................42 Policies ...................................................................................................43 Storage ...................................................................................................43 Catalog ...................................................................................................44 Host Properties .....................................................................................44 Media and Device Management .................................................................44 Device Monitor .....................................................................................45 Media ......................................................................................................45 Devices ...................................................................................................45 Credentials ............................................................................................45 Access Management ....................................................................................45 Standard and user toolbars ........................................................................46 Customizing the administration console .................................................46 Using LiveUpdate to distribute NetBackup updates ......................................46 How to configure NetBackup .............................................................................46
Chapter 2
Activity Monitor
Introduction to the Activity Monitor ............................................................... 50 Activity Monitor menu bar ......................................................................... 51 Status bar ...................................................................................................... 54 Setting Activity Monitor options .............................................................. 54 Jobs tab .................................................................................................................. 56 Parent jobs .................................................................................................... 56 Daemons tab ......................................................................................................... 58 More about daemons ................................................................................... 60 Other Symantec services ............................................................................ 61 Processes tab ........................................................................................................ 62 Monitoring NetBackup processes ............................................................. 66 Media mount errors ............................................................................................. 67 Queued media mount errors ...................................................................... 67 Canceled media mount errors .................................................................... 67 Managing the jobs database ............................................................................... 67 Retaining job information in the database .............................................. 68 Changing the default on a permanent basis .................................... 68 BPDBJOBS_OPTIONS environment variable ................................... 69 bpdbjobs debug log ...................................................................................... 70 Customizing bpdbjobs output .................................................................... 70
Chapter 3
Reports
Introduction to the Reports utility ................................................................... 72 Reports window ................................................................................................... 73 Shortcut menus ............................................................................................ 73 Reports settings ........................................................................................... 74 Date/Time range .................................................................................. 74 Client ...................................................................................................... 74 Disk pool ................................................................................................ 74 Disk type ................................................................................................ 74 Job ID ..................................................................................................... 74 Media ID ................................................................................................ 74 Media owner ......................................................................................... 75 Media server ......................................................................................... 75 Path ........................................................................................................ 75 Storage unit .......................................................................................... 75 Verbose listing ...................................................................................... 75 Volume ID ............................................................................................. 75 Volume pool .......................................................................................... 75 Run report ............................................................................................. 75 Stop report ............................................................................................ 75 NetBackup report types ...................................................................................... 76 Status of Backups report ........................................................................... 76
Client Backups report .................................................................................76 Problems report ...........................................................................................76 All Log Entries report ..................................................................................76 Images on Media report ..............................................................................76 Media Logs report ........................................................................................77 Tape Reports .................................................................................................77 Images on Tape report .......................................................................77 Tape Logs report .................................................................................77 Tape Contents report ..........................................................................77 Tape Summary report ........................................................................78 Tape Written report ............................................................................78 Tape Lists report .................................................................................78 Disk Reports ..................................................................................................79 Images on Disk report ........................................................................79 Disk Logs report ..................................................................................79 Disk Storage Unit Status report ........................................................79 Disk Pool Status report ......................................................................80 Using the Troubleshooter within reports ........................................................80
Chapter 4
Policies
Using the Policies utility .....................................................................................82 Tree and detail views ...................................................................................82 Policies menu bar .........................................................................................82 Configuring backup policies ...............................................................................82 Changing policies .................................................................................................84 Policy Attributes tab ............................................................................................87 Policy type .....................................................................................................88 Data classification ........................................................................................90 Policy storage ..............................................................................................91 Considerations before a storage destination is selected ................92 Policy volume pool .......................................................................................93 Volume pool override example ..........................................................94 Checkpoint restart for backup jobs ...........................................................95 Checkpoint frequency .........................................................................95 Checkpoint restart support ................................................................95 Checkpoint restart for restore jobs ...................................................97 Limit jobs per policy ....................................................................................97 Notes on the Limit jobs per policy attribute ....................................97 Job priority ....................................................................................................98 Media owner .................................................................................................99 Active. Go into effect at ...............................................................................99 Backup network drives ..............................................................................100 Setup example with UNC paths .......................................................100
Example using the Backup network drives attribute ...................101 Follow NFS ..................................................................................................101 Notes on Follow NFS ......................................................................... 102 Advantages of the Follow NFS attribute ........................................102 Disadvantages of the Follow NFS attribute ................................... 102 Cross mount points .................................................................................... 103 Notes on cross mount points ...........................................................103 Cases that can require separate policies ........................................104 How the Cross mount points attribute interacts with Follow NFS 104 Cross mount point examples ............................................................ 104 Compression ............................................................................................... 105 Advantages of the Compression attribute ..................................... 106 Disadvantages of the Compression attribute ................................ 106 How much compression can be expected? ..................................... 106 Encryption ..................................................................................................107 Collect disaster recovery information for IDR ......................................108 Collect disaster recovery information for Bare Metal Restore ........... 108 Collect true image restore information .................................................. 108 Collect true image restore information with move detection ............ 109 What happens during true image restores .................................... 110 Notes on true image restores and move detection ....................... 111 Allow multiple data streams .................................................................... 112 When to use multiple data streams ................................................ 113 Enable document restore .......................................................................... 115 Keyword phrase ......................................................................................... 116 Snapshot Client options ............................................................................ 116 Schedules tab ...................................................................................................... 117 Schedule Attributes tab .................................................................................... 118 Name ............................................................................................................ 118 Type of backup ........................................................................................... 119 Full backup .......................................................................................... 119 Cumulative incremental backup ..................................................... 120 Differential incremental backup ..................................................... 120 User backup ........................................................................................ 120 User archive ........................................................................................ 120 Application backup ............................................................................ 121 Automatic backup ..............................................................................121 Automatic incremental backup ....................................................... 121 Automatic cumulative incremental backup .................................. 121 Automatic differential incremental backup .................................. 121 Automatic full backup ....................................................................... 121 Automatic Vault ................................................................................. 122 Vault catalog backup ......................................................................... 122
More on incremental backups ..........................................................122 Determining files due for backup on Windows clients ................125 Determining files due for backup on UNIX clients .......................126 Synthetic backup ........................................................................................128 Calendar schedule type .............................................................................128 Retries allowed after runday ............................................................128 Frequency schedule type ..........................................................................128 Guidelines for setting backup frequency .......................................129 Backup frequency determines schedule priority ..........................130 Instant recovery .........................................................................................131 Snapshots and copy snapshots to a storage unit ..........................131 Snapshots only ...................................................................................131 Multiple copies ...........................................................................................131 Multiple copies and disk staging storage units .............................132 Multiple copies and storage lifecycle policies ...............................132 Multiple copies configuration ..........................................................133 Restoring from a specific backup copy ...........................................136 Override policy storage selection ............................................................137 Override policy volume pool ....................................................................137 Override media owner ...............................................................................137 Retention .....................................................................................................138 Guidelines for assigning retention periods ....................................138 Precautions for assigning retention periods .................................139 Changing retention periods ..............................................................140 Mixing retention levels on tape volumes .......................................140 Media multiplexing ....................................................................................141 Final destination storage unit ..................................................................141 Final destination volume pool .................................................................141 Start Window tab ...............................................................................................143 Exclude dates tab ...............................................................................................145 Calendar schedule tab .......................................................................................146 Schedule by specific dates ........................................................................146 Schedule by recurring week days ............................................................147 Schedule by recurring days of the month ..............................................148 How calendar scheduling interacts with daily windows ......................149 Automatic-backup schedule examples ...................................................151 Considerations for user schedules ..........................................................151 Planning user backup and archive schedules ................................151 Creating separate policies for user schedules ...............................152 Using a specific policy and user schedule ......................................152 Example policies ................................................................................................153 Policy planning guidelines for backups ..................................................154 Group the clients ................................................................................154
10
Gather information about clients .................................................... 154 Consider storage requirements ....................................................... 154 Consider backup schedules .............................................................. 155 Group by general attributes ............................................................. 156 Clients tab ........................................................................................................... 159 To install client software on trusting UNIX clients ............................. 160 To install software on secure UNIX clients ........................................... 162 To install software on Windows clients ................................................. 162 To configure a snapshot method ............................................................. 162 Backup Selections tab ....................................................................................... 163 Lists for different policy types ................................................................ 163 Backup selections list for standard policies .................................. 163 Backup selections list for database policies ................................... 165 Methods for faster backups ...................................................................... 166 Dividing file lists between multiple policies .................................. 166 Allowing multiple data streams ...................................................... 167 Verifying the backup selections list ........................................................ 167 Rules to indicate paths in the backup selections list ................................... 170 Path rules for Microsoft Windows clients ............................................. 170 File backups ........................................................................................ 170 Windows disk-image (Raw) backups ............................................... 171 Microsoft Windows registry backup ............................................... 172 Hard links to files (NTFS volumes or UNIX) .................................. 173 Pathname rules for UNIX clients ............................................................ 176 Notes on UNIX pathnames ............................................................... 176 Symbolic links to files or directories .............................................. 177 Hard links to directories ................................................................... 178 Hard links to files ...............................................................................178 UNIX raw partitions .......................................................................... 178 Backup and restore of extended attribute files and named data streams 180 Ramifications of backing up extended attributes or named data streams 182 Restoring extended attributes or named data streams ............... 182 Path rules for NetWare NonTarget clients ............................................ 183 Path rules for NetWare Target clients ................................................... 185 Path rules for clients running extension products .............................. 185 Backup selections list directives: General discussion .......................... 185 ALL_LOCAL_DRIVES directive ........................................................ 186 SYSTEM_STATE directive ................................................................ 186 Shadow copy components:\ directive ............................................. 187 Directives for multiple data streams .............................................. 188 Directives for specific policy types ................................................. 188
11
Backup selections list directives for multiple data streams ................189 NEW_STREAM directive and multiple data streams ...................189 ALL_LOCAL_DRIVES directive and multiple data streams .........192 UNSET, UNSET_ALL directives, and multiple data streams ......193 Excluding files from backups ...................................................................194 Files that are excluded from backups by default ..........................194 Excluding files from automatic backups ........................................195 Disaster Recovery tab ........................................................................................196 Path ..............................................................................................................197 Logon ...........................................................................................................197 Password .....................................................................................................197 Send in an email attachment ...................................................................197 Identifying critical policies ......................................................................197 Creating a Vault policy ......................................................................................199 Performing manual backups ............................................................................200 More about synthetic backups .........................................................................201 Policy considerations and synthetic backups ........................................201 Two types of synthetic backups ...............................................................203 Synthetic full backups .......................................................................203 Synthetic cumulative incremental backups ..................................204 Recommendations for synthetic backups ..............................................206 Notes on synthetic backups ......................................................................207 Displaying synthetic backups in the Activity Monitor ........................210 Logs produced during synthetic backups ...............................................210 Synthetic backups and directory and file attributes ............................211
Chapter 5
12
Disk type ...................................................................................................... 229 Enable block sharing ................................................................................. 229 Enable multiplexing .................................................................................. 230 High water mark ........................................................................................ 230 Low water mark .......................................................................................... 230 Maximum concurrent write drives .........................................................231 Maximum concurrent jobs ....................................................................... 231 Using the Maximum concurrent jobs setting to control the storage unit and media server load ............................................................... 232 Maximum streams per drive .................................................................... 233 Media server ............................................................................................... 233 NDMP host ..................................................................................................235 On demand only ......................................................................................... 235 Only use the following media servers .................................................... 236 Properties button ....................................................................................... 236 Reduce fragment size ................................................................................ 238 Robot number ............................................................................................ 239 Robot type ..................................................................................................239 Staging relocation schedule (for basic disk staging only) ...................239 Storage device ............................................................................................ 239 Storage unit name ..................................................................................... 239 Storage unit type ....................................................................................... 240 Temporary staging area ........................................................................... 240 Transfer throttle ........................................................................................ 240 Use any available media server ............................................................... 240 Staging backups to initial storage, then final storage ................................. 242 Two staging methods ................................................................................ 242 Basic disk staging .............................................................................................. 244 Disk staging storage unit size and capacity considerations ............... 245 Finding the potential free space on a BasicDisk disk staging storage unit 246 Creating a basic disk staging storage unit ............................................. 247 Disk Staging Schedule dialog ................................................................... 249 Name .................................................................................................... 249 Priority of relocation jobs started from this schedule ................. 250 Final destination storage unit ..........................................................250 Final destination volume pool .........................................................250 Final destination media owner ........................................................ 250 Use alternate read server ................................................................. 251 Basic disk staging limitations .................................................................. 251 Initiating a relocation schedule manually ............................................. 251 Storage Lifecycle Policies ................................................................................. 253 Storage lifecycle overview ........................................................................ 253
13
To create a storage lifecycle policy .........................................................254 Adding storage destinations to a lifecycle policy .................................255 Writing multiple copies using a lifecycle .......................................256 Storage lifecycle policy name ...........................................................258 Duplication job priority .....................................................................258 Storage destinations ..........................................................................258 Use storage destination for: backup or duplication .....................259 Storage unit .........................................................................................259 Volume pool ........................................................................................259 Media owner ........................................................................................259 Retention type: Fixed .........................................................................260 Retention type: Staged capacity managed .....................................260 Retention type: Expire after duplication ........................................262 Alternate read server .........................................................................262 Data classification ......................................................................................262 How backup data is associated with a data classification ...........263 Creating or changing a data classification .....................................263 Optional duplication job configuration ..................................................264 MIN_KB_SIZE_PER_DUPLICATION_JOB .......................................264 MAX_KB_SIZE_PER_DUPLICATION_JOB ......................................264 MAX_MINUTES_TIL_FORCE_SMALL_DUPLICATION_JOB .......264 LIFECYCLE_PARAMETERS file example ........................................265 Using nbstlutil to administrate lifecycle operations ............................265 When to use nbstlutil ........................................................................265 Storage unit groups ...........................................................................................267 Storage unit selection criteria within a group ......................................267 Prioritized ...........................................................................................267 Failover ................................................................................................267 Round robin ........................................................................................267 Load balance .......................................................................................267 Exception to the storage unit selection criteria ............................270 Disk spanning within storage unit groups .............................................271 Creating a storage unit group ..................................................................271 Deleting a storage unit group ..................................................................273
Chapter 6
NetBackup Catalog
What is a NetBackup catalog? ..........................................................................276 Parts of the catalog ....................................................................................276 Image database ...........................................................................................277 Image files ...........................................................................................278 Image .f files ........................................................................................278 NetBackup relational database ................................................................280 Enterprise Media Manager (EMM) database ..................................281
14
Catalog protection ............................................................................................. 282 Catalog backups ......................................................................................... 282 Online, hot catalog backup method ................................................ 283 Running online, hot catalog backups concurrently with other backups 294 Notes on catalog policy schedules ................................................... 294 Offline, cold catalog backup method .............................................. 296 Recovering the catalog ..................................................................................... 317 Disaster recovery emails and the disaster recovery file .............................. 317 Archiving the catalog ........................................................................................ 318 Catalog archiving process ........................................................................ 318 Creating a catalog archiving policy ........................................................ 319 Policy name ......................................................................................... 319 Deactivate policy ................................................................................ 319 Type of backup ................................................................................... 320 Retention level setting ...................................................................... 320 Catalog archiving commands ...........................................................321 Recommendations for using catalog archiving ............................ 322 Using Vault with the catalog archiving feature ............................ 323 Browsing offline catalog archive ..................................................... 323 Extracting images from the catalog archives ................................ 323 Using the Catalog utility ................................................................................... 324 Searching for backup images ................................................................... 324 Notes on searching for an image ............................................................. 326 Messages pane ............................................................................................ 326 Verifying backup images .......................................................................... 327 Viewing job results .................................................................................... 327 Promoting a copy to a primary copy ....................................................... 328 Duplicating backup images ...................................................................... 330 Notes on multiplexed duplication ................................................... 330 Procedure for duplicating backups ................................................. 331 Jobs displayed while making multiple copies ........................................334 Importing NetBackup or Backup Exec images ......................................336 Importing expired images ................................................................ 341 Importing images from Backup Exec media .................................. 342 Host properties for Backup Exec ..................................................... 342 Considerations concerning importing Backup Exec media ......... 342 Differences between importing, browsing, and restoring Backup Exec and NetBackup images .............................................................. 343 Expiring backup images ............................................................................ 346 Catalog maintenance and performance optimization ................................. 347 Determining catalog space requirements .............................................. 347 File size considerations ..................................................................... 348
15
Backing up catalogs manually .................................................................350 How do I know if a catalog backup succeeded? .............................351 Strategies to ensure successful catalog backups ..................................352 About the binary catalog format .............................................................353 Catalog conversion utility .................................................................354 Binary catalog file limitations ..........................................................354 Moving the image catalog .........................................................................354 Indexing the catalog for faster access to backups ................................355 Compressing and uncompressing the image catalog ...........................355 Uncompressing the image catalog ..................................................357
Chapter 7
Host properties
Introduction to host properties .......................................................................360 Viewing host properties ............................................................................360 Changing host properties .................................................................................361 Interpreting the initial settings ...............................................................361 Selecting multiple hosts ............................................................................363 Required permissions ........................................................................................364 Master server, media server, and client host properties .............................364 Access Control properties .........................................................................364 Symantec Product Authentication and Authorization ................365 Symantec Product Authentication and Authorization tab within the Access Control properties ..............................................................................365 Networks list .......................................................................................366 Add button ..........................................................................................366 Remove button ...................................................................................368 Authentication Domain tab within the Access Control properties ....368 Add button ..........................................................................................369 Remove button ...................................................................................371 Authorization Service tab within the Access Control properties .......371 Host name ...........................................................................................371 Customize the port number of the authorization service ...........372 Authorization properties ..........................................................................373 User ......................................................................................................373 Host ......................................................................................................374 Domain\Group ....................................................................................374 Group/Domain type ...........................................................................374 User must be an OS administrator ..................................................374 Backup Exec Tape Reader properties ......................................................375 Add button ..........................................................................................375 GRFS advertised name ......................................................................375 Actual client name .............................................................................376 Actual path ..........................................................................................376
16
Change button .................................................................................... 376 Remove button ................................................................................... 376 Bandwidth properties ................................................................................ 377 How bandwidth limiting works ....................................................... 377 Bandwidth throttle setting for the range of IP addresses ........... 378 From IP address ................................................................................. 378 To IP address ...................................................................................... 378 Bandwidth ........................................................................................... 378 Bandwidth throttle settings list ...................................................... 378 Add button .......................................................................................... 378 Remove button ................................................................................... 379 Notes on bandwidth limits ............................................................... 379 Busy File Settings properties ................................................................... 380 For the Busy File Settings to take effect ......................................... 380 Working directory .............................................................................381 Operators email address .................................................................. 381 Process busy files ...............................................................................381 File action file list ..............................................................................381 Add button .......................................................................................... 381 Add to all button ................................................................................ 381 Remove button ................................................................................... 382 Busy file action ................................................................................... 382 Retry count ......................................................................................... 382 Clean-up properties ................................................................................... 383 Keep logs ............................................................................................. 383 Keep vault logs ................................................................................... 383 Image cleanup .................................................................................... 384 Catalog cleanup wait time ................................................................ 384 Keep true image restoration (TIR) information ............................ 384 Move restore job from incomplete state to done state ................ 385 Move backup job from incomplete state to done state ................ 385 Client Attributes properties ..................................................................... 386 Allow client browse ........................................................................... 386 Allow client restore ........................................................................... 386 Clients list ........................................................................................... 387 General tab ..................................................................................................387 Maximum data streams .................................................................... 387 Browse and restore ability ................................................................ 388 Free browse ......................................................................................... 388 Connect Options tab .................................................................................. 388 BPCD connect back ............................................................................ 389 Ports ..................................................................................................... 389 Daemon connection port .................................................................. 390
17
Windows Open File Backup tab ...............................................................391 Add and remove buttons ...................................................................391 Enable Windows Open File Backups for this client ......................392 Use Veritas Volume Snapshot Provider (VSP) ..............................392 Use Microsoft Volume Shadow Copy Service (VSS) .....................392 Individual drive snapshot .................................................................393 Global drive snapshot ........................................................................393 Abort backup on error .......................................................................394 Disable snapshot and continue ........................................................394 Client Name properties .............................................................................395 Client name .........................................................................................395 Client Settings (NetWare) properties ......................................................396 Back up migrated files .......................................................................396 Uncompress files before backing up ...............................................396 Keep status of user-directed backups, archives, and restores ....396 Client Settings (UNIX) properties ............................................................397 Locked file action ...............................................................................397 Keep status of user-directed backups, archives, and restores ....397 Reset file access time to the value before backup .........................398 Megabytes of memory to use for file compression .......................398 Use VxFS file change log for incremental backups ......................398 Default cache device path for snapshots ........................................400 Do not compress files ending with ..................................................401 Add button ..........................................................................................401 Add to all button .................................................................................401 Remove button ...................................................................................401 Client Settings (Windows) properties .....................................................402 General level logging .........................................................................402 TCP level logging ................................................................................402 Wait time before clearing archive bit .............................................403 Use change journal in incrementals ...............................................403 Incrementals based on timestamp ..................................................405 Incrementals based on archive bit ..................................................405 Time overlap .......................................................................................405 Communications buffer size ............................................................406 User directed timeouts ......................................................................406 Maximum error messages for server ..............................................406 Keep status of user-directed backups, archives, and restores ....406 Perform default search for restore ..................................................406 Data Classification properties ..................................................................407 Rank .....................................................................................................407 Name ....................................................................................................408 Description ..........................................................................................408
18
Classification ID ................................................................................. 408 Encryption properties ...............................................................................409 Encryption permissions .................................................................... 409 Enable encryption ..............................................................................410 Enable standard encryption ............................................................. 410 Client cipher ....................................................................................... 410 Use legacy DES encryption .............................................................. 410 Encryption strength .......................................................................... 410 Encryption libraries .......................................................................... 411 Encryption key file ............................................................................ 411 Exchange properties .................................................................................. 412 Snapshot verification I/O throttle .................................................. 412 Backup option for log files during full backups ............................ 413 Mailbox for message level backup and restore ............................. 413 Enable single instance backup for message attachments ........... 413 Exclude Lists properties ........................................................................... 414 Use case sensitive exclude list .........................................................414 Exclude list .......................................................................................... 414 Exceptions to the exclude list ..........................................................414 Add buttons ........................................................................................ 414 Add to all buttons ...............................................................................415 Remove buttons ................................................................................. 416 Shared fields in exclude lists ................................................................... 416 Policy ...................................................................................................416 Schedule .............................................................................................. 416 Files/Directories ................................................................................. 416 Exclude lists for specific policies or schedules ..................................... 416 Syntax rules for exclude lists ................................................................... 418 Traversing excluded directories .............................................................. 419 Fibre Transport properties ....................................................................... 422 Preferred ............................................................................................. 422 Always .................................................................................................423 Never .................................................................................................... 423 Maximum concurrent FT connections ........................................... 423 Use defaults from the master server configuration ..................... 423 Firewall properties .................................................................................... 424 Default connect options .................................................................... 424 Hosts list .............................................................................................. 426 Attributes for selected hosts ............................................................ 427 Example setup for using the vnetd port ......................................... 429 General Server properties ........................................................................ 431 Delay on multiplexed restores .........................................................431 Check the capacity of disk storage units ........................................431
19
Must use local drive ...........................................................................432 Use direct access recovery for NDMP restores .............................432 Document-level restore options ......................................................432 Media host override ...........................................................................433 Add button ..........................................................................................433 Add to all button .................................................................................433 Change button ....................................................................................433 Remove button ...................................................................................434 Global Attributes properties ....................................................................435 Job retry delay ....................................................................................435 Schedule backup attempts ................................................................435 Policy update interval .......................................................................436 Priority of restore jobs ......................................................................436 Maximum jobs per client ..................................................................436 Maximum backup copies ...................................................................437 Compress catalog interval ................................................................438 Maximum vault jobs ..........................................................................438 Administrator email address ............................................................438 Setting up email notifications ..................................................................438 Indicating email notification in the NetBackup host properties 439 Email contents ....................................................................................440 Logging properties .....................................................................................441 Types of logging .................................................................................441 Enable robust logging ........................................................................442 Global logging level ...........................................................................443 Process specific overrides .................................................................443 Debug logging levels for NetBackup services ................................444 Lotus Notes properties ..............................................................................445 Path ......................................................................................................445 INI file ..................................................................................................445 Media properties ........................................................................................446 Allow media overwrite ......................................................................446 Enable SCSI reserve ...........................................................................447 Allow multiple retentions per media ..............................................449 Allow backups to span tape media ..................................................449 Allow backups to span disk ...............................................................450 Enable standalone drive extension .................................................450 Enable job logging ..............................................................................450 Enable unrestricted media sharing for all media servers ............450 Media ID prefix (non-robotic) ...........................................................451 Media unmount delay ........................................................................451 Media request delay ...........................................................................451 NDMP Global Credentials properties ......................................................452
20
User name ........................................................................................... 453 Password and confirm password ..................................................... 453 NetWare Client properties ....................................................................... 453 Network properties .................................................................................... 454 NetBackup client service port (BPCD) ............................................ 454 NetBackup request service port (BPRD) ......................................... 454 Announce DHCP interval .................................................................. 455 Open File Backup (NetWare client) properties ..................................... 455 Enable open file backup during backups ........................................455 Port Ranges properties .............................................................................456 Use random port assignments .........................................................457 Client port window ............................................................................ 457 Client reserved port window ............................................................ 457 Server port window ........................................................................... 458 Server reserved port window ...........................................................458 Restore Failover properties ...................................................................... 459 Alternate restore failover machines list ........................................460 Add button .......................................................................................... 460 Change button .................................................................................... 461 Remove button ................................................................................... 461 Media server ....................................................................................... 461 Failover restore servers .................................................................... 461 Retention Periods properties ................................................................... 462 Value .................................................................................................... 462 Units .................................................................................................... 462 Retention periods list ........................................................................ 462 Schedules list ...................................................................................... 463 Impact report button ......................................................................... 463 Note on redefining retention periods ............................................. 464 Servers properties ..................................................................................... 465 Master server ...................................................................................... 465 Additional servers ..............................................................................465 Media servers ..................................................................................... 466 Restricting administrative privileges of media servers ............... 466 Multiple masters that share one Enterprise Media Manager host 467 SharedDisk properties ..............................................................................470 SharedDisk mount points directory ................................................ 470 SharePoint 2003 properties ..................................................................... 471 User ID .................................................................................................471 Password ............................................................................................. 471 Consistency check before backup .................................................... 471 Continue with backup if consistency check fails .......................... 472 SharePoint Hosts properties .................................................................... 472
21
Symantec Products properties .................................................................473 Timeouts properties ..................................................................................474 Client connect timeout ......................................................................474 Backup start notify timeout .............................................................474 File browse timeout ...........................................................................475 Use OS dependent timeouts .............................................................475 Media mount timeout ........................................................................475 Client read timeout ............................................................................475 Backup end notify timeout ...............................................................476 Media server connect timeout .........................................................476 Universal Settings properties ..................................................................477 Restore retries ....................................................................................477 Browse timeframe for restores ........................................................478 Last full backup ..................................................................................478 Use specified network interface ......................................................478 Use preferred group for enhanced authorization .........................479 Allow server file writes .....................................................................480 Accept connections on non reserved ports ....................................480 Enable performance data collection (Windows server only) .......481 Client sends mail ................................................................................481 Server sends mail ...............................................................................481 Client administrators email ............................................................481 UNIX Client properties ..............................................................................482 UNIX Server properties .............................................................................483 NFS access timeout ............................................................................483 VMWare Proxy Servers properties .........................................................484 VSP (Volume Snapshot Provider) properties ........................................485 VSP overview ......................................................................................485 Logging VSP messages ......................................................................487 Cache file volume list ........................................................................487 VSP volume exclude list ....................................................................488 Customize cache size .........................................................................490 Cache size ............................................................................................490 Maximum cache size ..........................................................................490 Busy file wait .......................................................................................491 Busy file timeout ................................................................................492 Using VSP with databases ................................................................492 Windows Client properties .......................................................................494
Chapter 8
Device Monitor
Changing the operating mode of a drive ........................................................495 Resetting a drive ................................................................................................496 Managing drive paths ........................................................................................497
22
Managing pending requests and actions ....................................................... 497 Pending requests for storage units .........................................................498 Resolving a pending request .................................................................... 499 Resolving a pending action ...................................................................... 500 Resubmitting a request .............................................................................500 Denying a request ...................................................................................... 501 Freezing media or downing drives .................................................................. 501 Cleaning drives ...................................................................................................502 Adding or changing a drive comment ............................................................ 504 Viewing drive details ......................................................................................... 504
Chapter 9
Media
Volume operations ............................................................................................ 507 Adding volumes ......................................................................................... 508 Adding volumes overview ................................................................ 508 About labeling NetBackup volumes ................................................ 510 Adding volumes by using the Volume Configuration Wizard .... 511 Adding volumes using a robot inventory update .......................... 511 Adding volumes using the Actions menu ......................................512 Volumes properties ........................................................................... 513 Changing volume properties .................................................................... 517 Change Volumes properties ............................................................. 518 Changing the volume pool of a volume .................................................. 519 Changing the volume group of a volume ............................................... 519 Changing the owner of a volume ............................................................. 520 Freezing and unfreezing media ............................................................... 520 Suspending and unsuspending media .................................................... 521 Labeling media ........................................................................................... 521 Label properties ................................................................................. 523 Rescanning and updating barcodes ........................................................ 523 When to rescan and update .............................................................. 523 When not to rescan and update ....................................................... 523 Rescanning/updating barcodes ....................................................... 524 Moving volumes ......................................................................................... 524 Move examples ................................................................................... 525 Moving volumes using the robot inventory update option ......... 525 Moving volumes using the Actions menu ......................................525 Move Volumes properties ................................................................. 526 Erasing media ............................................................................................. 528 Injecting and ejecting volumes ................................................................ 529 Injecting volumes ..............................................................................530 Ejecting volumes ................................................................................ 530 Media ejection timeout periods ....................................................... 532
23
Deleting volumes .......................................................................................532 Deassigning volumes .................................................................................533 Deassigning NetBackup volumes .....................................................534 Deassigning Veritas Storage Migrator volumes ............................535 Exchanging volumes ..................................................................................535 Exchanging a volume and using a new media ID ..........................535 Exchanging a volume and using the old media ID ........................536 Recycling volumes .....................................................................................537 Recycling volumes using the existing media ID ............................537 Recycling volumes using a new media ID ......................................537 Volume pool operations ....................................................................................538 Adding a new volume pool ........................................................................539 Changing the properties of a volume pool .............................................539 Volume pool properties .............................................................................540 Catalog backup pool ...........................................................................540 Description ..........................................................................................540 Maximum number of partially full media ......................................540 Pool name ............................................................................................541 Scratch pool ........................................................................................541 Deleting a volume pool ..............................................................................542 Volume group operations .................................................................................542 Moving a volume group ............................................................................542 Move volume group properties ........................................................543 Deleting a volume group ...........................................................................544 Robot inventory operations .............................................................................544 When to inventory a robot .......................................................................545 Inventory a robot .......................................................................................547 Robot Inventory dialog box ....................................................................548 Advanced options ...............................................................................548 Compare contents with volume configuration ..............................549 Device host ..........................................................................................549 Empty media access port prior to update .......................................550 Preview volume configuration changes .........................................550 Robot ....................................................................................................551 Show contents ....................................................................................551 Update volume configuration ..........................................................553 Advanced Robot Inventory Options dialog ............................................555 Media Settings tab ...................................................................................555 Label optical media (Local host only) ..............................................556 Media type ...........................................................................................556 Media that have been removed from the robot .............................559 Media that have been moved into or within the robot .................559 Use barcode rules ...............................................................................560
24
Use the following Media ID prefix .................................................. 560 Volume pool ........................................................................................ 561 Barcode Rules tab ...................................................................................... 562 Barcode tag ......................................................................................... 562 Description .......................................................................................... 563 Maximum mounts ..............................................................................563 Media type ........................................................................................... 563 Volume pool ........................................................................................ 565 Media ID Generation tab ......................................................................... 565 Barcode length ................................................................................... 566 Media ID generation rule .................................................................. 566 Robot number ..................................................................................... 566 Media Type Mappings tab ...................................................................... 566 Adding mapping entries ................................................................... 567 Default and allowable media types ................................................. 568 Using the physical inventory utility ....................................................... 572 Features of vmphyinv ....................................................................... 573 Requirements and restrictions for vmphyinv ............................... 573 When to use vmphyinv ..................................................................... 573 How vmphyinv performs a physical inventory ............................. 574 Obtains a list of drives to mount the media ................................... 574 Obtains a list of media to be mounted ............................................ 574 Mounts media and reads the tape header ......................................576 Updates the EMM database .............................................................. 577 Volume configuration update examples ................................................ 579 Example 1: Removing a volume from a robot ................................ 580 Example 2: Adding existing stand-alone volumes to a robot ...... 581 Example 3: Moving existing volumes within a robot ...................583 Example 4: Adding new volumes to a robot ................................... 584 Example 5: Adding cleaning tapes to a robot ................................ 586 Example 6: Moving existing volumes between robots ................. 587 Example 7: Adding existing volumes when barcodes are not used 587 Using WORM media .......................................................................................... 589 Supported drives ........................................................................................ 590 Managing your WORM media in NetBackup ......................................... 590 Using WORM volume pools to manage WORM media ................ 590 Using unique drive and media types to manage WORM media . 591 WORM tape limitations ............................................................................ 592
Chapter 10
Devices
Device configuration prerequisites ................................................................ 593 The device mapping file .................................................................................... 594 Configuring robots and tape drives ................................................................ 595
25
Using the Device Configuration Wizard .................................................595 Operating system changes ................................................................596 Possible EMM server host conflict ..................................................596 Devices that are partially-configured .............................................596 Starting the Device Configuration Wizard ....................................597 Adding a robot ............................................................................................597 Robot properties .................................................................................598 Robot control configuration overview ............................................602 Adding or changing a drive ......................................................................604 Adding a shared drive .......................................................................605 Configuring SCSI reserve on a drive path ......................................605 Drive properties .................................................................................607 Configuring drive name rules ..........................................................611 Robot drive number for API robots .................................................613 No rewind device ................................................................................614 Configuring server groups for media sharing ...............................................615 Server group properties ............................................................................617 Server group name .............................................................................617 Server group type ...............................................................................617 State .....................................................................................................618 Description ..........................................................................................618 Servers in group .................................................................................618 Servers not in group ..........................................................................618 Configuring and managing disk pools ............................................................618 Configuring SAN clients and Fibre Transport ..............................................619 Managing your device configuration ..............................................................619 When to perform device configuration changes ...................................619 Using the Device Configuration Wizard for changes ...........................620 Changing a robot configuration ...............................................................620 Changing the configuration of a drive ....................................................620 Changing a drive to a shared drive ..........................................................621 Deleting robots ...........................................................................................621 Deleting drives ...........................................................................................621 Performing device diagnostics .................................................................622 Running a drive diagnostic test .......................................................622 Running a robot diagnostic test .......................................................622 Printing your device configuration .........................................................623 Stopping and restarting the device daemon ..................................................624 External access to NetBackup controlled devices .................................624 Activating and deactivating media servers ...................................................625 Accessing media and devices on other hosts .................................................625 Example SERVER entries ..........................................................................626 The Enterprise Media Manager server ...........................................................626
26
Managing the EMM server ....................................................................... 626 EMM server requirements ........................................................................ 627
Chapter 11 Chapter 12
27
To customize jnbSA and jbpSA with bp.conf entries ...................666 NetBackup-java performance improvement hints .......................................667 What it means to be running the java console locally on a UNIX platform 667 What it means to be running the console locally on a Windows platform 668 How do I run a console locally and administer a remote server? .......668 How do I enhance console performance? ...............................................668 Is the performance better when run locally or using remote display back? 670 Managing client restores ..................................................................................672 Server-directed restores ...........................................................................672 Client-redirected restores .........................................................................673 How NetBackup enforces restore restrictions ...............................673 To allow all clients to perform redirected restores ......................674 To allow a single client to perform redirected restores ...............675 To allow redirected restores of a clients files ...............................675 Redirected restore examples ............................................................676 Restoring files and access control lists ..................................................681 To restore the files that possess ACLs ............................................681 To restore files without restoring ACLs .........................................681 To improve search times by creating an image list ..............................682 Set original atime for files during restores ............................................682 Checkpoint restart for restore jobs .........................................................683 To suspend and resume a restore job ..............................................683 Limitations to checkpoint restart for restore jobs ........................683 Restoring system state ..............................................................................684 Important notes on system state .............................................................684 Goodies scripts ...................................................................................................687 Alternate server restores ..................................................................................687 Supported configurations .........................................................................687 Methods for performing alternate server restores ...............................689 Method 1: Modifying the NetBackup catalogs ...............................690 Method 2: Overriding the original server .......................................691 Method 3: Automatic failover to alternate server ........................692 Notes on alternate server restores ..................................................693 Using NetBackup with Storage Migrator .......................................................694 Set a large enough media mount timeout ..............................................694 Do not use the RESTORE_ORIGINAL_ATIME file ................................694 Do not use the following client bp.conf file settings ............................695
Appendix A
28
NetBackup master server installation .................................................... 699 Relocating the NetBackup database ................................................ 699 server.conf .......................................................................................... 699 databases.conf .................................................................................... 700 vxdbms_env.csh, vxdbms_env.sh .................................................... 701 /bin ....................................................................................................... 701 /charsets .............................................................................................. 702 /data ..................................................................................................... 702 /lib ........................................................................................................ 703 /log ....................................................................................................... 703 /res ....................................................................................................... 703 /scripts .................................................................................................703 /staging ................................................................................................ 703 /tix ........................................................................................................ 703 NetBackup configuration entry ............................................................... 704 Sybase ASA server management ............................................................. 705 Clusters ........................................................................................................ 706 Post-installation tasks ...................................................................................... 707 To change the database password ...........................................................707 Moving NBDB database files after installation ..................................... 708 To add a mirrored transaction log ..........................................................709 Creating the NBDB database .................................................................... 710 Additional create_nbdb options ...................................................... 711 Backup and recovery procedures .................................................................... 712 Using the online, hot catalog backup method .......................................713 Using the offline, cold catalog backup method ............................. 714 Transaction log management .................................................................. 714 Catalog recovery ........................................................................................ 715 Additional command lines for backup and recovery of the relational databases ............................................................................................. 716 nbdb_backup ....................................................................................... 716 nbdb_restore ....................................................................................... 716 Database unloading tool ................................................................................... 716 Terminating database connections .........................................................717 Moving the NetBackup database from one host to another ....................... 719 Cluster considerations with the EMM server ........................................721
Appendix B
29
Multiple storage units .......................................................................730 Maximum concurrent job setting ....................................................731 Managing disk pools ..........................................................................................731 Changing disk pool properties .................................................................731 Disk pool properties ...........................................................................732 Adding volumes to an AdvancedDisk disk pool ....................................733 Changing disk pool or volume state ........................................................734 Merging disk pools .....................................................................................735 Deleting a disk pool ...................................................................................735 Obtaining disk pool and volume status ..................................................736 Managing storage servers ................................................................................737 Viewing storage servers ............................................................................737 Deleting a storage server ..........................................................................738 Obtaining storage server status ...............................................................738 Monitoring storage capacity and usage .........................................................738 Troubleshooting AdvancedDisk ......................................................................739 Unable to access storage ...........................................................................739 Volume state changes to DOWN when volume is unmounted ...........740 Disk failure ..................................................................................................740
Appendix C
30
File system full conditions ....................................................................... 753 End of media detection on disk staging storage units ......................... 753 Using the NearStore disk storage unit for more than one purpose ... 754 Disaster recovery using volume SnapMirror on NearStore disk storage units 755 Overview of disaster recovery scenarios ............................................... 755 Initial configuration .................................................................................. 756 General failover configuration ................................................................ 757 Failover examples ...................................................................................... 758 Example 1 ............................................................................................ 758 Example 2 ............................................................................................ 761 Troubleshooting .................................................................................................764 Licensing and permissions ....................................................................... 764 Regarding disk full conditions ................................................................. 764 Regarding the file system export mode ................................................. 765
Appendix D
Index
773
Chapter
Introduction
The NetBackup Administrators Guide, Volume I describes the core NetBackup product. This manual describes NetBackup configuration optionswhat they are and how each can be used to benefit the backup needs of your environment. This manual is organized to reflect the arrangement of the NetBackup Administration Console. This chapter provides an introduction to NetBackup software, the interfaces available, and the distributed architecture of NetBackup. This chapter contains the following sections:
Overview on page 31 NetBackup administration interfaces on page 34 NetBackup Administration Console setup on page 35 Using the NetBackup Administration Console on page 40 How to configure NetBackup on page 46
Overview
NetBackup provides a complete, flexible data protection solution for a variety of platforms. The platforms include Microsoft Windows, UNIX, Linux, and NetWare systems. NetBackup administrators can set up periodic or calendar-based schedules to perform automatic, unattended backups for clients across a network. An administrator can carefully schedule backups to achieve systematic and complete backups over a period of time, and optimize network traffic during off-peak hours. The backups can be full or incremental. Full backups back up all client files. Incremental backups back up only the files that have changed since the last backup.
32 Introduction Overview
The NetBackup administrator can allow users to backup, restore, or archive the files from their computer. (An archive operation backs up a file, then deletes it from the local disk if the backup is successful.) NetBackup includes both the server and the client software:
Server software resides on the computer that manages the storage devices. Client software resides on computer(s) that contain data to back up. (Servers also contain client software and can be backed up.) NetBackup storage domain example
NetBackup master server
Figure 1-1
Media servers
SAN
NetBackup clients
NetBackup accommodates multiple servers that work together under the administrative control of one NetBackup master server:
The master server manages backups, archives, and restores. The master server is responsible for media and device selection for NetBackup. Typically, the master server contains the NetBackup catalog. The catalog contains the internal databases that contain information about NetBackup backups and configuration. Media servers provide additional storage by allowing NetBackup to use the storage devices that are attached to them. Media servers can also increase
Introduction Overview
33
performance by distributing the network load. Media servers can also be referred to using the following terms:
device hosts (when tape devices are present), storage servers (when performing I/O directly to disk), or data movers (when sending data to independent, external disk devices like OpenStorage appliances).
During a backup or archive, the client sends backup data across the network to a NetBackup server. The NetBackup server manages the type of storage that is specified in the backup policy. During a restore, users can browse, then select the files and directories to recover. NetBackup finds the selected files and directories and restores them to the disk on the client.
NetBackup Administration Console Start a Java-based, graphical-user interface by running the jnbSA command. The administration console is the recommended interface and is the interface referred to by most procedures and examples in this manual. For more information, see NetBackup Administration Console setup on page 35 and NetBackup-Java administration console architectural overview on page 652. Character-based, menu interfaces NetBackup management: Start a character-based, menu interface for NetBackup management by running the bpadm command. You can use the bpadm interface from any terminal (or terminal emulation window) that has a termcap or a terminfo definition. Media management: Start a character-based, menu interface for media management by running the vmadm command. You can use the vmadm interface from any terminal (or terminal emulation window) that has a termcap or a terminfo definition. Device management. Start a character-based, menu interface for device management by running the tpconfig command. You can use the tpconfig interface from any terminal (or terminal emulation window) that has a termcap or a terminfo definition. (For more information about these menu interfaces, see Menu user interfaces in the NetBackup Administrators Guide, Volume II.) Command line You can enter NetBackup commands at the system prompt or use them in scripts. For complete information on all NetBackup commands, see NetBackup Commands for UNIX and Linux. To view the commands online, use the UNIX man command.
All NetBackup administrator programs and commands require root-user privileges by default. If it is necessary to have nonroot administrators, see To configure nonroot usage on page 658. The console can be run on a Java-capable UNIX platform, then displayed back to a Windows system by using third-party X terminal emulation software.
35
Directly on a supported NetBackup-Java capable UNIX system by running /usr/openv/java/jnbSA & The jnbSA command is described in NetBackup Commands for UNIX and Linux. On a supported Windows system that has the NetBackup-Java Windows Display Console installed. The Windows Display Console is not automatically installed on Windows systems. Installation is available on the main NetBackup for Windows installation screen.
The startup procedures are explained in the following sections. For configuration information, see Configuring the NetBackup-Java administration console on page 652. Always set the window manager so a window becomes active only when clicked. The NetBackup-Java interfaces do not run properly with auto-focus enabled. Auto-focus causes a window to become active when the pointer moves over the window. The following are general instructions for correctly setting up the focus on a CDE (Common Desktop Environment) window manager. CDE is the preferred window manager for NetBackup-Java applications. To prepare a CDE (Common desktop environment) for NetBackup-Java interfaces 1 2 3 4 5 On the front panel in the CDE window, click the Style Manager control icon. The Style Manager toolbar appears. On the Style Manager toolbar, click the Window control icon. The Style Manager-Window dialog appears. In the Style Manager-Window dialog, click the Click In Window To Make Active button. Click OK. Click OK when asked to Restart the Workspace Manager.
To start the NetBackup-Java Administration Console on a NetBackup-Java capable UNIX system 1 Log in as root on the NetBackup client or server where you want to start the NetBackup Administration Console. The client or server must be NetBackup-Java capable.
The login screen appears. 3 Type the name of the UNIX master server host where you initially want to manage NetBackup.
Note: The NetBackup host that is specified on the login dialog and the machine where you start the NetBackup-Java console must run the same NetBackup version.
Specified host must be running same NetBackup version as machine where the console is started
Specify your user name and password, then click Login. You are logged into the NetBackup-Java application server program on the specified server. The NetBackup Administration Console appears. The console program continues to communicate through the server you specified for the remainder of the current session. Start a utility by clicking on it in the left pane. If you want to administer another NetBackup server, select File > Change Server to select a remote NetBackup server on which to make configuration changes.
5 6
37
Note: The NetBackup Administration Console supports remote X Windows display only between same-platform systems. For example, assume you are on a Solaris system named tiger and the NetBackup-Java software is on a Solaris system named shark. Here, you can display the interface on tiger by performing rlogin to shark. Then run jnbSA -d tiger. However, if shark was an HP system, you could display jnbSA only directly on shark. In addition, the system where the console is displayed must run a version of the operating system that the console supports. Refer to the NetBackup release notes for supported versions, including any required release updates. The jnbSA command is described in NetBackup Commands for UNIX and Linux.
Note: The default host is the last host that was successfully logged into. The drop-down list contains the names of other hosts that have been logged into.
Use the File > Change Server menu command. Use the NetBackup-Java Administration Console. Indicate a remote system upon NetBackup login.
For more information on remote administration, see To administer a remote master server on page 639.
39
Additional licensed utilities The nodes of other licensed utilities appear under the main NetBackup nodes.
Details pane Contains the configuration wizards and details specific to the utility that is selected.
You may also administer NetBackup through a character-based, menu interface (bpadm) or through a command line. bpadm is described in the NetBackup Administrators Guide, Volume II. NetBackup commands are described in NetBackup Commands for UNIX and Linux. The NetBackup Administration Console menus are described in the online help.
41
Getting Started Wizard Use the Getting Started Wizard to configure NetBackup for the first time. The wizard leads you through the necessary steps to a working NetBackup configuration. The Getting Started Wizard is comprised of the following wizards, which can also be run separately, outside of the Getting Started Wizard:
Device Configuration Wizard Disk Pool Configuration Wizard Volume Configuration Wizard Catalog Recovery Wizard Backup Policy and Configuration Wizard
Device Configuration Wizard Use the Device Configuration Wizard to configure NetBackup to use shared drives or to reconfigure an existing shared drive. Disk Pool Configuration Wizard Use the Disk Pool Configuration Wizard to create pools of disk volumes for backup by one or more media servers. For AdvancedDisk, you choose disk volumes directly attached to a media server. For OpenStorage, the wizard discovers disk appliances and then you choose disk volumes within the appliance. For SharedDisk, the wizard discovers disk arrays on the SAN and then you select pre-allocated logical unit numbers (LUNs). The wizard appears only if an Enterprise Disk Option license is installed. Volume Configuration Wizard Use the Volume Configuration Wizard to configure removable media to use for backups. NetBackup Catalog Backup Wizard Use the NetBackup Catalog Backup Wizard to set up catalog backups. Catalog backups are essential to recover data in the case of a server failure or crash. Backup Policy and Configuration Wizard Use the Backup Policy and Configuration Wizard to add a backup policy to your configuration. Catalog Recovery Wizard
Use the Catalog Recovery Wizard in a disaster recovery situation. Use the Catalog Recovery Wizard only if the NetBackup environment was running the policy-based online, hot catalog backup as the catalog backup type.
Activity Monitor
Use the Activity Monitor utility to monitor and control NetBackup jobs, services, processes, and drives. For more information, see Chapter 2, Activity Monitor on page 49.
NetBackup Management
This manual describes the applications and the utilities that are listed under NetBackup Management in the NetBackup Administration Console tree. The following sections describe the items that are found under NetBackup Management.
Reports
Use the Reports utility to compile information for to verify, manage, and troubleshoot NetBackup operations. For more information, see Chapter 3, Reports on page 71.
43
Policies
Use the Policies utility to create and specify the backup policies that define the rules for backing up a group of clients. For example, the backup policy specifies when automatic backups occur for the clients that are specified in the policy. The backup policy also specifies whether users can perform their own backups and when. The administrator can define any number of backup policies, each of which can apply to one or more clients. A NetBackup client must belong to at least one backup policy to be backed up. For more information see Chapter 4, Policies on page 81.
Storage
Use the Storage utility to display storage unit information and manage NetBackup storage units. A storage unit can be part of a storage unit group as well as part of a storage lifecycle policy, both of which are configured within the Storage utility. Storage units simplify administration because once defined, the NetBackup policy points to a storage unit rather than to the individual devices it contains. For example, if a storage unit contains two drives and one is busy, NetBackup can use the other drive without administrator intervention. The media can be one of the following:
Removable (such as tape in a robot or a stand-alone drive). The devices in a removable-media storage unit must attach to a NetBackup master or media server and be under control of the NetBackup Media Manager component. The administrator first configures the drives, robots, and media in NetBackup, then defines the storage units. During a backup, NetBackup sends data to the storage unit that the backup policy specifies. During a backup, Media Manager picks a device to which the NetBackup client sends data. Disk (such as a file directory within a file system or a collection of disk volumes, either independent file systems or in an appliance). The administrator specifies the directory, volume, or disk pool during the storage unit setup. For BasicDisk, NetBackup sends the data to that directory during backups. For the Enterprise Disk Options, NetBackup sends the data to the storage server (the host that writes to the storage). Media Manager is not involved. For disk pool storage, the administrator first defines the storage server and (depending on the disk type) its logon credentials. Depending on disk type, the administrator may have to define logon credentials for the storage itself. The administrator also selects the disk volumes that comprise the
disk pool. To create a storage unit, the administrator selects a disk pool and (depending on the disk type) selects the media server(s) to move the data. Note: Only storage units that point to shareable disk can specify more than one media server. For more information, see Chapter 5, Storage units, unit groups, and lifecycle policies on page 213.
Catalog
Use the Catalog utility to create and configure a special type of backup NetBackup requires for its own internal databasesan offline, cold catalog backup. (An online, hot catalog backup can also be used, and is configured with a wizard or through the Policies utility.) These databases, called catalogs, are located on the NetBackup master and media server (default location). The catalogs contain information on every client backup. Catalog backups are tracked separately from other backups to ensure recovery in case of a server crash. The Catalog utility is also used for the following actions:
to duplicate a backup image, to promote a backup image from a copy to the primary backup copy, to manually expire backup images, to import expired backup images or images from another NetBackup server, to search for a backup image to verify the contents of the media with what is recorded in the NetBackup catalog.
Host Properties
Use the Host Properties utility to customize NetBackup configuration options. In most instances, no changes are necessary. However, Host Properties allows the administrator to customize NetBackup to meet specific site preferences and requirements for master servers, media servers, and clients. For more information, see Chapter 7, Host properties on page 359.
45
Device Monitor
Use the Device Monitor utility to manage drives, device paths, and service requests for operators. For more information, see Chapter 8, Device Monitor on page 495.
Media
Use the Media utility to add and manage removable media. For more information, see Chapter 9, Media on page 507.
Devices
Use the Devices utility to add, configure, and manage storage devices. For more information, see Chapter 10, Devices on page 593.
Credentials
Use the Credentials utility to add, remove, and manage log-in credentials for:
Disk array hosts (requires an Enterprise Disk Option license). For more information about disk array hosts and the SharedDisk disk type, see the NetBackup Shared Storage Guide. NDMP hosts (requires the Virtual Tape Option license). For more information about NDMP, see the NetBackup for NDMP Administrators Guide. Storage servers (requires an Enterprise Disk Option license). For more information about the Enterprise Disk Options, see the NetBackup Shared Storage Guide.
Credentials appears only if one of the previously mentioned license keys is installed.
Access Management
NetBackup administrators can protect a NetBackup configuration by defining who may access NetBackup and what functions a user group can perform. This access control is configured by using the Access Management utility. Access Management is enabled when Symantec Product Authentication and Authorization and NetBackup Access Control (NBAC) is installed and configured. For installation and configuration information, see Access Management in the NetBackup Security and Encryption Guide.
47
Device Configuration Wizard Volume Configuration Wizard Catalog Backup Wizard Backup Policy Wizard
The wizards help you process configure the basic properties of a NetBackup environment. After you complete these wizards, your NetBackup environment should back up clients and back up your NetBackup catalog. To configure more advanced properties, you can use the NetBackup Administration Console. You also can use the Administration Console if you prefer not to use the wizards. Alternatively, you can use the wizards to configure the basic properties and then use the Administration Console to configure the more advanced properties. The following steps explain how to configure NetBackup by using the NetBackup Administration Console. Each step provides references for more information, if needed. To configure NetBackup without wizards 5 6 7 8 Start the NetBackup Administration Console. (See NetBackup administration interfaces on page 34.) Use the Devices utility to add and configure the storage devices. (See Devices on page 593.) Use the Media utility to add removable media in the NetBackup Administration Console. (See Media on page 507.) Ensure that all daemons are active on the NetBackup master server (and Enterprise Media Manager server, if the EMM server is not the master server). For more information, see Daemons tab on page 58. Configure the storage units. A storage unit is one or more storage devices of a specific type (tape or disk) that attach to a NetBackup server.
For an overview of NetBackup storage units, see Storage units, unit groups, and lifecycle policies on page 213. For instructions about how to add storage units, see Creating a storage unit on page 217.
10 Configure a NetBackup catalog backup. The NetBackup catalogs contain configuration information as well as critical information on client backups. (See NetBackup Catalog on page 275.) 11 Configure the backup policies for the clients to be backed up. (See Policies on page 81.)
12 Customize host properties to meet site preferences, if necessary. In most instances, the NetBackup defaults provide satisfactory results. (See Changing host properties on page 361.) 13 Test the configuration as follows: a If you created user-directed backup or archive schedules, test the schedules by performing a backup or archive from a client. Check the log on the client to see if the operations were successful. If the backup was successful, restore the same files. To test the automatic backup schedules, either wait until the schedules are due or run the schedules manually from the master server. After the automatic schedules have run, check the Backup Status report to ensure that the backups completed successfully for all clients.
Chapter
Activity Monitor
This chapter explains how to use the NetBackup Activity Monitor to perform various functions to monitor and troubleshoot NetBackup jobs, daemons, and processes.
Introduction to the Activity Monitor on page 50 Jobs tab on page 56 Daemons tab on page 58 Processes tab on page 62 Media mount errors on page 67 Managing the jobs database on page 67
Status bar
Details pane
Tabs
51
2 3
Click View > Column Layout. The Column Layout dialog box appears. Select the heading you want to display or hide.
Select the Show button to display the heading. Select the Hide button if you do not want to see the column head.
To change the order in which the columns appear, select the column head. Then, click the Move Up button or the Move Down button to reorder the columns. Click OK to apply the changes.
To monitor the detailed status of selected jobs 1 2 3 Open the Activity Monitor and select the Jobs tab. Select the job(s) for which you want to view details. Select Actions > Details. A Jobs Details dialog box appears for each job you selected.
To delete completed jobs 1 2 3 Open the Activity Monitor and select the Jobs tab. Select the job(s) you want to delete. Select Edit > Delete. All selected jobs are deleted.
To cancel a job that has not completed 1 2 Open the Activity Monitor and select the Jobs tab. Select the job that has not completed that you would like to cancel. It may be a job that is in the Queued, Re-Queued, Active, Incomplete, or Suspended state. Select Actions > Cancel Job. All selected jobs are canceled. If the selected job is a parent job, all the children of that parent job are canceled as well. In most cases, a canceled child job cancels only that job and allows the other child jobs to continue. One exception is multiple copies created as part of a policy or storage lifecycle policy: canceling a child job cancels the parent job and all child jobs. To cancel all jobs in the jobs list that have not completed, click Actions > Cancel All Jobs.
3 4
To restart a completed job 1 2 3 Open the Activity Monitor and select the Jobs tab. Select the completed job you want to restart. Select Actions > Restart Job. All selected jobs are restarted. In this case, a new job ID is created for the job. The job details for the original job will reference the job ID of the new job.
To suspend a restore or backup job 1 2 3 Open the Activity Monitor and select the Jobs tab. Select the job you want to suspend. Select Actions > Suspend Job. All selected jobs are suspended.
Note: Only the backups and the restores that contain checkpoints can be suspended. To resume a suspended or an incomplete job 1 Open the Activity Monitor and select the Jobs tab.
53
2 3
Select the suspended or the incomplete job you want to resume. Select Actions > Resume Job. All selected jobs are resumed.
Note: Only the backups and the restores that contain checkpoints can be suspended. To print job detail information from a list of jobs 1 1 2 Open the Activity Monitor and select the Jobs tab. Select a job to print. Hold down the Control or Shift key to select multiple jobs. If no job is selected, all jobs are printed. Select File > Print.
To export Activity Monitor data to a text file 1 Open the Activity Monitor.
2 3 4
From any Activity Monitor tab, select File > Export. Select whether to export all rows or only the rows currently selected. Enter the full path to the file where you want the job data to be written, then click Save.
If a job fails, use the Troubleshooter on the Help menu. The Troubleshooter helps explain the problem and provides the corrective actions that are based on the NetBackup status code that the job returns. To run troubleshooter within the Activity Monitor 1 2 3 Select a job in the Activity Monitor. Select the job you want to troubleshoot. Open the Troubleshooter:
Open the job details for a job, click the Detailed Status tab. Then click Troubleshooter. Right-click on the job. Select Troubleshooter.
The Troubleshooter dialog box appears. An explanation of the problem is displayed on the Problems tab and a recommended action appears on the Troubleshoot tab. If there is no status code entered in the Troubleshooter status code field, enter the status code of the failed job. Click Lookup to locate the troubleshooting information. You can open the Troubleshooter at any time and enter a status code.
Status bar
The status bar appears in the Jobs tab, at the top of the Activity Monitor Details pane. The status bar displays the following information:
The master server on which the jobs reside. The total number of jobs. The number of jobs in each of the job states: Active, Queued, Waiting for Retry, Suspended, Incomplete, and Done. The number of jobs currently selected. The number of NetBackup daemons that run.
The numbers always reflect the actual number of jobs, even when the filter is used.
55
Figure 2-2
Options dialog
You may choose to receive confirmation warnings as you work in the Activity Monitor:
Confirm job deletions: The user is prompted with a confirmation dialog box when a job is deleted. Confirm job cancellations: The user is prompted with a confirmation dialog box when a job is cancelled. Confirm stop daemons: The user is prompted with a confirmation dialog box when a daemon is stopped.
To discontinue further confirmations, check In the future, do not show this warning in the Warning dialog box. Set the Maximum Details Windows value to limit the number of Activity Monitor details that can be displayed at one time. Check Auto Refresh periodically to refresh data on the Daemons tab and the Processes tab and job details elapsed time. Other Jobs tab data is refreshed independently of the Auto Refresh setting. Enter the rate (in seconds) at which data is refreshed in the Daemons and the Processes tabs. Click OK to close the dialog box and apply the changes after making any changes.
Jobs tab
The Jobs tab displays all jobs that are in process or have been completed for the master server currently selected. Note: Job selection preference is given to jobs from NetBackup 6.0 media servers over media servers of previous versions.
Parent jobs
For some backup jobs, a parent job is used to perform pre- and post-processing. Parent jobs display a dash (-) in the Schedule column. A parent job runs the start and end notify scripts (PARENT_START_NOTIFY, PARENT_END_NOTIFY) from the master server: /usr/openv/netbackup/bin/ The role of the parent job is to initiate requested tasks in the form of children jobs. The tasks vary, depending on the backup environment:
Snapshot Client: The parent job creates the snapshot, initiates children jobs, and deletes the snapshot when complete. Children jobs are created if the Snapshot Client settings are configured to retain snapshots for Instant Recovery, then copy snapshots to a storage unit. (Snapshots and copy snapshots to a storage unit is selected in the policy Schedule Attributes tab.) Children jobs are not created if the Snapshot Client settings are configured to retain snapshots for Instant Recovery, but to create snapshots only. That is, the snapshot is not backed up to a storage unit, so no children jobs are generated. (Snapshots only is selected in the policy Schedule Attributes tab.) Bare Metal Restore: The parent job runs brmsavecfg, then initiates the backup as a child job. If multistreaming and BMR are used together, the parent job may start multiple children jobs. Offline, cold catalog backups: The parent job initiates the bpbackupdb as a child job. Online, hot catalog backups: The parent job for hot catalog backups works with bpdbm to initiate multiple children backup jobs: a Sybase backup, a file system backup of the master, and backups of any 5.x media servers and BMR database. Multiple copies:
57
A multiple copies job produces one parent job and multiple child jobs. Child jobs that are part of a multiple copies parent job cannot be restarted individually. Only the parent job (and subsequently all the children jobs) can be restarted. For setup information, see Multiple copies on page 131.
Multiple data streams: The parent job performs stream discovery and initiates children jobs. A parent job does not display a schedule in the Activity Monitor. Instead, a dash (-) is displayed for the schedule because the parent schedule is not used and the children schedules may be different. The children jobs display the ID of the parent job in the Activity Monitor. SharePoint: The parent job runs a resolver process during which children jobs are started. This process is similar to the stream discovery for multiple data streams. If multiple data streams are enabled, some children jobs may be split into multiple streams. Vault: The parent job starts the Vault profile. Then, the Vault profile starts the duplicates as jobs. The duplicates do not appear as children jobs in the Activity Monitor.
To view job details To view the details for a specific job, double-click on the job in the Jobs tab. The Job Details dialog box appears that contains detailed job information on two tabs: a Job Overview tab and a Detailed Status tab. Not all columns are displayed by default. Click View > Column Layout to show or hide columns.
Daemons tab
The Daemons tab displays the status of NetBackup daemons on the selected master server. Figure 2-3 Daemons tab in the Activity Monitor
Not all columns are displayed by default. Click View > Column Layout to show or hide columns. Table 2-1 Daemon
Adaptive Server Anywhere (NB_dbsrv)
NetBackup Bare Metal Restore Master Server (bmrd) NetBackup Client Service (bpinetd)
Listens for connections from NetBackup servers in the network and when an authorized connection is made, starts the necessary NetBackup process to service the connection. This service cannot be stopped from the Activity Monitor because it receives data that is displayed in the Administration Console. If it were stopped, the console could not display the data.
59
NetBackup Compatibility Service (bpcompatd) NetBackup Database Manager (bpdbm) NetBackup Device Manager (ltid)
Manages the NetBackup internal databases and catalogs. BPDBM must be running on the NetBackup master server during all normal NetBackup operations. Starts the Volume Manager (vmd), the automatic volume recognition process (avrd), and any robotic processes. Processes the requests to mount and dismount tapes in robotically controlled devices through the robotic control processes. Mounts the volumes on the tape or optical storage devices in response to user requests. Accesses and manages the database where media and device configuration information is stored (EMM_DATA.db). nbemm.exe must be running in order for jobs to run. This service cannot be stopped from the Activity Monitor because it receives data that is displayed in the Administration Console. If it were stopped, the console could not display the data.
NetBackup Event Management Provides the communication infrastructure to pass information and events Service (nbevtmgr) between distributed NetBackup components. Runs on the same system as the NetBackup Enterprise Media Manager. NetBackup Job Manager (nbjm) Accepts the jobs that the Policy Execution Manager (nbpem) submits and acquires the necessary resources. The Job Manager then starts the job, and informs nbpem that the job is completed.
Compiles the worklist for jobs and determines when jobs are due to run. If a policy is modified or if an image expires, nbpem is notified and the worklist is recompiled. Discovers and monitors disk storage on NetBackup media servers. Also discovers, monitors, and manages Fibre Transport (FT) connections on media servers and clients for the NetBackup SAN Client option. Runs on NetBackup media servers. Processes the requests from NetBackup clients and servers. bprd also prompts NetBackup to perform automatically scheduled backups. bprd must be running on the NetBackup master server to perform any backups or restores. Allocates the storage units, tape drives, and client reservations for jobs. nbrb works with the Enterprise Media Manager (NBEMM).
Monitors the NetBackup services that run on the local machine. If a service unexpectedly terminates, this service tries to restart the terminated service. If nbsvcmon determines that NetBackup is configured for a cluster, the service shuts down and the monitoring is taken over by the cluster. This service cannot be stopped from the Activity Monitor because it receives data that is displayed in the Administration Console. If it were stopped, the console could not display the data.
The NetBackup Enterprise Media Manager starts the NetBackup Status Collection service on the same host as the EMM server if one or more NetBackup 5.x servers are present in the configuration. vmscd maintains a persistent connection with NetBackup 5.x servers and monitors the status of drives that are attached to NetBackup 5.x servers. The NetBackup Storage Lifecycle Manager manages lifecycle operations including duplication, staging, and image expiration. Manages NetBackup Vault. NBVAULT must be running on the NetBackup Vault server during all NetBackup Vault operations. Manages the volumes (tapes) needed for backup or restore and starts local device management daemons and processes.
NetBackup Storage Lifecycle Manager (nbstserv) NetBackup Vault Manager (nbvault) NetBackup Volume Manager (vmd)
61
Note: Symantec recommends that you exit all instances of the NetBackup-Java Administration Console after restarting daemons in the Activity Monitor or by using a command. Then restart the console with the jnbSA command. (The jnbSA command is described in NetBackup Commands for UNIX and Linux.)
Symantec Private Branch Exchange The Symantec Private Branch Exchange provides single-port access to clients outside the firewall that connect to Symantec product services. Service name: VRTSpbx. Symantec Product Authentication Service The Symantec Product Authentication Service validates, identities, and forms the basis for authorization and access control in Symantec applications. Service name: VRTSat. The Symantec Product Authorization Service provides access control in Symantec applications. Service name: VRTSaz.
To monitor NetBackup daemons 1 2 3 Open the Activity Monitor and select the Daemons tab. Select the daemon(s) for which you want to view details. Select Actions > Details. A Daemons Details dialog box appears for each daemon you selected.
To view the details of a daemon, double-click the process in the Daemons tab. For a description of the daemon details, click Help in the Daemon Details dialog box. To start or stop a daemon 1 2 3 Open the Activity Monitor and select the Daemons tab. Select the daemon(s) you want to start or stop. Select Actions > Start Daemon or Actions > Stop Daemon.
Processes tab
The Processes tab displays the NetBackup processes that run on the master server. Not all columns are displayed by default. Click View > Column Layout to show or hide columns. Table 2-3 Process
acsd
Description
The acsd (Automated Cartridge System) daemon runs on the NetBackup media server and communicates mount and unmount requests to the host that controls the ACS robotics. The NetBackup ACS storage server interface (SSI) event logger acssel logs events. The NetBackup ACS storage server interface (SSI) acsssi communicates with the ACS library software host. acsssi processes all RPC communications from acsd or from the ACS robotic test utility that are intended for the ACS library software. The Automatic Volume Recognition process handles automatic volume recognition and label scans. The process allows NetBackup to read labeled tape and optical disk volumes and assign the associated removable media requests to drives.
acssel
acsssi
avrd
bmrd
8362 13782
The process for the NetBackup Bare Metal Restore Master Server daemon. The NetBackup Client daemon, this process issues requests to and from the master server and the media server to start programs on remote hosts. On UNIX clients, bpcd can only be run in stand-alone mode. On Windows, bpcd always runs under the supervision of bpinetd.exe. NetBackup has a specific configuration parameter for bpcd: if the port number is changed within the NetBackup configuration, the software causes the port number in the services file to be updated as well.
bpcd
bpcompatd 13721
The process for the NetBackup Compatibility daemon. The process for the NetBackup Database Manager daemon. It responds to queries that are related to the NetBackup catalog.
bpdbm
inetd
The process for the NetBackup Client daemon. It provides a listening service for connection requests.
63
Description
The NetBackup-Java application server authentication service program. inetd starts the program during startup of the NetBackup-Java GUI applications and authenticates the user that started the NetBackup-Java GUI application. The NetBackup-Java application server user service program on NetBackup servers. bpjava-msvc starts the program upon successful login with the NetBackup-Java applications login dialog box. bpjava-susvc services all requests from the NetBackup-Java GUI applications for administration and end-user operations on the host on which the NetBackup-Java application server is running.
bpjava-susvc
bpjobd
13723
The NetBackup Jobs Database Management daemon, this process queries and updates the jobs database. The process for the NetBackup Request Manager daemon. It starts the automatic backup of clients and responds to client requests for file restores and user backups and archives.
bprd
13720
ltid 13699
The process for the Media Manager Device daemon. The VSM request daemon (database request management) for Storage Migrator. migrd handles communication for VSM-Java and commands. The NetBackup Administration Console on the Windows platform. The process for the NetBackup Enterprise Media Manager daemon. It accesses and manages the database where media and device configuration information is stored (EMM_DATA.db). nbemm.exe must be running in order for jobs to run.
migrd
NBConsole nbemm
nbEvtMgr
The process for the NetBackup Event Manager daemon. It creates and manages event channels and objects for communication among NetBackup daemon. The Event Manager daemon runs with the Enterprise Media Manager (nbemm) only on master servers.
nbfdrv64
It controls the Fibre Transport target mode drivers on the media server. It runs on media servers configured for NetBackup Fibre Transport. The Fibre Transport (FT) server process that runs on media servers configured for NetBackup Fibre Transport. It does the following for the server side of the FT connection: controls data flow, processes SCSI commands, manages data buffers, and manages the target mode driver for the host bus adaptors.
nbftsrvr
nbpem
The process for the NetBackup Policy Execution Manager daemon. It compiles the worklist for jobs and determines when jobs are due to run. If a policy is modified or if an image expires, NBPEM is notified and the worklist is recompiled.
nbproxy
This process that safely allows new multi-threaded NetBackup processes to use existing multi-threaded unsafe libraries. This process allocates storage units, tape drives, and client reservations for jobs. nbrb works with the Enterprise Media Manager (NBEMM). The process for the NetBackup Remote Manager and Monitor service. Enables NetBackup to remotely manage and monitor resources on a system that are used for backup (or affected by backup activity). The process for the NetBackup Service Layer daemon. nbsl facilitates the communication between the graphical user interface and NetBackup logic.
nbrb
nbrmms
nbsl
nbstserv
The process for the NetBackup Storage Lifecycle Manager. Manages storage lifecycle policy operations and schedules duplication jobs. Monitors disk capacity on capacity managed volumes and removes older images when required. The process for the NetBackup Service Monitor. Monitors the NetBackup services. When a service unexpectedly terminates, nbsvcmon attempts to restart the terminated service. If Vault is installed, the process for the NetBackup Vault Manager daemon. 10000 NDMP is the acronym for Network Data Management Protocol. NDMP servers are designed to adhere to this protocol and listen on port 10000 for NDMP clients to connect to them. The odld (Optical Disk Library) daemon runs on the host that has an optical disk library. This process receives NetBackup Device Manager requests to mount and unmount volumes and communicates these requests to the robotics through SCSI interfaces.
nbsvcmon
nbvault
ndmp
odld
13706
65
tl4d
tl8d tl8cd
13705
tldd tldcd
13711
The tldd process runs on a NetBackup server that manages drive in a Tape Library DLT. This process receives NetBackup Device Manager requests to mount and unmount volumes, and sends these requests to the robotic-control process tldcd. The tldcd process communicates with the Tape Library DLT robotics through SCSI interfaces. To share the tape library, tldcd runs on the NetBackup server that provides the robotic control.
tlhd tlhcd
13717
The tlhd process runs on each NetBackup server that manages a drive in a Tape Library Half-inch. This process receives NetBackup Device Manager requests to mount and unmount volumes and sends these requests to the robotic-control process tlhcd. The tlhcd process runs on the NetBackup server that provides the robotic control and communicates with the TLH robotics through SCSI interfaces.
tlmd
13716
The tlmd Tape Library Multimedia (TLM) daemon runs on a NetBackup server. It communicates mount, unmount, and robot inventory requests to a NetBackup media server that hosts ADIC DAS/SDLC software and controls the TLM robotics. The tshd process runs on a NetBackup server that has a Tape Stacker Half-inch. The tshd process receives requests to mount and unmount volumes or for robot inventory and communicates these requests to the robotics through SCSI interfaces.
tshd
13715
Description
The process for the NetBackup Volume Manager daemon. Veritas Network Daemon allows all socket communication to take place while connecting to a single port. Legacy NetBackup services that were introduced before NetBackup 6.0 use the vnetd port number. The Veritas Authorization Service verifies that an identity has permission to perform a specific task. The Veritas Authentication Service validates, identifies, and forms the basis for authorization and access. The Symantec Private Branch Exchange allows all socket communication to take place while connecting through a single port. NetBackup services that were introduced in NetBackup 6.0 use the veritas_pbx port number.
vnetd
vrts-auth-port
4032
vrts-at-port
2821
veritas_pbx
1556
67
The mount request is suspended until the condition is resolved. The operator denies the request. The media mount timeout is reached.
The requested media is in a DOWN drive. The requested media is misplaced. The requested media is write-protected. The requested media is in a drive not accessible to the media server. The requested media is in an offline ACS LSM (Automated Cartridge System Library Storage Module). (ACS robot type only.) The requested media has an unreadable barcode. (ACS robot type only.) The requested media is in an ACS that is not accessible. (ACS robot type only.) The requested media has been otherwise determined to be unmountable.
By default, the bpdbjobs process deletes all the done jobs that are more than three days old. By default, the bpdbjobs process retains more recent done jobs until the three-day retention period expires. If the bprd NetBackup request daemon is active, bprd starts the bpdbjobs process automatically when it performs other cleanup tasks. The process starts the first time bprd wakes up after midnight. The automatic startups occur regardless of whether you choose to run bpdbjobs at other times by using cron or alternate methods.
Notes
The default values for KEEP_JOBS_SUCCESSFUL_HOURS and KEEP_JOBS_HOURS is 78 hours. The retention period values are measured against the time the job ended. Information about successful jobs cannot be kept longer than information about unsuccessful jobs. If KEEP_JOBS_SUCCESSFUL_HOURS is greater than KEEP_JOBS_HOURS, bpdbjobs sets KEEP_JOBS_SUCCESSFUL_HOURS to equal KEEP_JOBS_HOURS. If KEEP_JOBS_SUCCESSFUL_HOURS is set to 0, bpjobd uses the KEEP_JOBS_HOURS bpdbjobs value instead for successful jobs. If the KEEP_JOBS_SUCCESSFUL_HOURS value is greater than 0 but less than KEEP_JOBS_HOURS, KEEP_JOBS_HOURS is used for unsuccessful jobs only.
69
-keep_hours hours Use with the -clean option to specify how many hours bpdbjobs keeps unsuccessful done jobs. Default: 72 hours. To keep both successful and both failed jobs longer than the default of 72 hours, keep_successful_hours must be used with keep_hours -keep_successful_hours hours Use with the -clean option to specify how many hours bpdbjobs keeps successful done jobs. The number of hours can range from 3 to 720 but must be less than or equal to keep_hours. Values outside the range are ignored. Default: 72 hours. -keep_days days Use with the -clean option to specify how many days bpdbjobs keeps done jobs. Default: 3 days. keep_successful_days days Use with the -clean option to specify how many days bpdbjobs keeps successful done jobs. Default: 3 days. This value must be less than the -keep_days value.
A script (cleanjobs) was used in the following example. The script can be copied directly from this document, then changed as needed.
The first line specifies how long to keep unsuccessful jobs (24 hours) and successful jobs (five hours). The second line specifies the path to the bpdbjobs command. The correct location of bpdbjobs must be indicated. In this example, NetBackup was installed in the default location:
setenv BPDBJOBS_OPTIONS -keep_hours 24 -keep_successful_hours 5 -clean /usr/openv/netbackup/bin/admincmd/bpdbjobs ${*}
The .bat file can be stored anywhere, as long as it is run from the appropriate directory.
Note: Before you use a debug log, read the guidelines in the Debug Logs section of the NetBackup Troubleshooting Guide for UNIX and Windows.
Chapter
Reports
Use the Reports utility to generate reports on many aspects of the NetBackup environment. The reports serve to verify, manage, and troubleshoot NetBackup operations. NetBackup reports display information according to job status, client backups, and media contents. The Troubleshooter is available within the Reports utility to help analyze the cause of errors that can appear in a NetBackup report.
Introduction to the Reports utility on page 72 Reports window on page 73 NetBackup report types on page 76 Using the Troubleshooter within reports on page 80
Report descriptions
To run a report 1 In the NetBackup Administration Console, expand NetBackup Management > Reports. A list of report types appears. The report information is for the master server that is currently selected. To run a report on a different master server, click File > Change Server. For more information, see To administer a remote master server on page 639. Select the name of the report you would like to run. The right pane displays various options for running the report. Select the media servers and clients on which to run the report, then select the time period for which the report runs. Click Run Report. For a description of the report fields, see NetBackup report types on page 76.
2 3 4
73
Reports window
The Reports window contains multiple ways to view report listings and manage report data. Figure 3-2 NetBackup Reports window
Report contents
Shortcut menus
To display a list of commands that apply to a list, right-click on a report. Depending on which report is viewed, the shortcut list may include:
Column Layout: Opens the Column Layout dialog box where you can show or hide columns. (By default, all columns are not displayed.) Sort: Opens the Sort dialog box where you can specify sort criteria for the columns. Find: Opens the Find dialog box, used to find text within the report. Filter: Use the Filter option to narrow in on specific data in a table. Use the controls on the Filter dialog box to list the rows that match specified criteria. Troubleshooter: Launch the Troubleshooter to enter a status code.
Reports settings
Use the report settings to specify the following criteria for building a report. Not all settings are available for every report type.
Date/Time range
Specify the time period that you want the report to encompass. By default, the start time is one day before the report is run and the end time is the time the report is run. Select Earliest available to include the earliest possible data available. Select Current time to include all the data until the present. For more information, see Keep logs on page 383. The Clean-up host property, Keep logs, determines the period of time for which the information is available.
Client
Click the Client box and select All clients or select the client to which the report applies.
Disk pool
Click the Disk Pool box and select All Disk Pools or the disk pool type to which the report applies. The field is enabled only if OpenStorage, SharedDisk, or AdvancedDisk disk pools exist in the configuration.
Disk type
Click the Disk Type box and select All Disk Types or the disk storage unit type to which the report applies.
Job ID
Specify the Job ID for which you want the report.
Media ID
For media types of reports, specify the media ID or All Media. The Media Contents report requires a specific ID.
75
Media owner
Click the Media Owner box and select the owner of the media to which the report applies. The NetBackup media servers and server groups in your environment appear in the drop-down list.
Media server
Click the Media server box and select All Media Servers or the name of the media server to which the report applies. The currently selected master server and the media servers appear in the report.
Path
The Path selection appears for specific Disk Type selections. Specify the path to include in the report.
Storage unit
Click the Storage unit box and select All Storage Units or the name of the storage unit to which the report applies.
Verbose listing
Select Verbose listing to have NetBackup provide more details in the Media Summary report.
Volume ID
If the Disk Type selection for a disk report is Array Disk, the Volume ID selection appears. Select a Volume ID to include in the report.
Volume pool
For a media summary report, specify the volume pool name or All Volume Pools.
Run report
Click Run Report after youve selected the criteria for a report.
Stop report
Click Stop Report if a report is running, but you dont want to wait for it to finish.
Problems report
The Problems report lists the problems that the server has logged during the specified time period. The information in this report is a subset of the information that is obtained from the All Log Entries report. Click Help within the Problems report window for a description of each column.
77
Note: The Images on Media report does not display information for the media that is used for NetBackup offline, cold catalog backups. Click Help within the Images on Media report window for a description of each column.
Tape Reports
The following sections describe the six types of tape reports:
Click Help within the Tape Contents report window for a description of each column.
For information about the backups that are saved to disk storage units, use the Images on Media report. To track the media that is used for offline, cold catalog backups, keep a hard copy record. Or, configure the Administrators E-mail Address Global Attribute host property. This host property causes NetBackup to send an email that indicates the status of each catalog backup and the media ID that was used.
79
You can then print the email or save it on a disk other than the one that contains the catalogs. For more information, see Administrator email address on page 438. Click Help within the Tape Lists report window for a description of each column.
Disk Reports
The Disk Reports pertain to the information available about the images that are stored on disk media. The following sections describe the four types of tape reports:
Chapter
Policies
Policies define the rules that NetBackup follows when clients are backed up. A backup policy can apply to one or more clients. Every client must be in at least one backup policy. The best approach to configure backup policies is to divide clients into groups according to the backup requirements and archive requirements. Then, create a policy for each group. This chapter contains the following sections:
Using the Policies utility on page 82 Configuring backup policies on page 82 Changing policies on page 84 Policy Attributes tab on page 87 Schedules tab on page 117 Schedule Attributes tab on page 118 Start Window tab on page 143 Exclude dates tab on page 145 Calendar schedule tab on page 146 Clients tab on page 159 Backup Selections tab on page 163 Rules to indicate paths in the backup selections list on page 170 Disaster Recovery tab on page 196 Creating a Vault policy on page 199 Performing manual backups on page 200 More about synthetic backups on page 201
Tree view
Select a subnode from Summary of All Policies to display all possible node attributes in the right pane. For example, Schedules displays a list of all schedules.
Details pane
83
simplifies the process as it automatically chooses the values that are good for most configurations. Note: The wizard cannot be used, however, to configure a calendar-based schedule. You can change the schedule to a calendar-based schedule after running the wizard. For more information, see Calendar schedule tab on page 146. To create a policy with the Backup Policy Configuration Wizard 1 2 In the NetBackup Administration Console, select Master Server or NetBackup Management. From the list of wizards in the Details pane, click Create a Backup Policy. Click Help on any wizard screen for assistance while running the wizard.
To create a policy without the Backup Policy Configuration Wizard 1 2 3 4 In the NetBackup Administration Console, expand NetBackup Management > Policies. Select Actions > New > Policy. Type a unique name for the new policy in the Add a New Policy dialog box. For more information, see NetBackup naming conventions on page 631. Click OK.
Note: If the schedule is to be used for a catalog archive, the policy must be named catarc. For more information on how to configure a policy to archive the catalog, see Creating a catalog archiving policy on page 319.
Changing policies
Change policies only when no backup activity is expected for the affected policies and clients. Make adjustments before backups begin to ensure an orderly transition from one configuration to another. To add or change schedules in a policy 1 2 Expand NetBackup Management > Policies. Expand the policy name in the middle pane, then select Schedules.
To add a schedule, select Actions > New > Schedule. The Add Schedule dialog appears. To change an existing schedule, double-click the schedule name in the Details pane. The Change Schedule dialog appears.
Complete the entries in the Attributes tab, Start Window tab, Exclude Dates tab, and Calendar Schedule tab (if displayed). Click OK. For more information, see Schedules tab on page 117.
To add or change clients in a policy 1 2 In the NetBackup Administration Console, expand NetBackup Management > Policies. Expand the policy name in the middle pane, then select Clients.
85
To add a new client, select Actions > New > Client. The Add Client dialog appears. To change an existing client, double-click the client name in the Details pane. The Change Client dialog appears.
Complete the entries in the Add Client or Change Client dialog. For more information, see To add a client to a policy on page 159.
To add or change backup selections in a policy Note: To configure a Vault policy, see To create a Vault policy on page 199. 1 2 3 In the NetBackup Administration Console, expand NetBackup Management > Policies. Expand the policy name in the middle pane, then select Backup Selections. Perform one of the following actions:
To add a new backup selection, select Actions > New > Backup Selection. The Add Backup Selection dialog appears.
To change an existing backup selection, double-click the backup selection in the Details pane.
Complete the entries in the Add Backup Selections or Change Backup Selections dialog. For information on how to specify file paths for clients, see Rules to indicate paths in the backup selections list on page 170.
Add the new backup selection or make changes to an existing selection, then:
In the Add Backup Selection dialog, click Add. The new entry appears in the list. Define all new selections, then click OK. In the Change Backup Selection dialog, click OK.
To cut, copy, and paste items You can copy or cut and paste the following items:
To delete schedules, backup selections, or clients from a policy 1 2 3 4 In the NetBackup Administration Console, expand NetBackup Management > Policies. Expand the policy name in the middle pane, then select Attributes, Schedules, Backup Selections, or Clients. In the Details pane, select the item youd like to delete. Select Edit > Delete. A confirmation dialog appears. Click Yes.
Note: When a client is deleted from the client list, the NetBackup client software is not deleted or uninstalled from the client. Backups for the client can be recovered until the backups expire. Also, when a file is deleted from a backup selection list, the actual file is not deleted from the client.
87
Whether the selected policy is currently active or what date and time the policy goes into effect. The type of backup policy, which primarily defines the type of clients the policy backs up. The priority that NetBackup gives to the backups for the selected policy relative to other policies. The storage unit that NetBackup uses to back up the clients in the selected policy. Snapshot Client attributes, if Snapshot Client is installed.
Figure 4-2
The following sections describe the settings on the Attributes tab. Policy attributes are configurable depending on the type of policy and the options that are installed.
Policy type
The Policy type attribute determines the purpose of the policy. Usually, the Policy type determines the type of clients that can be backed up by this policy. Not all policy types serve to back up up clients. (NBU-Catalog, for example.) Select the type of policy from the drop-down list. The Policy type of an existing policy may be changed. However, the existing schedules may become invalid for the new policy type. If the schedules become
89
invalid, NetBackup displays an alert notice. NetBackup then either deletes the invalid schedules or changes the schedules to an equivalent type. Table 4-1 Policy type
DataStore
DB2
Lotus-Notes
MS-Exchange-Server
MS-SQL-Server
MS-Windows-NT*
NBU-Catalog NCR-Teradata
NDMP
NetWare
Oracle
Standard*
UNIX clients (including Mac OS X clients), except those covered by specific such as Oracle. NetBackup Novell NetWare clients that have the target version of NetBackup software.
Vault
Use as a policy type to schedule and run a Vault job. Available only when Vault is licensed.
DataTools-SQLBackTrack
Use for the policies that contain only clients with the NetBackup for DataTools-SQL-BackTrack option. For information on setting up this policy type, see the guide for this option. Applies only to NetBackup Enterprise Server: Use for the policies that contain only NetBackup FlashBackup clients on UNIX. This policy is available only when the NetBackup Snapshot Client is installed. For information on setting up this policy type, see the Snapshot Client Administrators Guide.
FlashBackup
FlashBackupWindows
Applies only to NetBackup Enterprise Server: Use for the policies that contain only NetBackup FlashBackup-Windows clients on Windows. This policy is available only when the NetBackup Snapshot Client is installed. For information on setting up this policy type, see the NetBackup Snapshot Client Administrators Guide. Use for the policies that contain only clients with the NetBackup for Informix option. For information on setting up this policy type, see the guide for this option. Use to configure a policy for NetBackup for SharePoint Portal Server. Use for the policies that contain only clients with the NetBackup for SAP option. For information on setting up this policy type, see the guide for this option. Use for the policies that contain only clients with the NetBackup for Sybase option. For information on setting up this policy type, see the guide for this option.
Informix-On-BAR
MS-SharePoint SAP
Sybase
* Use the Standard or MS-Windows-NT policy to implement the following options: CheckPoint Restart for backups, Checkpoint Restart for restores, synthetic backups, or the Collect disaster recovery information for Bare Metal Restore option.
For more details on off-host backups, refer to the NetBackup Snapshot Client Administrators Guide.
Data classification
Select a Data Classification if you want the backup to go to a storage unit that stores backups of a particular classification. For example, a gold backup must go to a storage unit with a gold data classification.
91
A Data Classification selection is optional. If no classification is indicated, the policy uses the storage units and groups that the Policy storage attribute indicates. If a data classification is selected, all the images that the policy creates are tagged with the classification ID. For more information on data classifications and lifecycles, see Data classification on page 262. For more information on creating data classifications, see Data Classification properties on page 407.
Policy storage
The Policy storage attribute specifies the storage destination for the policys data. Select the storage destination from the drop-down list. If configured, the drop-down list may contain storage units, storage lifecycle policies, and storage unit groups. If configured to do so, the selection of a storage unit or a storage lifecycle policy determines which type of disk staging is used for this policy. (See Staging backups to initial storage, then final storage on page 242.) The list includes only those lifecycles that are of the same data classification as the policy. For example, gold backup images cannot be sent to a silver storage lifecycle. Images that belong to a specific data classification cannot be sent to a storage lifecycle that does not have a classification. To select a data classification is optional. If Any Available is selected, NetBackup tries to store data on locally-attached storage units first. To force NetBackup to use only a locally-attached drive, select Must use local drive on the General Server Properties. (See Must use local drive on page 432.) If a local device is not found or if the Must use local drive attribute is not selected, NetBackup tries to find an available storage unit alphabetically. If Any Available is selected, NetBackup uses the first storage unit that meets the following requirements:
The storage unit must not be designated as On Demand Only The storage unit must have available drives The storage unit must have media available in the required volume pool
An exception is the case in which a client is also a media server with locally-attached storage units. The local storage units take precedence over the sequence that is based on alphabetical order. The storage unit that is selected on the Schedule tab, overrides the Policy storage attribute. (See Override policy storage selection on page 137.)
If the site contains only one storage unit or if there is no storage unit preference:
Specify Any Available for the Policy storage attribute. Do not specify a storage unit at the schedule level. (See Override policy storage selection on page 137.) In this situation, do not configure all storage units to be On Demand Only. NetBackup may be unable to find an available storage unit for the backups. (See On demand only on page 235.)
If a specific storage unit is designated and the unit is unavailable, backups cannot run for those policies and the schedules that require the unit. If Any Available is selected, any Basic disk storage unit that is not assigned to a storage group is considered available for disk spanning. (See Allow backups to span disk on page 450.) To limit the storage units available to a policy, select a storage unit group that contains only the units you want the policy to use. Another method to limit the storage units available to a policy is the following: a Create a volume pool that contains the volumes that are available only to the specific storage units. (See Adding a new volume pool on page 539.) Note: If the Scratch pool option is enabled for the volume pool, any storage unit has access to the volumes in the volume pool. For this method to work, do not enable Scratch pool for the volume pool. b c In the policy, set Policy volume pool to the volume pool that is defined in the previous step. For all policies, set Policy storage attribute to Any Available.
A policy may specify a storage unit group. Make sure that one of the storage units within the group is set to On Demand Only to satisfy the policy requirement.
For online, hot catalog backups when a disk storage unit is indicated: increase the Maximum concurrent jobs setting on the storage unit. The increased setting ensures that the catalog backup can proceed while regular backup activity occurs.
93
Online catalog backups must use media servers at version 6.0 or later to store catalog backup data. If the installation contains 5.x media servers hosting disk storage units, do not select Any Available for the destination Policy storage attribute. The 5.x media server may be selected and the backup would fail.
None: The default pool for applications, other than NetBackup and Storage Migrator. DataStore: The default pool for DataStore. NetBackup: Unless otherwise specified in the policy, all backups use media from the NetBackup pool. One exception is the NBU-Catalog policy type (used for online, hot catalog backups) that selects the CatalogBackup volume pool by default. Offline, cold catalog backups use media from the NetBackup volume pool. CatalogBackup: This pool is selected by default for the NBU-Catalog policy type. It is used exclusively for online, hot catalog backups. Online, hot catalogs are directed to a single, dedicated pool to facilitate faster catalog restores.
Additional volume pools can be useful. Possible additional volume pools include the following:
A Scratch pool from which NetBackup can automatically transfer volumes when another volume pool does not have media available. An Auto volume pool, for use by automatic backups. A User volume pool, for use by user backups.
Media is assigned to the volume pools for Media Manager storage devices. Disk-type storage devices are not allocated to a volume pool. For information about how to create volume pools and how to add media to them, see Volume pool operations on page 538.
For the schedules that use the Backups volume pool, clear Override policy volume pool. For the schedule that requires the Archive volume pool, select Override policy volume pool and specify Archive for the pool name.
95
Checkpoint frequency
The checkpoint frequency indicates how often NetBackup takes a checkpoint during a backup. (Default: 15 minutes.) The administrator determines checkpoint frequency on a policy-by-policy basis. Balance more frequent checkpoints with the likelihood of time that is lost when a backup is resumed. If the frequency of checkpoints impacts performance, increase the time between checkpoints.
Multiple Copies: Checkpoint restart is supported for the policies that are configured to create multiple backup copies. (See Multiple copies on page 131.) The last failed copy that contains a checkpoint can be resumed if the following items are true:
A copy is configured to allow other copies to continue the job if the copy fails and subsequent checkpoints occur, and Take checkpoints every is selected for this policy.
Veritas Volume Snapshot Provider (VSP): Checkpoint restart is supported for use with VSP. (See VSP (Volume Snapshot Provider) properties on page 485.) Snapshot Client: Checkpoint restart is supported for use with local or alternate client backups. However, other methods are not supported: Block Level Incremental Backups, Media Server Copy, Third-Party Copy Device, and Instant Recovery backups. Disk staging storage units (used in basic disk staging): Checkpoint restart is supported for use in Stage I of basic disk staging, during which data is backed up to disk. Checkpoint restart is unavailable in the Stage II storage unit policy of basic disk staging, during which data is relocated to another storage unit. For more information, see Staging backups to initial storage, then final storage on page 242. On Windows clients:
System State backups: No checkpoints are taken during the backup of a System State. Windows Disk-Image (raw) backups: No checkpoints are taken during a Windows disk-image backup. Single-instance Store (SIS): No checkpoints are taken for the remainder of the backup after NetBackup encounters single-instance store. When an incremental backup is resumed and completes successfully, the archive bits are cleared for the files that were backed up after the job resumed. However, the archive bits are not cleared for the files that were backed up before the resume. Since the archive bits remain, the files that were backed up before the resume are backed up again during the next incremental backup.
Synthetic backups: Checkpoint restart is not supported for use with synthetic backups in the current NetBackup release. Checkpoints are not taken for a user archive schedule. If the user archive is resumed, it restarts from the beginning. NetBackup decides when a new job should be started instead of resuming an incomplete job. NetBackup starts a new job in the following situations:
If a new job is due to run. If the time since the last incomplete backup has been longer than the shortest frequency in any schedule for the policy. If the time indicated by the Clean-up property, Move backup job from incomplete state to done state, has passed. For calendar scheduling, if another run day has arrived.
97
Client A
Client B
Tape Drive 2
Client A and Client B backups can occur concurrently and back up to different devices
Limit jobs per policy does not prevent concurrent jobs if the jobs are from different policies. For example, if three policies limit concurrent jobs to two, NetBackup can start two jobs from each policy. A total of six policies may be running at one time in this situation. Parent jobs do not count toward the limit. Only the children jobs count toward the Limit jobs per policy setting. The following jobs produce a parent
job and children jobs: multistreamed jobs, catalog backups, Snapshot Client snapshots, or Bare Metal Restore jobs. (See Parent jobs on page 56.)
The number of storage devices available and multiplexing limits. To process more than one backup job at a time, the configuration must include one of the following:
Multiple storage units. A storage unit with enough drives to perform more than one backup at a time.
Storage units that are configured to multiplex. With removable media devices such as tape drives, the number of concurrent jobs depends on the total number of drives in the storage units. With disk storage, the storage device is defined as a file path and the available disk space determines how many paths are possible.
The server speed. Too many concurrent backups interfere with the performance of the server. The best number depends on the hardware, operating system, and applications that are running. The network load. The available bandwidth of the network determines how many backups can occur concurrently. If you encounter loading problems, consider multiple networks for backups. Or, configure the backup policy to use Compression. (See Compression on page 105.) When the client that is backed up is also a server, it is a special case. In this instance, the network load is not a factor because the network is not used. The load on the client and server, however, is still a factor. Multiplexing. If multiplexing is used, set Limit jobs per policy high enough to support the specified level of multiplexing. Lower values can limit multiplexing within a policy if jobs from different schedules exist within the policy. For example, Limit jobs per policy is set to two and an incremental backup schedule is due to run for four clients. Only two clients are backed up at one time, regardless of the multiplexing settings.
Job priority
The Job priority attribute specifies the priority that a policy has it competes with other policies for backup resources. To have a higher priority means that NetBackup assigns the first available drive to the first client in the policy with the highest priority.
99
To set the priority, enter a number in the Job priority field (maximum 99999). The default for all policies is 0, the lowest priority possible. Any policy with a priority greater than zero has priority over the default setting.
Media owner
Active only for Media Manager type storage units or if the Policy storage attribute is Any Available. The Media Owner property specifies which media server or server group should own the media on which backup images for this policy are written. You can specify the following for Media Owner:
Any (default), allows NetBackup to choose the media owner. NetBackup chooses a media server or a server group (if one is configured). None specifies that the media server that writes the image to the media owns the media. No media server is specified explicitly, but you want a media server to own the media. A server group. Specify a server group. A server group allows only those servers in the group to write to the media on which backup images for this policy are written. All server groups that are configured in the NetBackup environment appear in the drop-down list.
For more information about server groups and shared media, see Configuring server groups for media sharing on page 615.
master1 is the NetBackup master server. win_client is a Windows NetBackup client. win_PC is a Windows computer (not necessarily a NetBackup client) and contains a shared folder named TestData.
To back up the folder TestData on win_PC through win_client, perform the following steps: 1 2 3 On the NetBackup master server, master1, create a policy for win_client. Add \\win_PC\TestData to the file list of the policy. This step is not necessary if the policy is only used for user-directed backups. On win_client, the NetBackup client: a Change the NetBackup Client Service on win_client to Start Up or Log On with the same account as the user that performs the backup. This user account must have read permissions for the share that is to be backed up. The account must have write permission to perform restores. Stop and start the NetBackup Client Service so the new account takes effect.
101
4 5
To run a user backup, expand the Network node in the Backup, Archive, and Restore client interface to win_PC. Select TestData. Backups run as scheduled or when a manual backup is performed.
master1 is the NetBackup master server. win_client is a Windows NetBackup client. win_PC is a Windows computer (not necessarily a NetBackup client) and has a shared folder that is named share.
To back up the folder share on win_PC through win_client, perform the following steps: 1 2 On the NetBackup master server, master1, select Backup network drives in the policy to be used for the backup. On win_client, the NetBackup client: a Change the NetBackup Client Service on win_client to Start Up or Log On with the same account as the user that performs the backup. This user account must have read permissions for the share that is to be backed up. The account must have write permission to perform restores. Stop and start the NetBackup Client Service so the new account takes effect. Create a bpstart_notify.bat file that maps a drive on win_client to \\win_PC\share Enter the command: net use X: \\win_PC\share where X: is the mapped drive letter.
b c
3 4
To run a user backup, expand the Network node in the Backup, Archive, and Restore client interface to win_PC. Select TestData. Scheduled backups run as scheduled or when a manual backup is performed.
Follow NFS
The Follow NFS attribute specifies whether NetBackup is to back up or archive any NFS-mounted files that are named in the backup selection list. Or, by the user in the case of a user backup or archive. Clear the check box to prevent the backup or archive of NFS mounted files.
Note: The Follow NFS attribute applies only to UNIX clients in certain policy types. NetBackup allows it to be selected in those instances only.
The behavior of the Follow NFS attribute depends on the Cross mount points setting (explained later in this chapter). Follow NFS has no effect on raw partitions. The Network File Systems that are mounted in a raw partition are not backed up. Nor can you back up raw partitions from other machines that use NFS mounts to access the raw partitions. The devices are not accessible on other machines through NFS. Note: NetBackup does not support raw partition backups on unformatted partitions.
Follow NFS causes files in automounted file systems to be backed up. Automounted directories can be excluded while allowing backup of other NFS mounts. To do so, add an entry for the automounters mount directory to the exclude list on the client.
103
Note: If Follow NFS is not selected, the backup process reads the clients mount table and evaluates each item in the table. NetBackup resolves any links to the true path. NetBackup must resolve the links so it can accurately avoid backing up any files that reside on NFS-mounted file systems. If NetBackup cannot access a Network File System when it evaluates the mount table, it assumes that the file system is unavailable. (The default time to access the file system is five seconds.) To change the default, change the UNIX master server host property, NFS access timeout. (See NFS access timeout on page 483.)
Select Cross mount points to have NetBackup back up all files and directories in the selected path, regardless of the file system. For example, if you specify root (/) as the file path, NetBackup backs up root (/) and all files and directories under root in the tree. NetBackup specifically excludes mapped directories even if Follow NFS and Cross mount points are enabled. To back up mapped directories, include the directories in the file list. Clear Cross mount points for NetBackup to back up only the files that are in the same file system as the selected file path. Prohibit NetBackup from crossing mount points to back up root (/) without backing up all the file systems that are mounted on root. (For example, /usr and /home.) Do not cross mount points to back up a media server that uses mount points to any disk storage that contains backup images. If the policy crosses mount points, the NetBackup backup images that reside on that disk storage are backed up. The NetBackup BasicDisk disk type and the Enterprise Disk Option disk types use mount points for disk storage.
Cross mount points has no effect on UNIX raw partitions. If a raw partition is the root partition and contains mount points for other file systems, the other file systems are not backed up.
Do not use Cross mount points in policies where the ALL_LOCAL_DRIVES directive is used in the backup selection list.
How the Cross mount points attribute interacts with Follow NFS
To back up NFS-mounted files, select Follow NFS. Table 4-2 summarizes the behavior of Cross mount points and Follow NFS: Table 4-2 Cross mount point behavior Follow NFS
Disabled Enabled Disabled Enabled
Resulting behavior
No crossing of mount points (default). Back up NFS files if the file path is (or is part of) an NFS mount. Cross local mount points but not NFS mounts. Follow the specified path across mount points to back up files and directories (including NFS), regardless of the file system where they reside.
Note: NetBackup specifically excludes mapped directories even if Follow NFS and Cross mount points are enabled. To back up mapped directories, include the directories in the file list.
105
Figure 4-4
d1
d2
d3
Here, the client contains /, /usr, and /home in separate partitions on disk d1. Another file system named /home/njr exists on disk d2 and is mounted on /home. In addition, disk d3 contains a directory named /net/freddie/home that is NFS-mounted on /net/freddie.
Example 1
Assume that Cross mount points and Follow NFS are not selected. Assume that the backup selection list contains the following entries:
/ /usr /home
NetBackup considers only the directories and files that are in the same file system as the backup selection list entry it is processes. It does not back up /home/njr or /net/freddie/home.
Example 2
Assume that Cross mount points and Follow NFS are selected. Assume that the backup selection list contains only / . In this case, NetBackup backs up all the files and directories in the tree, including those under /home/njr and /net/freddie/home. To back up only /usr and individual files under /, leave / out of the list and separately list the files and directories you want to include. For example:
/usr /individual_files_under_root
Compression
The Compression attribute specifies that the backups use the software compression that is based on the policy. Select the check box to enable compression. (Default: no compression.)
Table 4-3
Data types that compress well:
Compression specifications
Programs, ASCII files, and unstripped binaries (typically 40% of the original size).
107
Table 4-3
Compression specifications
Files that are composed of the strings that repeat can sometimes be compressed to 1% of their original size. Stripped binaries (usually 60% of original size).
Best-case compression:
Files that are already compressed become slightly larger if compressed again. On UNIX clients, if a compressed file has a unique file extension, exclude it from compression by adding it under the UNIX Client host properties. (See Do not compress files ending with on page 401.) File size has no effect on the amount of compression. However, it takes longer to compress many small files than a single large one.
Client resources that are Compression requires client computer processing unit time and as much memory as the required: administrator configures. Effect on client speed: Compression uses as much of the computer processing unit as available and affects other applications that require the computer processing unit. For fast CPUs, however, I/O rather than CPU speed is the limiting factor. NetBackup does not compress the following files:
Files that are equal to or less than 512 bytes, because that is the tar block size. On UNIX clients, the files that end with suffixes specified with the COMPRESS_SUFFIX =.suffix option in the bp.conf file. On UNIX clients, files with the following suffixes: .gz or GZ .hqx or .HQX .hqx.bin or .HQX.BIN .jpeg or .JPEG .jpg or .JPG .lha or .LHA .lzh .pak or .PAK .iff or .IFF .pit or .PIT .pit.bin or .PIT.BIN .scf or .SCF .sea or .SEA .sea.bin or .SEA.BIN .sit or .SIT .sit.bin or .SIT.bin .tiff or .TIFF .Y .zip or .ZIP .zom or .ZOM .zoo or .ZOO .z or .Z
.arc or .ARC .arj or .ARJ .au or .AU .cpt or .CPT .cpt.bin or .CPT.BIN .F .F3B .gif or .GIF
Encryption
The Encryption attribute determines whether the backup should be encrypted. When the server initiates the backup, it passes on the Encryption policy attribute to the client in the backup request.
The client compares the Encryption policy attribute to the Encryption host properties for the client. If the encryption permissions for the client are set to REQUIRED or ALLOWED, the policy can encrypt the backups for that client. (See Encryption properties on page 409.) For additional encryption configuration information, see the NetBackup Security and Encryption Guide. Note: If encrypted data is written to a storage unit that has single-instance store (SIS) capabilities, the storage unit may not be able to use data deduplication on the compressed or the encrypted data.
109
With the attribute enabled, a restore based on an incremental backup includes all files that were backed up since the last full backup. The restore also includes those files that were deleted at any time during that period. NetBackup starts to collect the true image restore information with the next full or incremental backup for the policy. The true image restore information is collected for each client regardless of whether any files were changed. NetBackup does not provide true image restores based on the time of a user backup or archive. However, NetBackup uses a user backup for a true image restore if the backup is more recent than the latest automatic full or incremental backup. To include the files that were moved, renamed, or newly installed in the directories, enable With move detection for the true image incremental backups. Note: Some options require that Collect true image restore information with move detection be enabled: - It must be enabled to create synthetic backups. (See Synthetic backup on page 128.) - It must be enabled to back up data to the NearStore disk storage units that use the File System Export option. (See Enable file system export on page 752.)
A file named /home/pub/doc is moved to /home/spec/doc. Here, the modification time is unchanged but /home/spec/doc is new in the /home/spec/ directory and is backed up. A directory named /etc/security/dev is renamed as /etc/security/devices. Here, the modification time is unchanged but /etc/security/devices is a new directory and is backed up. A file named /home/pub/doc is installed when extracted from a UNIX tar file. Here, the modification time is before the time of the last backup but the doc is new in the /home/pub/ directory and is backed up. A file named docA is removed, then a file named docB is renamed as docA. Here, the new docA has the same name but since its inode number has changed, it is backed up.
NetBackup begins to collect the information that is required for move detection with the next full or incremental backup for the policy. This first backup after setting the attribute, always backs up all files, even if it is an incremental. Move detection consumes space on the client and the backup can fail if there is not enough disk space available.
Note: Dashes ( ------ ) indicate that the file was deleted before this backup.
Assume that the 12/04/2007 version of the /home/abc/doc/ directory needs to be restored.
111
After a regular restore, the restored directory contains all files and directories that ever existed in /home/abc/doc/ from 12/01/2007 (last full backup) through 12/04/2007:
file1 file2 dirA/fileA dirB/fileB file3 dirC/fileC file4
A true image restore of the 12/04/2007 backup creates a directory that contains only the files and directories that existed at the time of the incremental backup (12/04/2007):
file1 file2 file4
NetBackup does not restore any of the files that were deleted before the 12/04/2007 incremental backup. The restored directory does not include the dirA and dirC subdirectories, even though they were backed up on 12/04/2007 with a user backup. NetBackup did not restore these directories because they did not exist at the time of the incremental backup. The incremental backup was the reference for the true image restore.
NetBackup collects additional information for the incremental backups that collect true image restore information. Policies that use move detection require even more space. Incremental backups are slower for a policy in which true image restore information is collected. Configure the period of time that NetBackup retains the true image restore information: set the Keep true image restoration (TIR) information property in the Clean-up properties dialog box. (See Keep true image restoration (TIR) information on page 384.) To restore a file system or disk with a true image restore, back up the directories with a policy that collects true image restore information. For true image restores, only directories can be listed and selected. In true image restore mode, the client interface does not display individual files. Refer to the online Help in the Backup, Archive, and Restore client interface for more information on true image restores.
A true image restore preserves the files that are currently in the directory but were not present when the backup was completed. In the previous example, assume that you created a file named file5 after the incremental backup occurred on 12/04/2007, but before the restore. In this case, the contents of the directory after the restore is:
file1 file2 file4 file5
The directives, scripts, or templates in the backup selection list determine the number of streams (backup jobs) that start for each client. The list also determines how the backup selection list is divided into separate streams. (See Backup selections list directives for multiple data streams on page 189.) The following settings determine the number of streams that can run concurrently:
Maximum jobs parameters For more information, see Adjusting multiple data streams on page 114. Multistreamed jobs consist of a parent job to perform stream discovery, and children jobs for each stream. In the Activity Monitor, the children jobs display the Job ID of the parent job. Parent jobs display a dash (-) in the Schedule column. Note: If this attribute is enabled, and a file system is in a clients exclude list, a NetBackup job appears in the Activity Monitor for the excluded file system. However, no files in the excluded file system are backed up by the job.
113
Recommended for best performance Client Drive A Stream NetBackup Server Drive B Stream Back up each device with a separate stream that runs concurrently with streams from other devices. Then, multiplex the streams or send them to separate tapes.
Not recommended Client Drive A Stream Stream Stream Drive B Stream NetBackup Server
Multiple concurrent streams from a single device can adversely affect backup times.
For example, assume the backup for a 10-gigabyte partition is split into 5 streams, each containing 2 gigabytes. If the last stream fails after writing 1.9 gigabytes (a total of 9.9 gigabytes is backed up), NetBackup retries only the last gigabyte stream. If the 10-gigabyte partition is backed up without multiple data streams and a failure occurs, the entire 10-gigabyte backup must be retried. The Schedule backup attempts property in the Global Attributes properties, applies to each stream. For example, if the Schedule backup attempts property is set to 3, NetBackup retries each stream a maximum of three times. (See Schedule backup attempts on page 435.) The Activity Monitor displays each stream as a separate job. Use the job details view to determine the files that are backed up by each of these jobs.
The total number of streams. The backup selection list determines the total number of streams that are started. The NEW_STREAM directive lets you configure a fixed number of streams, or you can allow the client dynamically define the streams. For more information, see Backup selections list directives for multiple data streams on page 189.
Note: For best performance, use only one data stream to back up each physical device on the client. Multiple concurrent streams from a single physical device can adversely affect backup times. Backup times are affected because the device heads must move between tracks containing files for the respective streams.
The number of streams that can run concurrently. The following factors determine the number of streams that can run concurrently for a policy or client:
Storage unit and schedule multiplexing limit. (See Media multiplexing on page 141.) Number of the drives that are available.
Maximum concurrent jobs settings for the policy and client. Each storage unit and each schedule has a maximum multiplexing setting. The lower of the two settings is the limit for a specific schedule and storage
115
unit. The maximum streams are limited to the sum of the multiplexing limits for all drives available in the storage unit and schedule combinations. For example, assume that two storage units have one drive in each. Multiplexing on storage unit 1 is set to 3 and multiplexing on storage unit 2 is set to 5. If multiplexing is set to 5 or greater in the schedules, then 8 streams can run concurrently. The maximum jobs settings also limit the maximum number of streams:
Maximum jobs per client (Host Properties > Master Servers > Global Attributes.) (See Maximum jobs per client on page 436.) Limit jobs per policy (policy attribute).
Maximum data streams (use Host Properties > Master Servers > Client Attributes or the bpclient command -max_jobs option). (See Maximum data streams on page 387.) The maximum job settings are interdependent as follows: If Maximum data streams is not set, the limit is either Maximum jobs per client or Limit jobs per policy, whichever is lower.
If Maximum data streams is set, NetBackup ignores Maximum jobs per client. Instead, NetBackup uses either Maximum data streams or Limit jobs per policy, whichever is lower. To specify a value for Maximum data streams with the bpclient command:
Determine if the client is in the client database on the master server by running the following command on one line: /usr/openv/netbackup/bin/admincmd/bpclient -client name -L If the client is not in the client database, run the following command on the master server on one line: /usr/openv/netbackup/bin/admincmd/bpclient -client name -add -max_jobs number If the client is in the client database, run the following command on one line: /usr/openv/netbackup/bin/admincmd/bpclient -client name -modify -max_jobs number
files on NetBackup 6.5 clients.) For more information, see the NetBackup for Microsoft SharePoint Portal Server 2003 Administrators Guide. Document-level restores can be performed only if the backup was written to a disk storage unit.
Keyword phrase
The Keyword phrase attribute is a phrase that NetBackup associates with all backups or archives based on the policy. Note: Only the Windows and UNIX client interfaces support keyword phrases. You can use the same keyword phrase for more than one policy. The same phrase for multiple policies makes it possible to link backups from related policies. For example, use the keyword phrase legal department documents, for backups of multiple clients that require separate policies, but contain similar types of data. The phrase can be a maximum of 128 characters in length. All printable characters are permitted including spaces and periods. (Default: no keyword phrase.) Clients can also specify a keyword phrase for a user backup or archive. A user keyword phrase overrides the policy phrase.
117
Schedules tab
The schedules that are defined on the Schedules tab determine when backups occur for the policy that is selected. Each schedule also includes various criteria, such as how long to retain the backups. NetBackup has two categories of schedules:
Automatic schedules back up the items that are listed in the backup selection list on all clients in the policy. The items are backed up according to the timetables that are set up in the schedules. User schedules specify the times when users can start user backups and archives from the clients. A user archive is a special type of backup that deletes the files from the user disk if the backup is successful. An archive is useful to free disk space while keeping a copy for future use. Policy Schedules tab
Figure 4-6
To create a new schedule click New. To edit a schedule, select the schedule and click Change. To delete a schedule, select the schedule and click Delete. Attributes tab: Schedule the time and frequency at which a task runs, along with other scheduled attributes. Start Window tab: Schedule the time of each day that a task runs. Exclude Dates tab: Indicate the dates that a task should not run. Calendar Schedule tab: Schedule the run days for a task by indicating specific dates, recurring weekdays, recurring days of the month. (This tab appears only when Calendar is selected as the Schedule type.)
To create or change schedules 1 2 3 4 5 6 In the NetBackup Administration Console, expand NetBackup Management > Policies. In the middle pane, double-click the policy name to which a schedule is to be added or changed. The Change Policy dialog appears. Select the Schedules tab. The tab displays the properties of existing schedules. The title bar displays the name of the current policy. Select the schedule to change and click Change. The Change Schedule dialog appears. It contains the Attributes, Start Window, and optionally, the Exclude Dates and Calendar Schedule tabs. Make the changes and click OK.
Note: For more information on how to change existing policies, see To add or change schedules in a policy on page 84.
Name
Specify a name for the schedule by typing it in the Name field. For more information, see NetBackup naming conventions on page 631.
119
Figure 4-7
The schedule name appears on screens and messages about the schedule. If the schedule is a relocation schedule, created as part of a basic disk staging storage unit, the schedule name cannot be changed. The name defaults to the name of the storage unit. For more information on basic disk staging storage units, see Staging backups to initial storage, then final storage on page 242.
Type of backup
The Type of backup specifies the type of backup that the schedule controls. Select a backup type from the drop-down list. The list displays only the backup types that apply to the policy being configured. If the schedule is a relocation schedule, created as part of a basic disk staging storage unit, no backup type selection is needed. The following sections describe the various backup types.
Full backup
A full backup backs up all of the files that are specified in the backup selections list for the policy. The files are backed up, regardless of when the files were last modified or backed up. Full backups occur automatically according to schedule criteria. If you run incremental backups, you must also schedule a full backup to perform a complete restore. If you configure a policy for a raw partition backup (formatted partitions only), select Full Backup.
User backup
A user initiates a user backup through the Backup, Archive, and Restore client interface. A user backup backs up all files that the user specifies. Users can start backups only during the times that are allowed on the schedule Start Window tab. If the schedule is to be used for a catalog archive, User Backup must be selected for the backup type. For more information on how to configure a policy to archive the catalog, see Creating a catalog archiving policy on page 319.
User archive
A user initiates a user archive through the Backup, Archive, and Restore client interface. A user archive backup first backs up the files that the user indicates. Then it deletes the files from the local disk if the backup is successful. Archive backups free local disk space while retaining a copy for future use. The copy is kept until the retention period expires. Users can start archives only during the times that are specified in the schedule Start Window tab.
121
Caution: The NetBackup administrator should make sure that a full backup of the client exists before a user is allowed to archive files from the client.
Application backup
An application backup is a backup type that applies to all database agent clients. For more information on how to configure schedules for this type of backup, see the NetBackup guide that came with the product.
Automatic backup
An automatic backup is a backup type for all database agent clients, except NetBackup for Informix and Oracle. For more information on how to configure schedules for this type of backup, see the NetBackup guide for the database product.
Automatic Vault
An automatic Vault session applies only to Vault policies. The option does not run a backup, but instead runs the command that is specified in the Vault policys backup selections list. In this way it starts an automatic, scheduled vault session or vault eject operation. Available only when Vault is licensed. For more information on how to configure a Vault policy, see Creating a Vault policy on page 199.
Check and configure Multiple copies, or Check Override policy storage selection, Override policy volume pool and specify the Retention.
Note: The selected storage unit selection should not be Any Available.
The January 1 full backup includes all files and directories in the policy backup selections list. The subsequent differential incremental backups include only
123
the data that changed since the last full or differential incremental backup. If the disk fails sometime on January 4 (after the backup), the full backup and all three of the incremental backups are required for the recovery.
Retention requirements for differential and cumulative incremental backups Retention requirement
Longer
Comments
To restore all files requires the last full backup and all the differential incremental backups that have occurred since the last full backup. Therefore, all the differentials must be kept until the next full backup occurs. Each cumulative incremental backup contains all the changes that have occurred since the last full backup. Therefore, a complete restore requires only the most recent cumulative incremental in addition to the full backup.
Cumulative
Shorter
Relative backup and restore times for differential and cumulative incremental backups Backup time
Shorter
Restore time
Longer
Comments
Less data in each backup, but all differential incremental backups are required since the last full backup for a restore. This results in a longer restore time.
Relative backup and restore times for differential and cumulative incremental backups Backup time
Longer
Restore time
Shorter
Comments
More data in each backup, but only the last cumulative incremental is required for a complete restore (in addition to the full).
A combination of cumulative and differential incremental backups can be used together to get the advantages of both methods. For example, assume a set of schedules with the following backup frequencies and retention periods (notice that the differential incremental backups occur more often.) Table 4-7 Backup type
Full Cumulative incremental Differential incremental
Retention period
2 weeks 4 days 2 days
Day 1
Full
Day 2
Differential
Day 3
Cumulative
Day 4
Differential
Day 5
Cumulative
Day 6
Differential
Day 7
Full
Day 8
Differential
Every other day a differential incremental backup occurs, which usually has a minimum backup time. On alternate days, a cumulative incremental backup occurs, which requires more time than the differential backup, but not as much time as a full backup. The differential backup can now be expired. To recover all files may require (at most), two incremental backups in addition to the most recent full backup. The combination of backups usually means less restore time than if all differential incremental backups were used. The full backups can be done less often if the amount of data being backed up by the incremental backups is small.
125
For a full backup, NetBackup backs up files regardless of the state of their archive bit. After a full backup, the archive bit is always cleared. For a differential incremental backup, NetBackup backs up the files that have the archive bit set and have therefore been changed. When the client receives a response from the server that indicates that the backup was successful (or partially successful) the archive bits are cleared. The clear archive bit allows the next differential incremental to back up only the files that have changed since the previous full or differential incremental backup. For a cumulative incremental backup, NetBackup backs up the files that have the archive bit set. However, NetBackup does not clear the archive bits after the backup. Without a clear archive bit, the next cumulative incremental backup backs up changed files and the files that were in the cumulative incremental backup.
If Perform incrementals based on archive bit is disabled, NetBackup includes a file in an incremental backup only if the datetime stamp of the file has been changed since the last backup. The datetime stamp indicates when the file was last backed up.
For a full backup, NetBackup backs up files regardless of the datetime stamp. For a differential incremental backup, NetBackup compares the datetime stamp of the file against the last full or incremental backup. For a cumulative incremental backup, NetBackup compares the datetime stamp of the file against the last full backup.
If files are installed or copied from another computer, the new files retain the datetime stamp of the originals. If the original date is before the last backup date, the new files are not be backed up until the next full backup.
mtime: The file modification time. The file system updates the mtime for a file or directory each time the file is modified. An application can save the mtime of the file before modifying it. The application then resets it with the utime(2) system call. atime: The file access time. The file system updates the atime for a file or directory each time the file is accessed (read or write). An application can save the atime of the file before accessing it. The application then resets it with the utime(2) system call. ctime: The inode change time. The ctime for a file or directory is updated each time the file or directorys inode is changed. (For example, changes due to permissions, ownership, and link-counts changes.) The ctime for a file or directory cannot be saved before and reset after a change. The ctime of a file or directory is changed when the mtime and atime (changed with the utime(2) system call) is reset.
UNIX man pages contain a definition of these attributes. When NetBackup reads the data for a file that is included in a backup, it does not affect the file modification time. It does affect the access time of the file. For this reason, NetBackup saves the atime and mtime of the file before it reads the file. Then NetBackup resets the atime and mtime with the utime(2) system call. NetBackup does not cause problems for storage migration products or the administrator scripts that use file access times (atime) as criteria for their operations. While this benefit is obvious, a side effect is that it does update the ctime of the file. Customers can configure NetBackup so that it does not reset the access time of the file after it reads a file. Customers can choose to have NetBackup use the ctime and the mtime of the file, to determine what files to include in an incremental backup. Normally, these two options are used together, but there may be some sites that want to use one without the other. By default, NetBackup uses only the mtime of the file to determine what files and directories to back up. When a file is moved from one location to another, the ctime of the file changes, but the mtime remains unchanged. If NetBackup uses only the mtime to determine the files that are due during an incremental backup, it does not detect these moved files. For sites where using the mtime might create a problem, use the ctime to determine files due to be included in an incremental
127
backup. The ctime is used if the bp.conf file contains the USE_CTIME_FOR_INCREMENTALS and DO_NOT_RESET_FILE_ACCESS_TIME entries. When a directory is moved from one location to another, the ctime of the directory changes, but the mtime remains unchanged. Neither the mtime nor the ctime are changed for the files or directories within the moved directory. No reliable method using file timestamps can determine that files within a moved directory need to be included in an incremental backup. In either case, these moved files and directories are included in subsequent full backups.
Synthetic backup
A synthetic full or synthetic cumulative incremental backup is a backup assembled from previous backups. The backups include one previous, traditional full backup, and subsequent differential backups and/or a cumulative incremental backup. (A traditional full backup means a non-synthesized, full backup.) A client can then use the synthesized backup to restore files and directories in the same way that a client restores from a traditional backup. Synthetic backups can be written to tape or to disk storage units, or a combination of both. For more information on synthetic backups, see More about synthetic backups on page 201.
129
For example, assume that a schedule is set up for a full backup with a frequency of one week. If NetBackup successfully completes a full backup for all clients on Monday, it does not attempt another backup for this schedule until the following Monday. A frequency-based relocation schedule determines how often images are swept from the basic disk staging storage unit to the final destination storage unit. (A relocation schedule is created as part of a basic disk staging storage unit configuration.) To set the frequency, select a frequency value from the drop-down list. Select a Frequency of hours, days, or weeks. Note: Frequency does not apply to user schedules because the user can perform a backup or archive whenever the time window is open.
Note: A policy can contain more than one schedule. Symantec recommends, however, that calendar-based and frequency-based schedule types are not mixed within the same policy. Under some conditions, schedule types that are combined in one policy can cause unexpected results.
Extend the time between full backups for the files that seldom change. A longer frequency uses fewer system resources. It also does not significantly increase recovery time because the incremental backups between full backups are smaller.
Shorter the time between full backups for the files that change frequently. A shorter frequency decreases restore time. A shorter time between full backups can also use fewer resources: it reduces the cumulative effect of the longer incremental backups that are necessary to keep up with frequent changes in the files.
To achieve the most efficient use of resources, ensure that most of the files in a given policy change at about the same rate. For example, assume that half of the files in a policy selection list change frequently enough to require a full backup every week. However, the remaining files seldom change and require monthly full backups only. If all the files are in the same policy, full backups are performed weekly on all the files. This wastes system resources because half the files need full backups only once a month. A better approach is to divide the backups into two policies, each with the appropriate backup schedule, or to use synthetic backups.
Jobs from the schedule with the lower frequency (longer period between backups) always have higher priority. For example, a schedule with a backup frequency of one year has priority over a schedule with a backup frequency of one month. If NetBackup encounters a backup policy with two schedules (one full, one incremental) that are each due to run:
if each is configured with the same frequency value, the schedule that is first alphabetically runs first. For example, NetBackup prioritizes the following three schedules in the following order: 1 2 3 monthly_full (frequency is one month) weekly_full (frequency is two weeks) daily_incremental (frequency is one week)
If all three schedules are due for a client, NetBackup adds the job for the monthly full to the worklist and skips the other two. How NetBackup prioritizes each backup job that it adds to its worklist is explained in Chapter 3 of the NetBackup Administrators Guide, Volume II.
131
Instant recovery
The Instant recovery options are available under the following conditions:
The Snapshot Client option is licensed and installed. Refer to the NetBackup Snapshot Client Administrators Guide. Perform snapshot backups is selected. Retain snapshots for Instant Recovery is selected.
Snapshots only
With this attribute is enabled, the snapshot is not backed up to tape or to other storage. NetBackup creates a snapshot on disk only. This option is required for the NAS_Snapshot method. The snapshot is created on the same device as the one that contains the original data if it uses VxFS_Checkpoint method or is vxvm space-optimized. In this case, another policy can be used to back up the data to a separate device. With this attribute enabled, transaction logs are not be truncated at the end of the backup.
Multiple copies
With the Multiple copies attribute enabled, NetBackup can create up to four copies of a backup simultaneously. The storage units must be on the same media server with sufficient resources available for each copy. For example, to create four copies simultaneously in a Media Manager storage unit, the unit needs four tape drives. (This option is sometimes referred to as Inline Copy.) The Maximum backup copies property specifies the total number of backup copies that may exist in the NetBackup catalog (2 through 10). NetBackup creates the number of copies that is specified under Multiple copies, or the number that the Maximum backup copies property specifies, whichever is fewer. For more information, see Maximum backup copies on page 437. To create more than four copies, additional copies may be created at a later time using duplication. The storage units that are used for multiple copies must be configured to allow a sufficient number of concurrent jobs to support the concurrent copies. (The pertinent storage unit settings are Maximum concurrent jobs and Maximum concurrent write drives.)
If multiple original images are created simultaneously, the backup time that is required may be longer than for one copy. Also, if both Media Manager and disk storage units are specified, the duration of disk write operations match that of slower removable media write operations. Note: The Multiple copies option does not support the following storage types: third-party copies or optical devices. Also, Multiple copies does not support the storage units that use a QIC (quarter-inch cartridge) drive type.
133
2 3 4
Select the Schedules tab. Double-click an existing schedule or click New to create a new schedule. In the Attributes tab, select Multiple copies, then click Configure. The Configure Multiple Copies dialog appears. Note: The Multiple Copies option may not be enabled for selection. It may be disabled if the destination for this policy is a storage lifecycle policy. (The destination selection is on the policy Attributes tab.) If the lifecycle has multiple destinations configured, that implies a multiple copies operation. NetBackup does not allow the two methods for created multiple copies to be enabled at the same time.
In the Copies field, specify the number of copies to create simultaneously. The maximum is four, or the number of copies that the Maximum backup
copies setting specifies, whichever is fewer. For more information, see Maximum backup copies on page 437.
Copy 1 is the primary copy. If Copy 1 fails, the first successful copy is the primary copy. Note: To configure multiple copies as part of a relocation schedule for a basic disk staging storage unit, set the Maximum backup copies Global host property to include an additional copy beyond the number of copies to be created in the Multiple Copies dialog. For example, to create four copies in the Multiple Copies dialog, the Maximum backup copies property must be set to five or more. For more information, see Multiple copies and disk staging storage units on page 132. 6 7 Specify the priority that the duplication job has compared to other jobs in the queue (0 to 99999). Specify the storage unit where each copy is stored. Select Any_Available to allow NetBackup to select the storage unit at runtime. If a Media Manager storage unit contains multiple drives, the storage unit can be used for both the original image and the copies. Specify the volume pool where each copy is stored. Select the retention level for each copy. For more information, see Retention on page 138.
8 9
10 Select what should happen to the copy in the event that the copy does not complete. Select whether the entire job should fail (fail all copies), or whether the remaining copies should continue. If a copy is configured to allow other copies to continue, and if Checkpoint restart is selected for this policy, only the last failed copy that contains a checkpoint can be resumed. 11 For tape media, specify who should own the media onto which NetBackup writes the images:
135
Any lets NetBackup choose the media owner, either a media server or server group. None specifies that the media server that writes to the media owns the media. No media server is specified explicitly, but you want a media server to own the media. A server group. Specifying a media server group allows only those media servers in the group to write to the media on which backup images for this policy are written. All media server groups configured in the NetBackup environment appear in the drop-down list.
Note: These settings do not affect images residing on disk. Images on shared disk are not owned by any one media server. Any media server with access to the shared pool of disk can access the images. 12 Click OK, until the policy is saved. To configure a basic disk staging relocation schedule to create multiple copies 1 Expand NetBackup Management > Storage Units.
Double-click an existing basic disk staging storage unit, or Select Actions > New > New Storage Unit to create a new basic disk staging storage unit. To create a new basic disk staging storage unit, select the Temporary staging area checkbox and configure the other storage unit selections.
2 3
Click the Staging Schedule button. The Disk Staging dialog appears. In the Attributes tab, specify the priority that NetBackup should assign to the duplication jobs have compared to other jobs in the queue. Range: 0 (default) to 99999 (highest priority). Select a schedule type and schedule when the policy should run. Select whether to use an alternate read server by checking Use alternate read server. The alternate server that is indicated is allowed to read a backup image originally written by a different media server. Select Multiple copies, then click Configure. The Configure Multiple Copies dialog appears. In the Copies field, specify the number of copies to create simultaneously. Copy 1 is the primary copy. If Copy 1 fails, the first successful copy is the primary copy. The Maximum backup copies Global host property must include an additional copy beyond the number of copies indicated in the Copies field.
4 5
6 7
For example, to create four copies in the Multiple Copies dialog, the Maximum backup copies property must be set to five or more. For more information, see Multiple copies and disk staging storage units on page 132. 8 Specify the storage unit where each copy is stored. If a Media Manager storage unit has multiple drives, it can be used for both the source and the destination. Specify the volume pool where each copy is stored.
10 Select the retention level for each copy. For more information, see Retention on page 138. 11 Select what should happen in the event that the copy does not complete. Select whether the entire job should fail, or whether the remaining copies should continue. Click OK. If:
Checkpoint restart is selected for this policy, then only the last failed copy that contains a checkpoint can be resumed. 12 For tape media, specify who should own the media onto which NetBackup writes the images:
Any lets NetBackup choose the media owner, either a media server or server group. None specifies that the media server that writes to the media owns the media. No media server is specified explicitly, but you want a media server to own the media. A server group. Specifying a media server group allows only those media servers in the group to write to the media on which backup images for this policy are written. All media server groups configured in the NetBackup environment appear in the drop-down list.
Note: These settings do not affect images residing on disk. Images on shared disk are not owned by any one media server. Any media server with access to the shared pool of disk can access the images.
137
Click the check box to override the Policy storage selection that is indicated in the Attributes tab. Choose the storage unit or lifecycle from the drop-down list of previously configured storage units and lifecycle policies. If the list is empty, no storage units or lifecycles have been configured. If a data classification is indicated for the policy, only those storage lifecycles with the same data classification are displayed. For more information, see Data classification on page 90. To use only the policy storage selection that is indicated by the Policy storage setting in the Attributes tab, do not enable the check box. For more information, see Policy storage on page 91.
Note: Storage lifecycle policies cannot be selected within the multiple copies configuration dialog.
To override the volume pool that the Policy Volume Pool General Attribute specifies, select the check box. Choose the volume pool from the list of previously configured volume pools. To use the policy volume pool, do not select the check box. NetBackup uses the volume pool that is specified in the Policy volume pool General Attribute. If no policy volume pool is specified, NetBackup uses NetBackup as the default. If the policy is for a NetBackup catalog, NBU-Catalog policies use CatalogBackup.
Any lets NetBackup choose the media owner. NetBackup chooses a media server or a server group (if one is configured). None specifies that the media server that writes the image to the media owns the media. No media server is specified explicitly, but you want a media server to own the media. A server group. A server group allows only those servers in the group to write to the media on which backup images for this policy are written. All server groups that are configured in the NetBackup environment appear in the drop-down list.
To override the media owner that the Media Owner General Attribute specifies, select the check box. Choose the media owner from the drop-down list To use the policy media owner, do not select the check box. NetBackup uses the media owner that is specified in the Media Owner General Attribute.
Retention
The Retention attribute specifies how long NetBackup retains the backups. To set the retention period, select a time period (or level) from the drop-down list. When the retention period expires, NetBackup deletes information about the expired backup. Once the backup expires, the files in the backup are unavailable for restores. For example, if the retention is two weeks, data can be restored from a backup that this schedule performs for only two weeks after the backup. If a policy is configured to back up to a lifecycle, the Retention attribute in the schedule is not followed. The retention indicated in the lifecycle is followed instead. (See Adding storage destinations to a lifecycle policy on page 255.)
139
outside of the retention requirement guidelines. For example, place the files and directories with longer retention requirements in a separate. Schedule longer retention times for the separate policies without keeping all policies for the longer retention period. Another consideration for data retention is off-site storage of the backup media. Off-site storage protects against the disasters that occur at the primary site. Set the retention period to infinite for the backups that must be kept for more than one year.
One method to implement off-site disaster recovery is to use the duplication feature to make a second copy for off-site storage. Another approach is to send monthly or weekly full backups to an off-site storage facility. To restore the data, request the media from the facility. (Note that a total directory or disk restore with incremental backups requires the last full backup plus all incremental backups.) Consider configuring an extra set of schedules to create the backups to use as duplicates for off-site storage.
Ensure that adequate retention periods are configured, regardless of the method that is used for off-site storage. Use the NetBackup import feature to retrieve expired backups.
NetBackup does not track backups after the retention period expires. Assign an adequate retention period as recovering files after the retention period expires is difficult or impossible. Within a policy, assign a longer retention period to full backups than to incremental backups. It may not be possible to restore all the files if the full backup expires before the incremental backups. Archive schedules normally use an infinite retention period. For WORM (write once, read many) optical platters, or tape, set the retention to infinite. If infinite is unacceptable because of NetBackup database space limitations, set the retention period to match the length of time that the data is to be retained. For the retention periods that are less than infinite, delete the WORM media from the Media Manager configuration upon expiration. If not deleted, Media Manager reallocates the media for future backups. (The media is reallocated, even though WORM can be written only once.)
141
If you keep only one retention level on each volume, do not use any more retention levels than necessary. Multiple retention levels increase the number of required volumes. For more information, see Media properties on page 446. Note: Retention levels may be mixed on disk volumes with no restrictions.
Media multiplexing
The Media multiplexing attribute specifies the number of jobs from the schedule that NetBackup can multiplex onto any one drive. Multiplexing sends concurrent backup jobs from one or several clients to a single drive and multiplexes the backups onto the media. Specify a number from 1 through 32, where 1 specifies no multiplexing. For more information on how to configure multiplexed backups and the ramifications of multiplexing, see Chapter 3 in the NetBackup Administrators Guide, Volume II. Note: Some policy or some schedule types do not support media multiplexing. The option cannot be selected in those instances.
Note: The relocation schedule that was created for the basic disk staging storage unit is not listed under Schedules in the NetBackup Administration Console when Policies is selected.
143
Time window
Indicate how long the time window remains open by setting a duration time or by choosing an End day and End time:
To indicate the duration of the time window: Once the opening (or the start) of the window is selected, click the up and down arrows to the right of Duration (days, hours, minutes). To indicate the close (or the end) of the time window:
Click the arrow to the right of End day and select the last day in the time window. Then, click the up and down arrows to the right of End time to select when the time window ends. Time windows show as bars in the schedule display. 4 If necessary, click a time window to perform actions by the following Start Window buttons:
Delete: Deletes the selected time window. Clear: Removes all time windows from the schedule display. Duplicate: Replicates the time window for the entire week. Undo: Erases the last action.
Click another tab to make additional selections, or click Add or OK to add the schedule as it is to the Schedule tab.
Duration example
The following figure represents the effect of schedule duration on two full backup schedules. The start time for schedule B begins shortly after the end time for previous schedule A. Both schedules have three clients with backups due.
Client A1 Client A2
Client A3 starts within the Schedule A window but doesnt complete until after the Schedule B start time. Client A3 Client B1 Client B2 Client B3 is unable to start because the window has closed. Client B3
The backup for client A3 in Schedule A does not finish until after the Schedule B window has opened. Schedule A does not leave enough time for the Schedule B backups. Client B3 must wait until the next time NetBackup runs Schedule B. Client A3 illustrates that if a backup starts, it runs to completion even if the window closes while the backup is running.
145
Click New. Enter the month, day, and year in the Date selection dialog. Click OK. The date appears in the Exclude Dates list. 3 After the dates are selected, select another tab to make changes or click OK to close the dialog.
Select Calendar on the Attributes tab to enable the Calendar Schedule tab
The Calendar Schedule tab displays a 3-month calendar. Use the controls at the top of the calendar to change the month or year.
147
To schedule a task on specific dates 1 In the Calendar Schedule tab, select Specific Dates.
Click New. Enter the month, day, and year in the Date Selection dialog. Click OK. The date appears in the Specific Dates list. 3 4 To remove a date, select it in the calendar schedule list and click Delete. After the dates are selected, select another tab to make changes or click OK to save and close the dialog.
To schedule a recurring weekly task 1 In the Calendar Schedule tab, select Recurring Week Days.
Matrix
2 3 4 5 6
If necessary, click Deselect All to remove existing selections from the matrix. Click a check box in the matrix to select the day. Or, click a check box to clear it. Click the name of the day column header to select or clear the corresponding day for each week of the month. Click a row number to select or clear the entire week. Click the check box for the appropriate day in the Last row to schedule a task for the last week of each month. The task is scheduled, regardless of the number of weeks in the month. After the dates are selected, select another tab to make changes or click OK to save and close the dialog.
149
To schedule a recurring monthly task 1 In the Calendar Schedule tab, select Recurring Days of the Month.
Matrix
2 3 4 5 6
If necessary, click Deselect All to remove existing selections from the matrix. To select all of the days in every month, click Select All. Select the button for each day to be included in the run schedule. Click the button again to deselect the day. Select the Last Day check box to run the schedule on the last day of the month, regardless of the date. After the dates are selected, select another tab to make changes or click OK to save and close the dialog.
A new backup policy is created on Monday afternoon. The windows are configured to be open from 6 p.m. until 6 a.m., Sunday through Saturday.
In the Calendar Schedule tab, the schedule is set up to run on every week day, Monday through Saturday.
3 4
No backups from the policy exist yet because it is a new policy. Since today (Monday) is a run day, a job runs as soon as the window opens at 6 p.m. At midnight, it is a new day (Tuesday) and a window is open (until 6 a.m.) so the job is due and runs again. The backups continue to run soon after midnight from that time forward.
Notice how the backup runs before midnight, then again immediately after midnight. Both jobs are valid since both have different run days and windows are open at both times (6 a.m. through 6 p.m. every day of the week). Windows that span midnight become two separate windows for calendar schedules.
151
To run jobs at 6 p.m. instead of midnight, use a frequency of one day instead of recurring days in the Calendar Schedule tab.
What are the most convenient times for users to perform backups? If possible, do not permit user backups and archives when automatic backups are running. If an automatic backup is running when a user submits a backup or archive, NetBackup usually queues the user job. The job is not queued if there is a limiting setting. (For example, the Limit Jobs per Policy policy attribute or the Maximum Jobs per Client Global Attributes host property.)
If the automatic backup continues to run, the user job misses the backup window. User jobs delay automatic backups and can cause backups to miss the backup window. See Limit jobs per policy on page 97 and Maximum jobs per client on page 436.
Which storage unit should be used for user backups? Use a different storage unit to eliminate conflicts with automatic backups. Which volume pool should be used for user backups? Use a different volume pool if you want to manage the media separate from the automatic backup media.
Caution: If the retention period expires for a backup, it can be difficult or impossible to restore the archives or backups.
How long should an archive be kept? Consider setting the retention period for archives to infinite, since the disk copy of the files is deleted. For more information, see Retention on page 138.
On Microsoft Windows clients, start the Backup, Archive, and Restore client interface. Click File > NetBackup Client Properties and select the Backups tab. Specify the backup policy and backup schedule. On NetWare target clients, specify the policy and schedule with backup_policy and backup_sched entries in the bp.ini file. (See the NetBackup NetWare users guide). On UNIX clients, specify the policy and schedule with BPARCHIVE_POLICY, BPARCHIVE_SCHED, BPBACKUP_POLICY, or BPBACKUP_SCHED options in the bp.conf file.
153
Example policies
The following tables show the clients, backup selection list, and schedules of two example backup policies. Policy 1 specifies that files in /usr and /home be backed up for the clients mars, jupiter, and neptune. This policy has daily and weekly automatic schedules, and a user backup schedule. All backups go to 8mm tape. Example Policy 1 Clients
mars jupiter neptune
Schedules
Daily Incremental Backups
Run every day between 6 p.m. and 6 a.m. Store on 8mm tape. Keep 14 days. Run Mondays every week between 6 p.m. and 6 a.m. Store on 8mm tape. Keep one month. User can run any day between 8 a.m. and 5 p.m. Store on 8mm tape. Keep one year.
User Backups
Policy 2 contains different scheduling requirements: the policy contains the monthly full backups that are written to DLT tape. Example Policy 2 Clients
pluto mercury
Schedules
Daily Incremental Backups
Run every day between 6 p.m. and 6 a.m. Store on 8mm tape. Keep 14 days. Run Tuesdays every week between 6 p.m. and 6 a.m. Store on 8mm tape. Keep one month. Run Sundays every month between 6 p.m. and 6 a.m. Store on DLT tape. Keep one year.
Clients
mercury mars jupiter neptune
155
/h002/devexp and /h002/desdoc on mercury. Those files are sent to DLT tape. Other files on mercury go on 8mm tape. If it is necessary to keep backups for some files on separate media, create a policy that specifies a unique volume pool for those backups. Then, add the media for that volume pool.
Policy
S1
Clients
mercury
Files
/usr /h001 /h002/projects /h002/devexp /h002/desdoc
Storage
8mm
S2
mercury mercury
DLT
Best times for backups to occur. To back up different clients on different schedules, create more policies. For example, create different policies for night-shift and day-shift clients. In our example, we can back up all clients during the same hours so additional policies are not necessary. How frequently the files change. If some files change infrequently compared to other files, back up the files on a different schedule. To use a different schedule, create another policy that has an appropriate schedule and then include the files and clients in that policy. In our example, the root (/) file system on mercury is in a different policy (S3). The root(/) file system on the workstations is also in a separate policy (WS2). How long backups need to be kept. Each schedule has a retention setting that determines how long NetBackup keeps the files that are backed up by the schedule. Because the schedule backs up all the files in the backup selection list, all files should have similar retention requirements. Do not include the files whose full backups must be retained forever, together in a policy where full backups are retained for only four weeks.
In the example, /h002/desdoc on mercury is in a different policy (S4). /h002/desdoc requires full backups every 12 weeks and those backups must be retained much longer than the other files on mercury.
Policy Clients
S1 mercury
File selections
Frequency of Change
high
Storage
8mm
Daily incremental backups Weekly full backups Full backups every 4 weeks Daily incremental backups Weekly full backups Full backups every 4 weeks Daily incremental backups Full backups every 4 weeks Daily incremental backups Weekly full backups Full backups every 4 weeks Full backups every 12 weeks Daily incremental backups Weekly full backups Full backups every 4 weeks
S2
mercury
high
DLT
S3
mercury
low
8mm
S4
mercury
/h002/desdoc
high
DLT
WS1
high
8mm
WS2
low
8mm
Policy Type. You must use the correct policy type for each client. For example, include Windows XP and Windows 2000 clients in a MS-Windows-NT policy. For more information, see Policy type on page 88. Follow NFS. Select this attribute if a UNIX client has NFS mounted files to be backed up. Consider placing these clients in a separate policy so problems
157
with NFS do not affect the other clients. For more information, see Follow NFS on page 101.
Cross Mount Points. Select this attribute if you want NetBackup to cross mount points on UNIX or Windows clients in the policy. For more information, see Cross mount points on page 103. Backup Network Drives. Select this attribute to back up the files that the client stores on network drives (applies only to MS-Windows-NT policies). For more information, see Backup network drives on page 100. Compression. Set this attribute if you want a client to compress its backups before sending them to the server. Note that the time to compress can increase backup time and make it unsuitable to use for all clients. For more information, see Compression on page 105. Job Priority. Use this attribute to control the order in which NetBackup starts the backups. The clients with the higher priority are backed up first. For more information, see Job priority on page 98. In our example, no extra policies are required because of general attribute settings.
See Allow multiple data streams on page 112 in this guide and Using multiple NetBackup master servers in Chapter 1 of the NetBackup Administrators Guide, Volume II.
Policy
S1
Clients
mercury
File selections
Frequency of Change
high
Storage
8mm
/usr /h001
Daily incremental backups Cumulative incremental backups Full backups every 4 weeks Daily incremental backups Cumulative incremental backups Full backups every 4 weeks Daily incremental backups Cumulative incremental backups Daily incremental backups Weekly full backups Full backups every 4 weeks Full backups every 12 weeks Daily incremental backups Weekly full backups Full backups every 4 weeks Daily incremental backups Weekly full backups Full backups every 4 weeks
S2
mercury
/h002/devexp
high
DLT
S3
mercury
low
8mm
S4
mercury
/h002/desdoc
high
DLT
S5
mercury
/h002/projects
high
8mm
WS1
high
8mm
WS2
low
8mm
159
Clients tab
The Clients tab contains a list of clients to be backed up (or acted upon) by the selected policy. A client must be included in the list of at least one backup policy to be backed up. A client can be placed in more than one backup policy can be useful. For example, place the client name in two policies to back up different sets of files on the client according to different policy rules. NetBackup software can be installed on UNIX client machines from the Clients tab. Note: The Clients tab does not appear for Vault or Catalog policy types. To add a client to a policy 1 In the NetBackup Administration Console, expand NetBackup Management > Policies.
2 3
Double-click the policy in the middle pane. Select the Clients tab and click New. The Add Client dialog appears. Observe the following rules for assigning client names:
Use a name by which the server knows the client (one that you can use on the server to ping or telnet to the client). If the client is in multiple policies, use the same name in each policy. If the network configuration has multiple domains, use a more qualified name. For example, use mars.bdev.null.com or mars.bdev rather than only mars. Add only clients with the hardware and the operating systems that this policy supports.
Click the Hardware and operating system list box, then select the entry in the list.
Add only clients with the hardware and the operating systems that this policy supports. For example, do not add a Novell NetWare client to an MS-Windows-NT policy. If you add a client to more than one policy, designate the same hardware and operating system in each of the policies. Note: If the hardware and the operating system you want is not in the list, associated client software is not installed on the server. Check the /usr/openv/netbackup/client directory for the directories and software that corresponds to the client you want to install. If the directories or software are not there, rerun the installation script on the server and choose the option to install client software. (See the NetBackup installation guide that came with your software.) 5 Click OK. To add another client, click Add. Click Close to cancel the changes that you have not yet added and close the Add Client dialog.
You can install the client software only from a UNIX NetBackup server. The server must be the server that was specified in the login dialog when the interface was started. This server must also be the master where you currently manage backup policies and clients must be in a policy on this master. Each client to be installed must have an entry for the current master server in its /.rhosts file. If these entries exist, the clients are referred to as trusting clients. The /.rhosts entries for the master server are not required for correct operation of NetBackup and you can remove them after installing the client software.
To install UNIX client software 1 In the NetBackup Administration Console, expand NetBackup Management > Policies. If you want to install client software, you cannot use the File > Change Server command to get to another master server. The master server must be the server that you specified in the login dialog.
161
Select the master server name at the top of the All Policies middle pane.
3 4
Click Actions > Install UNIX Client Software. The Install UNIX Client Software dialog appears. In the Dont install these clients box, select the clients you want to install and click the right arrows. The clients are moved to the Install these clients field.
Click the Install Client Software button to start the installation. Client software installation can take a minute or more per client. NetBackup writes messages in the Progress box as the installation proceeds. If the installation fails on a client, NetBackup notifies you but keeps the client in the policy. You cannot stop the installation once it has started.
Copies the client software from the /usr/openv/netbackup/client directory on the server to the /usr/openv/netbackup directory on the client.
Adds the required entries to the clients /etc/services and inetd.conf files. To install client software to a different location on the client, first create a directory where you want the software to reside. Then create /usr/openv/netbackup as a link to that directory before installing software.
163
Standard, Exchange, and Lotus Notes policy types list paths and directives. See Backup selections list for standard policies on page 163. Depending on the database type, the backup selection list for database policies contains different types of objects. See Backup selections list for database policies on page 165.
For Exchange and Lotus Notes, the list contains paths and directives. For MS-SQL-Server, Informix-On-BAR, SAP, and Sybase, the list contains the scripts that define and control the database backup, including how the client uses multiple streams. For Oracle and DB2, the list contains scripts and templates.
Vault policy types list only Vault commands in the backup selections list. For more information, see Creating a Vault policy on page 199.
To add or change backup selections for a standard, Exchange, or Lotus Notes policy 1 In the NetBackup Administration window, expand NetBackup Management > Policies.
2 3 4 5
Double-click the policy where you want to change the backup selections list. The Change Policy dialog appears. Click the Backup Selections tab. To add an entry, click New. The Add Backup Selections dialog appears. Select a path or directive:
Type the name of the path in the Pathname or Directive field. For file path information, see Pathname rules for UNIX clients on page 176 and Path rules for Microsoft Windows clients on page 170. Click the drop-down arrow and select a directive in the Pathname or Directive field. Click Add to include the path or directive to the list.
For information on the benefits of directives, see Backup selections list directives: General discussion on page 185. If the Allow Multiple Data Streams general policy attribute is enabled, see Backup selections list directives for multiple data streams on page 189. For separately-priced options, also see the NetBackup guide for the option. Note: Paths may contain up to 1023 characters. 6 To rearrange the selections in the selection list:
165
To delete an entry, select the entry and click Delete. To rename an entry, select it and click Change. The Change Backup Selection dialog appears. Make your changes and press OK.
To verify that the entries on the selections list are accurate, see Verifying the backup selections list on page 167.
To add templates or scripts to the backup selections list 1 2 3 4 5 In the NetBackup Administration window, expand NetBackup Management > Policies. Double-click the policy where you want to add or change templates or scripts. The Change Policy dialog appears. Click the Selections tab. To add an entry, click New. To insert an entry within the current list, select an item and click Insert. The Add Backup Selection dialog appears. Specify the backup selections:
Templates: For Oracle policies: From the Template set list, choose a template set by operation.
For both Oracle and DB2 policies: Choose the correct template from the drop-down Script or template list, or type the name of a template. Templates are stored in a known location on the master server and do not need to be installed on each client in the Clients list. Enter only the template file name, without a path. For example: weekly_full_backup.tpl
Shell scripts: Specify the full path to list scripts. Be sure that the scripts that are listed are installed on each client in the Client list. Specifying an Oracle script example: install_path/netbackup/ext/db_ext/oracle/samples/rman /cold_database_backup.sh Specifying a DB2 script example: /myscripts/db2_backup.sh
6 7
To change the order of the backup selections, select one and click Up or Down. Click OK to add the selection to the selection list.
Multiple storage devices are available (or if the policies are multiplexed). The Maximum Jobs per Client Global host property, and the Limit Jobs per Policy policy attributes are set to allow it.
Note: Understand disk and controller I/O limitations before configuring including a client in multiple policies. For example, if two file systems overload the client when backed up in parallel, place both file systems in the same policy. Schedule the file systems at different times or set Maximum Jobs per Client to 1.
167
The example produces two concurrent data streams. The first data string contains file_a, file_b, and file_c. The second data stream contains file_d, file_e, and file_f. For more information, see Allow multiple data streams on page 112. Note: For best performance, use only one data stream to back up each physical device on the client. Multiple concurrent streams from a single physical device can cause longer backup times. The tape heads must move back and forth between tracks containing files for the respective streams. A directive instructs NetBackup to perform specific actions to process the files in the backup selections list.
The script can reveal mistakes in the selections list that make it impossible for NetBackup to find the files. This results in files being skipped in the backup. If a path is not found, NetBackup logs a trivial (TRV) or warning (WRN) message. However, the job may end the backup with a status code 0 (successful). Usually, to report files missing from the backup selections list is not helpful, since not all files are expected to be present on every client. However, check the logs or use the check_coverage script to ensure that files are not missed due to bad or missing backup selections list entries. The following examples show the log messages that appear when files on a client are not found. For information on check_coverage, see the comments in the script.
This message occurs if /worklist is not the correct path name. For example, if the directory name is /worklists but /worklist was typed. Note: If the paths seem correct and the message continues to appear, ensure that no trailing spaces appear in the paths.
169
You must resolve the symbolic link if you do not intend to back up the symbolic link itself.
Pathname rules for UNIX clients on page 176. Path rules for Microsoft Windows clients on page 170. Path rules for NetWare NonTarget clients on page 183. Path rules for NetWare Target clients on page 185. Path rules for clients running extension products on page 185.
File backups
Microsoft Windows path conventions, UNIX path conventions, or a combination of the two can be used in the backup selections list.
Enter one path per line. Begin all paths with the drive letter followed by a colon (:) and a backslash (\). Note: The drive letter is case-insensitive, however, the path is case-sensitive. For example, c:\Worklists\Admin\ To specify an entire volume, append a backslash (\) to the entry to ensure that all data is protected on that volume: Correct entry: c:\ Incorrect entry: c:
Precede each component in the path with a backslash. If the last component in the path is a directory, follow it with a backslash (\) as well. The trailing backslash is not required but serves as a reminder that the path is to a directory instead of a file: c:\users\net1\ If the last component is a file, include the file extension and omit the backslash from the end of the name: c:\special\list.txt
171
Allowable wildcard characters are the same as those allowed in Windows paths: * ? For more information, see Using wildcards in NetBackup on page 632. To back up all local drives except for those that use removable media, specify: :\ or *:\ or ALL_LOCAL_DRIVES The following drives are not backed up: floppy disks, CD-ROMs, and any drives that are located on remote systems but mounted on a system through the network. By default, NetBackup does not back up the files that are described in Files that are excluded from backups by default on page 194. Exclude specific files from backups by creating an exclusion list on the client. For more information, see Excluding files from automatic backups on page 195.
c:\ d:\workfiles\ e:\Special\status c:\tests\*.exe
Begin each line with a forward slash (/). Omit the colon (:) after the drive letter. Specify / to back up all local drives except for those that are removable.
/c/ /d/workfiles/ /e/Special/status /c/tests/*.exe
To specify a disk-image backup, add the logical name for the drive to the policy backup selection list. The format in the following example backs up drive C.
\\.\c:
Disk-images can be included in the same backup selection list with other backups:
\\.\c: d:\workfiles\ e:\Special\status HKEY_LOCAL_MACHINE:\
To restore the backup, the user first chooses Select for restore > Restore from Normal backup. When the backups are listed, the disk image appears as a file with the same name that was specified in the backup selection list. In this example:
\\.\c:
Select the disk image source, then enter the destination in the following format:
\\.\drive:
NetBackup first attempts to use Windows Open File Backup methods. If that fails, NetBackup locks the logical drive, which ensures that no changes occur during the backup. If there are open files on the logical drive, a disk-image backup is not performed. Before a disk image is backed up or restored, all applications that use a handle to the partition must be shut down. It the applications are not shut down, the operation fails. Examples of such applications are Windows Explorer or Norton Antivirus. Ensure that no active COW (Copy On Write) snapshots are in progress. If there is an active COW snapshot, the snapshot process itself has a handle open to the volume. NetBackup does not support raw partition backups on unformatted partitions.
173
For example, if Windows 2000 is installed in the c:\winnt directory, include any of the following paths to accomplish the backup:
c:\winnt\system32\config (backs up the entire config directory) c:\ (backs up the entire C drive) ALL_LOCAL_DRIVES System_State:\ (applies to Windows 2000/XP) Shadow Copy Components:\
Caution: To recover the registry, do not include individual registry files or HKEY entries in the selection list thats used to back up the entire registry. If you use a NetBackup exclude list for a client, do not exclude any registry files from your backups. To restore the registry in the case of a disk failure, see the Disaster Recovery chapter in the NetBackup Troubleshooting Guide for UNIX and Windows.
Remember, you cannot perform a disaster recovery by restoring HKEYs. In addition, backups and restores are slower than if the entire registry was backed up.
subsequent references means that only one backup copy of the data is created, regardless of the number of multiple hard links. If all hard-link references are restored, the hard-linked files continue to point to the same ID as the other files to which they are linked. However, if all the hard links are not restored, you can encounter anomalies as shown in the following examples.
Example 1
Assume that three hard links point to the same data. 1 During a backup of Link2 and Link3, Link2 is encountered first and backed up. Then Link3 is backed up as a link to Link2. The three files are all hard-linked to the same data.
Link1 Link2 Link3
Data
The original copies of Link2 and Link3 are backed up to tape, then deleted. Only Link1 is left on the disk.
On Disk On Tape
Link1
Link2
Link3
Data
Data
During a subsequent restore, Link2 and Link3 are restored. The restored files, however, do not point to the same file ID as Link1. Instead, they are assigned a new file ID or inode number and the data is written to a new place on the disk. The data in the new location is an exact copy of what is in Link1. The duplication occurs because the backup does not associate Link2 and L3 with Link1.
Link1 Link2 Link3
Data
Data
175
Example 2
Assume that you attempt to restore only Link3. Here, NetBackup cannot link Link3 to Link2 because Link2 does not exist. The restore can complete only if it can link to Link2. A secondary restore request to the NetBackup server automatically restores Link2, which contains the data. Link2 can now be successfully restored.
Enter one pathname per line. NetBackup supports a maximum path length of 1023 characters for UNIX clients. Begin all pathnames with a forward slash (/). The following wildcard characters are allowed:
* ? [ ] { }
If a backup selection list entry contains trailing spaces and a matching entry is not found, NetBackup deletes the spaces and checks again. If a match is not found, NetBackup skips the entry and logs a message in the Problems report or the All Log Entries report:
TRV - cannot process path pathname: No such file or directory. Skipping TRV - Found no matching file system for pathname
Pathnames that cross mount points or that the client mounts through NFS can affect the backup configuration. Read about the Follow NFS and Cross mount points attributes before you create a backup selection list. For more information, see Follow NFS on page 101 and Cross mount points on page 103. NetBackup can back up operating system, kernel, and boot files. NetBackup cannot, however, create bootable tapes. Consult your system documentation to create a bootable tape. By default, NetBackup does not back up the files that are described in Files that are excluded from backups by default on page 194. Exclude specific files from backups by creating an exclusion list on the client. For more information, see Excluding files from automatic backups on page 195. The Busy file settings host properties for UNIX clients offers alternatives for handling busy and locked files. For more information, see Busy File Settings properties on page 380.
177
On Solaris, HP-UX, AIX, Linux Red Hat 4 (and later), Linux SuSE SLE 9 (and later), and MAC 10.4 (and later) platforms, NetBackup backs up access control lists (ACLs). NetBackup can back up and restore Sun PC NetLink files. On IRIX 6.x and TRU64 Alpha platforms, NetBackup backs up extended file attributes. On IRIX platforms, NetBackup backs up and restores extended attributes attached to XFS file system objects. On TRU64 OSF/1 platforms, NetBackup backs up and restores extended attributes attached to files on AdvFS and UFS file systems. By default, NetBackup backs up and restores Solaris 9 and 10 extended attribute files. The FlashBackup single file restore program (sfr) does not restore extended attribute files. By default, NetBackup backs up and restores named data streams for VxFS 4.0 (Solaris SPARC) and VxFS 5.0 (Solaris SPARC, HP, and AIX). The FlashBackup single file restore program (sfr) does not restore extended attribute files. For more information, see Backup and restore of extended attribute files and named data streams on page 180. On Hewlett-Packard and Solaris SPARC platforms, NetBackup backs up VxFS extent attributes.
During a backup, if NetBackup encounters hard-linked directories, the directories are backed up once for each hard link. During a restore, NetBackup restores multiple copies of the hard-linked directory contents if the directories do not already exist on the disk. If the directories exist on disk, NetBackup restores the contents multiple times to the same disk location.
Use raw partition backups only if you can ensure that the files have not changed in any way during the backup. Or, in the case of a database, if you can restore the database to a consistent state by using transaction log files.
179
Do not perform backup archives of raw partitions on any client. An archive backs up the raw partition, then deletes the device file associated with the raw partition. The file system does not recover the space that the raw partition uses. Before backing up file systems as raw partitions, unmount the file system. Unmounting the file system allows buffered changes to be written to the disk. Also, it prevents the possibility that the file system would change during the backup. Use the bpstart_notify and the bpend_notify scripts to unmount and remount the backed-up file systems. The Cross mount points policy attribute has no effect on raw partitions. If the root partition is backed up as a raw partition and contains mount points to other systems, the file systems are not backed up. The other file systems are not backed up, even Cross mount points selected. For more information, see Cross mount points on page 103. The same is true for the Follow NFS policy attribute. NFS file systems that are mounted in a raw partition are not backed up. Nor can you back up raw partitions from other machines by using NFS mounts to access the raw partitions. The devices are not accessible on other machines through NFS. For more information, see Follow NFS on page 101. Specify the logical partition names for any disks that disk volume managers manage. (For example, Veritas Volume Manager (VxVm). For clients in a FlashBackup policy, refer to the NetBackup Snapshot Client Administrators Guide for the differences between Standard and FlashBackup policies.
Caution: Do not specify wildcards (such as /dev/rsd*) in pathnames for raw partition backups. Doing so can prevent the successful restore of entire devices, if there is overlap between the memory partitions for different device files. You can include raw partitions in the same backup selection list as other backups. For example: /home /usr /etc /devices/sbus@1,f8000000/esp@0,800000/sd@2,0:1h Note: NetBackup does not distinguish between full and incremental backups when it backs up a raw partition. The entire partition is backed up in both cases. Raw partition backups occur only if the absolute pathname in the backup selection list is a block or character special device file. You can specify either block or character special device files. Character special device files are often faster because character devices avoid the use of the buffer cache for accessed disk data. Test both a block and character special device file to ensure the optimum backup speed for your platform. Ensure that you specify the actual block- or character-device files. Sometimes these are links to the actual device files. If a link is specified, only the link is backed up. If the device files are reached while backing up /dev, NetBackup backs up only the inode files for the device, not the device itself.
Backup and restore of extended attribute files and named data streams
NetBackup can back up and restore the following file attributes:
Extended attribute files of the Solaris UNIX File System (UFS) and temporary file system (TMPFS)
181
NetBackup backs up extended attribute files and named data streams as part of normal file system backups. Extended attribute files and named data streams are normal files contained in a hidden attribute directory that relate to a particular base file. The hidden directory is stored within the file system, but can be accessed only by the base file to which it is related. To view which files have extended attributes on Solaris 9 (or greater) systems, enter: ls -@ Neither extended attribute files nor named data streams can be backed up or restored individually. Rather, the files are backed up and restored all at once along with the base file. Figure 4-9
File 1
File 1 is a base file on a Solaris or VxFS client Extended attributes backed up and restored as a group along with the base file
Hidden attribute directory for File 1 Extended attribute file 1 Extended attribute file 2 Extended attribute file 3 Extended attribute file 4
HP 11.23 running VxFS 4.1 or greater. Note: Access control lists (ACLs) are not backed up unless running VxFS 5.0 or greater. AIX running VxFS 4.0 or greater. Note: ACLs are not backed up unless running VxFS 5.0 or greater. Solaris SPARC 8, 9, 10 running VxFS 5.0 or greater Solaris SPARC 9, 10 running VxFS 4.0 or greater
A NetBackup media server: Restores: Only NetBackup media servers at 5.0 or later can restore VxFS named data streams and Solaris extended attributes. Backups: A NetBackup media server of any version can successfully back up named data streams and Solaris extended attributes.
A NetBackup master server: A NetBackup master server of any version can back up and restore named data streams and Solaris extended attributes.
The user restores File 1 from a backup that was created when File 1 possessed only three extended attribute files.
File 1 backup Extended attribute file 1 backup Extended attribute file 2 backup Extended attribute file 3 backup
183
Since Overwrite existing files is selected as a restore option, when the user restores File 1, extended attribute files 1, 2, and 3 are overwritten. Extended attribute file 4 remains and is not overwritten.
Restored file 1 Restored extended attribute file 1 Restored extended attribute file 2 Restored extended attribute file 3 Extended attribute file 4
the extended attribute files to any non-Solaris 9 client (or greater), or named data streams to any non-VxFS 4.0 client,
an error message appears in the Restore Monitor to inform the user that the extended attributes or named data streams are not restored. NetBackup then continues with the restore job. To disable the restore of extended attribute files and named data streams To disable the restore of extended attribute files and named data streams, add an empty file named IGNORE_XATTR to the client in the following directory: /usr/openv/netbackup/ The addition affects only Solaris 9 or VxFS 4.0 clients. File IGNORE_XATTR was formerly known as IGNORE_XATTR_SOLARIS. Note: Only the modified GNU tar that is supplied with NetBackup is able to restore the extended attributes or named data streams to a client. For more information, see Reading Backup Images with tar in NetBackup Administrators Guide, Volume II.
Where:
SMDR (Storage Management Data Requestor) is the name of the NetWare file server that is running the SMDR.NLM that is used for backups. (NLM means NetWare-loadable module.) TSA (Target Service Agent) is a NetWare software module that prepares the data for backup or restore by the SMDR. The type of TSA that is used depends on the data. For example, NetWare file systems and DOS workstations each have TSAs. TS is the Target Service, which is the NetWare entity that contains the data that the selected TSA handles. For example, in the case of the DOS TSA (tsasms.com) it is a DOS workstation. In the case of a NetWare file system TSA, it is the system with the NetWare file systems to be backed up. resources are the specific resources on the target service. For example, it can be NetWare file systems such as BINDERY, SYS, and USER. directory/file is the directory and file that are in the resource (if it is a path to a specific file). Give the server access to each path or the scheduled backup fails. To provide this access, use the Allowed scheduled access command on the Backup menu in the NetBackup interface on the NetWare client. For more information, see the NetBackup for Novell NetWare Client Administrators Guide. Enter one path per line. Begin all paths with a forward slash (/). Precede each component in the path with a forward slash. If the last component in the path is a directory, follow it with a forward slash (/). The trailing slash is not required but is a reminder that the path points to a directory instead of a file.
/TILE/TILE.NetWare File System/TILE/SYS/DOC/
If the last component is a file, include the file extension and omit the slash from the end of the name.
/TILE/TILE.NetWare File System/TILE/SYS/DOC/TEST.TXT
All components in a path must show upper and lower case letters as they appear in the actual path on the client. Wildcard usage is the same as for Windows clients. For more information, see Using wildcards in NetBackup on page 632. To back up all NetBackup for NetWare clients that are in the policy, enter only one forward slash (/) on a line:
185
To back up an entire NetBackup for NetWare client, enter a forward slash (/) followed by the client name and another forward slash:
/TILE/
The following example backs up SYS, BINDERY, and USER file systems under the file system TSA on a client that is named tile:
/TILE/TILE.NetWare File System/TILE/SYS/ /TILE/TILE.NetWare File System/TILE/BINDERY/ /TILE/TILE.NetWare File System/TILE/USER/
Note that the Allowed scheduled access command on the NetBackup NetWare client Backup menu must also specify access to these paths. See the NetBackup for Novell NetWare Client Administrator's Guide.
Enter one target per line. Begin all target names with a forward slash (/). All target names must be in upper case. Wildcard usage is the same as for Windows clients. For more information, see Using wildcards in NetBackup on page 632.
/NETWARE/ /SYSTEM/ /BINDERY/
The following example backs up the targets: NETWARE, SYSTEM, and BINDERY:
The available directives depend on the policy type and whether the Allow multiple data streams attribute is enabled for the policy. The following example is a backup selections list that contains the NEW_STREAM directive. The example is from an MS-Windows-NT policy with Allow multiple data streams enabled:
NEW_STREAM D:\Program Files NEW_STREAM C:\Winnt
The NEW_STREAM directive is discussed in Backup selections list directives for multiple data streams on page 189.
ALL_LOCAL_DRIVES directive
Use the ALL_LOCAL_DRIVES directive to back up all local drives except for those drives that use removable media. The ALL_LOCAL_DRIVES directive applies to the following policy types:
Standard (except for NetWare target clients) MS-Windows-NT NetWare (NonTarget clients only) However, ALL_LOCAL_DRIVES is not allowed for NetWare policy types if Allow multiple data streams is also used. For more information, see ALL_LOCAL_DRIVES directive and multiple data streams on page 192.
For information on files and the directories that NetBackup automatically excludes from backup, see Files that are excluded from backups by default on page 194.
SYSTEM_STATE directive
The System_State:\ directive is a valid directive only to back up Windows 2000/XP machines. If the machine is not Windows 2000/XP or a Windows 2003 Server, the System_State:\ directive does not have any effect. Windows 2003 Server machines recognize the System_State:\ directive and behave as if following the Shadow Copy Components:\ directive. A message informs the user that this directive translation has occurred. If the machine is Windows 2000/XP, the list of items that are backed up can include the following:
187
On Windows 2000 machines, the registry is backed up in the process of regular file system backups. The files that comprise the registry can be found in the following location: %SystemRoot%\SYSTEM32\Config At a minimum, the following files are backed up as part of the registry:
System Files COM+ Class Registration Database SYSVOL Active Directory Cluster Quorum Certificate Services Registry Internet Information Services Removable Storage Manager Event Logs Windows Internet Name Service
Windows Management Instrumentation Remote Storage Dynamic Host Configuration Protocol Terminal Server Licensing Background Intelligent Transfer Service
User Data writers, which include any items that are not required by the machine to operate. For example, Active Directory Application Mode. Other Data writers, a category that is intended for future NetBackup releases.
For usage rules, see Backup selections list directives for multiple data streams on page 189.
For example, the following directives can appear only in the backup selections list of an AFS policy: CREATE_BACKUP_VOLUMES SKIP_SMALL_VOLUMES
189
Except for AFS, these policy types can be used when their associated separately-priced option is installed. For information on other policy types and associated backup selections list directives, see the NetBackup guide for the option. Caution: Include policy-specific directives only in backup selections lists for the policies that support the directives or errors can occur.
Note: For best performance, use only one data stream to back up each physical device on the client. Multiple concurrent streams from a single physical device can adversely affect backup times. The heads must move back and forth between tracks containing files for the respective streams.
The backup is split into a separate stream at each point in the backup selections list where the NEW_STREAM directive occurs. All file paths between NEW_STREAM directives belong to the same stream. The start of a new stream (a NEW_STREAM directive) defines the end of the previous stream. The last stream in the backup selections list is terminated by the end of the backup selections list.
Note: In the following examples, assume that each stream is from a separate physical device on the client. Multiple concurrent streams from a single physical device can adversely affect backup times. The backup time is longer if the heads must move back and forth between tracks containing files for the respective streams. For example, consider the following backup selections list:
NEW_STREAM /usr /lib NEW_STREAM /home /bin
The NEW_STREAM at the top of the list invokes administrator-defined streaming and starts the first stream. This stream backs up /usr and /lib. The second NEW_STREAM starts a second data stream that backs up /home and /bin.
If a backup selections list entry is added to a stream, the entry is not backed up until the schedule is due for the policy. If the next backup due is an incremental, only the files that have changed are backed up. To ensure that a new entry gets a full backup the first time, add it to a new stream. NetBackup performs a full backup of new streams that are added to the backup selections list. In the previous example, assume you add /var after /bin If an incremental backup is due that night, only changed files in /var are backed up. Add a NEW_STREAM directive before /var, to perform a full backup of all files in /var, regardless of when the files were last changed.
191
If the backup selections list contains the ALL_LOCAL_DRIVES directive, NetBackup backs up the entire client. However, NetBackup splits each drive volume (Windows) or file system (UNIX) into its own backup stream. For more information, see ALL_LOCAL_DRIVES directive and multiple data streams on page 192. If wildcards are used, the expansion of the wildcards results in one stream per wildcard expansion. Wildcard usage is the same as for Windows clients. For more information, see Using wildcards in NetBackup on page 632.
If the backup selections list contains neither the ALL_LOCAL_DRIVES directive nor wildcards, the auto-discovery mode is not used. In this case, the server preprocesses rather than the client. In this case, each file path in the backup selections list becomes a separate stream. Auto-discovery streaming mode applies to:
Standard and MS-Windows-NT policy types, except for NetWare clients. Clients that are running NetBackup 3.2 or later.
Before the backup begins, the client uses auto-discovery to preprocess the backup selections list to determine how many streams are required. The first backup that a policy performs preprocesses the backup selections list. However, preprocessing does not necessarily occur before every backup. Whether or not it occurs depends on the preprocess interval.
If yes, NetBackup does not run preprocessing on the client. If no, NetBackup preprocesses the client and makes required changes to the streams.
If necessary, you can change the interval by using the bpconfig command. The default is four hours and is a good value for most of the sites that run daily backups. If the interval is too long or too short, the following can occur:
Too long of an interval can result in new streams not being added early enough and the potential of missed backups. For example, assume the
preprocess interval is set to four hours and a schedule has a frequency of less than four hours. A new stream may be omitted from the next backup because the preprocessing interval has not expired when the backup is due.
Too short of an interval can cause preprocessing to occur often enough to increase scheduling time to an unacceptable level. A short interval is most likely to be a problem when the server must contact a large number of clients for preprocessing.
The form of the bpconfig command to use for changing the interval is: /usr/openv/netbackup/bin/admincmd/bpconfig [-prep hours] For more information on the bpconfig command, see NetBackup Commands for UNIX and Linux.
If Allow multiple data streams is enabled, the ALL_LOCAL_DRIVES directive applies only to Standard (except for NetWare clients) or MS-Windows-NT policy types. NetBackup backs up the entire client, then splits the data from each drive (Windows) or file system (UNIX) into its own backup stream. NetBackup periodically preprocesses the client to make necessary changes to the streams. For more information, see Setting the preprocess interval for auto-discovery on page 191. If Allow multiple data streams is not enabled, NetBackup backs up the entire client and includes all drives and file systems in the same stream.
Caution: Do not select Cross mount points for policies where you use the ALL_LOCAL_DRIVES directive.
ALL_LOCAL_DRIVES example 1
Assume that Allow multiple data streams is enabled in the auto-discovery mode. Assume that the client is a Windows system with two drive volumes, C:\ and D:\. The backup selections list contains: ALL_LOCAL_DRIVES
193
For a UNIX client, NetBackup generates a stream for each file system. SYSTEM_STATE is also backed up because SYSTEM_STATE is included in the ALL_LOCAL_DRIVES directive.
ALL_LOCAL_DRIVES example 2
Assume that Allow multiple data streams is not enabled. Assume that the client is a Windows system with two drive volumes, C:\ and D:\. The backup selections list contains: ALL_LOCAL_DRIVES Here, NetBackup backs up the entire client in one data stream that contains the data from both C:\ and D:\. SYSTEM_STATE is also backed up because SYSTEM_STATE is included in the ALL_LOCAL_DRIVES directive.
UNSET
The UNSET directive interrupts a policy-specific directive so it is not passed with any additional streams. The directive that was unset can be defined again later in the backup selections list to be included in the current and the later streams.
UNSET_ALL
UNSET_ALL has the same effect as UNSET but unsets all policy-specific directives in the backup selections list that have been defined up to this point.
UNSET example
In the following backup selections list, the set command is a client-specific directive that is passed to the first and all subsequent streams.
NEW_STREAM set destpath=/etc/home /tmp /use NEW_STREAM
For the set command to be passed to the first two streams only, use UNSET or UNSET_ALL at the beginning of the third stream. At this location, it prevents SET from being passed to the last stream.
NEW_STREAM set destpath=/etc/home /tmp /use NEW_STREAM /export NEW_STREAM UNSET_ALL [or UNSET set destpath=/etc/home] /var
NFS files or directories. To back up NFS files, enable Follow NFS. Files or directories in a different file system. To backup up files in a different file system, enable Cross mount points. Files or directories with path lengths longer than 1023 characters. Files or directories in which the operating system does not return inode information (the lstat system call fails). Directories that NetBackup cannot access (the cd command cannot access). On the disks that Storage Migrator manages; on migrated files or directories where Storage Migrator does not return inode information (mig_stat fails). Note that NetBackup Server does not support Storage Migrator. Socket special files. (Named pipes are backed up, however.) Locked files when locked by an application that currently has the file open. Busy files. If a file is open, NetBackup backs up the last saved version of the file.
NetBackup automatically excludes the following file system types on most platforms:
195
cdrom (all UNIX platforms) cachets (AIX, Solaris, SGI, UnixWare) devpts (Linux) mntfs (Solaris) proc (UNIX platforms; does not exclude automatically for AIX, so /proc must be added manually to the exclude list. If /proc is not added manually, partially successful backups may result with the ALL_LOCAL_DRIVES directive on AIX) tmpfs (Linux) usbdevfs (Linux)
On Microsoft Windows clients, specify exclude and include lists in the Backup, Archive, and Restore client interface: Start Backup, Archive, and Restore and click File > NetBackup Client Properties. Go to the Exclude list or Include list tab. For further instructions, see the NetBackup users guide for the client. The Exclude list or the Include list can also be specified through the NetBackup Administration Console on the master server. For more information, see Exclude Lists properties on page 414. On NetWare target clients, the exclude and include lists are specified when the targets are added. See the NetBackup users guide for the client. On UNIX clients, you create the exclude and include lists in the following files on the client: /usr/openv/netbackup/exclude_list /usr/openv/netbackup/include_list
Note: Vault protects the disaster recovery data by sending the data to the Vault site as an email attachment of the Vault report email. The separately-priced Vault option must be installed.
197
Path
The path to the directory where the disaster recovery information is saved. Specify a local directory or NFS share.
Logon
The logon and password information that is required to access the NFS share.
Password
The password that is required to log on to the share. Note: Logon and password fields are enabled: - When the path begins with \\ , which indicates a UNC share path. - When NetBackup does not have write access to the location that the user specifies.
Note: When NetBackup is running with Vault, Vault includes the disaster recovery data in the Vault Recovery Report.
199
You must specify Vault as the policy type. You do not specify clients for Vault policies, therefore the Clients tab does not appear. Specify a Vault command in the backup selections list instead of a file(s).
To create a Vault policy 1 2 3 4 5 In the NetBackup Administration Console, expand NetBackup Management > Policies. Select Actions > New > Policy. Type a unique name for the new policy in the Add a New Policy dialog. Click OK. On the Attributes tab, select Vault as the policy type. On the Schedules tab, click New to create a new schedule. The type of backup defaults to Automatic. Complete the schedule. Note: The Clients tab does not appear for Vault policy types. 6 On the Backup Selections tab, enter one of two Vault commands:
Use vltrun to specify the robot, vault name, and profile for the job. The vltrun command accomplishes all the steps necessary to select, copy, and eject media. If the vault profile name is unique, use the following format: vltrun profile_name If the vault profile name is not unique, use the following format: vltrun robot_number/vault_name/profile_name
Use the vlteject command to eject media or to generate reports for completed Vault sessions. For example: vlteject -eject -report [-vault vault_name [-sessionid id]] [-auto y|n] [-eject_delay seconds] Both commands are located in the following directory: /usr/openv/netbackup/bin/ For more information on Vault names, profile names, and command usage, see the Vault Administrators Guide.
Click OK.
To test a configuration. To back up a client that missed the regular backup. To back up a client before installing new software to preserve the old configuration. To preserve records before a special event such as a company split or merger. To back up quarterly or yearly financial information.
In some cases, it may be useful to create a policy and schedule that you use only for manual backups. Create a policy for manual backups only by creating a policy with a single schedule that has no backup window. Without a backup window, the policy can never run automatically. To perform a manual backup 1 2 In the NetBackup Administration Console, expand NetBackup Management > Policies. Select the policy name in the middle pane. Select Actions > Manual Backup. (The Active. Go into effect at option must be enabled to perform a manual backup.) The Manual Backup dialog appears. For more information, see Active. Go into effect at on page 99.
Note: If the Go into effect property is set for a future date and time, the backup does not run. 3 In the Manual Backup dialog, select the schedule and the clients that you want to back up. If you do not select any schedules, NetBackup uses the schedule with the highest retention level. If you do not select any clients, NetBackup backs up all clients. User schedules do not appear in the schedules list. A user schedule cannot be manually backed up because they do not have a backup selection list (the user selects the files). Click OK to start the backup.
201
The policy type must be either Standard or MS-Windows-NT. The Collect True Image Restore Information With Move Detection option must be selected on the Policy Attributes tab. For more information, see Collect true image restore information with move detection on page 109.
The schedule that is created for a synthetic backup must have Synthetic Backup selected. The master servers, media servers, and clients must all have NetBackup version 5.0 or later installed to synthesize backups. One of the following must be available:
Disk storage unit(s) with adequate space available. Tape library(s) with multiple drives to read and write. For more information, see Disk storage unit considerations and Tape storage unit considerations on page 207. A combination of disk storage unit(s) and tape library(s).
At least one traditional, full backup must be run successfully to create a full image. The synthetic backup jobs fails if there is not at least one previous full image. Schedule(s) for incremental backups. Incremental backups are necessary to capture the changes in the file system since the last full or incremental backup. The synthetic backup job receives a status code of 1 for a policy that contains full or incremental synthetic backup schedules, but no incremental backup schedules. The synthetic backup synthesizes all of the incremental backups to create a new full or cumulative backup image. Therefore, the synthetic backup is only as current as the last incremental backup.
Note: To configure a synthetic cumulative backup for any clients that are archive bit-based (default), use only differential incremental backups for the traditional, non-synthesized backups.
One full and/or one cumulative backup schedule with the Synthetic Backup option selected.
203
The traditional full backup (A) and the incremental backups are created in the traditional manner: data is scanned, then copied from the clients file system to the backup media. The synthetic backups do not interact with the client system at all, but are instead synthesized on the media server.
For a discussion of synthetic cumulative incremental backups, see Synthetic cumulative incremental backups on page 204.
A schedule for one full, traditional backup to run at least once. A schedule for daily (Monday through Saturday) differential incremental backups. A schedule for weekly full, synthetic backups.
2 3
Make sure that the traditional full backup runs. If the backup does not complete, run the backup manually. Per schedule, run daily, differential incremental backups for the clients throughout the week. The last incremental backup for the week runs on Saturday. Per schedule, run synthetic full backups for the clients on subsequent Sundays.
Note: The synthetic full backups in this scenario are only as current as the Saturday incremental backup.
All differential incremental backups that were taken since the last cumulative backup. The last cumulative incremental backup. If no cumulative incremental backup is available, only the differential incremental backups are used for the synthetic image.
The following figure illustrates the creation of synthetic cumulative incremental backups (A, B, C) from the latest cumulative incremental backup. It also shows the subsequent differential incremental backups.
205
Figure 4-12
A schedule for one full, traditional backup to run at least once. A schedule for daily (Monday through Saturday) differential incremental backups. A schedule for weekly cumulative incremental synthetic backups.
2 3 4
Make certain that the traditional full backup runs. If the backup does not complete, run the backup manually. Per schedule, run daily differential incremental backups for the clients throughout the week. The last incremental for the week runs on Saturday. Per schedule, run synthetic cumulative incremental backups for the clients on subsequent Sundays.
Note: The synthetic cumulative backups in this scenario are only as current as the Saturday incremental backup.
Reducing the gap between the last incremental backup and the synthesized backup
Since a synthetic backup does not involve direct contact with the client, a synthetic backup is only as current as the last incremental backup. If there is a concern to reduce a potential gap in backup coverage, run an incremental backup before the synthetic backup. Note: Only frequency-based schedules allow an incremental backup and a synthetic backup to run on the same day. Calendar-based schedules are dependant on one another. If a daily incremental schedule runs earlier in the day, the synthetic cumulative backup does not run later that same day (00:00:0023:59:59). For more information, see Frequency schedule type on page 128 and Calendar schedule type on page 128.
207
by sequentially older images. When two or more component images have been written to the same tape, the tape movement may be somewhat inefficient compared to disk-based images.
For tape backups, separate tapes are required. The tape for the synthetic image must be different from the tape where the component images reside. The maximum drive usage applies only to the drive that is needed for writing the synthetic backup. If any of the component images reside on tape, an additional drive is needed for reading. If a single tape drive device is used to generate synthetic images, component images should be placed in a hard drive location first. In that way, a synthetic image can be generated with the single tape drive device.
The time it takes to run a synthetic full backup does not increase significantly over time. Synthetic full backups are generated more quickly when built from disk-based incremental backups. If the synthetic full backup is also generated on disk, the run time is even faster. The disk copy can then be duplicated to tape.
The time that is required to perform a restore from a synthetic backup does not increase significantly over time. The restore times for both a complete synthetic backup and for a single file is the same. It is the same whether the restore is from a traditional backup or from a synthetic backup. The restore time of a single directory may increase over time when sourced from synthetic backups. The restore time depends on the pattern of file changes within the directory. Contrast a traditional full backup, which stores the files in file system order, with a synthetic full backup, which stores the files in last-file-accessed order. The synthetic full contains the newest files at the front of the media and the unchanged files at the end. Over time, the processing order introduces the potential for fragmentation of a single directory across the synthetic full image.
Note that this scenario is limited to single directory restores. Single file restores and full image restores from synthetic fulls are equal or better than from traditional full backups, as noted in previous bullets.
General notes
Synthetic backups are supported on all media server platforms and tier one master server platforms. The option to create multiple copies is not allowed for synthetic backups. Synthetic backups are not supported if any of the component images are encrypted. A user-generated backup cannot be used to generate a synthetic image. A backup that is generated from a User Backup schedule or a User Archive schedule cannot be used as one of the components of a synthetic backup.
Do not manually remove any of these catalog files. The catalog files are automatically expired after the retention period as specified in the schedule for the policy. The two sets of catalogs have the same expiration times. For more information, see Retention on page 138.
209
For example:
Catalog after incremental backup jobs run: XDisk_1064417510_INCR XDisk_1064417510_INCR.f XDisk_1064420508_INCR XDisk_1064420508_INCR.f XDisk_1064421708_INCR XDisk_1064421708_INCR.f
After the synthetic backup job runs: XDisk_1064421709_FULL First set: XDisk_1064421709_FULL.f Second set: XDisk_1064424108_FULL
Timestamp differences
The catalog for a synthetic image usually has a timestamp one second later than the most recent incremental component image. The timestamp may be more than one second later if there were possible image name conflicts.
synthetic backup job fails with error code 136 (TIR info was pruned from the image file). If the problem is correctable, run the synthetic backup again. For more information, see Keep true image restoration (TIR) information on page 384.
On the master server: bpsynth, bpdbm, and the log files located in /usr/openv/logs as described in the NetBackup Troubleshooting Guide.
211
On the media server(s): bptm (if any tape images), bpdm (if any disk images), bpcd Note that several media servers may be involved if the component images are on different nodes.
However, bpsynth is used for each stream or client. This can be inefficient with tape images since bpsynth needs a tape drive to write the new image. Also, bpsynth may use the same component image volumes. One may have to complete before the next one proceeds.
UNIX: Changing an objects ACL changes the ctime (inode change time) for the object but not the mtime (data modification time). Since mtime triggers incremental backups, the ACL change is not reflected in an incremental backup, and therefore not in a synthetic full backup. To include ACL changes in backups, enter USE_CTIME_FOR_INCREMENTALS in the bp.conf file on each UNIX client. For more information, see USE_CTIME_FOR_INCREMENTALS in the NetBackup Administrators Guide, Volume II. Windows: For each Windows client, enable Incrementals: Based on Archive Bit. This property is found under NetBackup Management > Host Properties > Clients > Selected client(s) > Windows Client. For more information, see Incrementals based on archive bit on page 405.
Chapter
Introduction to the Storage utility on page 214 Storage units on page 216 Storage unit settings on page 228 Staging backups to initial storage, then final storage on page 242 Basic disk staging on page 244 Storage Lifecycle Policies on page 253 Storage unit groups on page 267
214 Storage units, unit groups, and lifecycle policies Introduction to the Storage utility
Storage units A storage unit is a label that NetBackup associates with physical storage. The label may identify a robot, a path to a volume, or a disk pool. (See Storage units on page 216.) Storage unit groups Storage unit groups allow you to identify multiple storage units as a group. How the storage units are selected within the group is determined when the group is created. (See Storage unit groups on page 267.) Storage Lifecycle Policies Storage lifecycle policies allow you to apply the same behavior to all the backup images in the lifecycle. (See Storage Lifecycle Policies on page 253.)
Storage units, unit groups, and lifecycle policies Introduction to the Storage utility
215
Initiate a data management job when using basic disk staging Create a new storage unit group Right-click an object to display a shortcut menu
216 Storage units, unit groups, and lifecycle policies Storage units
Storage units
A storage unit is a label that NetBackup associates with physical storage. The label may identify a robot, a path to a volume, or a disk pool. The creation of any storage unit type consists of the following general steps: 1 2 3 4 Name the storage unit. A configured storage unit indicates to NetBackup the existence of underlying physical storage. Choose the storage unit type: Media Manager, disk, or NDMP. (See Figure 5-2 on page 217.) Select a media server. The selection indicates that the media server(s) have permission to write to the storage unit. Indicate the destination where the data is written.
For Media Manager storage units: Data is written to tape robots, stand-alone tape drives, and optical disk devices. For disk storage: NetBackup permits an unlimited number of disk storage units. Disk storage may be one of the following types:
AdvancedDisk storage units: The destination is a disk pool. BasicDisk storage units: The destination is a path to a volume on a host. NearStore storage units: The destination is a NearStore volume on a storage server. OpenStorage storage units: The destination is a disk pool. PureDisk storage unit: The destination is a disk pool. SharedDisk storage units: The destination is a disk pool. SnapVault storage: The destination is a SnapVault server.
For NDMP storage: The NDMP protocol to is used to perform backups and recoveries. The destination is an NDMP host.
217
Figure 5-2
NDMP Points to an NDMP host (Virtual Tape Option) BasicDisk Points to a directory
Disk
PureDisk Points to a disk pool (PureDisk Storage Option) SnapVault Points to a SnapVault server (SnapVault option) NearStore Points to a NearStore volume on a storage server (OpenStorage Disk Option) SharedDisk Points to a disk pool (Flexible Disk Option) OpenStorage (vendor name) Points to a disk pool (an intelligent appliance on a SAN) (OpenStorage Disk Option) AdvancedDisk Points to a disk pool (storage directly attached to a media server) (Flexible Disk Option)
To create a storage unit from the Actions menu 1 2 In the NetBackup Administration Console, select NetBackup Management > Storage. Storage unit information appears in the Details pane. Click Actions > New > Storage Unit. The New Storage Unit dialog box appears.
218 Storage units, unit groups, and lifecycle policies Storage units
3 4
Complete the fields on the New Storage Unit dialog box. The options are described in Storage unit settings on page 228. Click OK to add the storage unit to the configuration.
To create a storage unit by copying an existing storage unit 1 2 3 4 In the NetBackup Administration Console, select NetBackup Management > Storage. Storage unit information appears in the Details pane. Select a storage unit in the Details pane. Click Actions > Copy Storage Unit. The Copy Storage Unit dialog box appears. Complete the fields in the Copy Storage Unit dialog box. The options are described in Storage unit settings on page 228.
Do not manually remove images from the BasicDisk or Media Manager storage unit.
219
Once the images have been expired, they cannot be restored unless the images are imported. (See Importing NetBackup or Backup Exec images on page 336.) NetBackup automatically deletes any image fragments from a disk storage unit or a disk pool. This generally occurs within seconds of expiring an image. However, to make sure that all of the fragments have been deleted, check the directory on the storage unit to make sure that it is empty.
2 3 4 5 6 7
Select the Storage utility, then Storage Units. In the Details pane, select the storage unit you want to delete. Hold down the Control or Shift key to select multiple storage units. Select Edit > Delete. In the confirmation dialog box, select the storage units to delete. Click OK. Modify any policy that uses a deleted storage unit to use another storage unit.
To delete a storage unit that references a disk pool If a storage unit points to disk pool, the storage unit can be deleted witout impacting the disk pool.
220 Storage units, unit groups, and lifecycle policies Storage units
When NetBackup sends a job to a Media Manager storage unit, it requests resources from the Enterprise Media Manager (EMM). Then NetBackup requests that Media Manager mount the volume in a drive. If a stand-alone drive does not contain media or if a required volume is not available to a robot, a mount request is displayed in the Pending Requests pane of the Device Monitor. An operator can then find the volume, mount it manually, and assign it to the drive.
221
Note: NetBackup Media Manager can manage media for other applications, such as Storage Migrator. (A tape that is assigned to Storage Migrator uses a different format and would not be usable for NetBackup backup data.)
If using NetBackup Enterprise Server: Add the storage unit to the master server. Specify the media server where the drives attach. If using NetBackup Server: Add the storage unit to the master server where the drives attach. The robotic control must also attach to that server. The number of storage units that you must create for a robot depends on the robots drive configuration as follows:
Drives with identical densities must share the same storage unit on the same media server. If a robot contains two drives of the same density on the same media server, add only a single storage unit for the robot. Set the Maximum concurrent write drives setting to 2. (See Maximum concurrent write drives on page 231.) Drives with different densities must be in separate storage units. Consider an STK SL500 library that is configured as a Tape Library DLT (TLD). It can have both half-inch cartridge and DLT drives. Here, you must define a separate storage unit for each density. Applies only to NetBackup Enterprise Server: If a robots drives and robotic control attach to different NetBackup servers, specify the server where the drives attach as the media server. Always specify the same robot number for the drives as is used for the robotic control.
Stand-alone drives with identical densities must be in the same storage unit. If a server contains two 1/4-inch qscsi drives, add a storage unit with Maximum concurrent write drives set to 2. Media and device selection logic chooses the drive to use when NetBackup sends a backup to this storage unit. The logic is part of the Enterprise Media Management (nbemm) daemon. Stand-alone drives with different densities must be in different storage units. A robot and a stand-alone drive cannot be in the same storage unit.
222 Storage units, unit groups, and lifecycle policies Storage units
Data mover: An entity that moves data between the primary storage (the NetBackup client) and the storage server. NetBackup media servers function as data movers. Depending on the Enterprise Disk Option, a NetBackup media server also may function as a storage server. Storage server: An entity that writes data to and reads data from the disk storage. A storage server is the entity that has a mount on the file system on the storage. Depending on the Enterprise Disk Option, the storage server is either: a host that is part of a storage appliance or filer or it is a NetBackup media server. Disk pool: A collection of disk volumes that are administered as an entity. NetBackup aggregates the disk volumes into pools of storage (a disk pool) you can use for backups. A disk pool is a storage type in NetBackup. When you create a storage unit, you select the disk type and then you select a specific disk pool.
223
BasicDisk
A BasicDisk type storage unit consists of a directory on locally-attached disk or network-attached disk that is exposed as a file system to a NetBackup media server. NetBackup stores backup data in the specified directory. Notes about the BasicDisk type storage unit:
Do not include the same volume or file system in multiple BasicDisk storage units. BasicDisk storage units cannot be used in a storage lifecycle policy.
AdvancedDisk
An AdvancedDisk disk type storage unit is used for dedicated disk that is directly attached to a NetBackup media server. An AdvancedDisk selection is available only when the Flexible Disk Option is licensed. NetBackup assumes exclusive ownership of the disk resources that comprise an AdvancedDisk disk pool. If the resources are shared with other users, NetBackup cannot manage disk pool capacity or storage lifecycle policies correctly. For AdvancedDisk, the NetBackup media server functions as both a data mover and a storage server.
NearStore
A NearStore disk type storage unit is used to store images on Network Attached Storage (NAS) from Network Appliance. NearStore appears as a selection only when the OpenStorage Disk Option is licensed. For NearStore, the NetBackup media servers function as the data movers. The NearStore host is the storage server. Note: NearStore storage units cannot be used as part of a storage unit group or used in a Storage Lifecycle Policy.
OpenStorage
An OpenStorage disk type storage unit is used for disk storage on an intelligent disk appliance. The actual name of the disk type depends on the vendor. An OpenStorage selection is available only when the OpenStorage Disk Option is licensed. The disk appliance is integrated into NetBackup through an API. The storage vendor partners with Symantec to integrate the appliance into NetBackup. For OpenStorage, the NetBackup media servers function as the data movers. The disk appliance is the storage server
224 Storage units, unit groups, and lifecycle policies Storage units
PureDisk
A PureDisk disk type storage unit is used to store images on PureDisk storage devices. The storage unit can be shared by multiple NetBackup media servers. PureDisk appears as a selection only when the PureDisk Storage Option is licensed. For PureDisk, the NetBackup media servers function as the data movers. The PureDisk Linux servers function as the storage servers. Note: PureDisk storage units cannot be used as part of a storage unit group.
SharedDisk
A SharedDisk disk type storage unit is used to store images on a disk array that multiple NetBackup media servers share. The SharedDisk selection is available only when the Flexible Disk Option is licensed. For SharedDisk, the NetBackup media servers function as both the data movers and the storage servers.
SnapVault
A SnapVault storage unit is used to store images on Network Attached Storage (NAS). The SnapVault selection is available only when the NetBackup Snapshot Client option is licensed. SnapVault storage units cannot be used in a storage unit group or as part of a staging operation. For SnapVault, the NetBackup media servers function as the data movers. The SnapVault host is the storage server.
Policy_gold has a gold classification. It is configured to use Lifecycle_Gold, which has a gold data classification. Policy_silver has a silver classification. It is configured to use Any Available storage unit. That means it can use any available storage unit or any lifecycle that has a silver classification.
225
DSU_1 is a destination in Lifecycle_Gold and references DiskPool_A. DSU_2 is not in a lifecycle. It references DiskPool_A.
DiskPool_A contains three disk volumes. Both gold and silver images can be written to any disk volume in the pool. Figure 5-4
Policy_Gold The data classification for this policy is gold. The policy is configured to write to Lifecycle_Gold. Lifecycle_Gold Lifecycle_Gold contains DSU_1 as a backup destination. DSU_1 DSU_1 references DiskPool_A. DSU_2 Policy_Silver writes to DSU_2. DSU_2 references DiskPool_A.
DiskPool_A
Both policies may write to any volume in the disk pool. The volumes may contain images with different data classifications.
Add new disk space. Set the High water mark to a value that best works with the size of backup images in the environment.
226 Storage units, unit groups, and lifecycle policies Storage units
Increase the frequency of the relocation schedule or add resources so that all images can be copied to a final destination storage unit in a timely manner. Upon NetBackup installation or upgrade, the nb_updatedssu script runs. The script deletes .ds files that were used in previous releases as pointers to relocated data. Relocated data is tracked differently in the current release and the .ds files are no longer necessary. Under some circumstances, a .ds file may not be deleted upon installation or upgrade. In that case, run the script again: /usr/openv/netbackup/bin/goodies/nb_updatedssu To determine the potential free space on a disk staging storage unit, see Finding the potential free space on a BasicDisk disk staging storage unit on page 246. The NetBackup General Server host property Check the capacity of disk storage units property determines how often NetBackup checks 6.0 disk storage units for available capacity. Subsequent releases use internal methods to monitor disk space more frequently. (See Check the capacity of disk storage units on page 431.)
227
Create NDMP storage units for drives directly attached to NAS filers. Any drive that is attached to a NetBackup media server is considered a Media Manager storage unit, even if used for NDMP backups. Note: Remote NDMP storage units may already be configured on a media server from a previous release. Upon upgrade of the media server, those storage units are automatically converted to Media Manager storage units. See the NetBackup for NDMP Administrators Guide for more information.
228 Storage units, unit groups, and lifecycle policies Storage unit settings
When this setting is enabled, the directory is created automatically. Caution: With this setting enabled, the root file system may fill up. A job fails under the following conditions:
If the checkbox is clear, and if the directory already exists on the root file system.
Storage units, unit groups, and lifecycle policies Storage unit settings
229
If the checkbox is clear, and the requested directory is to be created on the root file system.
Density
The Storage device selection determines the media Density. This setting appears for Media Manager and NDMP storage units only.
Disk pool
A Disk pool is selected for any disk storage unit with an Enterprise Disk Option licensed. Select the disk pool that contains the storage for this storage unit. For AdvancedDisk and SharedDisk, all NetBackup disk pools appear in the Disk pool list. For OpenStorage, only the disk pools for that OpenStorage vendors appliance appear in the list. For PureDisk, only the disk pools for the PureDisk Storage Pool Authority (SPA) appear in the list. SharedDisk only: To change the disk pool properties, click Properties. For information about how to create a disk pool, see the NetBackup Shared Storage Guide.
Disk type
A Disk type is selected for a disk storage unit. A disk storage unit may be one of the following types:
AdvancedDisk (NetBackup Flexible Disk Option needed) BasicDisk NearStore (OpenStorage Disk Option needed) OpenStorage (vendor name) (NetBackup OpenStorage Disk Option needed) PureDisk (PureDisk Storage Option needed) SharedDisk (NetBackup Flexible Disk Option needed) SnapVault (NetBackup Snapshot Client option needed). For information on SnapVault storage units, see the NetBackup Snapshot Client Administrators Guide.
230 Storage units, unit groups, and lifecycle policies Storage unit settings
Enable multiplexing
The Enable multiplexing setting allows multiple backups to multiplex onto a single drive in a storage unit.
Storage units, unit groups, and lifecycle policies Storage unit settings
231
storage unit that contains only stand-alone tape drives. Specify a number that is less than or equal to the number of tape drives that are in the storage unit. robot. Specify a number that is less than or equal to the number of tape drives that attach to the NetBackup media server for the storage unit.
Assume you have two stand-alone drives of the same density and specify 1. Both tape drives are available to NetBackup but only one drive can be used for backups. The other tape drive is available for restores and other non-backup operations. (For example, to import, to verify, and to duplicate backups.) Caution: To specify a Maximum concurrent write drives setting of 0 disables the storage unit.
232 Storage units, unit groups, and lifecycle policies Storage unit settings
Using the Maximum concurrent jobs setting to control the storage unit and media server load
Maximum concurrent jobs can be used to balance the load between disk storage units. A higher value (more concurrent jobs) means that the disk may be busier than if the value was set for fewer jobs. The media server load balancing logic considers all storage units and all activity. A storage unit may indicate three media servers. If Maximum concurrent jobs is set to three and two of the media servers are busy or down, the third media server is assigned all three jobs. The Maximum concurrent jobs setting depends on the available disk space and the servers ability to run multiple backup processes. Where disk pools are used, the setting also depends on the number of media servers in the storage unit. If multiple storage units reference the same disk pool, the actual number of concurrent jobs accessing the pool is the sum of the Maximum concurrent jobs settings on all of the disk storage units. The setting applies to the storage unit and not to the disk pool. Therefore, the job load is automatically spread across the media servers indicated by the storage unit configuration. Note: Increase the Maximum concurrent jobs setting if the storage unit is used for online, hot catalog backups as well as non-catalog backups. Increase the setting to ensure that the catalog backup can proceed while regular backup activity occurs. Where disk pools are used, increase the setting if more than one server is in the storage unit.
Impact when two disk storage units reference one disk pool
The following example shows how the Maximum concurrent jobs settings are combined when two disk storage units share one disk pool. For example, in Figure 5-6: DSU_1 is configured:
to use MediaServer_B. to have a Maximum concurrent jobs setting of three. to reference SharedDisk_pool.
Both storage unit reference the same SharedDisk disk pool. Combined, the storage units have a Maximum concurrent jobs setting of five. However, only two jobs can run concurrently on MediaServer_A; three on MediaServer_B.
Storage units, unit groups, and lifecycle policies Storage unit settings
233
Figure 5-6
Impact when disk storage units use one disk pool but different media servers
Maximum concurrent jobs setting: 2 MediaServer_A selected to move data to the pool DSU_2 Maximum concurrent jobs setting: 3 MediaServer_B selected to move data to the pool
DSU_1
MediaServer_A
MediaServer_B
The maximum concurrent jobs that can use the disk pool is 5. SharedDisk_pool
If the storage units were configured to use both media servers, the media servers could run five concurrent jobs: two from DSU_1 and three from DSU_2.
Media server
The following setting applies only to NetBackup Enterprise Server. The Media server setting specifies one of the following:
The NetBackup media server where the drives in the storage unit attach. The NetBackup media server that controls the disk storage unit. The NetBackup media servers that can access the servers responsible for data movement to and from the disk pool.
To make this storage unit available to any media server (default), select Any Available. NetBackup selects the media server dynamically at the time the policy is run.
Concerning BasicDisk storage: To configure a disk storage unit, select a single media server. Concerning AdvancedDisk storage units The Media server setting specifies the NetBackup media server that can move data to and from the disk pool.
234 Storage units, unit groups, and lifecycle policies Storage unit settings
Only the media server that is configured as the storage server appears in the media servers list. The disk storage must be directly attached to the media server that is configured as the storage server. NetBackup selects a media server when the policy runs.
Concerning NDMP storage: To configure an NDMP storage unit, the Media server setting specifies the name of the media server that is to back up the NDMP host. Only those media servers that can talk to the specified NDMP storage device are displayed in the drop-down menu. An NDMP host can be authenticated on multiple media servers. Select Any Available to have NetBackup select the media server and storage unit at the time the policy is run. Concerning OpenStorage storage units The Media server setting specifies the NetBackup media servers that can move data to the storage server. To allow any media server in the media server list to access the storage (default), select Use Any Available Media Server. To restrict the media servers that can access the storage, select Only Use The Following Media Servers. Then select the media servers that are allowed to access the storage. The following is required on each media server that accesses the storage:
Login credentials to the storage server are configured. Only the media servers on which storage server credentials are configured appear in the media servers list. If a server does not appear, verify that the software plug-in is installed and that login credentials are configured for that media server. Note: Run the tpconfig command line utility directly on the media server to configure and verify credentials. NetBackup selects a media server when the policy runs. Media servers are configured as data movers when the storage server login credentials are entered in NetBackup.
Concerning SharedDisk storage units The Media server setting specifies the NetBackup media servers that can move data to the storage server. To allow any media server in the list to access the storage (default), select Use Any Available Media Server.
Storage units, unit groups, and lifecycle policies Storage unit settings
235
To restrict the media servers that can access the storage, select Only Use The Following Media Servers. Then select the media servers that are allowed to access the storage. The following is required on each media server that accesses the storage:
Login credentials to the disk array are configured on the media server. If the array contains multiple, separately named processing units (storage processors), you must enter the credentials for each unit. NetBackup selects a media server when the policy runs.
Concerning PureDisk storage units To allow any media server in the list to access the storage (default), select Use Any Available Media Server. To restrict the media servers that can access the storage, select Only Use The Following Media Servers. Then select the media servers that are allowed to access the storage. The following is required on each media server that accesses the storage:
Login credentials to the PureDisk server are configured on the media server. NetBackup selects a media server when the policy runs. See the Veritas NetBackup PureDisk Remote Office Edition Administrators Guide for the media server requirements.
NDMP host
The NDMP host setting specifies the NDMP tape server that is used to write data to tape. Select the host name from the drop-down menu.
On demand only
The On demand only setting specifies whether the storage unit is available exclusively on demand. That is, only when a policy or schedule is explicitly configured to use this storage unit. Clear the On demand only check box to make the storage unit available to any policy or schedule. For SnapVault and NearStore storage units, On demand only is selected by default and cannot be changed.
236 Storage units, unit groups, and lifecycle policies Storage unit settings
Caution: If On demand only is selected for all storage units, be sure to designate a specific storage unit for each policy or schedule. Otherwise, NetBackup is unable to find a storage unit to use.
The required software plug-in is installed automatically with NetBackup. Only the media server that is configured as the storage server appears in the media servers list. A software plug-in must be installed on each media server. The software plug-in is provided by the storage vendor. Login credentials to the storage server must be configured on the media server. Only the media servers that are configured as data movers for the OpenStorage implementation appear in the media server list. (For OpenStorage, NetBackup media servers function as data movers.) If a media server does not appear in the list, verify that the software plug-in is installed and that logon credentials are created. The required software plug-in is installed automatically with NetBackup. Login credentials to the disk array must be configured on the media server. Only the media servers on which disk array login credentials are configured appear in the media servers list. If a server does not appear, verify that the software plug-in is installed and that login credentials are configured for that media server. See the Veritas NetBackup PureDisk Remote Office Edition Administrators Guide for the media server requirements.
Properties button
Click Properties to display information about the volume or the disk pool:
Storage units, unit groups, and lifecycle policies Storage unit settings
237
Available storage or Available The Available storage value reflects the space that remains for storage on a disk storage unit. The following equation determines the Available (or free) space: Free space on a volume = Capacity of volume - Used capacity The df command may report a value for the available space that is slightly different from the actual free space value displayed as a result of the nbdevquery command: nbdevquery -listdv -stype server_type -dp disk_pool The available space that the df command reports does not include the space that the operating system reserves. Since NetBackup runs as root, the nbdevquery command includes the reserved space in the available space equation. Capacity The Capacity value reflects the total amount of space that the disk storage unit or pool contains, both used and unused. Disk pool comments Comment that are associated with the disk pool. High water mark The high water mark for the disk pool applies to both the individual disk volumes in the pool and the disk pool:
Individual volumes. When a disk volume reaches the high water mark, NetBackup writes the data to another disk volume in the pool. Disk pool. When all volumes are at the high water mark, the disk pool is full. When a disk pool approaches the high water mark, NetBackup reduces the number of jobs that are allowed to write to the pool. NetBackup does not assign new jobs to a storage unit in which the disk poll is full. (Default: 99%.)
Low water mark The low water mark for the disk pool. When the capacity of the disk pool returns to the low water mark, NetBackup again assigns jobs to the storage unit. The low water mark setting cannot be greater than the high water mark setting. Name The name of the disk pool. Number of volumes The number of disk volumes in the disk pool. % full The percentage of storage that is currently in use on the volume.
238 Storage units, unit groups, and lifecycle policies Storage unit settings
The df command may report a percentage used (Use%) value that is different from the % full value. (See the preceding Available Storage topic for a description of why the values appear differently.)
Raw size The raw, unformatted size of the storage in the disk pool. Usable size The amount of usable storage in the disk pools.
For Media Manager storage units: The default maximum fragment size for a Media Manager storage unit is 1000 terabytes. To specify a maximum fragment size other than the default, place a check in the Reduce fragment size check box. Then enter a value from 50 megabytes to 1,048,575 megabytes. Fragmenting multiplexed tape backups can expedite restores. Fragments allow NetBackup to skip to the specific fragment before searching for a file. Generally, NetBackup starts at the beginning of the multiplexed backup and reads tar headers until it finds the file. For disk storage units: The default maximum fragment size for a disk storage unit is 524,287 megabytes. To specify a maximum fragment size other than the default, enter a value from 20 megabytes to 524,287 megabytes. Backups to disk are usually fragmented to ensure that the backup does not exceed the maximum size that the file system allows. The Reduce fragment size setting is intended primarily for storing large backup images on a disk type storage unit. Backups may be fragmented on disk to increase performance when the images that Storage Migrator has migrated are restored. For example, a restore is faster if a 500-megabyte backup is stored in 100-megabyte fragments. Storage Migrator needs to retrieve only the specific fragment with the file rather than the entire 500 megabytes.
Note: OpenStorage vendors may have special requirements for the maximum fragment size. Consult the vendor's documentation for guidance. If an error occurs in a backup, the entire backup is discarded. The backup restarts from the beginning, not from the fragment where the error occurred. (An exception is for backups where checkpoint restart is enabled. In that case,
Storage units, unit groups, and lifecycle policies Storage unit settings
239
fragments before and including the last checkpoint are retained; the fragments after the last checkpoint are discarded.) Note: Basic disk staging units with different maximum fragment sizes may already be configured on a media server from a previous release. Upon upgrade, the disk storage units are not automatically increased to the new default of 524,287 megabytes. To make the best use of upgraded storage units, increase the fragment size on the upgraded storage units.
Robot number
The Storage device selection determines the Robot number. It is the same robot number used in the Media Manager configuration. For more information on robot numbers, see Robot number on page 601.
Robot type
The Robot type and indicates the type of robot (if any) that the storage unit contains. The Robot type is determined by the Storage device setting. For the specific vendor types and models that correspond to each robot type, see the Supported Peripherals section of the NetBackup Release Notes.
Storage device
The Storage device list contains all possible storage devices available. Storage units can be created for the listed devices only.
240 Storage units, unit groups, and lifecycle policies Storage unit settings
The storage unit name cannot be changed after creation. The Storage unit name is inaccessible in a Change Storage Unit operation.
Disk: see Disk storage unit considerations on page 222. Media Manager: see Media Manager storage unit considerations on page 220. NDMP: see NDMP storage unit considerations on page 227.
Transfer throttle
The Transfer throttle setting appears for SnapVault storage units only. This setting makes it possible to limit the amount of network bandwidth that is used for the SnapVault transfer. (In case bandwidth needs to be reserved for other applications.) Zero (default) means no network bandwidth limit for the SnapVault transfer: SnapVault uses all available bandwidth. (Range: 0 to 9999999.) A value greater than 0 indicates a transfer speed for SnapVault in kilobytes per second. For example, a value of 1 sets a transfer speed limit for SnapVault of 1 kilobyte per second, which is a very slow transfer rate.
Storage units, unit groups, and lifecycle policies Storage unit settings
241
Only the media servers that are configured as storage servers appear in the media servers list. A software plug-in must be installed on each media server. The software plug-in is provided by the storage vendor. Login credentials to the storage server must be configured on the media server. Only the media servers on which storage server login credentials are configured appear in the media servers list. If a server does not appear, verify that the software plug-in is installed and that login credentials are configured for that media server. The required software plug-in is installed automatically with NetBackup. Login credentials to the disk array must be configured on the media server. Only the media servers that are configured as data movers for the OpenStorage implementation appear in the media server list. (For OpenStorage, NetBackup media servers function as data movers.) If a media server does not appear in the list, verify that the software plug-in is installed and that logon credentials are created. See the Veritas NetBackup PureDisk Remote Office Edition Administrators Guide for the media server requirements.
242 Storage units, unit groups, and lifecycle policies Staging backups to initial storage, then final storage
Staging allows for faster restores from disk. Staging allows the backups to run when tape drives are scarce. Staging allows data to be streamed to tape without image multiplexing.
Basic disk staging Basic disk staging consists of two stages. First, data is stored on the initial storage unit (disk staging storage unit). Then, per a configurable relocation schedule, data is copied to the final location. Having the images on the final destination storage unit allows the space to be freed on the disk staging storage unit when it is needed. For more information, see Basic disk staging on page 244. The following storage unit types are available for basic disk staging: BasicDisk, NearStore, and tape. Staging using Storage Lifecycle Policies Staged backups that are configured within the Storage Lifecycle Policies utility also consist of two stages: Data on the staging storage unit is copied to a final destination, however, the data is not copied per a specific schedule. Instead, the administrator can configure the data to remain on the storage unit until either a fixed rention period is met, or until the disk needs additional space, or until the data is duplicated to the final location. No BasicDisk, SnapVault, or disk staging storage units can be used as destinations in a lifecycle. For more information, see Storage Lifecycle Policies on page 253.
The staging method that is used is determined in the policy Attributes tab. The Policy storage selection determines whether the backup goes to a storage unit or a lifecycle.
Storage units, unit groups, and lifecycle policies Staging backups to initial storage, then final storage
243
Note: Symantec recommends that a disk partition or file system be dedicated to any disk storage unit that is used for staging. Dedicated space allows the disk staging space management logic to operate successfully.
244 Storage units, unit groups, and lifecycle policies Basic disk staging
Stage I: Clients are backed up by a policy. The Policy storage selection in the policy indicates a storage unit that has a relocation schedule configured. The schedule is configured in the New or Change Storage unit dialog by clicking Staging Schedule. Stage II: Images are copied from the Stage I disk staging storage unit to the Stage II storage unit. The relocation schedule on the disk staging storage unit determines when the images are copied to the final destination. Having the images on the final destination storage unit allows the space to be freed on the disk staging storage unit when it is needed.
The image continues to exist on both the disk staging storage unit and the final destination storage units until the image expires or until space is needed on the disk staging storage unit. Figure 5-7
Client
The relocation schedule on the disk staging storage unit copies data to the final destination storage unit Stage II
When the relocation schedule runs, NetBackup creates a data management job. The job looks for any data that can be copied from the disk staging storage unit to the final destination. The Job Details in the Activity Monitor identify the job as one associated with basic disk staging. The Job Details list Disk Staging in the jobs Data Movement field. When NetBackup detects a disk staging storage unit that is full, it pauses the backup. Then, NetBackup finds the oldest images on the storage unit that have been successfully copied onto the final destination. NetBackup expires the images on the disk staging storage unit to create space.
Storage units, unit groups, and lifecycle policies Basic disk staging
245
The minimum disk size is the smallest size that is required for the successful operation of the disk staging logic. The minimum size must be greater than or equal to the largest combined size of the backups that are placed on the storage unit between runs of the disk staging schedule. (In our example, the disk images remain on the disk for one week.) In this example, the relocation schedule runs nightly, and the largest nightly backup is 700MB. Symantec recommends that you double this value to allow for any problems that may occur when the relocation schedule runs. To double the value gives the administrator an extra schedule cycle (one day) to correct any problems. To determine the minimum size for the storage unit in this example, use the following formula: Minimum size = Max data per cycle * (1 cycle + 1 cycle for safety) For example: 1.4GB = 700MB * (1+1)
The average disk size represents a good compromise between the minimum and the maximum sizes. In this example, the average nightly backup is 400MB and the NetBackup administrator wants to keep the images for one week.
246 Storage units, unit groups, and lifecycle policies Basic disk staging
To determine the average size for the storage unit in this example, use the following formula: Average size = Average data per cycle * (number of cycles to keep data + 1 cycle for safety) 2.8GB = 400MB * (6 + 1)
The maximum disk size is the recommended size needed to accommodate a certain level of service. In this example, the level of service is that disk images remain on disk for one week. To determine the maximum size for the storage unit in this example, use the following formula: Maximum Size = Max data per cycle * (# of cycles to keep data + 1 cycle for safety) For example: 4.9 GB = 700MB * (6 + 1)
Finding the potential free space on a BasicDisk disk staging storage unit
Potential free space is the amount of space on a disk staging storage unit that NetBackup could free if extra space on the volume was needed. The space is the total size of the images that are eligible for expiration plus the images ready to be deleted on the volume. To find the potential free space on a BasicDisk storage unit, use the bpstulist and the nbdevquery commands. Note that the name of the storage unit and disk pools are case-sensitive. Run bpstulist -label to find the disk pool name. In the case of BasicDisk storage units, the name of the disk pool is the same as the name of the BasicDisk storage unit. In the following example, the name of the storage unit is NameBasic:
bpstulist -label basic NameBasic 0 server1 0 -1 -1 1 0 "C:\" 1 1 524288 *NULL* 0 1 0 98 80 0 NameBasic server1
Run the nbdevquery command to display the status for the disk pool, including the potential free space. Use the following options, where: -stype server_type Specifies the vendor-specific string that identifies the storage server type. For a BasicDisk storage unit, enter BasicDisk. -dp Specifies the disk pool name. For a basic disk type, the disk pool name is the name of the BasicDisk storage unit.
Storage units, unit groups, and lifecycle policies Basic disk staging
247
2 3
Name the storage unit. For more information, see Storage unit name on page 239. Select Disk as the Storage unit type. Select the Disk type of disk storage unit that is to be a disk staging storage unit. Select a media server. For more information, see Media server on page 233. Enter the absolute path to the directory to be used for storage. For more information, see Absolute pathname to directory/volume on page 228.
248 Storage units, unit groups, and lifecycle policies Basic disk staging
Select whether this directory can reside on the root file system or system disk. For more information, see Directory can exist on the root file system or system disk on page 228. Enter the maximum concurrent jobs that are allowed to write to this storage unit at one time. For more information, see Maximum concurrent jobs on page 231. Enter a Low water mark value. For more information, see Low water mark on page 230. The High water mark does not apply to basic disk staging. For more information, see High water mark on page 230. Check the Enable temporary staging area option. Once the option is enabled, the Staging Schedule button becomes enabled. Click the Staging Schedule button. The Disk Staging dialog box appears.
Complete the Disk Staging dialog box. The dialog box is similar to the scheduling dialog box used to configure policies. The differences appear on the Attributes tab:
The schedule name defaults to the storage unit name. Select the priority that the relocation jobs that are started from this schedule have compared to other types of jobs. For more information, see Priority of relocation jobs started from this schedule on page 250. Select whether to create Multiple Copies. With the Multiple copies attribute enabled, NetBackup can create up to four copies of a backup simultaneously. For more information, see Multiple copies on page 131. Note: For disk staging storage units, the Maximum backup copies Global host property must include an additional copy beyond the number of copies that are indicated in the Copies field.
Select a storage unit to contain the images from this storage unit upon relocation. For more information, see Final destination storage unit on page 250. Select a volume pool to contain the images from this storage unit upon relocation. For more information, see Final destination volume pool on page 250. Select a media owner to own the images from this storage unit upon relocation. For more information, see Final destination media owner on page 250.
Storage units, unit groups, and lifecycle policies Basic disk staging
249
Select whether to use an alternate server for the images from this storage unit upon relocation. For more information, see Use alternate read server on page 251.
5 6
Click OK to accept the disk staging schedule. Click OK to add the storage unit.
The differences appear on the Attributes tab, as described in the following sections:
Name
The schedule name for a disk staging schedule automatically defaults to the name of the storage unit.
250 Storage units, unit groups, and lifecycle policies Basic disk staging
If the Final destination storage unit is a Media Manager storage unit (tape), or If Any Available is indicated for the Final destination storage unit.
Any lets NetBackup choose the media owner. NetBackup chooses a media server or a server group (if one is configured). None specifies that the media server that writes the image to the media owns the media. No media server is specified explicitly, but you want a media server to own the media. A server group. A server group allows only those servers in the group to write to the media on which backup images for this policy are written. All server groups that are configured in the NetBackup environment appear in the drop-down list.
Storage units, unit groups, and lifecycle policies Basic disk staging
251
Connected to the storage device that contains the original backups (the source volumes). Connected to the storage device that contains the final destination storage units.
If the final destination storage unit is not connected to the alternate read server, data is sent over the network.
252 Storage units, unit groups, and lifecycle policies Basic disk staging
Select Actions > Manual Relocation to Final Destination to initiate the schedule.
If the relocation schedule finds data that can be copied, NetBackup creates a job to copy the data to the final destination storage unit. The image then exists both storage units until the disk staging (Stage I) storage unit becomes full and the oldest images are deleted. For more information, see Maintaining available space on disk storage units on page 225.
Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
253
This selection determines whether the destination is a backup destination or a duplication destination
NetBackup automatically copies the image to all duplication destinations in the lifecycle. The backup is retained on the backup destination until the retention period is met. Duplication destinations are optional, and can provide another method for disk staging.
254 Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
The retention type that is selected for the destinations determines how long the backup resides on the destination. Eventually, NetBackup deletes the backup from the destinations to create more disk space.
Indicate a Storage lifecycle policy name: Name the storage lifecycle. Indicate a Data classification: Select a data classification. (Optional.) (See Data classification on page 262.) Indicate a Duplication job priority: Select the priority that duplication jobs have in relationship to all other jobs. In duplication jobs, NetBackup duplicates data from a backup
Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
255
destination to a duplication destination within a lifecycle. (See Duplication job priority on page 258.)
Indicate the Storage destinations: Click the Add button to add storage destinations to the lifecycle. (See Storage destinations on page 258.)
Click OK to create the storage lifecycle. After they are created, data classifications cannot be deleted.
At least one backup destination At least one destination of a fixed retention type
Note: A duplication destination does not need to be included in a lifecycle if staging behavior is not the objective. The lifecycle may be used to create multiple copies. To add a storage destination to a lifecycle policy 1 2 Open the New Storage Lifecycle Policy dialog box or the Change Storage Lifecycle Policy dialog box. Click Add. The New Destination dialog box appears.
Every lifecycle must contain at least one destination of a fixed retention type Depends on high and low watermark settings Use only for backup destinations
256 Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
Select whether images are to be written to the destination as part of the backup operation or as part of the duplication operation. (During the duplication operation, backups are duplicated to secondary storage.) (See Use storage destination for: backup or duplication on page 259.) Indicate the Storage unit or storage unit group where the backups are to be written. No BasicDisk, SnapVault, or disk staging storage units can be used as destinations in a lifecycle. (See Storage unit on page 259.) Indicate the Volume pool where the backups (or copies) are to be written. (See Volume pool on page 259.) Indicate the Media owner if the storage unit is a Media Manager type and server groups are configured. Specify a Media owner to allow only those media servers in the group to write to the media on which backup images for this policy are written. (See Media owner on page 259.) Indicate the retention type for the destination:
Fixed retention type. (See Retention type: Fixed on page 260.) Staged capacity managed. (See Retention type: Staged capacity managed on page 260.) Expire after duplication. (For backup destinations only.) (See Retention type: Expire after duplication on page 262.) If a policy is configured to back up to a lifecycle, the retention that is indicated in the lifecycle is followed. The Retention attribute in the schedule is not followed.
Indicate an Alternate read server. (See Alternate read server on page 262.)
Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
257
Two copies to two different backup destinations One copy to a duplication destination
258 Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
To make sure that copy 1 is written to disk, enter the disk type destination before the tape destination. Figure 5-9 Order of destinations determines copy order
Storage destinations
The storage destination list contains all the destinations (storage units and storage unit groups) that the storage lifecycle can use. The list includes the storage that is used for the original backups as well as storage that is used for duplication at a later time.
Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
259
All configured backup destinations for the storage lifecycle must be on the same media server. One of the destinations must be of a fixed retention type. There must be at least one valid backup destination in the destination list.
Storage unit
Indicate the storage unit where the backups are to be written. The following destinations can be selected:
Any available Media Manager storage units (tape) Disk storage units (no BasicDisk, SnapVault, or disk staging storage units) Storage unit groups (may contain no BasicDisk, SnapVault, or disk staging storage units). A storage lifecycle policy can point to a storage unit group that contains a BasicDisk storage unit. However, NetBackup does not select BasicDisk storage units from a storage group for a lifecycle policy.
Note: The storage destination list cannot contain other storage lifecycles. Storage units or storage unit groups may appear in more than one lifecycle. Storage units or storage unit groups may be used in a storage lifecycle while also being used as stand-alone units.
Volume pool
The Volume pool option is enabled for tape storage units.
Media owner
A Media owner can be selected. A Media owner is a group of NetBackup servers that are used for a common purpose. (See Configuring server groups for media sharing on page 615.)
260 Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
Retention period
The Retention period specifies exactly how long NetBackup retains the backups before the backups are expired. To set the retention period, select a time period (or level) from the drop-down list.
Any Backup images that have passed the Desired cache period setting. Data classifications: Images that belong to a data classification with a lower rank are deleted before those that belong to a data classification with a higher rank. (See Data Classification properties on page 407.)
Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
261
Note: If more space is needed, any images that are not past the Desired cache period may be deleted. However, an image is never deleted if it has not been duplicated to all destinations in the lifecycle, even if the image is past its retention period. For more information, see Writing multiple copies using a lifecycle on page 256. To see exactly when the storage destination reaches the low water mark value is difficult. A backup can occur at the same time as the expiration process occurs. After the backup is complete, the low water mark may be slightly greater than its lowest possible value.
Mixing retention types on the same volume within a disk storage destination
Symantec does not recommend allowing capacity-managed images and fixed-retention images to be written to the same volume in a disk storage unit. The volume may fill with fixed-retention images and not allow the space management logic to operate as expected. Keep the following points in mind when configuring lifecycle destinations or selecting the storage location for a policy:
All lifecycles that write to a volume in a disk storage unit should write images of the same retention type: fixed or capacity-managed. Do not write images both to a volume in a disk storage unit within a lifecycle and to the same volume (by the storage unit) directly from a policy. Mark all disk storage units that are used with lifecycles as On demand only. Check any storage unit groups to make sure that fixed and capacity-managed images cannot be written to the same volume in a disk storage unit.
Capacity managed retention and the storage units that use Single instance store
Staged capacity managed is selectable for any disk storage unit that is allowed in a lifecycle. However, for the disk types that support single-instance store (SIS), Staged capacity managed functions to various degrees. In order for Staged capacity managed to operate, NetBackup must know how much space a
262 Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
backup image uses. With SIS enabled on the storage unit, NetBackup cannot know exactly how much space a particular backup image occupies. The following storage unit configurations use SIS:
PureDisk storage units NearStore storage units that have either the Enable file system export option enabled or the Enable block sharing option enabled. Some OpenStorage storage units, depending on the vendor characteristics.
Data classification
The Data classification allows the NetBackup administrator to classify data based on relative importance. A classification represents a set of backup requirements. When data must meet different backup requirements, consider assigning different classifications. For example, email backup data may be assigned to the silver data classification and financial backup data backup may be assigned to the platinum classification. The financial data is assigned to the higher classification of platinum because backups of the financial data are consider more important. The Data classification defines the level of data that the storage lifecycle is allowed to process. The Data classification drop-down menu contains all of the defined classifications. To select a classification is optional. One data classification can be assigned to each storage lifecycle policy and applies to all destinations in the lifecycle. A storage lifecycle is not required to have a data classification.
Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
263
If a data classification is selected, the storage lifecycle stores only those images from the policies that are set up for that classification. If no classification is indicated, the storage lifecycle accepts images of any classification or no classification.
If a classification is indicated, the Policy storage selection must contain a lifecycle with that assigned classification
After data is backed up to a storage lifecycle policy with an assigned classification, the data is managed according to the storage lifecycle configuration. The storage lifecycle defines what happens to the data from the initial backup until the last copy of the image has expired. If a classification is selected, all the images that the policy creates are tagged with that classification ID.
264 Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
MIN_KB_SIZE_PER_DUPLICATION_JOB
The MIN_KB_SIZE_PER_DUPLICATION_JOB parameter default is 8 gigabytes. This parameter indicates the total size that the image batch can reach before a duplication job is run for the batch. The lifecycle looks for completed images to be added to a batch every five minutes. The lifecycle does not request a duplication job until either:
the total size of the images in a batch reaches the minimum size as indicated by MIN_KB_SIZE_PER_DUPLICATION_JOB, or the MAX_MINUTES_TIL_FORCE_SMALL_DUPLICATION_JOB time has passed. This parameter determines the maximum time between batch requests.
MAX_KB_SIZE_PER_DUPLICATION_JOB
The MAX_KB_SIZE_PER_DUPLICATION_JOB parameter default is 25 gigabytes. This parameter determines how large the image batch can grow. When the size reaches the size as indicated by this parameter, no more images are added to the batch.
MAX_MINUTES_TIL_FORCE_SMALL_DUPLICATION_JOB
The MAX_MINUTES_TIL_FORCE_SMALL_DUPLICATION_JOB parameter default is 30 minutes. If the minimum batch size is not reached by the time indicated, the lifecycle requests a duplication job, regardless of the size.
Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
265
List the contents of the EMM database. The tables about the lifecycle-processed images can be printed. Support may request this information to troubleshoot a lifecycle problem. Cancel pending duplication operations on the selected image copies. When a duplication job is canceled, NetBackup considers the job complete and does not try to run another duplication job. Inactivate (or suspend) pending and future lifecycle operations on selected image copies. NetBackup retains the image information so that processing can resume. Activate (or resume) suspended lifecycle operations on selected image copies.
See NetBackup Commands for UNIX and Linux for a description of all the options available for nbstlutil.
266 Storage units, unit groups, and lifecycle policies Storage Lifecycle Policies
Use the nbstlutil command in the case of a hardware problem that may require more than 15 minutes to resolve. That is, the problem may take longer to resolve than three duplication sessions five minutes apart. For example, a duplication job fails because the library doesnt contain enough blank tapes. It may take longer than 15 minutes to place additional blank tapes into the tape library. The administrator may not want to wait 24 hours for the next duplication session. The nbstlutil command can be used to inactivate the lifecycle while tapes are added. When ready, the lifecycle can be activated and duplication jobs would begin.
Storage units, unit groups, and lifecycle policies Storage unit groups
267
Prioritized
NetBackup chooses the first storage unit in the list that is not busy, down, or out of media. Also, the storage unit must not have reached the maximum concurrent jobs setting. When one of the specified conditions occurs, the next storage unit in the list is examined until NetBackup finds an available storage unit. If one is not available or if one does not have enough available space, the job fails and is not queued. (Default.)
Failover
NetBackup chooses the first storage unit in the list that is not down, out of media, or full. If a storage unit is only busy, the policy waits to write to it. The other storage units are used as failovers. NetBackup queues a job to wait for the first storage unit if the maximum concurrent jobs setting is reached.
Round robin
NetBackup chooses the least recently selected storage unit in the list as each new job is started. If a storage unit is not available, or if no unit has available space, the job fails and is not queued. NetBackup does not continue to select the same storage unit.
Load balance
The Load balance option allows NetBackup to select storage units based on a capacity-managed approach. NetBackup avoids sending jobs to busy media servers. The selection is based on the following factors:
268 Storage units, unit groups, and lifecycle policies Storage unit groups
The rank of the media server. NetBackup considers the number of processes that are running on each CPU along with the memory thresholds on each server to determine the rank of a media server. If the free memory drops below a determined threshold, or if the number of running processes per CPU rises above a determined threshold, then the overall rank of the media server drops. The number of jobs on the media server. NetBackup considers the number of scheduled jobs on each media server. Whether the media server has enough disk space to accommodate the estimated size of the image NetBackup estimates the size of any new or current jobs on each media server and determines whether the jobs will fit on a given volume. NetBackup estimates the amount of space that the job may require, based on previous backup history. If no history is available, the high water mark for the storage unit serves as a guide.
2 3
Storage units, unit groups, and lifecycle policies Storage unit groups
269
Figure 5-11
The Load balance option cannot be selected for a storage unit group that contains a BasicDisk storage unit
Note: Symantec recommends selecting Load balance for disk staging storage units within a storage unit group.
Change the Limit jobs per policy policy attribute for one or more of the policies that are sent to a media server. To decrease Limit jobs per policy reduces the workload on a media server on a specific network segment. Reconfigure policies or schedules to use storage units on other media servers. See Limit jobs per policy on page 97.
270 Storage units, unit groups, and lifecycle policies Storage unit groups
Consider changing the Bandwidth host properties on one or more clients. See Bandwidth properties on page 377.
To distribute the backup load on media servers during peak periods: Reconfigure policy schedules so that they write to storage units on the media servers that can handle the load. (This assumes that master servers and media servers are on separate hosts.) To adjust the backup load on client Change the Maximum jobs per client global attribute. For example, to increase Maximum jobs per client increases the number of concurrent jobs that any one client can process and therefore increases the load..For more information, see Maximum jobs per client on page 436. To reduce the time to back up clients Increase the number of jobs that clients can perform concurrently, or use multiplexing. Another possibility is to increase the number of jobs that the media server can perform concurrently for the policies that back up the clients. To give preference to a policy Increase the Limit jobs per policy attribute for the preferred policy relative to other policies. Or, increase the priority for the policy. For more information, see Limit jobs per policy on page 97. To adjust the load between fast and slow networks Increase the Limit jobs per policy and Maximum jobs per client for policies and clients in a faster network. Decrease these numbers for slower networks. Another solution is to use NetBackups bandwidth limiting. For more information, see Limit jobs per policy on page 97 and Maximum jobs per client on page 436. To maximize the use of devices Use multiplexing. Allow as many concurrent jobs per storage unit, policy, and client as possible without causing server, client, or network performance problems. To prevent backups from monopolizing tape devices
Place some drives in a down state or limit the number that are used concurrently in a specific storage unit. For example, if there are four drives in a robot, allow only two to be used concurrently. Do not place all devices under Media Manager control.
Storage units, unit groups, and lifecycle policies Storage unit groups
271
storage units take precedence over the defined sequence of storage units in the group. You may have set up a storage unit to be On demand only. If the unit is in a storage unit group that a policy requires, the On demand only option is satisfied and the device is used. For more information, see Policy storage on page 91.
272 Storage units, unit groups, and lifecycle policies Storage unit groups
Note: The storage unit group name is case-sensitive. 4 Add to or remove storage units from the group: a b c To add storage units to the group, select the storage units from the Storage units not in the group list. Click Add. To remove storage units from the group, select the storage units from the Storage units in group list. Click Remove. Storage units are listed in order of priority: The units at the top of the list having the highest priority in the group. To change the priority of a storage unit, select the storage unit and click Increase Priority or Decrease Priority.
Storage units, unit groups, and lifecycle policies Storage unit groups
273
Note: SnapVault, NearStore, and PureDisk storage units cannot be included in storage unit groups. 5 Choose how storage units are to be selected within the group:
Prioritized. Choose the first storage unit in the list that is not busy, down, or out of media. (See page 267.) Failover. Choose the first storage unit in the list that is not down or out of media. (See page 267.) Round Robin. Choose the least recently selected storage unit in the list. (See page 267.) Load Balance. (See page 267.) Symantec recommends the Load Balance criteria for disk staging storage units within a storage unit group.
Click OK.
3 4
274 Storage units, unit groups, and lifecycle policies Storage unit groups
Chapter
NetBackup Catalog
This chapter describes the role that the catalog plays in a NetBackup environment. This includes how to configure a catalog back up and perform a catalog recovery. The various functions that an administrator can perform in the Catalog utility are also explained.
What is a NetBackup catalog? on page 276 Catalog protection on page 282 Recovering the catalog on page 317 Disaster recovery emails and the disaster recovery file on page 317 Archiving the catalog on page 318 Using the Catalog utility on page 324 Catalog maintenance and performance optimization on page 347
Image database: The image database contains information about what has been backed up. It is by far the largest part of the catalog. For more information, see Image database on page 277. NetBackup data that is stored in relational databases: The data includes media and volume data describing media usage and volume information, which is used during the backups. For more information, see NetBackup relational database on page 280. NetBackup configuration files: The configuration files include flat files concerning policy and schedule information.
277
Figure 6-1
/db/data
/netbackup/db
/netbackup/vault
/var/global
NBDB.db EMM_DATA.db EMM_INDEX.db NBDB.log BMRDB.db BMRDB.log BMR_DATA.db BMR_INDEX.db vxdbms.conf Relational database files /client_1 /Master /client_n /Media_server Image database /class /class_ template /client /config /failure_history /media /error /images /jobs /vault
server.conf databases.conf
Configuration files
Image database
The image database (/usr/openv/netbackup/db/images) contains subdirectories for each client that is backed up by NetBackup, including the master server and any media servers. The image database contains:
Image files (files that store only backup set summary information) Image .f files (files that store the detailed information of each file backup)
The image database is the largest part of the NetBackup catalog. It consumes about 99% of the total space that is required for the NetBackup catalog. While most of the subdirectories are relatively small in the NetBackup catalogs, /images can grow to several tens, or even hundreds of gigabytes. The image database on the master server may grow too large to fit on a single tape. The database growth is an important consideration for offline, cold catalog backups. Image database growth depends on the number of clients, policy schedules, and the amount of data that is backed up.
To determine catalog space requirements, see Determining catalog space requirements on page 347. If the image catalog becomes too large for the current location, consider moving it to a file system or disk partition that contains more space. For more information, see Moving the image catalog on page 354. The image database component of the NetBackup catalog uses the .f files in binary format for Windows, Solaris, HP_UX, Compaq Tru64 UNIX, AIX, and Linux platforms. The catalog conversion utility (cat_convert) can be used to upgrade an image database to the binary format. (See Catalog conversion utility on page 354.)
Image files
Each image file is an ASCII file, generally less than 1 kilobyte in size. An image file contains only backup set summary information. For example, the backup ID, the backup type, the expiration date, fragment information, and disaster recovery information.
Image .f files
The binary catalog may contain one or more image .f files. This type of file is also referred to as a files-file. The image .f file may be large because it contains the detailed backup selection list for each file backup. Generally, image files range in size from 1 kilobyte to 10 gigabytes. The file layout determines whether the catalog contains one .f file or many .f files. NetBackup configures the file layout automatically, based on the size of the binary catalog. NetBackup uses one of two layouts: single file layout or multiple file layout.
279
Separating the additional .f files from the image .f file and storing the files in the catstore directory improves performance while writing to the catalog. The main image.f file is always exactly 72 bytes.
-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw1 1 1 1 1 1 1 1 1 1 root root root root root root root root root root other other other other other other other other other other 72 804 1489728 0 1280176 192 0 9112680 2111864 11 Aug Aug Aug Aug Aug Aug Aug Aug Aug Aug 30 30 30 30 30 30 30 30 30 30 00:40 test_1030680524_INCR.f 00:08 catstore/test_1030680524_INCR.f-list 00:39 catstore/test_1030680524_INCR.f_imgDir0 00:40 catstore/test_1030680524_INCR.f_imgExtraObj0 00:39 catstore/test_1030680524_INCR.f_imgFile0 00:40 catstore/test_1030680524_INCR.f_imgHeader0 00:40 catstore/test_1030680524_INCR.f_imgNDMP0 00:39 catstore/test_1030680524_INCR.f_imgRecord0 00:39 catstore/test_1030680524_INCR.f_imgStrings0 00:40 catstore/test_1030680524_INCR.f_imgUserGroupNames0
Bare Metal Restore (BMR) database: The BMRDB database contains the information that the NetBackup Bare Metal Restore option manages. The BMR database is created during the BMR installation process. NetBackup database (NBDB): Also known as the Enterprise Media Manager (EMM) database, the NBDB contains information about volumes and the robots and drives that are in NetBackup storage units. For more information, see Enterprise Media Manager (EMM) database on page 281.
As part of the catalog backup, the database and the configuration files for the NBDB and the BMRDB databases are protected:
Database files:
/usr/openv/db/data/NBDB.db /usr/openv/db/data/EMM_DATA.db /usr/openv/db/data/EMM_INDEX.db /usr/openv/db/data/NBDB.log /usr/openv/db/data/BMRDB.db (if BMR is installed) /usr/openv/db/data/BMRDB.log (if BMR is installed) /usr/openv/db/data/BMR_DATA.db (if BMR is installed) /usr/openv/db/data/BMR_INDEX.db (if BMR is installed)
Configuration files:
Note: The catalog backup process copies this data to /usr/openv/db/staging and backs up the copy. For information about how the catalog uses Sybase ASA, see Appendix A, NetBackup relational database on page 697.
281
Device attributes Robotic library and stand-alone drive residence attributes NDMP attributes Barcode rule attributes Volume pool attributes Tape and optical disk volume attributes Media attributes Storage unit attributes Storage unit group attributes Hosts with assigned tape drives Media and device errors Disk pool and disk volume attributes Storage server attributes Login credentials for storage servers, disk arrays, and NDMP hosts Fibre Transport attributes
Catalog protection
In order for NetBackup to restore any file, NetBackup needs information from the catalog to determine where the backup for the file is located. Without a catalog, NetBackup cannot restore data. Because the catalog plays an integral part in a NetBackup environment, a particular type of backup--a catalog backup--protects the catalog. A catalog backup backs up catalog-specific data as well as produces disaster recovery information. As additional protection for the catalog, you may consider archiving the catalog as well. (See Archiving the catalog on page 318.) Note: The Recommended Backup Practices, section in Chapter 7 of the NetBackup Troubleshooting Guide provides helpful setup information to aid in disaster recovery. Since the catalog plays a critical role in the NetBackup environment, much of the information concentrates on catalog considerations.
Catalog backups
A catalog backup is configured separately from regular client backups by using the Catalog Backup Wizard. The catalog can be stored on a variety of media. Note: Configure a catalog backup before you run any regular backups.
Note: If portions of the catalog are relocated, note the changes so that subsequent catalog backups are aware of the locations of all the catalog components. In the event that a catalog recovery is needed, the same alterations must be implemented before the recovery of the catalog. Choose the catalog backup method that works best for your environment:
Online, hot catalog backup (recommended method) This type of catalog backup is for active environments in which continual backup activity occurs. It is considered an online, hot method because it can be performed while regular backup activity occurs. This type of catalog is policy-based and can span more than one tape. It also allows for incremental backups, which can significantly reduce catalog backup times for large catalogs.
283
Online, hot catalog backups use media from the CatalogBackup volume pool only. For more information, see Online, hot catalog backup method on page 283.
Offline, cold catalog backup This type of catalog backup is for environments in which periods of no backup activity exist. It is considered an offline, cold backup because it should not be run when regular backup activity occurs. For Sybase ASA, the databases (NBDB and BMRDB) are shut down during the backup. This type of catalog backup must fit on a single tape. Offline, cold catalog backups use media from the NetBackup volume pool only. For more information, see Offline, cold catalog backup method on page 296.
Can back up the catalog while continual client backups are in progress. Can span multiple tapes for a catalog backup. Allows for a flexible pool of catalog tapes. Can perform a full or an incremental catalog backup. Can restore the catalog to a different location. Can run scheduled catalog backups. Offers a wizard to automate the catalog recovery process or a guided command line tool. Appends to existing data on tape. Can be duplicated. By using the Catalog Backup Wizard. See To configure an online, hot catalog backup using the catalog backup wizard on page 284. By using the Backup Policy Configuration Wizard. See To configure an online, hot catalog backup using the backup policy wizard on page 292. By selecting the NBU-Catalog type when creating a backup policy.
See To configure an online, hot catalog backup using the policy utility on page 293. To configure an online, hot catalog backup using the catalog backup wizard Note: Online, hot catalog policies (policy type NBU-Catalog) write only to media in the CatalogBackup volume pool. This procedure assumes that a storage device is configured and media is available in the CatalogBackup volume pool. For more information, see Adding volumes on page 508. 1 Launch the NetBackup Catalog Backup Wizard by clicking Configure the Catalog Backup in the right pane. The wizard is visible when either Master Server or NetBackup Management is selected in the left pane. Click Help within any wizard screen for more information on the wizard settings. Click Next on the Welcome screen. On the Catalog Backup Method screen, select to configure an online, hot catalog backup.
2 3
Click Next.
285
On the Catalog Backup Policy screen, select a policy from the list of existing catalog backup policies.
Or, to create a new catalog backup policy, select Create a new catalog backup policy. Click Next to launch the Policy Name and Type screen of the Backup Policy wizard. Enter the policy name. Notice that NBU-Catalog is automatically selected as the policy type. Type a unique name for the new policy in the Add a New Policy dialog box. For more information, see NetBackup naming conventions on page 631.
Click OK.
Select the backup type. (User Backup does not apply for NBU-Catalog policies.)
287
The selection After each backup session refers to a period when no regular backup policy is running. By default, a frequency-based schedule is selected. A frequency-based schedule ensures that the catalog backup has an opportunity to run in busy environments where backup jobs are running. Note: If online, hot catalog backups are scheduled to run concurrently with other backup types on the master server, see Running online, hot catalog backups concurrently with other backups on page 294. 10 In the Start Window screen, define a window of time during which the catalog backup can start. The scheduled windows (Off hours, Working hours,
All day) are preset in the wizard, but can be customized using the Policies utility.
User Window selections are disabled, as regular users (those who are not NetBackup administrators) cannot start catalog backups. 11 Select where each disaster recovery image file can be saved on disk. The image file contains the disaster recovery information.
289
Note: Symantec recommends that you save the image file to a network share or a removable device. Do not save the disaster recovery information to the local machine. Enter the path to the directory where the disaster recovery information can be saved. Specify an NFS share. If necessary, enter the logon and password information to access the NFS share. Note: If the logon information is not valid, NetBackup returns a message. The message requests that the user either reenter the logon and password information or clear the alternate location option to continue. Logon and password fields are enabled: - If the path begins with \\ which indicates a UNC share path. - If NetBackup does not have write access to the location that the user has specified. 12 Symantec recommends that the NetBackup environment be configured to send the disaster recovery information to a NetBackup administrator. This backup-specific information is sent after every catalog backup.
To send the information to more than one administrator, separate multiple email addresses using a comma: [email protected],[email protected]
Make sure that email notification is enabled in your environment. For more information on the email and the attached disaster recovery file, see Disaster recovery emails and the disaster recovery file on page 317. Also, see Send in an email attachment on page 197. Note: The disaster recovery email is not sent to the address that is specified in the Global Attributes property. The Administrators email Address specifies the addresses where NetBackup sends notifications of scheduled backups or administrator-directed manual backups. 13 The last screen of the policy wizard lets you know that once the policy is created, you can make changes in NetBackup Management > Policies.
291
14 The Catalog Backup Wizard resumes, with the new policy listed.
15 Click Next to finish the Catalog Backup Wizard. 16 The final Catalog Backup Wizard screen displays the total number of catalog backup policies for this master server.
To configure an online, hot catalog backup using the backup policy wizard Using the Backup Policy Wizard to create an online, hot catalog backup policy is similar to using the Catalog Backup Wizard. Note: Online, hot catalog policies (policy type NBU-Catalog) write only to media in the CatalogBackup volume pool. This procedure assumes that a storage device is configured and media is available in the CatalogBackup volume pool. For more information, see Adding volumes on page 508. 1 Launch the Backup Policy Configuration Wizard by clicking Create a Backup Policy in the right pane. The wizard is visible when either Master Server or NetBackup Management is selected in the left pane. Click Help within any wizard screen for more information on the wizard settings. Click Next on the Welcome screen. Enter the policy name and select NBU-Catalog as the policy type. Click OK. (See NetBackup naming conventions on page 631.) Select the backup type. (User Backup does not apply for NBU-Catalog policies.) Select the rotation schedule. For NBU-Catalog policy types that run incremental backups, Every backup session end means a period when no regular backup policy is running. In the Start Window screen, define a window of time during which the catalog backup can start. The windows are preset in the wizard, but can be customized using the Policies utility. User Window selections are disabled because regular users (those who are not NetBackup administrators) cannot start catalog backups. Select where each disaster recovery image file can be saved on disk. Note: Symantec recommends that the image file be saved to a network share or a removable device. Do not save the disaster recovery information to the local machine. Disk Information
2 3 4 5
Path to the disk: For UNIX master servers, specify a local directory or NFS share. For Windows master servers, specify a local directory or UNC path (CIFS Windows share). Logon information that is used to:
293
Note: If the logon information is not valid, NetBackup returns a message. The message requests that the user either reenter the logon and password information and clear the alternate location option to continue. Logon and password fields are enabled: - If the path begins with \\ which indicates a UNC share path. - If NetBackup does not have write access to the location that the user has specified. 8 Symantec suggests having the disaster recovery information e-mailed to an NetBackup administrator in your organization. The disaster recovery information is sent after every catalog backup. Click Finish to complete the wizard.
To configure an online, hot catalog backup using the policy utility 1 2 3 4 In the NetBackup Administration Console, expand NetBackup Management >Policies. Select Actions > New > Policy. Type a unique name for the new policy in the Add a New Policy dialog box. Click OK. (See NetBackup naming conventions on page 631.) The following fields on the Attributes tab apply to online, hot catalog backups. For information about other fields on this tab, see Policy Attributes tab on page 87. Policy Type: Select NBU-Catalog as the policy type. Policy storage: For disk storage units, increase the Maximum Concurrent Jobs setting to ensure that the catalog backup can proceed during regular backup activity. Note: Online catalog backups must use media servers at version 6.0 or later to store catalog backup data. If your installation contains 5.x and 6.0 media servers, do not select Any Available for the destination Policy Storage Unit, since it is possible that the 5.x media server could be selected. Policy volume pool: NetBackup automatically creates a CatalogBackup volume pool that is selected by default only for NBU-Catalog policy types. Offline, cold catalog backups use media from the NetBackup volume pool. 5 Set up a schedule for an online catalog backup. For information on the Schedules tab settings, see Schedules tab on page 117.
See the following sections for additional information regarding online catalog backup schedules: Running online, hot catalog backups concurrently with other backups and Notes on catalog policy schedules. Note: The Clients tab does not apply to the NBU-Catalog policy and is not displayed. 6 The Disaster Recovery tab appears for NBU-Catalog policies only. The tab contains information regarding the location of data crucial to disaster recovery:
The path to the directory where the disaster recover information can be saved. The logon and password information to the share. The email address(es) where disaster recovery reports can be sent.
A critical policy list, which contains the names of policies that back up critical data. Media that contains critical policy backups is listed on the NetBackup Disaster Recovery Report that is generated when the online catalog backup is run. For information on the Disaster Recovery tab settings, see Disaster Recovery tab on page 196.
Set the Maximum Jobs per Client value to greater than one. The property is found in the Global Attributes host properties for the master server. (See Global Attributes properties on page 435.) Increase the Maximum Concurrent Jobs setting on the storage unit where the backups are sent. (See Maximum concurrent jobs on page 231.)
295
Symantec recommends that only one catalog backup policy be configured. Online catalog backups must use media servers at version 6.0 or later to store catalog backup data. If the installation contains 5.x and 6.0 media servers hosting disk storage units, do not select Any Available as the destination Policy storage. If Any Available is selected, a 5.x media server could possibly be selected. The incremental schedule depends on a full schedule. The least frequent schedule runs if many schedules are due at the same time. There can be more than one session-based incremental schedule in one catalog backup policy:
If one is cumulative and the other is differential, the cumulative runs when the backup session ends. If both are cumulative or both are differential, the first schedule that is found runs when the backup session ends.
The queued scheduled catalog backup is skipped if a catalog backup job from the same policy is running. Session end means that no jobs are running. (This calculation does not include catalog backup jobs.) The Vault catalog backup is run whenever triggered from Vault, regardless of whether a catalog backup job is running from the same policy. When an online catalog backup is run, it generates three jobs: a parent job, a child job for NetBackup relational database tables, and a child job for catalog images and configuration data. The child jobs contain the actual backed up data. Both child jobs should be considered to duplicate, verify, or expire the backup. Note: Additional child catalog jobs are created for 5.x media servers and the BMR database if a remote EMM server is configured.
Because of this difference, running a standard policy type backup that includes the /usr/openv/netbackup/db/images/ directory can adversely affect incremental hot catalog backups. When standard backups run, they reset the file access time (atime). In turn, this changes the ctime for files and directories. If an incremental catalog backup runs, it sees that the ctime has changed and unnecessarily backs up the files; files that may not have changed since the last catalog backup. To avoid additional processing during hot catalog backups, Symantec recommends the following:
If incremental hot catalog backups are configured, exclude the NetBackup /usr/openv/netbackup/db/images/ directory from standard backups. To exclude that directory, create a /usr/openv/netbackup/exclude_list file on the master server. Cold catalog backups also change the ctime. Do not configure both cold catalog backups and incremental hot catalog backups to run in a NetBackup configuration.
By using the Catalog Backup Wizard. For more information, see To configure an offline, cold catalog backup using the catalog backup wizard on page 298. By selecting Actions > Configure offline NetBackup Catalog Backup. For more information, see To configure an offline, cold catalog backup using the Actions menu on page 305.
The offline, cold catalog backup is suitable in many installations. However, this catalog backup differs from the online, hot catalog backup in a number of ways. The following items are the same limitations that existed in previous NetBackup releases. They are provided here for purposes of comparison. The offline, cold catalog backup:
Cannot back up the catalog while any job or any catalog operation is running. Cannot span tapes. Is not tracked like a regular backup. Since online, hot catalog backups are run as jobs by a policy, the online, hot catalog backup job is included in the catalog.
297
Cannot be duplicated as regular backups and online, hot catalog backups can be duplicated. Cannot be written to media and given an expiration date. Cannot be an incremental backup. Overwrites any data on a tape. This type of catalog backup starts at the beginning of the tape and does not append to existing data on the tape.
To configure an offline, cold catalog backup using the catalog backup wizard Note: Offline, cold catalog policies write only to media in the NetBackup volume pool. This procedure assumes that a storage device is configured and media is available in the CatalogBackup volume pool. For more information, see Adding volumes on page 508. 1 Launch the NetBackup Catalog Backup Wizard by clicking Configure the Catalog Backup in the right pane. The wizard is visible when either Master Server or NetBackup Management is selected in the left pane. The wizard is also available using the following methods:
Select the Catalog utility, then select Actions > Configure Offline NetBackup Catalog Backup.
Right-click the Catalog utility in the left pane and select Configure Offline NetBackup Catalog Backup. Click Help within any wizard screen for more information on the wizard settings.
On the Catalog Backup Method screen, select to configure an offline, cold catalog backup. Click Next.
299
Specify the media server where the catalog backups are to be sent.
Select the media servers that should be backed up in this catalog backup.
The catalog paths on the master server are added automatically during installation. Generally, no action is required other than to ensure that the directories are listed. Verify that the catalogs of the master server and each media server are included. Verify that the path names are correct and are in the correct format. The NETBACKUP_RELATIONAL_DATABASE_FILES directive automatically includes the database files in the /usr/openv/db/data/ directory, as well as vxdbms.conf, server.conf, and databases.conf. (If the files have been relocated to different directories using nbdb_move, the locations are automatically determined and the files are included.) If NetBackup Access Control (NBAC) is used in the NetBackup configuration, add the following directives for each host in the NBAC domain: [host:]nbat [host:]nbaz Note: For UNIX master servers, do not include the NetBackup master server configuration file in the offline catalog backup file list. (/usr/openv/netbackup/bp.conf) If bp.conf is included in the list, it must not be recovered until all other catalog recovery is completed. If NetBackup cannot find or follow a path, the entire catalog backup fails. Notes Regarding the Catalog File Locations List
If you have moved the location of the catalog on the master server, the new location must be specified.
301
On media servers, paths to the catalog are not automatically added during installation and must be added to this list. If /usr/openv/netbackup/db/images is a symbolic link to another file system, you must specify the true location of the images directory here. Symbolic links do not apply to Windows. The entire catalog backup fails if the final component in a UNIX path is a symbolic link. While NetBackup follows links at other points in the path, NetBackup does not follow a link when it is the final component. If any other part of a listed path is a symbolic link, NetBackup saves the actual path during the backup. The files that are associated with the NetBackup relational databases are automatically included in the catalog backup and dont need to be listed here. (NBDB and BMRDB.) The paths are dynamically generated during the backup since the locations of these files can change.
If both removable media and disk is configured, the Media Type for the Destination screen displays. Specify removable media or disk for the backup. For this example, well select Removable Media.
Select a destination volume from the drop-down list to store the catalog backup. Note: Note the media ID of the volume that was selected to know which volume contains catalog backups.
10 You may prefer to back up the catalog to two different locations. The catalog backup alternates for each catalog backup.
Alternate destinations adds protection in the event that a disk or tape that contains a catalog backup is lost. NetBackup always backs up to the media that was not used for the previous catalog backup. 11 Specify whether the alternate destination for the catalog backup is to removable media or to disk. For this example, well select Disk.
303
12 Enter the path to the alternate destination for the catalog backup.
A directory on a disk that is attached to the master server. NetBackup creates the directory if it does not exist. An NFS-mounted file system or a link to an NFS-mounted file system that grants write access to the root user.
A shared directory on another computer. This shared directory must be available to the service account that the NetBackup Client service logs into at startup. In addition to the platform-specific file path separators (/ and \) and colon (:) within a drive specification on Windows, follow the NetBackup naming conventions. (For more information, see NetBackup naming conventions on page 631.)
13 The frequency of catalog backups is configurable. Choose one of the following options:
After each session of scheduled, user, or manual backups Consider this option if you plan to send catalog backups to a robot, a tape stacker, a second stand-alone tape drive, or to disk. After each session of scheduled backups Consider this option if you plan to send catalog backups to a robot, a tape stacker, a second stand-alone tape drive, or to disk. Also, consider this option if there is only one scheduled backup session per day or night. This schedule type requires that no jobs are running in order for the catalog backup to run. Caution: Do not use this schedule in NetBackup environments in which continual backup activity occurs because the catalog backup might never have an opportunity to run. Only when manually initiated Consider this option to run multiple backup sessions in a single day or night. Be certain to perform a manual catalog backup once a day or after a series of backups. Caution: Back up the catalogs often. If catalog backup files are lost, the changes that were made between the last catalog backup and the time of the disk crash are lost.
305
14 The final wizard screen displays the total number of catalog backup policies that are configured for this master server. Click Finish to complete the wizard.
To configure an offline, cold catalog backup using the Actions menu Note: Offline, cold catalog policies write only to media in the NetBackup volume pool. This procedure assumes that a storage device is configured and media is available in the CatalogBackup volume pool. For more information, see Adding volumes on page 508. 1 2 In the NetBackup Administration Console, expand NetBackup Management > Catalog. With the Catalog utility in focus, select Actions > Configure Offline NetBackup Catalog Backup. The Catalog Backup Configuration dialog box appears containing four tabs: Intro, Attributes, Schedule, Files. Specify the properties on each tab of the dialog box:
Catalog intro tab on page 306 Catalog attributes tab on page 307 Catalog schedule tab on page 311 Catalog files tab on page 312
Click OK.
The tab reminds the users that another type of catalog backup is available that might serve their needs better: the online, hot catalog backup. (See Catalog backups on page 282.)
307
Media Server The following setting applies only to NetBackup Enterprise Server: The Media Server setting specifies the name of the media server to which catalog backups are sent. This defaults to the master server where you are running the NetBackup Administration Console. To choose a server, select one from the drop-down menu. The list shows all servers that have a storage unit that is defined on the current master server. If you back up the catalogs to a media server, modify the NetBackup catalog backup paths on the master server using the Catalog Files tab. (See Catalog files tab on page 312.) Ensure that the media server is named in the bp.conf file on the master server. On NetBackup Server, Media Server cannot be changed and is the NetBackup server where the catalogs reside. Last Media Used The Last Media Used setting shows the media ID (for Removable Media) or the absolute path (for disk) that contains the last NetBackup catalog backup. The value in this field is the value that you specified for either Media 1 or Media 2. These are the media that NetBackup alternates between for catalog backups. Media 1 and Media 2 Areas
The Media 1 and Media 2 Areas setting specifies the media to use for the catalog backups. You do not have to assign both Media 1 and Media 2. If you do assign both, NetBackup alternates between the media. Media Type The Media Type setting specifies the media type. Select one from the drop-down menu:
None: No media is assigned Disk: A directory on a disk drive Removable Media: A volume that is in a robot or drive under control of Media Manager
Depending on the storage devices that are available, Symantec recommends the following choices for Media Type: 1 2 3 If you use a robot or a tape stacker, choose Removable Media to select the automated device. If you use a stand-alone storage device for catalog backups, choose Removable Media and use the stand-alone device. If you use only one stand-alone drive (no robot or tape stacker), the most convenient method is to choose Disk for the media type. Send the catalog backups to a hard drive. The hard drive that you use for the catalog backup must be different than the hard drive where the catalogs reside. By default, the catalogs are stored in the following locations: /usr/openv/netbackup/db /usr/openv/var/global /usr/openv/db/data If you choose to back up the catalog to disk, the destination of the catalog backup must be on a different drive.
Caution: The safest way to protect your data is to save all backups to removable media. Move a full set of the media to off-site storage on a regular basis. A backup that is written only to disk shares the same risks as the computers being backed up. A natural disaster is more likely to destroy both the primary data and the backups if the backups are written only to disk. If the disks holding the catalogs and the catalog backup are both destroyed, recovering your business data is much more difficult. Assuming the backups are on tape, recovering without the catalog backup means manually importing all of the backup tapes to rebuild the catalogs. Importing consumes the time that you may not want to spend when you need to resume business activities.
309
If you have only one stand-alone drive (no robot or tape stacker) and inadequate space on a different hard drive, choose Removable Media. In this situation, you must back up the catalogs to the same tape drive as the backups of your business data. To back up to single tape drive involves swapping tapes in and out of the drive each time the catalogs are backed up. Swapping tapes is inconvenient, but it is required because NetBackup does not place catalog backups and the backups of business data on the same tape.
Media ID If youve chosen Removable Media, specify a valid media ID. The volume that is specified must be configured under Media in the same manner as other NetBackup volumes. The media ID must appear under Media and Device Management > Media. The volume must also meet the following requirements:
The volume must be in the NetBackup volume pool. To verify, look under Media and ensure that the Volume Pool column for the media ID displays NetBackup. The volume cannot be currently assigned to NetBackup for backups because NetBackup does not mix catalog backups and regular backups on the same media. To locate an available volume, expand Media and Device Management > Media. Find a volume where the Time Assigned column is empty and the Status column is 0. Once a catalog backup occurs, the Time Assigned and the Status column for the volume updates.
Note: If a column does not appear, size the columns by right-clicking in the pane and selecting Columns from the shortcut menu. The Last Written information under Media 1 and Media 2 indicates when the volume that is specified in the Media ID field was last used. The value is never if the volume has never been used for NetBackup catalog backups. Note: If the media ID for a volume that was used for catalog backups is deleted, then added back, NetBackup changes the Last Written date and time. However, the contents of the volume itself are not altered until the next time the volume is used for a backup. The Allocated information under Media 1 and Media 2 indicate when the media was allocated for NetBackup catalog backups. Notes on the Media ID
To delete the media for Media 1 or Media 2, set the Media Type value to None. Do not use backspace to leave the Media ID box blank. If you delete a volume from the catalog backup configuration, Media Manager makes the volume available for reassignment. Reassigning the volume can cause problems if, for example, you temporarily back up the catalog to a different volume. You must manually track the media that is used for catalog backups. NetBackup does not keep a record of catalog backup media in its catalogs as it does with other backup media. If NetBackup tracks catalog backup media in the catalog, and the disk containing the catalogs crashes, the record is lost with the catalogs. A convenient way to track the media is to indicate an email address in the Global Attributes properties. NetBackup sends an email that includes the status of each catalog backup and the media ID that was used. Print the email or save it on a disk other than the disk containing the catalogs. (See Global Attributes properties on page 435.) If the catalogs are intact, you can also find these media IDs in the Media Manager volume listing. The Status column shows 1 for these volumes. However, these IDs do not appear in the NetBackup media reports.
Pathname (Disk Media Type) For disk media, the Pathname is the path to the directory where you want to store the catalog backup. Type the path in the field. For example:
/nb/dbbackup
A directory on a disk that is attached to the master server. NetBackup creates the directory if it does not exist. An NFS-mounted file system or a link to an NFS-mounted file system that grants write access to the root user. Always back up to a physical disk different from the disk containing the catalogs. For example, if your computer has two physical disks and the catalogs are on the first disk, back up the catalogs to the second disk. If you back up the catalogs to the same disk and that disk fails, both the catalogs and the backups are lost. In that case, restoring data for the NetBackup clients is difficult or impossible. By default, the catalogs are stored in the following locations, so the destination of your catalog backup must be on a different disk: /usr/openv/netbackup/db /usr/openv/var/global /usr/openv/db/data
When the catalogs are backed up to disk, observe the following precautions:
311
Ensure that the disk has adequate space for the catalogs. If the disk fills up, the catalog backups fail. Ensure that the path is a directory rather than a file. If the path is a file, an error occurs when the backup is done (not when you specify the path). The following rule applies to the path you specify: In addition to the platform-specific file path separators (/ and \) and colon (:) within a drive specification on Windows, follow the NetBackup naming conventions. (See NetBackup naming conventions on page 631.)
Caution: Back up the catalogs often. If catalog backup files are lost, the changes that were made between the last catalog backup and the time of the disk crash are lost.
After each session of scheduled, user, or manual backups Backs up the catalogs after any session that results in the creation of at least one successful backup or archive. After each session of scheduled backups Backs up the catalogs after any automatic backup session that results in at least one successful backup of a client. A backup does not occur after a manual backup or a user backup or archive.
This schedule type requires that no jobs are running in order for the catalog backup to run. Caution: Do not use this schedule in NetBackup environments in which continual backup activity occurs. It could mean that the catalog backup would never have an opportunity to run.
Only when manually initiated Does not automatically back up the catalogs. If you elect to back up catalogs manually, select NetBackup Management > Catalog. Right-click Catalog and select Back up NetBackup Catalog.
Caution: If you elect to back up catalogs manually, be certain to do so once a day or after every series of backups.
The catalog paths on the master server are added automatically during installation. Generally, no action is required other than to ensure that the directories are listed. In the case of NetBackup Enterprise Server, the master server and media servers may reside on different machines. Therefore, the paths to the NetBackup database on the media servers are not automatically added during installation. You must add the paths to the file list. The NETBACKUP_RELATIONAL_DATABASE_FILES directive automatically includes the database files in the /usr/openv/db/data/ directory, as well as vxdbms.conf, server.conf, and databases.conf. (If the files have been relocated to different directories using nbdb_move, the locations are determined automatically and are included.)
313
Note: The file names in the Catalog Files Location list are case-sensitive. The catalog backup fails if the entries are typed without regard to case. On the Files tab:
To add a path, click New and type the path in the Catalog File Locations list. The path format depends on whether the catalog is on a master server or a remote media server. It also depends on whether the backup is sent to the master server or to a remote media server. To change a path, select the path and click Change. Edit the path. Click outside the edit box to escape the edit box. To delete a path, select the path to delete and click Delete.
If NetBackup Access Control (NBAC) is used in the NetBackup configuration, add the following directives for each host in the NBAC domain: [host:]nbat [host:]nbaz Note: For UNIX master servers, do not include the NetBackup master server configuration file in the offline catalog backup file list. (/usr/openv/netbackup/bp.conf) If bp.conf is included in the list, it must not be recovered until all other catalog recovery is completed.
Make sure that the list does not contain invalid paths. Do so especially if you have moved the catalog files, have deleted old paths, or have added new paths to the catalog backup configuration. If NetBackup cannot find or follow a path, the entire catalog backup fails. On UNIX systems, if /usr/openv/netbackup/db/images is a symbolic link to another file system, you must specify the true location of the images directory here. Symbolic links do not apply to Windows. The entire catalog backup fails if the final component in a UNIX path is a symbolic link. While NetBackup follows links at other points in the path, NetBackup does not follow a link when a link is the final component. If any other part of a listed path is a symbolic link, NetBackup saves the actual path during the backup. The files that are associated with the NetBackup relational databases are automatically included in the catalog backup and dont need to be listed here. (NBDB and BMRDB.) The paths are dynamically generated during the backup since the locations of these files can change.
The files in the following directory contain license key and authentication information:
/usr/openv/var
315
For UNIX media servers running NetBackup versions earlier than 6.0, add the following two paths:
media_server_name:/usr/openv/netbackup/db/media The files in this directory contain information about the files that were backed up or archived from client workstations. media_server_name:/usr/openv/volmgr/database The files in this directory contain information about the media and devices being used in the configuration.
For UNIX media servers running NetBackup version 5.x, also include the following path: media_server_name:/usr/openv/var
For example, to add the paths for a UNIX NetBackup 5.x media server named elk, create the following entries:
elk:/usr/openv/netbackup/db/media elk:/usr/openv/volmgr/database elk:/usr/openv/var
The files in the db directory contain NetBackup error logs and all information about the files that are backed up from client workstations.
The files in the database directory contain information about the media and the devices that are used in the configuration. Note: Remember to use the backslash (\) in the paths for a Windows NetBackup server.
317
A list of the media that contains the catalog backup A list of critical policies. Instructions for recovering the catalog The image file included as an attachment. If a catalog backup policy included both full and incremental backups, the attached image file may be a full or an incremental catalog backup. Recovering from an incremental catalog backup completely recovers the entire catalog if Automatically recover the entire NetBackup catalog is selected on the wizard screen. The entire catalog is recovered because the incremental catalog backup references information from the last full backup. You do not need to recover the last full catalog backup before you recover the subsequent incremental backups.
319
The command waits until the backup completes successfully before the command returns the prompt. An error is reported if the catalog archive fails. The Activity Monitor displays a Job ID for the job. The File List for the job (double-click the job in the Activity Monitor) displays a list of image files that have been processed. When the job completes with a status 0, bpcatrm removes the corresponding .f files. If the job fails, no catalog .f files are removed. 4 To restore the catalog archive: a b Use bpcatlist to list the files that need to be restored. Once bpcatlist displays the proper files to restore, run bpcatres to restore the actual files. To restore all the archived files from Step 2, run the following command: bpcatlist -client all -before Jan 1 2006 | bpcatres This command restores all the catalog archive files before Jan 1, 2006.
For more information on the archiving commands, see Catalog archiving commands on page 321.
Policy name
Create a new policy that is named catarc. The catarc policy waits until bpcatarc can activate it. Users do not run this policy. Instead, bpcatarc activates this special policy to perform a catalog backup job, then deactivates the policy after the job is done.
Deactivate policy
The catalog archive policy must be deactivated. On the Attributes tab, clear the Active field.
Type of backup
The type of backup that is indicated for the catalog archive policy must be User Backup. The backup type is set in the Change Schedule dialog box on the Attributes tab.
Policy schedule must be User Backup type Set to a period of at least as long as the longest retention period of backups being archived
Schedule
A schedule is required for catarc. The schedule for catarc must include in its window the time bpcatarc command is run. If bpcatarc is run outside of the schedule that is indicated in catarc, the operation fails.
321
Files
On the Files tab, browse to the directory where catalog backup images are placed: /usr/openv/netbackup/db/images
Clients
On the Clients tab, enter the name of the master server.
Backup ID (Backupid) Backup date (Backup Date) Catalog archive ID (Catarcid). After an .f file is successfully backed up, a catalog archive ID is entered into the catarcid field in the image file. This field is zero if the image has never been archived. Archived status (S), indicating if the catalog has not been archived (1) or has been archived (2) Compressed status (C), indicating if the catalog is not compressed (0) or compressed (1) Catalog file name (Files file)
The following is an example of the bpcatlist output, showing all of the backups for client alpha since October 23:
# bpcatlist -client alpha -since Backupid Backup Date alpha_0972380832 Oct 24 10:47:12 alpha_0972336776 Oct 23 22:32:56 alpha_0972327197 Oct 23 19:53:17
Oct 23 ...Catarcid S 2000 ... 973187218 1 2000 ... 973187218 1 2000 ... 973187218 1 C 0 0 0 Files file alpha_0972380832_UBAK.f alpha_0972336776_FULL.f alpha_0972327197_UBAK.f
For detailed information on bpcatlist, see bpcatlist in NetBackup Commands for UNIX and Linux.
Perform catalog archiving operations when NetBackup is in an inactive state (no jobs are running). To ensure that catalog backup images are not on the same tapes as user backups, create a separate media pool for catalog archives. You may find it useful to set up, then designate, a special retention level for catalog archive images. To specify retention levels, go to Host Properties > Master Server > Retention Periods or see Retention Periods properties on page 462.
323
Search for backup images to verify the contents of media with what is recorded in the NetBackup catalog. Duplicate a backup image. Promote a backup image from a copy to the primary backup copy. Expire backup images. Import expired backup images or images from another NetBackup server.
Current master server Possible actions to perform Set search criteria, including specific media and date range
Search results
Messages pane
Verify the backup contents with what is recorded in the NetBackup catalog.
325
Duplicate the backup image to create up to 10 copies. Promote a copy of a backup to be the primary backup copy. Expire backup images. Import expired backup images or images from another NetBackup server.
NetBackup uses the specific search criteria to build a list of backups from which you can make your selections.
Search for backup images using the criteria that is described in the following table: Table 6-1 Search criteria
Action
Media ID
The media ID for the volume. Type a media ID in the box or select one from the scroll-down list. To search on all media, select <All>. The host name of the media server that produced the originals. Type a host name in the box or select one from the scroll-down list. To search through all hosts, select All Media Hosts.
Media Host
Disk type
The type of the disk storage unit on which to search for backup images.
Path
Date/time range
Copies
Policy Name
Client (host name) The host name of the client that produced the originals. Type a client name in the box or select one from the scroll-down list. To search through all hosts, select All Clients. Type of backup The type of schedule that created the backup. Type a schedule type in the box or select one from the scroll-down list. To search through all schedule types, select All Backup Types.
Verification image: Backups that have fragments on another volume are included, as they exist in part on the specified volume. Import image: If a backup begins on a media ID that was not processed by the first step of To initiate an import phase I on page 336, the backup is not imported. If a backup ends on a media ID that was not processed by the first step of To initiate an import phase I on page 336, the imported backup is incomplete.
Messages pane
The Messages pane displays messages about a task running as a background process. The pane is displayed only if there in an informative message or error
327
message for the task. If the task completes normally, the pane is not displayed. The Messages pane can be maximized, minimized, or closed.
You can also right-click the log file and select an action from the scroll-down menu.
3 4
To promote a copy to a primary copy for many backups You can also promote a copy to be a primary copy for many backups using the bpchangeprimary command. For example, the following command promotes all copies on media belonging to the volume pool, SUN, created after August 8, 2007, to be the primary copy: bpchangeprimary -pool SUN -sd 08/01/2007 The following command promotes copy 2 of all backups of client_a, created after January 1, 2007, to be the primary copy: bpchangeprimary -copy 2 -cl client_a -sd 01/01/2007
329
For more information on bpchangeprimary, see NetBackup Commands for UNIX and Linux.
Primary Copy status indicates that the image is now the primary copy
To promote a backup copy to a primary copy using bpduplicate 1 Enter the following command:
/usr/openv/netbackup/bin/admincmd/bpduplicate -npc pcopy -backupid bid
Where: pcopy is the copy number of the new primary copy. bid is the backup identifier as shown in the Images on Media report. To find the volume that contains the duplicate backup, use the Images on Media report. Specify the backup ID that is known (and also the client name if possible to reduce the search time). The report shows information about both copies. (See Images on Media report on page 76.) The bpduplicate command writes all output to the NetBackup logs so nothing appears in the command window. After the duplicate copy is promoted to the primary copy, use the client interface on the client to restore files from the backup. For instructions, see the online help in the Backup, Archive, and Restore client interface.
from one storage unit to another. from one media density to another. from one server to another. from multiplex to nonmultiplex format.
while the backup is created (unless making multiple copies concurrently). when the backup has expired. by using NetBackup to schedule duplications automatically (unless you use a Vault policy to schedule duplication) of offline NetBackup catalogs. when it is a multiplexed duplicate of the following: FlashBackup NDMP backup Backups from disk type storage units Backups to disk type storage units Nonmultiplexed backups
from multiplex format and retain the multiplex format on the duplicate. The duplicate can contain all or any subset of the backups that were included in the original multiplexed group. The duplicate is created with a single pass of the tape. (A multiplexed group is a set of backups that were multiplexed together during a single session.)
Note: Do not duplicate images while an offline, cold catalog backup is running. This results in the catalog backup not having information about the duplication.
When multiplexed backups are duplicated, the multiplex settings of the destination storage unit and the original schedule are ignored. However, if multiple multiplexed groups are duplicated, the grouping within each
331
multiplexed group is maintained. This means that the duplicated groups have a multiplexing factor that is no greater than the factor that was used during the original backup.
When backups in a multiplexed group are duplicated to a storage unit, the duplicated group is identical as well. However, the storage unit must have the same characteristics as the unit where the backup was originally performed. The following items are exceptions:
If EOM (end of media) is encountered on either the source or the destination media. If any of the fragments are zero length in the source backups, the fragments are removed during duplication. A fragment of zero length occurs if many multiplexed backups start at the same time.
Specify the number of copies you would like created. If there are enough drives available, the copies are created simultaneously. Otherwise, the system may require operator intervention if four copies are to be created using only two drives, for example. The primary copy is the copy from which restores are done. Normally, the original backup is the primary copy. If you want one of the duplicated copies to become the primary copy, check the appropriate check box, otherwise leave the fields blank. When the primary expires, a different copy automatically becomes primary. (The copy that is chosen is the one with the smallest copy number. If the primary is copy 1, copy 2 becomes primary when it expires. If the primary is copy 5, copy 1 becomes primary when it expires.) Specify the storage unit where each copy is stored. If a storage unit has multiple drives, it can be used for both the source and destination.
333
Note: The ability to make multiple copies concurrently (sometimes referred to as Inline Copy) is not supported on the following storage types: NDMP, third-party copies, or optical devices. This ability is not supported on any storage units that use a QIC (quarter-inch cartridge) drive type. 7 Specify the volume pool where each copy is stored. The volume pool selections are based on the policy type setting that was used for the query:
If the policy type was set to query for All Policy Types (default), all volume pools are included in the drop-down list. Both catalog and non-catalog volume pools are included. If the policy type was set to query for NBU-Catalog, only catalog volume pools are included in the drop-down list.
If the policy type was set to query for a policy type other than NBU-Catalog or All Policy Types, only non-catalog volume pools are included in the drop-down list. NetBackup does not verify that the media ID selected for the duplicate copy is not the same as the media ID of the volume that contains the original backup. Because of this potential deadlock, specify a different volume pool to ensure a different volume is used.
Select the retention level for the copy, or select No change. The duplicate copy shares many attributes of the primary copy, including backup ID. Other attributes apply only to the primary. (For example, elapsed time.) NetBackup uses the primary copy to satisfy restore requests.
If No Change is selected for the retention period, the expiration date is the same for the duplicate and the source copies. You can use the bpexpdate command to change the expiration date of the duplicate. If a retention period is indicated, the expiration date for the copy is the backup date plus the retention period. For example, if a backup was created on November 14, 2007 and its retention period is one week, the new copys expiration date is November 21, 2007.
Specify whether the remaining copies should continue or fail if the specified copy fails. Any lets NetBackup choose the media owner, either a media server or server group. None specifies that the media server that writes to the media owns the media. No media server is specified explicitly, but you want a media server to own the media.
10 Specify who should own the media onto which you are duplicating images:
A server group. Specifying a media server group allows only those media servers in the group to write to the media on which backup images for this policy are written. All media server groups configured in your NetBackup environment appear in the drop-down list.
11 If the selection includes multiplexed backups and the backups are to remain multiplexed in the duplicate, check Preserve Multiplexing. If you do not duplicate all the backups in a multiplexed group, the duplicate contains a different layout of fragments. (A multiplexed group is a set of backups that were multiplexed together during a single session.) By default, duplication is done serially and attempts to minimize media mounts and postitioning time. Only one backup is processed at a time. If Preserved Multiplexing is enabled, NetBackup first duplicates all backups that cannot be multiplex duplicated before the multiplexed backups are duplicated. The Preserve Multiplexing setting does not apply when the destination is a disk storage unit. However, if the source is a tape and the destination is a disk storage unit, selecting Preserve Multiplexing ensures that the tape is read in one pass. 12 Click OK to start duplicating. 13 Click the Results tab, then select the duplication job to view the job results. (See Viewing job results on page 327.)
335
the same job). Since at least one copy successfully completed, the parent job displays a successful (0) status.
The parent job was successful because at least one copy was successful
NetBackup does not support reading Backup Exec media that written by Backup Exec for NetWare. An image is imported in two phases. (A Backup Exec media import requires one additional step): Note: To import Backup Exec media, run the vmphyinv physical inventory utility to update the Backup Exec media GUID in the NetBackup Media Manager database. The command needs to be run only once after creating the media IDs in the NetBackup Media Manager database. For information about using vmphyinv, See Using the physical inventory utility on page 572.
Phase I: NetBackup creates a list of expired catalog entries for the backups on the imported volume. No actual import occurs in Phase I. Phase II: Images are selected for importing from the list of expired images that was created in Phase I. For information about using vmphyinv, See Using the physical inventory utility on page 572.
To initiate an import phase I Phase I of the import process creates a list of expired images from which to select to import in Phase II. No import occurs in Phase I.
337
To import Backup Exec media, run the vmphyinv physical inventory utility to update the Backup Exec media GUID in the NetBackup Media Manager database. The command needs to be run only once after creating the media IDs in the NetBackup Media Manager database. For information about using vmphyinv, See Using the physical inventory utility on page 572. To import the images from tape, make the media accessible to the media server so the images can be imported. In the NetBackup Administration Console, expand NetBackup Management > Catalog. Select Actions > Initiate Import. The Initialize Import dialog box appears.
2 3 4
The Master Server field indicates the master server where the images are imported. In the Media Server field, specify the name of the host that contains the volume to import. This media server becomes the media owner. Indicate the location of the image. Under Image type, select whether the images to be imported are located on tape or on disk. If images are on tape:
In the Media ID field, type the Media ID of the volume that contains the backups to import. Check whether or not the images to import are password-protected Backup Exec images.
In the Disk type field, select the type of the disk storage unit on which to search for backup images. The disk types depend on which NetBackup options are licensed. If the disk type references a disk pool, enter or select the disk pool and the disk volume ID. For a BasicDisk type, enter the path to the images in the field provided. For a NearStore disk type, select or enter the name of the NearStore server and the NearStore volume.
Notes:
If Backup Exec media is password-protected, the job fails without a correct password. The logs indicate that either no password or an incorrect password, was provided. If the media is not password-protected and the user provides a password, the password is ignored. To import Backup Exec media if the password contains non-ASCII characters:
Use the NetBackup Administration Console on Windows. (The NetBackup-Java Administration Console cannot be used.) Use the bpimport command.
To import an online, hot catalog backup, import all of the child jobs that were used to create the catalog backup.
339
5 6
Click OK to begin reading the catalog information from the source volume. Click on the Catalog Results tab to see NetBackup look at each image on the tape. NetBackup determines whether or not each image has expired and can be imported. The job also displays in Activity Monitor as an Import type. Select the import job log to view the job results.
Note: In this phase, each tape must be mounted and read. It may take some time to read the catalog and build the list of images. To import backup images phase II 1 In the NetBackup Administration Console, expand NetBackup Management > Catalog.
Note: If you import any backups that consist of fragments on multiple tapes, run the Initiate Import (Import Phase I) first. Phase I reads the catalog to determine all the tapes that contain fragments. After Phase I, start the Import (Phase II). If Phase II is run before Phase I, the import fails with a message. For example, Unexpected EOF or Import of backup id failed, fragments are not consecutive.
Set up the search criteria to find images available to import by setting the search action to Import. Be sure to select a date range that includes the images you want to import.
Select the image(s) you want to import and select Actions > Import. The Confirm Import dialog box appears.
341
To view the log, click the Results tab, then select the import job log.
NetBackup can import any disk images that were written by NetBackup 6.0 or later. You cannot import a backup if an unexpired copy of it already exists on the server. NetBackup does not direct backups to imported volumes. If you import an online, hot catalog backup, import all the child jobs that were used to create the catalog backup. All jobs must be imported to import the catalog backup. To import a volume with the same media ID as an existing volume on a server, use the following example. In the example, we want to import a volume with media ID A00001. A volume with media ID A00001 already exists on the server. a b Duplicate the existing volume on the server to another media ID (for example, B00001). Remove information about media ID A00001 from the NetBackup catalog by running the following command:
/usr/openv/netbackup/bin/admincmd/bpexpdate -d 0 -m media_ID
d Add the other A00001 to Media Manager on the server. To avoid this problem in the future, use unique prefix characters for media IDs on all servers.
UNIX data cannot be restored to Windows systems; Windows data to UNIX systems; Windows data to NetWare systems; or UNIX data to NetWare systems. Importing from Backup Exec media does not convert or migrate Backup Exec job history, job schedules, or job descriptions to NetBackup. Importing from Backup Exec media does not convert Backup Exec application setup or configuration information to NetBackup. Intelligent Disaster Recovery (IDR) operations using the NetBackup IDR wizard and Backup Exec media is not supported. The operations include both local and remote IDR restores. Any Backup Exec backups that were created with the Intelligent Image Option cannot be restored.
343
If Backup Exec hardlink backups are redirected and restored to partitions or drives other than the source partition or drive, the hardlinks are not restored. The progress log may indicate that the hardlinks are restored successfully, but that is not the case.
Differences between importing, browsing, and restoring Backup Exec and NetBackup images
The following sections describe differences between Backup Exec and NetBackup when importing, browsing, and restoring images:
Running vmphyinv
To import Backup Exec media requires vmphyinv to update the Backup Exec media GUID in the NetBackup Media Manager database. Create the media IDs in the NetBackup Media Manager database, run the command, then perform Phase I and Phase II import operations. For information about using vmphyinv, See Using the physical inventory utility on page 572.
When a user selects a NetBackup file to restore, only the single file is restored.
NTFS hard links, NTFS SIS files, and Exchange SIS mail messages: restoring
When Backup Exec NTFS images are restored, any directory named SIS Common Store is restored. The directory named SIS Common Store is restored whether or not it is the actual NTFS single instance storage common store directory. The directory is restored even if the file was not specifically selected for restore. Under some circumstances, additional objects are sent to the client, even though the objects were not selected for restore. The items are sent to the client when restoring objects from any backups that contain NTFS hardlinks, NTFS SIS files, or Exchange SIS mail messages. These additional objects are skipped by the client and are not restored. The job is considered partially successful because some objects (though not selected by the user), are skipped. When NTFS hard links, NTFS SIS files, or Exchange SIS mailboxes are redirected for restore:
All or some of the files should be redirected to any location on the source drive, Or: All files should be redirected to a single location on a different drive. For example, if the following hard link or SIS files are backed up: C:\hard_links\one.txt C:\hard_links\two.txt C:\hard_links\three.txt Upon restore, either the files can be redirected to any location on C:\, or all the files must be redirected to a different drive. The following combination would be unsuccessful: C:\hard_links\one.txt to a location on C:\ C:\hard_links\two.txt to a location on D:\ If all the files are to be redirected to a different drive, specify that C:\ be replaced with D:\in the redirection paths.
345
Unsuccessful: The redirection paths specify that C:\hard_links be replaced with D:\hard_links. Successful: The redirection paths specify that C:\hard_links be replaced with C:\redir_hard_links.
3 4
347
Number of files to be backed up Frequency of full and incremental backups Number of user backups and archives Retention period of backups Average length of full path of files File information (such as owner permissions) Average amount of error log information existing at any given time Whether you have enabled the database compression option.
To estimate the disk space that is required for a catalog backup 1 Estimate the maximum number of files that each schedule for each policy backs up during a single backup of all its clients. Example reference table for catalog requirements shows that a full backup for policy S1 includes 64,000 files. Determine the frequency and the retention period of the full and the incremental backups for each policy. Use the information from steps 1 and 2 to calculate the maximum number of files that exist at any given time. For example: Assume that you schedule full backups to occur every seven days. The full backups have a retention period of four weeks. Differential incremental backups are scheduled to run daily and have a retention period of one week. The number of file paths you must allow space for is four times the number of files in a full backup. Add to that number one weeks worth of incrementals. The following formula expresses the maximum number of files that can exist for each type of backup (daily or weekly, for example): Files per Backup x Backups per Retention Period = Max Files For example:
2 3
A daily differential incremental schedule backs up 1200 files and the retention period for the backup is seven days. Given this information, the maximum number of files that can exist at one time are the following: 1200 x 7 days = 8400 A weekly full backup schedule backs up 3000 files and the retention period is four weeks. The maximum number of files that can exist at one time are the following: 3000 x 4 weeks = 12,000 Obtain the total for a server by adding the maximum files for all the schedules together. Add the separate totals to get the maximum number of files that can exist at one time. For example, 20,400. Note: For the policies that collect true image restore information, an incremental backup collects catalog information on all files (as if it were a full backup). This changes the calculation in the example: the incremental changes from 1200 x 7 = 8400 to 3000 x 7 = 21,000. After 12,000 is added for the full backups, the total for the two schedules is 33,000 rather than 20,400. 4 Obtain the number of bytes by multiplying the number of files by the average length of the files full paths and file information. If you are unsure of the average length of a files full path, use 100. Using the results from the examples in step 3 yields: (8400 x 150) + (12,000 x 150) =3060000 bytes (or about 2988 kilobytes) Add between 10 megabytes to 15 megabytes to the total sum that was calculated in step 4. The additional megabytes account for the average space that is required for the error logs. Increase the value if you anticipate problems. Allocate space so all the data remains in a single partition.
Some UNIX systems have a large file support flag. Turn ON the flag to enable large file support. For example, AIX disables large file support by default, so the file size limit is 2GB. For UNIX systems, set the file size limit for the root user account to unlimited to support large file support.
349
that each policy can generate by using the information in Table 6-3. Substitute the information into the following formula: Files per Backup x Backups per Retention Period = Max Files The following steps demonstrate the equation for policy S1: 1 Apply the following formula to policy S1: Max Files equals:
(Files per Incremental x Backups per Retention Period) + (Files per Monthly Full Backups x Backups per Retention Period)
Substitute values from the following table: 1000 files x 30 + 64,000 files x 12 = 798,000 files Perform steps 1 and 2 for each policy. Add the results to show that the total number of files for all policies is: 4,829,600 files Multiply the total number of files by the bytes in the average path length and statistics (100 for this example). The total amount of disk space that is required for file paths is: 460.59 megabytes (1,048,576 bytes in a megabyte) Add 15 megabytes for error logs to result in a final uncompressed catalog space requirement of: 475.59 megabytes
Backup type
Incremental Full Incremental Full Incremental Full Full
Retention
1 month 1 year 1 month 1 year 1 week 1 month 1 year
Number of files
1000 64,000 1000 70,000 10,000 114,000 114,000
S2
Daily Monthly
S3
Backup type
Incremental Full Full Full Incremental Full Incremental Full Full
Retention
1 week 1 month 3 months Infinite 1 month 1 year 1 week 1 month 1 year
Number of files
200 2000 2000 2000 200 5600 7000 70,000 70,000
WS1
Daily Monthly
WS2
To perform an emergency backup. For example, if the system is schedule to be moved and you cannot wait for the next scheduled catalog backup. If there is only one stand-alone drive and the stand-alone drive is used for catalog backups. In this situation, automatic backups are not convenient. The catalog backup tape must be inserted before each catalog backup and removed when the backup is done. (The tape swap is necessary because NetBackup does not mix catalog and regular backups on the same tape.)
For directions on how to start each catalog method, see To perform a manual online, hot catalog backup and To perform a manual offline, cold catalog backup on page 351. To perform a manual online, hot catalog backup 1 2 3 In the NetBackup Administration Console, expand NetBackup Management > Policies. Select the catalog backup policy you want to run. Select Actions > Manual Backup. For more information, see Performing manual backups on page 200.
351
Note: You can also run the bpbackup command from the command line to perform an online, hot catalog backup. See NetBackup Commands for UNIX and Linux for more information on bpbackup. To perform a manual offline, cold catalog backup 1 2 In the NetBackup Administration Console, expand NetBackup Management > Catalog. Select Actions > Perform offline backup of the NetBackup catalogBackup NetBackup Catalog to start the backup. The Backup NetBackup Catalog dialog box appears. The backup is saved to the least recently used of Media 1 and Media 2.
Select the master server for which you want to create a catalog backup and click OK.
Note: If the volume for the catalog backup is not in a drive, a mount request occurs. All catalog backups must wait for the mount before they can proceed. For a scheduled catalog backup, all other backups must wait until the catalog backup is complete.
Note: You can also run the bpbackupdb command from the command line to perform an offline, cold catalog backup. See NetBackup Commands for UNIX and Linux for more information on bpbackup.
Email: An email message is sent to the address indicated in the Disaster Recovery settings for an online catalog backup. This email can be configured with the mail_dr_info script. For more information, see Disaster recovery emails and the disaster recovery file on page 317. The dbbackup_notify script can be used to send an email for offline catalog backups. See the NetBackup Administrators Guide, Volume II for more information on setting up this script.
Use only the methods that are described in this chapter to back up the catalogs. The methods that are described here are the only operations that can track all relevant NetBackup activities and ensure consistency between the catalog files. Back up the catalogs often. If catalog backup files are lost, the changes that were made between the last catalog backup and the time of the disk crash are lost. Never manually compress the catalogs or NetBackup may be unable to restore the catalogs using bprecover. If you back up your catalogs to disk (not recommended), always back up to a different disk than where the catalog files reside. If you back up the catalog to the disk where the actual catalog resides, both catalog backups are lost if the backup disk fails. Recovering the catalog is much more difficult. Also, ensure that the disk has enough space for the catalogs. Backups to a full disk fail. The NetBackup binary image catalog is more sensitive to the location of the catalog. Catalog backups that are stored on a remote file system may have critical performance issues. NetBackup does not support saving catalogs to a remote file system such as NFS or CIFS. If you use media servers, alter the NetBackup catalog configuration manually to include the catalogs on the media servers. You must manually track the media that is used for catalog backups. NetBackup does not keep a record of catalog backup media in its catalogs as it does with other backup media. A convenient way to track the media is to indicate an email address in the Global Attributes properties. NetBackup sends an email that includes the status of each catalog backup and the media ID that was used. Print the
353
email or save it on a disk other than the disk that contains the catalogs. For more information, see Global Attributes properties on page 435.
If you send catalog backups to a robot, a tape stacker, a second stand-alone tape drive, or to disk, choose either of the two automatic backups: After each session of scheduled, user, or manual backups or After each session of scheduled backups If you use a single, stand-alone tape drive to back up both catalog and regular business data, choose either:
After each session of scheduled backups if you run only one backup session per day or night, or
Only when manually initiated if you run multiple backup sessions in a single day or night. Because NetBackup does not place catalog and regular backups on the same tape, both methods require you to swap tapes. Use the following general procedure for creating catalog backups if you have only one stand-alone drive:
a b c
Insert the tape that is configured for catalog backups. Manually start the backup. For more information, see Backing up catalogs manually on page 350. When the backup is complete, remove the tape and store it in a safe place.
Caution: The catalog backup tape must be removed when the backup is finished or regular backups cannot proceed. NetBackup does not mix catalog and regular backups on the same tape.
The catalog is more compact. The binary representations of numbers, dates, and other information, takes up less disk space than the text representations. The catalog is much faster to browse and search, especially for large file sizes. The catalog supports alternate backup methods without requiring post-processing, which improves catalog performance for alternate backup methods.
The maximum number of files that can be backed up per image: (231) 1 files = 2,147,483,647 files = 7FFFFFFF files The maximum number of different user IDs and group IDs (combined): (231) 1 IDs = 2,147,483,647 IDs = 7FFFFFFF IDs
355
6 7
Create a symbolic link from /usr/openv/netbackup/db/images to the new location in the other file system. Add the new image-catalog path to the list that is included in NetBackup catalog backups.
Caution: Be certain to add the path for the image catalog and not the link name. Without the path, NetBackup cannot back up the new location. In this example, the path is /disk3/netbackup/db/images.
of the catalog or only older portions of the catalog. No method selectively compresses image-catalog files other than by age.
Control image-catalog compression by setting the Global Attributes property, Compress Catalog Interval. Use this property to specify how old the backup information must be before it is compressed. Specify the number of days to defer compression information, thus users who restore files from recent backups are unaffected. By default, Compress Catalog Interval is set to 0 and image compression is not enabled. For more information, see Global Attributes properties on page 435. Caution: Symantec discourages manually compressing or decompressing catalog backups using bpimage -[de]compress or any other method. Manually compressing or decompressing a catalog backup while any backup (regular or catalog) is running results in inconsistent image-catalog entries. When users list and restore files, the results could be incorrect. If you choose to compress the image catalog, NetBackup uses the compress command on the server to perform compression after each backup session. It does not make a difference to NetBackup if the backup session was successful. The operation occurs while NetBackup expires backups and before it runs the session_notify script and the backup of the NetBackup catalogs.
357
The time to perform compression depends on the server speed and the number and size of the files being compressed. Files are compressed serially, and temporary working space is required in the same partition. When numerous compressed image-catalog files must be processed, the backup session is extended until compression is complete. The additional backup time is especially noticeable the first time you perform the compression. To minimize the impact of the initial sessions, consider compressing the files in stages. For example, begin by compressing the records for the backups older than 120 days. Continue to reduce the number of days over a period of time until you reach a comfortable setting. Compressing the image catalog can accomplish two objectives:
To reduce greatly the disk space that is consumed. To reduce the amount of media that is required to back up the catalog.
The amount of space that is reclaimed varies with the types of backups you perform. Full backups result in a larger percentage of catalog compression than incremental backups. Normally, more data is duplicated in a catalog file for a full backup. Using catalog compression, a reduction of 80% is possible. This reduction in disk space and media requirements is achieved at the expense of performance when a user lists or restores files. Since the information is uncompressed at each reference, performance degradation is in direct proportion to the number and size of compressed files that are referenced. If the restore requires numerous catalog files to be uncompressed, you may need to increase the time-out value that is associated with list requests. Change the time-out value by changing the LIST_FILES_TIMEOUT option in the bp.conf file of the client.
Expand Host Properties > Master Servers. Open the properties of a host. On the Global Attributes properties, clear the Compress Catalog Interval check box. For more information, see Global Attributes properties on page 435. Set the Compress Catalog Interval Global Attributes property to 0. Change your working directory to /usr/openv/netbackup/bin and run the command: admincmd/bpimage -decompress -client name Restart the request daemon, bprd, by running: /usr/openv/netbackup/bin/initbprd Perform the file restorations from the client. Set the Compress Catalog After Global Attributes property to its previous value. The records that were uncompressed for this client are compressed after the next backup schedule.
5 6
7 8 9
Chapter
Host properties
This chapter describes the NetBackup property settings and explains how each can be changed for one or more servers or clients. This chapter contains the following sections:
Introduction to host properties on page 360 Changing host properties on page 361 Required permissions on page 364 Master server, media server, and client host properties on page 364
Current master server User toolbar Right-click in the Details pane to view the shortcut menu
Details pane
The options on the Host Properties menu bar are described in the online help.
361
In the Details pane, click the server or client to view the version and platform. Then, double-click to view the properties. To see the properties of a different master server, click File > Change Server.
To export the properties of a host 1 2 3 Expand Master Servers, Media Servers, or Clients. Select one or more hosts. Click File > Export. The Save As dialog box appears. Enter the full path name and click Save.
Selected (checked) if the attribute has been set the same for all selected hosts. To set the property on all selected hosts, select the check box. Clear (unchecked) if the property has been set the same for all selected hosts. To clear the property on all selected hosts, clear the check box. Gray check if the property is set differently on the selected hosts. To leave the property unchanged, set the box to a gray check.
The field may contain a value if the property has the same value for all selected hosts. The field may be empty or indicate <<Multiple Entries>> if the property has not been set the same for all selected hosts. When the cursor is moved to such a field, a small notice appears at the bottom of the dialog box noting that the value is different on the selected hosts.
If a dialog box contains a Selected Host (or similarly named) combo box, all controls on the dialog box reflect the values for the host currently selected in the Selected Host box. If a dialog box does not contain a Selected Host (or similarly named) combo box, settings of all the selected hosts are combined to arrive at a value that is displayed to the user.
Note: In a clustered enviroment, host properties must be made on each node of the cluster separately.
363
Click Defaults to set all the fields on the current dialog box to the default values. Click OK to apply all changes since Apply was last clicked. OK also closes the dialog box. Click Cancel to cancel changes made since the last time changes were applied. Click Apply to save changes to all of the properties for the selected host(s). To make sure that NetBackup uses a changed setting, restart the all daemons and utilities (including the NetBackup Administration Console) to ensure that the new configuration values are used.
Click Help for information on the properties that appear on the current dialog box.
Figure 7-2
Server or client name Operating system Type of machine in the configuration Identifier IP address
Required permissions
To change the properties on other hosts, the NetBackup server where you logged on using the NetBackup Administration Console must be in the Servers list on the other system. For example, if you logged on to server_1 using the NetBackup Administration Console and want to change a setting on client_2, client_2 must include server_1 in its Servers List. For more information, see To add a NetBackup server to a server list on page 639. Note: All updates to a destination host (unless it is the same as the host you logged on to using the NetBackup Administration Console) will fail if the target host has placed a check box in Allow server file writes on the Universal Settings properties. For more information, see Universal Settings properties on page 477.
Host properties Master server, media server, and client host properties
365
Required: Select Required if the local system should accept requests only from remote systems using Symantec authentication and authorization. Connections from remote systems not using Symantec authentication and authorization are rejected. Consider selecting Required if all systems are at NetBackup 5.0 or later and maximum security is required. Prohibit: Select Prohibit if the local system should reject connections from any remote system using Symantec authentication and authorization. Consider selecting Prohibit if the network is closed and maximum performance is required. Automatic: Select Automatic if the local system should negotiate with the remote system on whether to use Symantec authentication and authorization. Consider selecting Automatic if the network contains mixed versions of NetBackup.
Symantec Product Authentication and Authorization tab within the Access Control properties
The Symantec Product Authentication and Authorization tab contains a list of networks that are allowed or (not allowed) to use Symantec authentication and authorization with the local system.
366 Host properties Master server, media server, and client host properties
Figure 7-3
Networks list
The Networks list indicates whether specific networks can or cannot use Symantec authentication and authorization with the local system. The names on the list are relevant only if Symantec Product Authentication and Authorization is set to Automatic or Required. If a media server or client does not define a Symantec authentication and authorization network, it uses the networks of its master server. Note: Symantec recommends setting the master server Symantec Product Authentication and Authorization property to Automatic until the clients are configured for Access Control. Then, change the Symantec Product Authentication and Authorization property on the master server to Required.
Add button
To add a network to the Network list, click Add. The Add Network dialog box displays.
Host properties Master server, media server, and client host properties
367
Figure 7-4
Host/Domain
Indicate whether the network to be added is a Host name or a Domain name.
Host Name/IP
If the network is a host, enter the one of the following:
The host name of the remote system. (host.domain.com) The IP address of the remote system. (10.0.0.29)
Domain Name/IP
If the network is a domain name, enter one of the following:
A dot followed by the Internet domain name of the remote systems. (.domain) The network of the remote system, followed by a dot. (10.0.0.)
Bit count
Select Bit count to indicate that the mask is based on bit count. Select from between 1 and 32.
368 Host properties Master server, media server, and client host properties
For example: Mask 192.168.10.10/16 has the same meaning as subnet mask 192.168.20.20:255:255:0.0
Subnet mask
Select Subnet mask to enter a subnet mask in the same the format as the IP address.
Required: Select Required if the local system should accept requests only from remote systems using Symantec authentication and authorization. Connections from remote systems not using Symantec authentication and authorization are rejected. Consider selecting Required if all systems are at NetBackup 5.0 or later and maximum security is required. Prohibit: Select Prohibit if the local system should reject connections from any remote system using Symantec authentication and authorization. Consider selecting Prohibit if the network is closed and maximum performance is required. Automatic: Select Automatic if the local system should negotiate with the remote system on whether to use Symantec authentication and authorization. Consider selecting Automatic if the network contains mixed versions of NetBackup.
Remove button
To delete a network, select the network name, then click Remove.
Host properties Master server, media server, and client host properties
369
Figure 7-5
If a media server or client does not define an authentication domain, it uses the authentication domains of its master server.
Add button
To add an authentication domain to the domain list, click Add. The Add Authentication Domain dialog box displays. The dialog box contains the following properties:
370 Host properties Master server, media server, and client host properties
Figure 7-6
Domain
An Internet or Windows domain name.
Authentication mechanism
Indicate the authentication mechanism: NIS: The Network Information Service, version 1. NIS+: The Network Information Service, version 2. PASSWD: The local UNIX password file on the specified broker. VXPD: A VxSS Private Database. WINDOWS: A Windows Active Directory or Primary Domain Controller. Note: If the authentication domain is UNIX , enter the fully qualified domain name of the host that performs the authentication.
Broker
The operating system of the broker machine supports the domain type of the authentication service. Indicate the host name or the IP address of the authentication broker.
Host properties Master server, media server, and client host properties
371
Description
Include a description of the domain (optional).
Remove button
To delete an authorization domain, select the name, then click Remove.
Note: Define a host to perform authorization if configuring this tab for a media server using Access Control.
Host name
Enter the host name or IP address of the authorization service.
372 Host properties Master server, media server, and client host properties
Host properties Master server, media server, and client host properties
373
Authorization properties
The Authorization properties apply to currently selected master servers and media servers. Figure 7-8 Authorization host properties dialog box
Click Add to add an authorized user, or click Change to change the configuration of an existing authorized user. The New User or Change User dialog box appears. Figure 7-9 New User dialog box
User
In the User text box, type the name that identifies this user to NetBackup. To indicate any user, enter a single asterisk: *
374 Host properties Master server, media server, and client host properties
Host
In the Host text box, type the name of the remote NetBackup Administration Console host from which this user can use NetBackup. To indicate all hosts, enter a single asterisk: *
Domain\Group
In the Domain\Group text box, type the Windows domain and group name in the form domain\group. Or, type the UNIX local group name or the UNIX netgroup name. Or, enter * to indicate for all groups.
Group/Domain type
Select whether this user is authorized to use NetBackup in a Local group or a Network group.
Host properties Master server, media server, and client host properties
375
The Backup Exec Tape Reader option enables NetBackup to read the media that Backup Exec writes. Media is read by using a two-phase import process. For more informations, see Importing images from Backup Exec media on page 342.
Add button
Click Add to enter a GRFS mapping. The Add a GRFS Mapping dialog box appears, that contains the fields that are described in the following sections.
376 Host properties Master server, media server, and client host properties
where ADVERTISED_HOST_NAME is the advertised host name and advertised_path is the advertised path. The ADVERTISED_HOST_NAME should usually be entered in capitals. The GRFS advertised name is the name that the Backup Exec UNIX agent used to identify itself to the Backup Exec server. The advertised name may not have been the same as the real machine name and path. A Backup Exec service had mapped the advertised name to the actual machine name and path, then backed up the advertised name and path. When NetBackup imports Backup Exec UNIX backups, the mapping service is not present, so the names and paths must be indicated. If the host properties do not list any entries, NetBackup assumes that the advertised name is the same as the real machine name. NetBackup assumes that the advertised path is the same as the real path.
Actual path
The Actual path maps the advertised path to the real path.
Change button
Click Change to change the selected GRFS entry.
Remove button
Click Remove to remove the selected GRFS entry.
Host properties Master server, media server, and client host properties
377
Bandwidth properties
The Bandwidth properties apply to currently selected master servers. Figure 7-11 Bandwidth host properties dialog box
Bandwidth properties specify limits for the network bandwidth that one or more NetBackup clients of the selected server use. The actual limiting occurs on the client side of the backup connection. By default, the bandwidth is not limited. The bandwidth limits only restrict bandwidth during backups.
378 Host properties Master server, media server, and client host properties
are started, the NetBackup server instructs the other NetBackup clients that run on that subnet to decrease their bandwidth setting. Similarly, bandwidth per client is increased if the number of clients decreases. Changes to the bandwidth value occur on a periodic basis rather than as backups stop and start. The periodic changes reduce the number of bandwidth value changes that are required.
From IP address
The From IP address field specifies the beginning of the IP address range of the clients and networks to which the entry applies. An example is 10.1.1.2
To IP address
The To IP address field specifies the end of the IP address range of the clients and networks to which the entry applies. An example is 10.1.1.9
Bandwidth
The Bandwidth field specifies the bandwidth limitation in kilobytes per second. A value of 0 disables the limits for an individual client or the range of IP addresses covered by the entry. For example, a value of 200 indicates 200 kilobytes per second.
Add button
Click the Add button to prepare an entry using the From, To, and Bandwidth fields and add it to the bandwidth table. An entry is added for each of the selected clients.
Host properties Master server, media server, and client host properties
379
Figure 7-12
Remove button
Click the Remove button to remove a selected entry from the bandwidth table.
NetBackup does not currently support bandwidth limits on the following clients:
NetBackup for Oracle clients NetBackup for DataTools SQL-BackTrack clients NetBackup for Microsoft SQL-Server clients
Bandwidth limits have no effect on a local backup (where the server is also a client and data does not go over the network). Bandwidth limits restrict maximum network usage and do not imply required bandwidth. For example, if you set the bandwidth limit for a client to 500 kilobytes per second, the client can use up to that limit. It does not mean, however, that the client requires 500 kilobytes per second. You cannot use bandwidth limits to distribute the backup workload of active backups by having NetBackup pick the most available network segment. NetBackup does not pick the next client to run based on any configured bandwidth limits.
380 Host properties Master server, media server, and client host properties
Copy the bpend_notify_busy script: /usr/openv/netbackup/bin/goodies/bpend_notify_busy to the path: /usr/openv/netbackup/bin/bpend_notify Set the file access permissions to allow group and other to execute bpend_notify. Configure a policy with a user backup schedule for the busy file backups. This policy services the backup requests that the repeat option in the actions file generates. The policy name is significant: by default, NetBackup alphabetically searches (uppercase characters first) for the first available policy with a user backup schedule and an open backup window.
Host properties Master server, media server, and client host properties
381
Working directory
The Working directory property specifies the path to the busy-files working directory. On a UNIX client, the value in the users $HOME/bp.conf file takes precedence if it exists. By default, NetBackup creates the busy_files directory in the /usr/openv/netbackup directory.
Add button
Click Add to add a new file entry. Enter the file and path directly, or browse to select a file.
382 Host properties Master server, media server, and client host properties
Remove button
Select the file or directory and click Remove to remove the file from the file action list.
Send e-mail: Directs NetBackup to mail a busy file notification message to the user that is specified in the Operators E-mail address field in this dialog box. Retry the backup: Directs NetBackup to retry the backup on the specified busy file. The Retry count value determines the number of times NetBackup tries a backup. Ignore: Directs NetBackup to exclude the busy file from busy file processing. The file is backed up, then a log entry that indicates it was busy appears in the All Log Entries report.
Retry count
The Retry count property specifies the number of times to try the backup. Default retry count: 1.
Host properties Master server, media server, and client host properties
383
Clean-up properties
Clean-up properties apply to the length of time to retain various logs and incomplete jobs. Figure 7-14 Clean-up host properties dialog box
Keep logs
The Keep logs property specifies the length of time, in days, that the master server keeps its error catalog, job catalog, and debug log information. NetBackup derives the Backup Status, Problems, All Log Entries, and Media Log reports from the error catalog. Keep logs limits the time period that these reports can cover. When this time expires, NetBackup also deletes these logs (that exist) on UNIX media servers and UNIX clients. Specify how many days youd like to keep the logs in case you need the logs to evaluate failures. For example, if you check the backups every day you can delete the logs sooner than if you check the backups once a month. However, the logs can consume a large amount of disk space, so do not keep the logs any longer than necessary. Default: 28 days.
384 Host properties Master server, media server, and client host properties
install_path\netbackup\vault\sessions\vaultname\sidxxxx
where xxxx is the session number. This directory contains vault log files, temporary working files, and report files.
Image cleanup
The Image cleanup property specifies the maximum interval that can elapse before an image cleanup is run. Image cleanup is run after every successful backup session (that is, a session in which at least one backup runs successfully). If a backup session exceeds this maximum interval, an image cleanup is initiated.
NetBackup also stores the true image restore information on disk in the /usr/openv/netbackup/db/images directory. NetBackup retains the information for the number of days this property specifies. To keep the information on disk speeds up restores. If a user requests a true image restore after the information has been deleted from disk, NetBackup retrieves the required information from the media. The only noticeable difference to the user is a slight increase in total restore time. NetBackup deletes the additional information from disk again after one day.
Host properties Master server, media server, and client host properties
385
386 Host properties Master server, media server, and client host properties
General Tab Connect Options tab on page 388 Windows Open File Backup tab on page 391 General tab of Client Attributes host properties dialog box
Figure 7-15
Host properties Master server, media server, and client host properties
387
Clients list
The Clients list is a list of clients in the client database on the currently selected master server(s). A client must be in the client database before you are able to change the client properties in the Client Attributes dialog box. The client database consists of directories and files in the following directory:
/usr/openv/NetBackup/db/client
If a client is not listed in the Clients list, click Add to add clients. To remove a client from the Clients list, select the client, then click Remove. You can also create, update, list, and delete client entries by using the bpclient command that is located in the following directory:
/usr/openv/netbackup/bin/admincmd
The name that is entered here must match the Client Name property for the specific client. If it does not, the client cannot browse its own backups. For more information, see Client name on page 395. Note: Use the bpclient command to add clients to the client database if dynamic addressing (DHCP) is in use. (See Dynamic host name and IP addressing on page 99 in the NetBackup Administrators Guide, Volume II for instructions.)
Add button
Click Add to display the Add Client dialog box and add a client to the client database. Type a client name in the text box.
Remove button
Select a client in the Clients list and click Remove to delete the selected client from the client database.
General tab
The following sections describe the properties on the General tab within Client Attributes. For more information about the Windows Open File Backup properties, see Windows Open File Backup tab on page 391.
388 Host properties Master server, media server, and client host properties
To change the setting, select Maximum data streams. Then scroll to or enter a value up to 99. Maximum data streams interacts with the Maximum jobs per client and Limit jobs per policy as follows: For more information see Maximum jobs per client on page 436 and Limit jobs per policy on page 97.
If Maximum data streams is not set, the limit is either Maximum jobs per client or Limit jobs per policy, whichever is lower. If Maximum data streams is set, NetBackup ignores Maximum jobs per client. NetBackup uses either Maximum data streams or Limit jobs per policy, whichever is lower.
To use the Global client attribute settings, select Use global settings. (See Allow client browse on page 386 and Allow client restore on page 386.). To allow users on the selected clients to both browse and restore, select Allow both. To allow users on the selected clients to browse but not restore, select Allow browse only. To prevent users on the selected clients from the ability to browse or restore, select Deny both.
Free browse
The Free Browse property applies to the privileges that are allowed to a non-root user that is logged into the client. The Free browse property specifies whether the clients can list and restore from scheduled backups. (This setting does not affect user backups and archives.) Root users are able to list and restore from scheduled backups as well as user backups regardless of the Free browse setting.
Host properties Master server, media server, and client host properties
389
Figure 7-16
Use default connect options: Use the value that is defined in the Firewall host properties of the clients NetBackup server. For more information, see Default connect options on page 424. Random port: NetBackup randomly chooses a free port in the allowed range to perform the legacy connect-back method. VNETD port: NetBackup uses the vnetd port number for the connect-back method.
Ports
Use default connect options: Use the value that is defined in the Firewall host properties of the clients NetBackup server. For more information, see Default connect options on page 424. Reserved port: Use a reserved port number. Non-reserved port: Use a non-reserved port number.
390 Host properties Master server, media server, and client host properties
Use default connect options: Use the value that is defined in the Firewall host properties of the clients NetBackup server. For more information, see Default connect options on page 424. Automatic: Connect to the daemons on the server using vnetd if possible. If the daemons cannot use vnetd, the connection is made using the daemons legacy port number. VNETD only: Connect to the daemons on the server using only vnetd. If the firewall rules prevent a server connection using the legacy port number, check this option. Daemon port only: Connect to the daemons on the server using only the legacy port number.
Note: If vnetd only is selected as the Daemon connection port, the BPCD connect back setting is not applicable. If vnetd only is selected as the Daemon connection port, Non-reserved port is always used regardless of the value of the Ports setting.
Host properties Master server, media server, and client host properties
391
The Windows Open File Backup properties specify whether a client uses Windows Open File Backup. The properties also specify whether Volume Snapshot Provider or Volume Shadow Copy Service is used as the snapshot provider. Snapshots are a point-in-time view of a source volume. NetBackup uses snapshots to access busy or active files during a backup job. Without a snapshot provider, active files are not accessible for backup.
Windows Open File Backup is enabled on the client. The snapshot provider for the client is VSP.
392 Host properties Master server, media server, and client host properties
Snapshots are taken of individual drives (Individual drive snapshot) as opposed to all drives at once (Global drive snapshot). Upon error, the snapshot is aborted (Abort backup on error).
To delete a client from the list, select the client, then click Delete. To make changes to the default settings, add the client name to the client list. Select the client name in the client list, then make changes to the clients Windows Open File Backup configuration settings.
Host properties Master server, media server, and client host properties
393
selected clients. VSS can be used for Windows Server 2003 clients only. Configure VSS through the Microsofts VSS configuration dialog boxes.
Volume snapshots are enabled on only one drive at a time, depending on which drive is to be backed up. This mode is useful when relationships do not have to be maintained between files on the different drives. Use this configuration if snapshot creation fails when all volumes for the backup are snapshot at once when the Global drive snapshot property is enabled. (For example, if one volume in the volume set cannot meet the VSP quiet time requirements.) Individual drive snapshot is enabled by default for all non multi-streamed backups using the Windows Open File Backup option.
This property maintains file consistency between files in different volumes. The backup uses the same snapshot that is taken at a point in time for all volumes in the backup.
394 Host properties Master server, media server, and client host properties
Note: The Individual drive snapshot and Global drive snapshot properties only apply to non multi-streamed backups using Windows Open File Backup. All multi-streamed backup jobs share the same volumes snapshots for the volumes in the multi-streamed policy. The volume snapshots are taken in a global fashion.
Host properties Master server, media server, and client host properties
395
Client name
The host that is specified in the Client name field is the NetBackup client name for the selected client. The Client name is the name by which the client is known to NetBackup. The name must match the name the policy uses to back up the client. The only exception is for a redirected restore, where the name must match that of the client whose files are to be restored. The client name is initially set during installation. The name that is entered here must also match the client name in the Client Attributes dialog box for the master server. If it does not, the client cannot browse for its own backups. For more information, see Client Attributes properties on page 386. If the value is not specified, NetBackup uses the name that is set in the following locations:
For a Windows client: In the Network application from the Control Panel. For a UNIX client: The name that is set by using the hostname command. The name can also be added to a $HOME/bp.conf file on a UNIX client. However, the name is normally added in this manner only for redirected restores. The value in the $HOME/bp.conf file takes precedence if it exists.
396 Host properties Master server, media server, and client host properties
Host properties Master server, media server, and client host properties
397
Wait: By default, NetBackup waits for files to become unlocked. If the wait exceeds the Client read timeout host property, configured on the master server, the backup fails with a status 41. For more information, see Client read timeout on page 475. Skip: NetBackup skips the files that currently have mandatory locking set by another process. A message is logged if it was necessary to skip a file.
398 Host properties Master server, media server, and client host properties
Logs for user-directed operations are stored on the client system in the following directory:
install_path\NetBackup\logs\user_ops\ loginID\logs
Solaris SPARC platform running VxFS 4.1 or greater AIX running VxFS 5.0 or greater. HP 11.23 running VxFS 5.0 or greater.
Host properties Master server, media server, and client host properties
399
Default: off. The File Change Log (FCL) tracks changes to files and directories in a file system. Changes may include files created, links and unlinks, files renamed, data that is appended, data that is overwritten, data that is truncated, extended attribute modifications, holes punched, and file property updates. NetBackup can use the FCL to determine which files to select for incremental backups, which can potentially save unnecessary file system processing time. The FCL information that is stored on each client includes the backup type, the FCL offset, and the time stamp for each backup. The following platforms and versions are supported:
Recommended use
The advantages of this property depend largely on the number of file system changes relative to the file system size. The performance impact of incremental backups ranges from many times faster or slower, depending on file system size and use patterns. For example, enable this property for a client on a very large file system that experiences relatively few changes. The incremental backups for the client may complete sooner since the policy needs to read only the FCL to determine what needs to be backed up on the client. If a file experiences many changes, or multiple changes to many files, the time saving benefit may not be as great. Note: The VxFS mount point must be specified in the policy backup selections list for this property to take effect. For more information, see Backup Selections tab on page 163
The Use VxFS file change log property must be enabled for every client that wants NetBackup to take advantage of the FCL. The FCL must be enabled on the VxFS client. See the Veritas File System Administrators Guide for information about how to enable the FCL on the VxFS client. The Use VxFS file change log property must be enabled on the client(s) in time for the first full backup. Subsequent incremental backups need this full backup to stay synchronized.
400 Host properties Master server, media server, and client host properties
The VxFS mount point must be specified in the policy backup selections list in some manner:
By specifying ALL_LOCAL_DRIVES. By specifying the actual VxFS mount point. By specifying a directory at a higher level than the VxFS mount point, provided that Cross mount points is enabled. For more information, see Cross mount points on page 103.
Note: If the policy has Collect true image restore information or Collect true image restore information with move detection enabled, the Use VxFS file change log property on the client is ignored.
VxFS administration
Additional VxFS commands are available to administrate the FCL. The commands are documented in the Veritas File System Administrators Guide.
Host properties Master server, media server, and client host properties
401
Add button
Use the Add button to add file endings to the list of file endings that you do not want to compress. Click Add, then type the file extension in the File Endings dialog box. Use commas or spaces to separate file endings if more than one is added. Click Add to add the ending to the list, then click Close the dialog box.
Remove button
Click the Remove button to remove a file extension from the list. To remove a name, either type it in the box or click the browse button (...) and select a file ending. Use commas or spaces to separate names. Then, click the button.
402 Host properties Master server, media server, and client host properties
Host properties Master server, media server, and client host properties
403
If the NTFS volume contains more than 1,000,000 files and folders and the number of changed objects between incremental backups is few (less than 100,000), the volume is a good candidate for enabling NetBackup change journal support. Support for the change journal is intended to reduce scan times for incremental backups by using the information that is gathered from the change journal on a volume. Therefore, to enable NetBackup change journal support is not recommended if the file system on the volume contains
404 Host properties Master server, media server, and client host properties
relatively few files and folders. (For example, hundreds of thousands of files and folders.) The normal file system scan is suitable under such conditions.
If the total number of changes on a volume exceeds from 10 to 20% of the total objects, the volume is not a good candidate for enabling NetBackup change journal support. Be aware that virus scanning software can interfere with the use of the change journal. Some real-time virus scanners intercept a file open for read, scan for viruses, then reset the access time. This results in the creation of a change journal entry for every scanned file.
A NetBackup client using change journal support must belong to only one policy. To use one policy avoids the confusion that multiple backup settings causes. Multiple backup settings can cause conflicted update sequence number (USN) information in the permanent record. After Use change journal in incrementals is selected, the NetBackup client service must be restarted on the target system. A full backup of the target system must be completed under change journal monitoring to enable change journal-based incremental backups. Change journal support is not offered for user-directed backups. The USN stamps for full and incremental backups in the permanent record do not change. NetBackup support for change journal works with Checkpoint Restart for restores. For more information, see Checkpoint restart for restore jobs on page 683. Support for change journal is not offered with several NetBackup options or Symantec products. If Use change journal in incrementals is enabled, it has no effect while using the following options or products:
True Image Restore (TIR) For more information, see Collect true image restore information on page 108. True Image Restore with Move Detection For more information, see Collect true image restore information with move detection on page 109. Synthetic backups For more information, see Synthetic backup on page 128. Intelligent Disaster Recovery (IDR) For more information, see the NetBackup Administrators Guide, Volume II.
Host properties Master server, media server, and client host properties
405
Bare Metal Restore (BMR) For more information, see the NetBackup Bare Metal Restore Administrators Guide.
Time overlap
The Time overlap property specifies the number of minutes to add to the date range for incremental backups when using date-based backups. This value compensates for differences in the speed of the clock between the NetBackup client and server. Default: 60 minutes.
406 Host properties Master server, media server, and client host properties
This value is used during incremental backups when using the archive bit and when examining the create time on folders. This comparison is done for archive bit-based backups as well as date-based backups.
Host properties Master server, media server, and client host properties
407
Note: Data classifications cannot be deleted. However, the name, description, and the rank can be changed. The classification ID remains the same.
Rank
The order of the data classifications determines the rank of the classification in relationship to the others in the list. The lowest numbered rank has the highest priority. Use the Move Up and Move Down buttons to change rank and move the classification up or down in the list. To create a new data classification, click New. The New dialog displays. New data classifications are added to bottom of the list. To increase the rank of a data classification, select a line and click Move Up. To decrease the rank of a data classification, select a line and click Move Down.
408 Host properties Master server, media server, and client host properties
Name
NetBackup provides four data classifications by default:
Platinum (highest rank by default) Gold (second highest rank by default) Silver (third highest rank by default) Bronze (lowest rank by default)
Description
Enter a meaningful description for the data classification. Descriptions can be modified.
Classification ID
The Classification ID is the GUID value that identifies the data classification and is generated when a new data classification is added and the host property is saved. A data classification becomes associated with a backup image by setting the Data Classification attribute in the policy dialog. The ID is written into the image header. The storage lifecycles use the ID to identify the images that are associated with classification. For more information, see Data classification on page 90. ID values may exist in image headers indefinitely, so data classifications cannot be deleted. The name, description, and rank can change without changing the identity of the data classification. To create or change a data classification
To create a new data classification, click New. Modify the name and description in the Change dialog box. Add a name and description in the New Data Classification dialog box. A new classification appears at the bottom of the list. Use the Move Up and Move Down buttons to move the classification level up or down in the list. To change an item, select a line and click Change. Modify the name and description in the Change Data Classification dialog box.
Host properties Master server, media server, and client host properties
409
Encryption properties
The Encryption properties control encryption on the currently selected client. Figure 7-22 Encryption host properties dialog box
Multiple clients can be selected and configured at one time only if all selected clients are running the same version of NetBackup. If not, the Encryption properties dialog box is hidden. The separately-priced NetBackup Encryption option must be installed on the client for these settings (other than Allowed) to take effect. For more specific information on the Encryption option, see the NetBackup Security and Encryption Guide.
Encryption permissions
The Encryption permissions property indicates the encryption setting on the selected NetBackup client as determined by the master server. If it is necessary to change this property, select one of the following options:
Not allowed: Specifies that the client does not permit encrypted backups. If the server requests an encrypted backup, the backup job ends due to error.
410 Host properties Master server, media server, and client host properties
Allowed: Specifies that the client allows either encrypted or unencrypted backups. Allowed is the default setting for a client that has not been configured for encryption. Required: Specifies that the client requires encrypted backups. If the server requests an unencrypted backup, the backup job ends due to error.
Enable encryption
Select the Enable encryption property if the NetBackup Encryption option is used on the selected client.
Client cipher
The following cipher types are available: BF-CFB, DES-EDE-CFB, AES-256-CFB, and AES-128-CFB. AES-128-CFB is the default. More information on the ciphers file is found in the NetBackup Security and Encryption Guide.
Encryption strength
The Encryption strength property defines the encryption strength on the NetBackup client when Legacy encryption is used:
DES_40: Specifies the 40-bit DES encryption. DES_40 is the default value for a client that has not been configured for encryption. DES_56: Specifies the 56-bit DES encryption.
Host properties Master server, media server, and client host properties
411
Encryption libraries
The Encryption libraries property specifies the folder that contains the encryption libraries on NetBackup clients. The default setting is generally sufficient. The following is the default location:
On Windows systems: install_path\netbackup\bin\ Where install_path is the directory where NetBackup is installed and by default is C:\Program Files\VERITAS. On UNIX systems: /usr/openv/lib
On Windows systems: install_path\NetBackup\bin\keyfile.dat Where install_path is the folder where NetBackup is installed and by default is C:\Program Files\VERITAS. On UNIX systems: /usr/openv/netbackup/keyfile
412 Host properties Master server, media server, and client host properties
Exchange properties
The Exchange properties apply to currently selected Windows clients. Figure 7-23 Exchange host properties dialog box
The Exchange properties specify the mailbox to associate with the NetBackup Client Service account. Specify a mailbox only if the NetBackup client and NetBackup Microsoft Exchange Server agent software are installed on the Microsoft Exchange Server. The NetBackup Client Service account must be associated with a valid Exchange mailbox for NetBackup to access the mailboxes and folders during backups and restores. Create a unique mailbox name for the NetBackup Client service account. If a mailbox is not created for the NetBackup Client service, use any existing mailbox on the Microsoft Exchange Server. The NetBackup Client service account must have granted logon rights to the mailbox. For more information on the mailbox settings, see the NetBackup for Microsoft Exchange Server Administrators Guide.
Host properties Master server, media server, and client host properties
413
inputs and outputs to process for each second-long pause. (Applicable to Exchange 2003 SP2 or later.) The value is used during snapshot validation by the Exchange command ESEUTIL /pXXX where XXX is the value of Snapshot verification I/O throttle. ESEUTIL defines the /p setting as a forced second-long pause after every XXX I/Os to limit the I/O rate during database verification. See the Microsoft Exchange documentation regarding the ESEUTIL command for details.
Back up only uncommitted log files (Default.) The only log files that are backed up are those from the most current full backup. With this property selected for backups, users are unable to roll forward from previous backups through the most current. Back up all log files (including committed log files) All log files are backed up. With this property selected, users are able to roll through previous full backups.
An Exchange mailbox name A fully qualified name of the form /O=org_name/OU=site_name/CN=server_name/CN=mailbox_name A mailbox alias
414 Host properties Master server, media server, and client host properties
Exclude list
The Exclude list displays the policies that contain schedule, file, and directory exclusions.
Add buttons
The Add button performs different functions, depending on whether it is used from the Exclude list or from the Exceptions to the exclude list.
Host properties Master server, media server, and client host properties
415
Figure 7-24
When the policies on the Exclude list run, the files and directories that are specified on the list are backed up.
More than one client is selected for configuration and, a list item is selected that has not been configured on the selected hosts. (Rather, a grayed-out list item is selected.)
Add to All performs different functions, depending on whether it is used from the Exclude list or from the Exceptions to the exclude list.
416 Host properties Master server, media server, and client host properties
Remove buttons
Remove performs different functions, depending on whether it is used from the Exclude list or from the Exceptions to the exclude list.
Policy
In the Policy field, enter the policy name that contains the files and the directories to exclude or make exceptions for. You can also select the policy name from the drop-down menu. To exclude or make exceptions for the backup of specific files or directories from all policies, select <All Policies>.
Schedule
In the Schedule field, enter the schedule name that is associated with the files and the directories to exclude or make exceptions for. You can also select the schedule name from the drop-down menu. To exclude or make exceptions for the backups of specific files or directories from all schedules, select <All Schedules>.
Files/Directories
In the Files/Directories field, enter the full path to the file(s) and the directories to exclude or make exceptions for.
Host properties Master server, media server, and client host properties
417
a b
Under the Exclude List, click Add. The Add to Exclude List dialog box appears. In the Policy field, select a policy name from the drop-down menu or enter the name of a policy. Select All Policies to exclude these items from all policies. In the Schedule field, select a schedule name from the drop-down menu or enter the name of a schedule. Select All Schedules to exclude the specified files and directories from all schedules in the policy. In the Files/Directories field, enter the files or directories to be excluded from the backups that are based on the selected policy and schedule. Click Add to add the specified files and directories to the exclude list.
e 3
To add an exception to the exclude list: a b Under the Exceptions to the Exclude List, click Add. The Add Exceptions to the Exclude List dialog box appears. In the Policy field, select a policy name from the drop-down menu or enter the name of a policy. Select All Policies to add these items back into all policies. (In other words, these items are to be excluded from the exclude list.) In the Schedule field, select a schedule name from the drop-down menu or enter the name of a schedule. Select All Schedules to add these items back into the schedules. In the Files/Directories field, enter the files or directories to be added back into the backups that are based on the selected policy and schedule. Click Add to add the specified files and directories to the Exceptions to the Exclude List.
e 4
Click Apply to accept the changes. Click OK to accept the changes and close the host properties dialog box.
An exclude list for a policy and schedule. An exclude list for a policy. An exclude list for the entire client. This list does not specify a policy or schedule.
418 Host properties Master server, media server, and client host properties
In this example, NetBackup uses the first exclude list (for policy and schedule) because it is the most specific.
Only one pattern per line is allowed. NetBackup recognizes standard wildcard use, as described in Using wildcards in NetBackup on page 632. Spaces are considered legal characters. Do not include extra spaces unless they are part of the file name. For example, if you want to exclude a file named C:\testfile (with no extra space character at the end) and your exclude list entry is C:\testfile (with an extra space character at the end) NetBackup cannot find the file until you delete the extra space from the end of the file name. End a file path with \ to exclude only directories with that path name (for example, C:\users\test\). If the pattern does not end in \ (for example, C:\users\test), NetBackup excludes both files and directories with that path name. To exclude all files with a given name, regardless of their directory path, enter the name. For example: test rather than C:\test This is equivalent to prefixing the file pattern with
\ \*\ \*\*\ \*\*\*\
and so on. The following syntax rules apply only to UNIX clients:
Host properties Master server, media server, and client host properties
419
Do not use patterns with links in the names. For example, assume /home is a link to /usr/home and /home/doc is in the exclude list. The file is still backed up in this case because the actual directory path, /usr/home/doc, does not match the exclude list entry, /home/doc. Blank lines or lines that begin with a pound sign (#) are ignored.
Given the exclude list example, the following files and directories are excluded from automatic backups:
The file or directory named C:\users\doe\john. The directory C:\users\doe\abc\ (because the exclude entry ends with \). All files or directories named test that are two levels beneath users on drive C. All files or directories named temp that are two levels beneath the root directory on drive C. All files or directories named core at any level and on any drive.
The backup policy backup selection list for silk indicates ALL_LOCAL_DRIVES. When a scheduled backup runs, the entire client is backed up. The entire client would also be backed up if the backup selection list
420 Host properties Master server, media server, and client host properties
consisted of only: /
The exclude list on the client consists of only: * An exclude list of * indicates that all files are excluded from the backup.
However, since the include list on Windows client silk includes the following file:
C:\WINNT
the excluded directories are traversed to back up C:\WINNT. If the include list did not contain any entry, no directories would be traversed.
Host properties Master server, media server, and client host properties
421
In another example, assume the following settings for a UNIX client named hagar:
The backup selection list for client hagar consists of the following: / The exclude list for UNIX client hagar consists of the following: / The include list of UNIX client hagar consists of the following directories:
/data1 /data2 /data3
Because the include list specifies full paths and the exclude list excludes everything, NetBackup replaces the backup selection list with the clients include list.
422 Host properties Master server, media server, and client host properties
Preferred
The Preferred property specifies to use an FT pipe if an FT device is available within the configured wait period in minutes. If an FT device is not available after the wait period elapses, NetBackup uses a LAN connection for the operation. If you select this option, also specify the wait period for backups and for restores.
Host properties Master server, media server, and client host properties
423
For the global property that is specified on the master server, the default is Preferred.
Always
The Always property specifies that NetBackup should always use an FT pipe always for backups and restores of SAN clients. NetBackup waits until an FT device is available before it begins the operation. However, an FT device must be active and available. If no FT device exists, NetBackup uses the LAN. An FT device may not exist because none is active, none have been configured, or the SAN Client license expired.
Never
The Never property specifies that NetBackup should never use an FT pipe for backups and restores of SAN clients. NetBackup uses a LAN connection for the backups and restores. If you specify Never for the master server, Fibre Transport is disabled in the NetBackup environment. If you select Never, you can configure FT usage on a per-client basis. If you specify Never for a media server, Fibre Transport is disabled for the media server. If you specify Never for a SAN client, Fibre Transport is disabled for the client.
424 Host properties Master server, media server, and client host properties
Firewall properties
The Firewall properties describe how the selected master and media servers are connected to by other hosts. Servers are added to the host list of the Firewall properties. To configure port usage for clients, see the Client Attributes properties. (See Client Attributes properties on page 386.) Figure 7-26 Firewall host properties dialog box
By default, NetBackup selects firewall-friendly connect options under Default connect options. However, the default options can be set differently for individual servers under Attributes for selected Hosts.
Host properties Master server, media server, and client host properties
425
Figure 7-27
To change any of the Default connect options, click Change. The Default Connect Options dialog box appears that contains the following properties:
Random port: NetBackup randomly chooses a free port in the allowed range to perform the traditional connect-back method. VNETD port: This method requires no connect-back. The Veritas Network Daemon (vnetd) was designed to enhance firewall efficiency with NetBackup during server-to-server and server-to-client communications. The server initiates all bpcd socket connections. Take the example of when bpbrm on a media server initially connects with bpcd on a client. The situation does not pose a firewall problem because bpbrm uses the well-known bpcd port.
Ports
Select whether the server is connected to by a reserved or non-reserved port number:
Use reserved ports: Connect to the server by a reserved port number. Use non reserved ports: Connect to the server by a non-reserved port number. If this property is selected, also enable Accept connections from non reserved ports for the selected server. This property is located on the Universal Settings dialog box under Host Properties > Master Servers or Host Properties > Media Servers. For more information, see Accept connections on non reserved ports on page 480.
426 Host properties Master server, media server, and client host properties
Automatic The daemons on the server are connected to by vnetd if possible. If it is not possible to use vnetd, the daemons traditional port number makes the connection. (Automatic is the default.) VNETD Only The daemons on the server are connected to by vnetd only. Select this property if your firewall rules prevent connections to the server by the traditional port number. Daemon port only The daemons on the server are connected to by only the traditional port number.
To change the default connect options for the selected server, click Change. Note: If vnetd only is selected as the Daemon connection port, the BPCD connect back setting is not applicable. If vnetd only is selected as the Daemon connection port, Use non reserved ports is always used regardless of the value of the Ports setting.
Hosts list
To change the default connect options for any server, add the server to the host list. Servers do not automatically appear on the list.
Add button
Click Add... to add a host entry to the host list. A host must be listed before it can be selected for configuration.
Remove button
Select a host name in the list, then click Remove to remove the host from the list.
Host properties Master server, media server, and client host properties
427
Use default connect options: Use the method that are specified under Default connect options. (Use default connect options is the default for BPCD connect back.) Random port: NetBackup randomly chooses a free port in the allowed range to perform the traditional connect-back method. VNETD port: This method requires no connect-back. The Veritas Network Daemon (vnetd) was designed to enhance firewall efficiency with NetBackup during server-to-server and server-to-client communications. The server initiates all bpcd socket connections. Take the example of when bpbrm on a media server initially connects with bpcd on a client. The situation does not pose a firewall problem because bpbrm uses the well-known bpcd port.
Ports
Select whether a reserved or non-reserved port number should be used to connect to the server:
Use default connect options: Use the method that are specified under Default attributes. (Use default is the default.) Reserved port: Connect to the server by a reserved port number. Non reserved port: Connect to the server by a non-reserved port number. If this property is selected, also enable Accept connections from non reserved ports for the selected server. This property is located on the Universal Settings dialog box under Host Properties > Master Servers or Host Properties > Media Servers. For more information, see Accept connections on non reserved ports on page 480.
Use default connect options: Use the method that is specified under Default attributes. (Use default is the default.) Automatic
428 Host properties Master server, media server, and client host properties
The daemons on the server are connected to by vnetd if possible. If it is not possible to use vnetd, the daemons traditional port number makes the connection. (Automatic is the default.)
VNETD only The daemons on the server are connected to by vnetd only. Select this property if your firewall rules prevent connections to the server by the traditional port number. Daemon port only The daemons on the server are connected to by the traditional port number only.
Note: If vnetd only is selected as the Daemon connection port, the BPCD connect back setting is not applicable. If vnetd only is selected as the Daemon connection port, Non reserved port is always used regardless of the value of the Ports setting.
Note: Both servers and clients must have NetBackup version 4.5 or later installed for vnetd to work. To set up vnetd between a server and a client 1 In the NetBackup Administration Console, expand NetBackup Management > Host Properties > Master Servers > Double-click on master server > Client Attributes. In the client list, select the client you want to change. Under BPCD connect back, select VNETD port. Click OK.
2 3 4
Or, add the client to the client database by running the bpclient command, that is located in /usr/openv/netbackup/bin/admincmd To set up vnetd between servers 1 In the NetBackup Administration Console, expand NetBackup Management > Host Properties > Master Servers > Double-click on master server > Firewall. In the host list, select the host you want to change. Under BPCD connect back, select VNETD port. Click OK.
2 3 4
Host properties Master server, media server, and client host properties
429
Or, add a CONNECT_OPTIONS entry to /usr/openv/netbackup/bp.conf for each server as described in CONNECT_OPTIONS on page 43 in the NetBackup Administrators Guide, Volume II. To enable logging for vnetd Create a vnetd directory in the following location: On Windows: install_path\NetBackup\logs\vnetd On UNIX: /usr/openv/logs/vnetd
In the Firewall properties for the master server, add an entry in the host list for each remote media server. (Host Properties > Master Servers > Selected master server > Firewall.) Under BPCD connect back, select VNETD port. Choose Automatic for the Daemon connection port. In the Firewall properties for each media server, add an entry for each remote server. (Host Properties > Media Servers > Selected media server > Firewall.) Under BPCD connect back, select VNETD port. Choose Automatic for the Daemon connection port. In the Firewall properties for each Client, add an entry for the Master server. (Host Properties > Clients > Selected client > Firewall.) Choose Automatic for the Daemon connection port.
430 Host properties Master server, media server, and client host properties
In the Client Attributes properties for the Master server, add an entry for each remote client. (Host Properties > Master Servers > Selected master server > Client Attributes.) Under BPCD connect back, select VNETD port.
Host properties Master server, media server, and client host properties
431
432 Host properties Master server, media server, and client host properties
Host properties Master server, media server, and client host properties
433
Two (or more) servers share a robot and each have connected drives. A restore is requested while one of the servers is either temporarily unavailable or is busy doing backups. A media server was removed from the NetBackup configuration, and is no longer available.
Add button
Click Add to add a host to the Media host override list. The Add Media Override Settings dialog box contains the following fields: Figure 7-29 Add Media Override settings dialog box
Original backup server: Server where data was backed up originally. Restore server: Server that is to process future restore requests.
Change button
To change an entry in the Media host override list, select a host name, then click Change.
434 Host properties Master server, media server, and client host properties
Remove button
Select the host in the Media host override list and click Remove to remove the host from the list. To force restores to go to a specific server 1 If necessary, physically move the media to the host to answer the restore requests, then update the Enterprise Media Manager database to reflect the move. Modify the NetBackup configuration on the master server. Add the original backup media server and the restore server to the Media host override list in the General Server host properties. Stop and restart the NetBackup Request Manager service on the master server. This process applies to all storage units on the original backup server. Restores for any storage unit on the Original backup server go to the server that is listed as the Restore server. To revert to the original configuration for future restores, delete the line from the Media host override list.
Host properties Master server, media server, and client host properties
435
436 Host properties Master server, media server, and client host properties
More than one storage unit available, or, one of the available storage units can perform more than one backup at a time. Maximum jobs per client
Client
Figure 7-31
Files that are on the same client but in different policies, can be backed up concurrently to different storage devices.
/home
Policy A
Tape Drive 1
/usr
Policy B Server
Tape Drive 2
You can specify any number of concurrent jobs within the following constraints:
Number of storage devices. NetBackup can perform concurrent backups to separate storage units or to drives within a storage unit. For example, a single Media Manager storage unit supports as many concurrent backups as
Host properties Master server, media server, and client host properties
437
it has drives. A disk storage unit is a directory on disk so the maximum number of jobs depends on system capabilities.
Server and client speed. Too many concurrent backups on an individual client interfere with the performance of the client. The best setting depends on the hardware, operating system, and applications that are running. The Maximum jobs per client property applies to all clients in all policies. To accommodate weaker clients (ones that can handle only a small number of jobs concurrently), consider using one of the following approaches:
Set the Maximum data streams property for those weaker client(s) appropriately. (This property is found under Host Properties > Master Server > Client Attributes > General tab.) Use the Limit jobs per policy policy setting in a client-specific policy. (A client-specific policy is one in which all clients share this characteristic).
Network loading. The available bandwidth of the network affects how many backups can occur concurrently. Two exabyte 8500, 8mm tape drives can create up to a 900-kilobyte-per-second network load. Depending on other factors, the load might be too much for a single Ethernet. For loading problems, consider backups over multiple networks or compression. A special case exists to backup a client that is also a server. Network loading is not a factor because the network is not used. Client and server loading, however, is still a factor.
Note: If online, hot catalog backups are scheduled to occur concurrently with other backups for the master server, set the Maximum jobs per client value to greater than two. The higher setting ensures that the catalog backup can proceed while the regular backup activity occurs.
the number of copies that are specified under Multiple copies, or the number of copies that are specified as the Maximum backup copies property.
For more information about how to create multiple copies, see Multiple copies on page 131.
438 Host properties Master server, media server, and client host properties
Note: When configuring multiple copies for a relocation schedule, created as part of a disk staging storage unit the Maximum backup copies property must be set to include an additional copy beyond the number of copies to be created in the Multiple Copies dialog. For example, to create four copies in the Multiple Copies dialog, the Maximum Backup Copies property must be set to five or more.
[email protected],[email protected]
Note: Disaster recovery information that is created during online, hot catalog backups is not sent to the addresses indicated here. DR information is sent to the address indicated on the Disaster Recovery tab in the catalog backup policy. .For more information, see Disaster Recovery tab on page 193.
Host properties Master server, media server, and client host properties
439
NetBackup uses the mail transfer agent sendmail to send email notifications. If it is not installed, install it from sendmail.org and configure your environment accordingly so that it functions correctly. NetBackup can send notification to specified email addresses about backups on all client or specific clients. Choose one or both of the following notification methods:
Send emails about failed backups only: Send a message to the email address(es) of the NetBackup administrator(s) about any backup that ends in a non-zero status. (Server sends mail host property is enabled in Universal Settings.) Send emails about successful and failed backups: Send a message to the local administrator(s) of each client about successful and unsuccessful backups. (Client sends mail host property is enabled in Universal Settings.)
Both methods require that the host properties be configured with email addresses. (See Indicating email notification in the NetBackup host properties on page 439.)
To send messages to the global administrator about backups with a non-zero status 1 Open the NetBackup Administration Console on the master server.
440 Host properties Master server, media server, and client host properties
2 3 4 5
Expand NetBackup Management > Host Properties > Master Server. Open the host properties of the master server. Select Global Attributes. In the Administrators email address field, enter the email address of the administrator to receive the notification emails. (Separate multiple addresses with commas.) Click Apply.
The global administrators email address can also be changed by using the bpconfig command on the master server: Install_Path\NetBackup\bin\admincmd\bpconfig -ma email_address For example: C:\Program Files\VERITAS\NetBackup\bin\admincmd\bpconfig -ma [email protected] To send messages about all backups from a client An alternative to sending all emails through the master server is to send emails through each client. An email can be sent to each client administrator after both successful and failed backups. 1 2 3 4 5 Open the NetBackup Administration Console on the master server. Expand NetBackup Management > Host Properties > Clients. Open the host properties for a client. Multiple clients can also be selected. Select Universal Settings. In the Client administrators email field, enter the email address of the administrator to receive the notification emails. (Separate multiple addresses with commas.) See Client administrators email on page 481. Enable the Client sends mail option and click Apply.
Email contents
The following represents the contents of a notification email:
Backup on client hostname by root was partially successful. File list --------C:\Documents and Settings
Host properties Master server, media server, and client host properties
441
Logging properties
The Logging properties apply to currently selected master servers, media servers, and clients. The available properties differ between master servers, media servers, and clients. Figure 7-32 Logging host properties dialog box
Types of logging
The Logging properties contain the processes that continue to use legacy logging as well as processes that use unified logging.
442 Host properties Master server, media server, and client host properties
For details on both unified and legacy logging, refer to the Using Logs and Reports chapter of the NetBackup Troubleshooting Guide. To control the size and number of unified logs, use the vxlogcfg and the vxlogmgr commands, as described in the NetBackup Troubleshooting Guide.
Legacy logging
For those processes that use legacy logging, you must first create a log directory for each process to be logged. A logging level selection on the Logging properties page does not enable logging. Create the NetBackup legacy log directories in:
/usr/openv/netbackup/logs/process_name (UNIX)
install_path\NetBackup\logs\process_name (Windows)
/usr/openv/volmgr/debug (UNIX)
install_path\Volmgr\debug (Windows)
For more information about legacy logs, see the NetBackup Troubleshooting Guide.
Host properties Master server, media server, and client host properties
443
444 Host properties Master server, media server, and client host properties
Job Manager
If you want to override the Global logging level, select a logging level for the Job Manager (NBJM): 0 (minimum) through 5 (maximum). Select No logging to produce no log for this service at all. The Job Manager accepts the jobs that the Policy Execution Manager (NBPEM) submits and acquires the necessary resources. This property appears for EMM servers. This property does not appear for NetBackup hosts earlier than 6.0.
Resource Broker
If you want to override the Global logging level, select a logging level for the Resource Broker (NBRB): 0 (minimum) through 5 (maximum). Select No logging to produce no log for this service at all. The Resource Broker makes the allocations for storage units, tape drives, client reservations. This property does not appears for NetBackup hosts earlier than 6.0.
Host properties Master server, media server, and client host properties
445
The following topics explain the settings. For more information, see the NetBackup for Lotus Notes Administrators Guide.
Path
In the Path field, specify the path where the Lotus Notes program files reside on the client. NetBackup must know where these files are to perform backup and restore operations. The value in this box overrides the Lotus registry key, if both are defined.
INI file
In the INI field, specify the absolute path to the NOTES.INI file. Enter the NOTES.INI file that is associated with the server used to back up and restore the Lotus database. Use this setting to specify the correct .INI file to back up and restore from Domino partitioned servers. Specifying the .INI file for non-partitioned servers is not necessary.
446 Host properties Master server, media server, and client host properties
Media properties
The Media properties apply to selected master servers and media servers. Media properties control how NetBackup manages media. Figure 7-34 Media host properties dialog box
ANSI: When ANSI is enabled, ANSI labeled media can be overwritten. AOS/VS: When AOS/VS is enabled, AOS/VS media can be overwritten. (Data General AOS/VS backup format.) CPIO: When CPIO is enabled, CPIO media can be overwritten. DBR: When DBR is enabled, DBR media can be overwritten. (The DBR backup format is no longer used.)
Host properties Master server, media server, and client host properties
447
RS-MTF1: Remote Storage MTF1 media format. When MTF1 is enabled, Remote Storage MTF1 media format can be overwritten. TAR: When TAR is enabled, TAR media can be overwritten. MTF: When MTF is enabled, MTF media can be overwritten. With only MTF checked, all other MTF formats can be overwritten. (The exception is Backup Exec MTF (BE-MTF1) and Remote Storage MTF (RS-MTF1) media formats, which are not overwritten. BE-MTF1: When BE-MTF1 is enabled, Backup Exec MTF media can be overwritten.
By default, NetBackup does not overwrite any of the formats on removable media, and logs an error if an overwrite attempt occurs. This format recognition requires that the first variable length block on a media be less than or equal to 32 kilobytes. If media contains one of the protected formats and media overwrites are not permitted, NetBackup takes the following actions:
Sets the volumes state to FROZEN Selects a different volume Logs an error
If the volume is in the NetBackup media catalog and has been previously selected for backups
Sets the volumes state to SUSPENDED Aborts the requested backup Logs an error
If the volume is mounted for a backup of the NetBackup catalog, the backup is aborted and an error is logged. The error indicates the volume cannot be overwritten. If the volume is mounted to restore files or list the media contents, NetBackup aborts the request and logs an error. The error indicates that the volume does not have a NetBackup format.
448 Host properties Master server, media server, and client host properties
SCSI reservations provide protection for NetBackup Shared Storage Option environments or any other multiple-initiator environment in which drives are shared. The following are the protection options:
SCSI persistent reserve. This option provides SCSI persistent reserve protection for SCSI devices. The devices must conform to the SCSI Primary Commands - 3 (SPC-3) standard. SCSI persistent reserve is valid for NetBackup 6.5 and later servers only. If you enable SCSI persistent reserve, NetBackup does not send persistent reserve commands to NetBackup media servers earlier than release 6.5. SPC-2 SCSI reserve. (The default option.) This option provides SPC-2 SCSI reserve protection for SCSI devices. The devices must conform to the reserve and release management method in the SCSI Primary Commands - 2 standard. No protection. To operate NetBackup without tape drive access protection, clear the Enable SCSI reserve property. If unchecked, other HBAs can send the commands that may cause a loss of data to tape drives.
The protection setting configures access protection for all tape drives from the media server on which the option is configured. You can override the media server setting for any drive path from that media server. For more information, see Configuring SCSI reserve on a drive path on page 605. Caution: Ensure that all of your hardware processes SCSI persistent reserve commands correctly. All of your hardware includes fibre-channel bridges. If the hardware does not process SCSI persistent reserve commands correctly and NetBackup is configured to use SCSI persistent reserve, no protection may exist.
Recommended use
All tape drive and bridge vendors support the SPC-2 SCSI reserve and release method. NetBackup has used SPC-2 SCSI reserve since NetBackup 3.4.3, and it is the default tape drive reservation method in NetBackup. SPC-2 SCSI reserve is effective for most NetBackup environments. Alternatively, the new SCSI persistent reserve method may be more effective in either of the following environments because it provides device status detection and correction:
You operate NetBackup media servers in a cluster environment. NetBackup can recover and use a reserved drive after a failover (if NetBackup owns the reservation). (With SPC-2 SCSI reserve, usually you must reset the drive because the reservation owner is inoperative.)
Host properties Master server, media server, and client host properties
449
You want very high drive availability. NetBackup can resolve NetBackup drive reservation conflicts and maintain high drive availability. (SPC-2 SCSI reserve provides no method for drive status detection.)
However, the SCSI persistent reserve method is not supported or not supported correctly by all device vendors. Therefore, you should thoroughly analyze your environment to ensure that all of your hardware supports SCSI persistent reserve correctly. Symantec recommends that you carefully consider all of the following factors before you use SCSI persistent reserve:
Only a limited number of tape drive vendors support SCSI persistent reserve. SCSI persistent reserve is not supported or not supported correctly by all fibre channel bridge vendors. Incorrect support in a bridge means no access protection. Therefore, if you use bridges in your environment, you should not use SCSI persistent reserve. If you have parallel SCSI buses, you should carefully consider the use of SCSI persistent reserve. Usually, parallel drives are not shared, so SCSI persistent reserve protection is not required. Also, parallel drives are usually on a bridge, and bridges do not support SCSI persistent reserve correctly. Therefore, if you use parallel SCSI buses in your environment, you should not use SCSI persistent reserve. You may have to configure your operating system tape drivers extensively to use SCSI persistent reserve. For example, if your tape drives do not support SPC-3 Compatible Reservation Handling (CRH), you must ensure that your operating system does not issue SPC-2 reserve and release commands.
If any of your hardware does not support SCSI persistent reserve, Symantec recommends that you do not use SCSI persistent reserve.
450 Host properties Master server, media server, and client host properties
If the end of media is encountered and this property is not selected, the media is set to FULL and the operation terminates abnormally. This action applies to both robotic drives and nonrobotic drives.
A BasicDisk storage unit spanning to a BasicDisk storage unit. The units must be within a storage unit group. An OpenStorage, AdvancedDisk, or SharedDisk volume spanning to another volume in the disk pool.
The storage units must share the same media server. The multiplexing level on spanning storage units should be the same. If there are any differences, the level on the target unit can be higher. For more information on the storage unit multiplexing setting, see Enable multiplexing on page 230. A disk staging storage unit cannot span to another storage unit. Also, a disk staging storage unit is not eligible as a target for disk spanning. Disk spanning is not supported on NFS.
Host properties Master server, media server, and client host properties
451
To allow all NetBackup media servers and NDMP hosts in your NetBackup environment to share media for writing, select this property. Do not configure server groups for media sharing. To restrict media sharing to specific server groups, clear this property, then configure media server groups and backup policies to use media sharing. To disable media sharing, clear this property and do not configure media server groups.
By default, media sharing is disabled. (The property is cleared and no server groups are configured.) For more information, see Configuring server groups for media sharing on page 615.
452 Host properties Master server, media server, and client host properties
another 60 seconds and checks again. If the total delay is not a multiple of 60, the last wait is the remainder. If the delay is less than 60 seconds, NetBackup checks only once at the end of the delay. For example, set the delay to 150 seconds. NetBackup waits 60 seconds, checks for ready, waits 60 seconds, checks for ready, then waits 30 seconds and checks for ready the last time. If the delay had been 50 seconds (a short delay is not recommended), NetBackup would have checked only once, at the end of 50 seconds.
To access the Add NDMP Host dialog, add a NDMP host under Media and Device Management > Credentials > NDMP Hosts.
Host properties Master server, media server, and client host properties
453
Figure 7-36
User name
The user name under which NetBackup accesses the NDMP server. This user must have permission to run NDMP commands.
Client Settings (NetWare) properties on page 396 Open File Backup (NetWare client) properties on page 455
454 Host properties Master server, media server, and client host properties
Network properties
The Network properties apply to currently selected Windows clients. Figure 7-37 Network host properties dialog box
Under Network properties, set the properties that define requirements for communications between clients and the master server.
Host properties Master server, media server, and client host properties
455
456 Host properties Master server, media server, and client host properties
NetBackup communicates between computers by using a combination of registered and dynamically allocated ports.
Registered ports are registered with the Internet Assigned Numbers Authority (IANA) and are permanently assigned to specific NetBackup services. For example, the port for the NetBackup client daemon (bpcd) is 13782. These ports are specified in a system configuration file: /etc/services Media Manager services include tape library control daemons, which accept connections from daemons on other servers that share the same library. See the services file on the media server to determine the ports that are required for a specific library. Dynamically-allocated ports are assigned as needed, from configurable ranges in the Port Ranges host properties for NetBackup servers and clients. In addition to the range of numbers, you can configure the following for dynamically-allocated ports:
Host properties Master server, media server, and client host properties
457
Whether NetBackup selects a port number at random or starts at the top of the range and uses the first one available. Whether connections to bpcd on a client use reserved or non-reserved ports.
458 Host properties Master server, media server, and client host properties
Host properties Master server, media server, and client host properties
459
The Restore Failover properties control how NetBackup performs automatic failover to a NetBackup media server. A failover server may be necessary if the regular media server is temporarily inaccessible for a restore. The automatic failover does not require administrator intervention. By default, NetBackup does not perform automatic failover. Examples of when to use the restore failover capability:
Two or more media servers share a robot and each has connected drives. When a restore is requested, one of the servers is temporarily inaccessible. Two or more media servers have stand-alone drives of the same type. When a restore is requested, one of the servers is temporarily inaccessible.
In these instances, inaccessible means that the connection between bprd on the master server and bptm on the media server (through bpcd) fails. Possible reasons for the failure are:
The media server is down. The media server is up but bpcd does not respond. (For example, if the connection is refused or access is denied.)
460 Host properties Master server, media server, and client host properties
The media server is up and bpcd is running but bptm has problems. (For example, if vmd is down or bptm cannot find the required tape.)
Add button
To include a NetBackup media server in the Alternate restore failover machines list, click Add. To add or change a media server to the alternate restore failover machine list 1 To add an entry, click Add. The Add Failover Servers dialog box appears. To change an entry, click Change. The Change Failover Servers dialog box appears.
2 3
In the Media server field, specify the media server for failover protection. In the Failover restore servers field, specify the media server(s) to try if the server that is designated in the Server field is unavailable. Separate the names of multiple servers with a single space. Click Add to add the name to the list. The dialog box remains open for another entry. Click OK if an entry was changed. Click Close to close the dialog box. Click Apply to accept the Restore Failover property changes. Click OK to close the host properties dialog box.
Host properties Master server, media server, and client host properties
461
Stop and restart the NetBackup Request daemon on the master server where the configuration was changed.
For more information on failover, see Method 3: Automatic failover to alternate server on page 692.
Change button
To change an entry in the Alternate restore failover machines list, select a media server, then click Change.
Remove button
To remove a NetBackup media server from the Alternate restore failover machines list, select the media server to be removed, then click Remove.
Media server
Browse to a media server for which to configure a failover restore server(s).
462 Host properties Master server, media server, and client host properties
The Retention period that is specified in a policy determines how long NetBackup retains the backups or archives created according to that schedule.The Retention period in a policy determines how long NetBackup retains the backups or archives created according to that schedule. Select from 25 levels of retention. The Retention Period properties define the length of time that is associated with each level.
Value
The Value specifies the retention level setting.
Units
The Units property specifies the units of time for the retention period. The list includes the special units, Infinite and Expires immediately.
Host properties Master server, media server, and client host properties
463
many schedules currently use each level. If the retention period is changed for a level, it affects all schedules that use that level.
Schedules list
The dialog box contains a list of the schedules that use the currently selected retention level, and the policy to which each schedule belongs.
Note: Level 9 cannot be changed and remains at a setting of infinite. The dialog box displays the names of all schedules that use the selected retention level as well as the policy to which each schedule belongs. 3 4 Type the new retention period in the Value box. Select the units of measure (days, weeks, months, years, infinite, or expires immediately).
Note: After Units or Value is changed, an asterisk (*) appears in the Changes Pending column to indicate that the period was changed. NetBackup does not change the actual configuration until Apply or OK is clicked. 5 Click Impact Report. The policy impact list displays the schedules where the new retention period is less than the frequency period. To prevent schedules from being listed, redefine the retention period for the schedules or change the retention or frequency for the schedule. To discard your changes, click Cancel. To save your changes and update the configuration, click one of the following:
6 7
464 Host properties Master server, media server, and client host properties
Apply: Saves the changes and leaves the dialog box open to make further changes. OK: Saves the changes since Apply was last clicked. OK also closes the dialog box.
Host properties Master server, media server, and client host properties
465
Servers properties
The Servers properties display the NetBackup server list on selected master servers, media servers, and clients. The server list displays the NetBackup servers that each host recognizes. Figure 7-41 Servers host properties dialog box
Master server
The Master server property specifies the master server for the selected host. (The name of the selected host appears in the title bar.)
Additional servers
The Additional Servers list contains the additional servers that can access the server that is specified as Master server. During installation, NetBackup sets the master server to the name of the system where the server software is installed. NetBackup uses the master server value to validate server access to the client. The master server value is also used to determine which server the client must connect to so that files can be listed and restored.
To add a server, click Add and select a server. To delete a server, select a server from the list, then click Remove.
466 Host properties Master server, media server, and client host properties
To change the master server, select another server from the list, then click Make Master.
To configure access to a remote server, add to the server list the name of the host seeking access. For more information, see To administer a remote master server on page 639.
Media servers
The Media servers list specifies that the listed machines are media servers only. Machines that are listed as media servers can back up and restore clients, but have limited administrative privileges.
To add a new media server, click Add and select a server. Run nbemmcmd -addhost to add a media server to the Enterprise Media Manager (EMM) database of existing master server. To delete a media server, select a media server from the list, then click Remove.
Host properties Master server, media server, and client host properties
467
Consider a configuration that consists of master server oak and two media serverselm and pine. Set up oak as the master server and elm and pine as media servers. If a machine is defined as both a master server and a media server, the master server entry takes precedence. A server that is listed as both a master and a media server has consequences. It allows a media server system administrator to be a NetBackup administrator on other master servers. Figure 7-43 Server that are listed as both media server and master server
A machine that is listed as both an additional server and a media server has full administrative privileges
468 Host properties Master server, media server, and client host properties
Meadow
SERVER = meadow SERVER = havarti SERVER = study CLIENT_NAME = meadow EMMSERVER = meadow
Havarti
SERVER = havarti SERVER = meadow
Study
SERVER = study SERVER = meadow
SERVER entries:
The first SERVER entry must be the name of the master server. The following master servers also need to be listed: In order for the NetBackup Administration Console to administer other servers, the servers must be listed. (File > Change Server.) If the EMM database is on another master server, that server needs to be listed. The table shows how meadow is listed on havarti and study.
The EMMSERVER entry must be present on all master servers that share the EMM host. The table shows how meadow is listed as the EMMSERVER on havarti, study, as well as on meadow.
Host properties Master server, media server, and client host properties
469
To update the EMM database, after changing the master server for a media server, run: /usr/openv/netbackup/bin/admincmd/nbemmcmd -updatehost
470 Host properties Master server, media server, and client host properties
SharedDisk properties
The SharedDisk master server properties specify the SharedDisk storage option properties for your NetBackup configuration. Figure 7-44 SharedDisk host properties dialog box
Host properties Master server, media server, and client host properties
471
User ID
Specify the user id for the account to use to log on to SharePoint (DOMAIN\user name).
Password
Specify the password for the account.
472 Host properties Master server, media server, and client host properties
index pages for each user table are included in the consistency check. The consistency of the nonclustered index pages is not checked. Fullcheck, including indexes: Include indexes in the consistency check. Any errors are logged. Physical check only (SQL 2000 only): Select this property to perform a low overhead check of the physical consistency of the SQL Server 2000 database. This property checks the integrity of the physical structure of the page and of record headers. It also checks the consistency between the pages object ID and index ID and the allocation structures.
Use the Add button to add a host that is authorized to run restores on SharePoint component hosts. Provide the name of the Farm front-end host and the name of the Farm component host in the farm.
Host properties Master server, media server, and client host properties
473
The Symantec Products properties include the subnode, Backup Exec Tape Reader properties on page 375.
474 Host properties Master server, media server, and client host properties
Timeouts properties
The Timeouts properties apply to selected master servers, media servers, and clients. Figure 7-48 Timeouts host properties dialog box
Host properties Master server, media server, and client host properties
475
476 Host properties Master server, media server, and client host properties
NetBackup on the database-extension client reads the clients client-read timeout to find the initial value. If the option is not set, the standard 5-minute default is used. When the database-extension API receives the servers value, it uses it as the client- read timeout.
Note: For database-extension clients, Symantec suggests that the Client read timeout be set to a value greater than 5 minutes. 15 minutes is adequate for many installations. For other clients, change Client read timeout only if problems are encountered.
Host properties Master server, media server, and client host properties
477
Restore retries
The Restore retries setting specifies the number of attempts a client may try to restore after a failure. (Default: 0; the client does not attempt to retry a restore. The client may try up to 3 times.) Change Restore retries only if problems are encountered. A checkpointed job is retried from the start of the last checkpointed file rather than at the beginning of the job. If a job fails after the maximum number of retries, the job goes into the incomplete state. The job remains in the incomplete state as determined by the Move restore job from incomplete state to done state property. Checkpoint Restart for restores allows a NetBackup administrator to resume a failed restore job from the Activity Monitor. For more information, see Move restore job from incomplete state to done state on page 385.
478 Host properties Master server, media server, and client host properties
One network interface is for the regular network. The host name for the regular interface is fred. One network interface is for the backup network. The host name for the backup interface is fred_nb.
The NetBackup client name setting on both the client and server is fred_nb. When client fred starts a backup, restore, or list operation, the request goes out on the fred_nb interface and over the backup network. The operation assumes that fred and the network are set up to do so. If this configuration is not in place, fred can send out the request on the fred interface and over the regular network. The server receives the request from client fred_nb with host name fred and refuses it because the host and the client names do not match.
Host properties Master server, media server, and client host properties
479
One solution is to set Use specified network interface on fred to fred_nb. All backup, restore, and list requests use the fred_nb interface. The server receives requests from client fred_nb with host name fred_nb and everything works as intended. Another solution is to set up the master server to allow redirected restores for client fred. Redirected restores allow the server to accept the request, but leaves NetBackup traffic on the regular network.
One network interface is for the regular network. The host name for the regular interface is barney. One network interface is for the backup network The host name for the backup interface is barney_nb
The server list on all NetBackup servers and clients have an entry for barney_nb. When barney connects to a client for a backup, the request goes out on the barney_nb interface and over the backup network. The operation assumes that barney and the network are set up to do so. If this configuration is not in place, barney can send out the request on the barney interface and over the regular network. The client now receives the request from barney rather than barney_nb and refuses it as coming from an invalid server. One solution is to set Use specified network interface on barney to barney_nb. Now, when barney connects to a client, the connection is always through the barney_nb interface and everything works as intended. Another solution is to add an entry for barney to the server list on the client. The client now accepts requests from barney, but NetBackup traffic continues on the regular network.
480 Host properties Master server, media server, and client host properties
To produce a progress log, add the requesting server to the server list: log into the requesting server. In the NetBackup Administration Console, expand NetBackup Management > Host Properties > Master Servers > Double-click on master server > Servers. Add the restoring server to the server list. Log in to the restoring server. Check the Activity Monitor to determine the success of the restore operation.
Host properties Master server, media server, and client host properties
481
482 Host properties Master server, media server, and client host properties
Client Settings (UNIX) properties on page 397 Busy File Settings properties on page 380 Lotus Notes properties on page 445
Host properties Master server, media server, and client host properties
483
484 Host properties Master server, media server, and client host properties
Click Add to add a server to the Proxy Server list. To delete a server from the list, select the server and click Delete. A VMWare proxy server is a server on the same SAN as a VMware ESX server that can access the snapshot of the VMware Virtual Machine and provide access to the files for third-party backup vendors. For more information, see the NetBackup Snapshot Client Administrators Guide.
Host properties Master server, media server, and client host properties
485
In order for the properties in this dialog box to affect client(s), VSP must be selected as the snapshot provider for the client(s). VSP is the default Windows snapshot provider. Snapshots are a point-in-time view of a source volume. NetBackup uses snapshots to access busy or active files during a backup job. To make VSP the snapshot provider for a Windows client, select: NetBackup Management > Host Properties > Master Servers > Select master server for the client > Client Attributes > Windows Open File Backup tab > Use Veritas Volume Snapshot Provider (VSP). For more informations, see Client Attributes properties on page 386.
VSP overview
NetBackup uses VSP to back up open and active files on Windows 2000, Windows XP, and Windows Server 2003 (32- and 64-bit) clients. For VSP to back up open and active files, VSP first captures a snapshot of each volume to be
486 Host properties Master server, media server, and client host properties
backed up. A virtual drive is created that represents a static copy of the volume at a point-in-time. A corresponding VSP cache file is also created. NetBackup backs up files using the virtual drive instead of the actual drive. For each volume snapshot, a VSP cache file is created to maintain the integrity of the snapshot. The cache file stores the original data that reflects the changes that occurred during the backup. The cache file is created along with the volume snapshot. VSP is similar to OTM (used in previous releases) in that VSP creates volume snapshots using a caching mechanism. However, consider the following points when using VSP:
VSP uses a cache file for each volume that requires a snapshot, while OTM uses only one cache for all snapshots. Using VSP, a snapshot of a volume cannot be created if the volume already contains a VSP cache file. Using VSP, a cache file cannot be placed on a volume that has had a snapshot taken. Or, a cache file cannot be placed on a volume that is in the process of having a snapshot taken of it. Only when the snapshot for the volume has been destroyed can it be used as a location for a VSP cache file. All VSP cache files are placed at the root level of a volume and are removed when its VSP snapshot has been destroyed. VSP cannot be used to perform hot database backups. For more informations, see Using VSP with databases on page 492.
2 3
Host properties Master server, media server, and client host properties
487
Once the backup completes, NetBackup attempts to destroy the VSP volume snapshots that were created for the backup job. It attempts to destroy the VSP snapshots while deleting the VSP cache files for the volume snapshots.
488 Host properties Master server, media server, and client host properties
Subsequent backups cannot use C as a VSP cache file location until the VSP volume snapshots that are created in step 2 have been destroyed.
Ramifications of the precedence of the volume list over the exclude list
The volumes in the Cache file volume list have precedence over the volumes that are listed in the VSP volume exclude list. The Cache file volume list overrides the VSP volume exclude list if both lists contain the same volume. For example, C:\ is specified in the Cache file volume list and in the VSP volume exclude list. The user prefers the C:\ volume as the location for VSP cache files, yet would not like VSP to snap or place cache files on the volume. Because the Cache file volume list takes precedence over the VSP volume exclude list, NetBackup places cache files in C:\ even though it is listed in the VSP volume exclude list. NetBackup does not create snapshots for C:\ until C:\ is removed from the VSP volume exclude list.
Using the cache file volume list and VSP volume exclude list for multiple simultaneous backup jobs or multiple groups of multistreamed jobs
NetBackup allows a scheduled backup to be broken into several backup streams that can run simultaneously to increase performance. For more information, see Allow multiple data streams on page 112. If a backup policy is configured to allow multiple data streams, a scheduled client backup can be divided into multiple data streams. Each file list directive in the policy forms a separate backup job (stream) that runs concurrently with other streams to help complete the scheduled backup. All backup jobs (streams) in a policy are grouped into an entity that is called a stream group. All backups that are part of a stream group share their VSP volume snapshots between backup jobs in the stream group. Additionally, multiple backup jobs could also run concurrently on a single client even if a backup policy is configured not to allow multiple data streams. For both types of backups, use the Cache file volume list and VSP volume exclude list to make sure that VSP snapshot creation is successful. To run these backups, Symantec recommends that a volume be listed in both the Cache file volume list and the VSP volume exclude list. This volume is effectively used as
Host properties Master server, media server, and client host properties
489
the volume for all VSP cache files. However, VSP snapshots are not created for it. All backups for the volume do not have VSP snapshots enabled.
2 3
If the D drive was not listed in the Cache file volume list and the VSP volume exclude list, VSP would not have been enabled for the C and D drives for both backup jobs.
2 3
490 Host properties Master server, media server, and client host properties
the D drive was listed in both the Cache file volume list and the VSP volume exclude list, VSP cache files for the C drive for both groups of multistreamed jobs were placed in the D drive. Both groups of multistreamed jobs also backed up the D drive without VSP. If the D drive was not listed in the Cache file volume list and the VSP volume exclude list, VSP would not have been enabled for the C and D drives for both groups of multistreamed jobs.
Cache size
The Cache size property specifies the initial size of the VSP cache file that is allowed for snapshots.
Host properties Master server, media server, and client host properties
491
If the Customize cache size property is disabled, NetBackup determines the Maximum cache size for the VSP snapshot if the cache file is placed in a volume that is not to be snapped. The following items are VSP best practices to configure VSP cache sizes:
Disable Customize cache size to allow NetBackup to determine cache file sizes for VSP snapshots. NetBackup allocates as much cache space as possible when it creates VSP snapshots. In most cases, when NetBackup sizes cache files, it avoids VSP snapshot errors. In some cases, VSP snapshot errors could occur, even if Customize cache size is disabled. It depends on the data that is backed up and the I/O activity of the backup client. If snapshot errors occur when Customize cache size is disabled, increase the Cache size and Maximum cache size to fit the clients installation. The recommended setting for the Cache size is 30% of the used disk space of the snapshot volume. The cache file size is the Cache size value if the VSP cache file is placed in the same volume as what is snapshot. Otherwise, it is ignored. The recommended setting for Maximum cache size is 95% of free disk space of the cache file volume. The cache file begins at 0 MB and grows until the Maximum cache size is reached if the cache file is placed on a volume other than the snapshot volume. Otherwise, it is ignored. Use caution to configure the cache file sizes manually. The sizes are used regardless of the sizes of the volumes that are backed up. If there is not enough space that is allocated, the backup job could fail with a VSP error.
VSP cache files are created in VSP cache file directories named NBU_VSP_Cache. For example, D:\ NBU_VSP_Cache Exclude directories are created from virus scanning activity if VSP snapshot deletion failures occur. The directories are named NBU_VSP_Cache. VSP cache files are named with a .VSP extension. Exclude files with .VSP extensions from virus scanning activity if VSP snapshot deletion failures occur.
492 Host properties Master server, media server, and client host properties
which no file write-activity occurs on the drive being snapped using VSP. (Default: 5 seconds.) A value less than 5 seconds is not recommended because the data that is backed up as a result of a low setting may become corrupted.
Host properties Master server, media server, and client host properties
493
an inactive state, NetBackup does not perform the VSP snapshot. NetBackup does not fail the backup when a quiescent state is not achieved. Instead, NetBackup continues the backup as if VSP is not in use. The result is that NetBackup skips open, active, or locked files. The backup job ends with an exit status code 1. Status code 1 indicates that the backup job was completed but not all files were successfully backed up. If VSP is used to back up database environments, first back up the data and make sure that the backup exited with a Status 0. Then, restore the database and confirm the integrity of the data and the functionality of the database. Using VSP to back up active databases without using a formal API presents risk. Customers should contact the database supplier to ensure support of database backups using point-in-time technology. Also, significant back up and restore testing should be performed to assure database availability and reliability.
494 Host properties Master server, media server, and client host properties
Client Settings (Windows) properties on page 402 Exclude Lists properties on page 414 VSP (Volume Snapshot Provider) properties on page 485 Network properties on page 454 Lotus Notes properties on page 445 Exchange properties on page 412
Chapter
Device Monitor
Use Media and Device Management > Device Monitor to manage tape drives, device paths, and service requests for operators. For more information, see the following:
Changing the operating mode of a drive on page 495 Resetting a drive on page 496 Managing drive paths on page 497 Managing pending requests and actions on page 497 Freezing media or downing drives on page 501 Cleaning drives on page 502 Adding or changing a drive comment on page 504 Viewing drive details on page 504
2 3
From the Actions menu, choose the command for the new drive operating mode. Up Drive, Operator control applies only to stand-alone drives. If the drive is configured with multiple device paths or is a shared drive (Shared Storage Option), a dialog box appears. The dialog box contains a list of all device paths to the drive. Select the path to change. To change multiple paths, select multiple paths.
Resetting a drive
Resetting a drive changes the state of the drive. Usually, you reset a drive when its state is unknown, which can occur if an application other than NetBackup uses the drive. When you reset the drive, it returns to a known state before use with NetBackup. If an SCSI reservation exists on the drive, a reset operation from that host that owns the reservation may help the SCSI reservation. If the drive is:
In use by NetBackup, the reset action fails. Not in use by NetBackup, NetBackup attempts to unload the drive and set its runtime attributes to default values.
Note: A drive reset does not perform any SCSI bus or SCSI device resets. To reset a drive 1 In the NetBackup Administration Console, select Media and Device Management > Device Monitor. If an Enterprise Disk Option license is installed, the Device Monitor pane includes both a Drives tab and a Disk Pools. If necessary, select the Drives tab. In the Drive status pane, select a drive or select multiple drives. Select Actions > Reset Drive.
2 3 4
If the drive is in use by NetBackup and cannot be reset, you can restart the NetBackup Job Manager, which should free up the drive. 1 2 Determine which job controls the drive (that is, which job writes to or reads from the drive). In the NetBackup Administration Console, select NetBackup Management > Activity Monitor.
497
3 4
From the Jobs tab, cancel the job. Restart the NetBackup Job Manager using the Activity Monitor. Caution: When you restart the NetBackup Job Manager, it cancels all NetBackup jobs in progress.
Multiple (redundant) paths to a drive are configured Any drives are configured as shared drives (Shared Storage Option)
You can change the operating mode of a drive path or reset a drive path. To manage drive paths 1 In the NetBackup Administration Console, select Media and Device Management > Device Monitor. If an Enterprise Disk Option license is installed, the Device Monitor pane includes both a Drives tab and a Disk Pools. If necessary, select the Drives tab. In the Drive Paths pane, select a path or select multiple paths. From the Actions menu, choose a command for the path action, as follows:
2 3 4
Pending requests. When NetBackup cannot move a required volume into a tape drive automatically, NetBackup sets the request status to pending. Operator assistance is required to complete the request, and NetBackup displays the request in the Pending Requests pane. NetBackup assigns pending status to a mount request when it cannot determine which:
Pending actions. A tape mount requests becomes a pending action when the mount operation encounters problems, and the tape cannot be mounted. Operator assistance is required to complete the request, and NetBackup displays an action request in the Pending Requests pane. Pending actions usually occur with drives in robotic libraries. Resolving a pending request Resolving a pending action Resubmitting a request Denying a request
The following are the actions you can perform on pending requests and actions:
Such requests are for resources in a storage unit and therefore are not for a specific volume. If the storage unit is not available, NetBackup tries to select another storage unit that has a working robot. If NetBackup cannot find a storage unit for the job, NetBackup queues the job (a Queued state is displayed in the Activity Monitor). If a robot must be operated in manual mode, you can configure NetBackup so that storage unit mount requests are displayed in the Device Monitor. To do so, set the robot to operate in Pend If Robot Down (PIRD) mode by using the tpconfig command. Pending requests appear in the Device Monitor, and you can assign these mount requests to drives manually. NetBackup does not assign a mount request for one storage unit to the drives of another storage unit automatically. Also, you cannot reassign the mount request to another storage unit. For more information about the tpconfig command, see NetBackup Commands for UNIX and Linux.
499
2 3
Density to determine the recording density that is required. External Media ID to determine the ID of the volume that is required. Mode to determine whether the volume should be write-enabled.
4 5 6 7 8 9
In the Drive Status pane, find a drive type that matches the density for the pending request. Verify that the drive is up and not assigned to another request. Select the drive. NetBackup Enterprise Server only: Ensure that the drive and the pending request are on the same host. If necessary, get the media, write-enable it, and insert it into the drive. Wait for the drive to become ready, as explained in the vendors drive equipment manual.
10 Select Actions > Assign Request. 11 Verify that the request was removed from the Pending Requests pane. 12 In the Drive status pane, verify that:
The job request ID appears in the Request ID column for the drive
2 3 4
5 6
Resubmitting a request
After you correct the problem or problems with a pending action, you can resubmit the request. If the problem is a volume missing from a robot, first locate the volume, insert it into the robot, and then update the volume configuration. Usually, a missing volume was removed from a robot and then requested by NetBackup. For more information, see Inventory a robot on page 547.
501
To resubmit a request 1 In the NetBackup Administration Console, select Media and Device Management > Device Monitor. If an Enterprise Disk Option license is installed, the Device Monitor pane includes both a Drives tab and a Disk Pools. If necessary, select the Drives tab. In the Pending Requests pane, select the request. Select Actions > Resubmit Request. The pending action message is removed from the Pending Requests pane and the operation proceeds.
2 3 4
Denying a request
Some situations may require you to deny requests for service. For example, when a drive is not available, you cannot find the volume, or the user is not authorized to use the volume. When you deny a request, NetBackup sends an appropriate status message to the user. To deny a request 1 In the NetBackup Administration Console, select Media and Device Management > Device Monitor. If an Enterprise Disk Option license is installed, the Device Monitor pane includes both a Drives tab and a Disk Pools. If necessary, select the Drives tab. In the Pending Requests pane, select the request. Select Actions > Deny Request.
2 3 4
The following are the default values for the error thresholds:
The media error threshold is 2 (that is, NetBackup freezes media on the third media error in 12 hours). The drive error threshold is 2 (that is, NetBackup downs a drive on the third drive error in 12 hours). The time window for errors is 12 hours.
You can use the NetBackup nbemmcmd command with the -media_error_threshold, -drive_error_threshold, and -time_window options to change the default values. For more information about nbemmcmd, see NetBackup Commands for UNIX and Linux. To reverse a freeze action
Cleaning drives
You can perform an operator-initiated cleaning of a drive regardless of the cleaning frequency or accumulated mount time of the drive. You can clean a stand-alone drive or a robotic drive if appropriate cleaning media are added to the EMM database. You can also use the Device Monitor to:
Reset the mount time of the drive. You should reset the mount time to zero after you perform a manual cleaning. Set the cleaning freqency. Automatic, frequency based drive cleaning is configured when you add a drive to NetBackup. If you use the Device Monitor to set the cleaning frequency, NetBackup updates the cleaning frequency value for the drive.
For more information, see Drive cleaning overview in the NetBackup Administrators Guide for UNIX and Linux, Volume II To clean a drive 1 In the NetBackup Administration Console, select Media and Device Management > Device Monitor. If an Enterprise Disk Option license is installed, the Device Monitor pane includes both a Drives tab and a Disk Pools. If necessary, select the Drives tab.
503
3 4
In the Drive Status pane, select the drive to clean. From the Actions menu, select Clean Now. NetBackup initiates drive cleaning regardless of the cleaning frequency or accumulated mount time. Clean Now resets the mount time to zero, but the cleaning frequency value remains the same. If the drive is a stand-alone drive and it contains a cleaning tape, NetBackup issues a mount request.
Shared drive (Shared Storage Option): In the list of hosts that share the drive, you can choose only one host on which the function applies. The Clean Now function may take several minutes to complete, so the cleaning information in the Drive Details dialog may not be updated immediately. To reset the mount time 1 In the NetBackup Administration Console, select Media and Device Management > Device Monitor. If an Enterprise Disk Option license is installed, the Device Monitor pane includes both a Drives tab and a Disk Pools. If necessary, select the Drives tab. In the Drive Status pane, select a drive. From the Actions menu, select Reset Mount Time. The mount time for the selected drive is set to zero.
2 3 4
Shared drive (Shared Storage OptionShared Storage Option): In the list of hosts that share the drive, you can choose only one host on which the function applies. To set cleaning frequency 1 In the NetBackup Administration Console, select Media and Device Management > Device Monitor. If an Enterprise Disk Option license is installed, the Device Monitor pane includes both a Drives tab and a Disk Pools. If necessary, select the Drives tab. In the Drive Status pane, select a drive. From the Actions menu, select Set Cleaning Frequency. Enter a time (hours) or use the arrow controls to select the number of mount hours between each drive cleaning. Cleaning Frequency is not available for the robots that do not support frequency-based cleaning. This function is not available for shared drives.
2 3 4 5
The drive cleaning interval is displayed in the Drive Details dialog (Actions > Drive Details).
2 3 4 5
2 3 4
505
For shared drives, you can view the drive control mode and drive index for each host that shares a drive. You also can view a list of hosts that share a drive.
Chapter
Media
Use Media and Device Management > Media to add and manage media (tape volumes) to NetBackup. The media can already reside in a storage devices, or you can add them to your storages devices when you add them to NetBackup. For information about how to manage media in NetBackup and the logical entities that help you manage volumes, see the following:
Volume operations on page 507 Volume pool operations on page 538 Volume group operations on page 542
For information about how to inventory robots and how to update the NetBackup volume configuration with media changes in the robots, see the following:
If you have volumes without barcodes to manage, see Using the physical inventory utility on page 572. If you have WORM media, see Using WORM media on page 589. To import Backup Exec volumes, see Importing NetBackup or Backup Exec images on page 336.
Volume operations
Volumes are units of data storage or cleaning capability on removable media (tapes or optical platters). NetBackup assigns IDs and other attributes to the media. NetBackup uses the attributes to track and manage the media. Attributes include the media ID, robot host, robot type, robot number, and slot location. Volume information is stored in the EMM database. The following are operations you can perform on volumes:
Changing volume properties on page 517 Changing the volume pool of a volume on page 519 Changing the volume group of a volume on page 519 Changing the owner of a volume on page 520 Freezing and unfreezing media on page 520 Suspending and unsuspending media on page 521 Labeling media on page 521 Rescanning and updating barcodes on page 523 Moving volumes on page 524 Erasing media on page 528 Injecting and ejecting volumes on page 529 Deleting volumes on page 532 Deassigning volumes on page 533 Exchanging volumes on page 535 Recycling volumes on page 537
Adding volumes
Several methods exist to add new volumes to NetBackup, as follows:
Adding volumes by using the Volume Configuration Wizard on page 511 Adding volumes using a robot inventory update on page 511 Adding volumes using the Actions menu on page 512 Adding volumes overview on page 508 About labeling NetBackup volumes on page 510
To help you determine which method to use, review the following information:
Note: When you add a new volume, a volume expiration date is not assigned.
509
NetBackup catalog backup volumes on page 510 About labeling NetBackup volumes on page 510
Robotic volumes
Robotic volumes are volumes located in a robot. The easiest way to add robotic volumes is to use the Volume Configuration Wizard. However, you can use the other methods.
Stand-alone volumes
Stand-alone volumes are volumes located in a drive that is not in a robot. To determine a method for adding stand-alone volumes, review the following:
The easiest way to add stand-alone volumes is to use the Volume Configuration Wizard. NetBackup assigns media IDs and labels the volumes automatically. Because NetBackup does not label volumes until it uses them, you can add a range of volumes. Then, when NetBackup requests one of the volumes, you can insert it into the stand-alone drive and NetBackup labels it. You can also add volumes by inserting the media into a stand-alone drive and by using Media and Device Management in the NetBackup Adminstration Console. NetBackup assigns media IDs and labels the volumes automatically. NetBackup uses the volume if a volume of that type is required for a backup. The DISABLE_STANDALONE_DRIVE_EXTENSIONS option of the nbemmcmd command can turn off NetBackups automatic use of stand-alone volumes. For more information, see NetBackup Commands for UNIX and Linux. You can add additional stand-alone volumes to the NetBackup configuration even though they do not reside in the drive. The additional volumes are available for use if the volume in the drive becomes full or unusable. First, use the NetBackup bplabel command to label the volume and assign a media ID. Second, follow the instructions in Adding volumes using the Actions menu on page 512. For more information, see NetBackup Commands for UNIX and Linux. Even if you use NetBackups assignment capabilities to add stand-alone volumes, you may prevent out of media errors by adding extra stand-alone volumes manually. For example, if a volume in a stand-alone drive is full or unusable because of errors, NetBackup ejects (logically) the volume. If you added another stand-alone volume, NetBackup requests that volume and does not generate an error.
If a volume in a robot has not been labeled, NetBackup labels it the first time it is used for a backup. A volume is labeled unless it was last used for NetBackup catalog backups or it contains data from another recognized application. Recognized applications include Symantec Backup Exec and Veritas Storage Migrator. To label such media, see Labeling media on page 521. NetBackup uses a default prefix of the letter A when it assigns media IDs to volumes without barcodes (for example, A00001). To change this default, use the MEDIA_ID_PREFIX configuration option in the vm.conf file. If the robot supports barcodes, by default NetBackup generates media IDs for new volumes. The last six characters of the barcode are used for the ID. To change this default action, you can specify and select specific characters using Media ID generation rules (see Media ID Generation tab on page 565). To change this default action, you can specify and select specific characters by using Media ID generation rules (see Media ID Generation tab on page 565). An optical disk platter must be formatted, have an external media ID, and have a volume label before you can use it with NetBackup. Use the Media portion of the NetBackup Administration Console orvmadm. If you prefer to assign specific media IDs, label them by using the NetBackup bplabel command and then add them using the manual update procedure.
Prelabeling media
It may be beneficial to prelabel media for the following reasons:
A successful label operation validates that the media is usable, compatible, and is not write-protected. The recorded label may assist with media management if:
511
The media is misplaced, The barcode label or external label is gone or damaged, You use the physical inventory utility (vmphyinv) to manage media.
Identifes media in a robot (including new media in an existing robot) Adds that media to the NetBackup configuration
Add volumes for stand-alone drives. Update the Enterprise Media Manager (EMM) database.
After the wizard configures media, each media has a unique media ID in the EMM database. The wizard uses the default media type for the drive to create the media type. Review the limitations in the wizard help before you configure volumes. To start the Volume Configuration Wizard
In the NetBackup Administration Console, select Media and Device Management > Configure Volumes.
If the robot supports barcodes and the new volumes have readable barcode labels, NetBackup generates media IDs based on one of the following:
The last six characters of the barcodes ( the default method). New volumes are assigned a media type, volume pool, maximum number of mounts (or maximum cleanings), and description. For more information, see Barcode Rules tab on page 562. The characters that you specify if you use media ID naming rules.
If the robot does not support barcodes or the volumes do not have readable barcodes, media IDs are based on a prefix that you specify.
For procedures, see Robot inventory operations on page 544. To add volumes using a robot inventory update 1 2 Insert the volume(s) into the robotic library. In the NetBackup Administration Console, select Media and Device Management > Media > Robots.
3 4 5 6 7 8
Select the robotic library where you inserted the volume. Select Actions > Inventory Robot. In the Inventory Robot dialog, select Update volume configuration. For more options, click Advanced Options. To clear any previous display in the Results section, click Clear Results. Click Start to start the update.
Adds the volume to the EMM database using the specified media ID. Reads the barcode of each new volume. Adds the barcodes as attributes in the EMM database.
513
Volumes properties
The following sections describe the properties you can configure when you add volumes.
Device host
NetBackup Enterprise Server only. Specifies the name of the device host where the robot is defined.
First media ID
Appears only if the number of volumes or platters is more than one. When you add a range of volumes, specifies the ID of the first volume in the range of volumes. Media IDs can be from 1 to 6 characters in length. Use the same pattern that you chose in the Media ID naming style box. Using the pattern, NetBackup names the remaining volumes by incrementing the digits. For information about the characters you can use in a name, see NetBackup naming conventions on page 631.
Note: You cannot enter slot information for volumes in an API robot. The robot vendor tracks the slot locations for API robot types.
Yes, but do not overwrite old labels (the default) Yes, overwrite as needed No
515
For information about the characters you can use in a name, see NetBackup naming conventions on page 631.
Media ID
Specifies the ID for the new volume. Media IDs can be from 1 to 6 characters in length. Media IDs for an API robot must match the barcode on the media (for API robots, NetBackup supports barcodes from 1 to 6 characters). Therefore, you must obtain a list of the barcodes before you add the volumes. You can obtain this information through a robotic inventory or from the robot vendors software. For information about the characters you can use in a name, see NetBackup naming conventions on page 631.
Media type
For optical disk volumes that are supported on UNIX and Linux only. Media type specifies the media type for the volume to add.
Media description
Enter a description of the media, up to 25 character maximum. For information about the characters you can use in a name, see NetBackup naming conventions on page 631.
Partner ID
Optical media only. Specify a partner ID for optical media. The partner ID is media ID of the volume on the other side of the optical platter.
Robot
Specifies the robotic library to add the volumes to. To add volumes to a different robot, select a robot from the list. The list shows robots on the selected host that can contain volumes of the selected media type. To add volumes to a stand-alone drive, select Standalone.
Volume group
The volume group shows the location of the volume. The location can be either the robot in which the volume resides, stand-alone, or off-site if you use the NetBackup Vault option.
If you specified a robot, you can select from a volume group already configured for that robot. Alternatively, enter the name for a volume group; if it does not exist, NetBackup creates it and adds the volume to it. If you do not specify a volume group (you leave the volume group blank):
Stand-alone volumes are not assigned to a volume group. NetBackup generates a name for robotic volumes using the robot number and type. For example, if the robot is a TL8 and has a robot number of 50, the group name is 000_00050_TL8.
Rules for assigning volume groups The following are the rules for assigning volumes to groups:
All volumes in a group must be the same media type. However, a media type and its corresponding cleaning media type are allowed in the same volume group (such as DLT and DLT_CLN). All volumes in a robotic library must belong to a volume group. You cannot add volumes to a robotic library without specifying a group or having NetBackup generate a name. The only way to clear a volume group name is to move the volume to stand-alone and not specify a volume group. More than one volume group can share the same location. For example, a robotic library can contain volumes from more than one volume group and you can have more than one stand-alone volume group. All members of a group must be in the same robotic library or be stand-alone. That is, you cannot add a group (or part of a group) to a robotic library if it already exists in another robotic library.
For more information, see Volume pool and volume group overview in the NetBackup Administrators Guide for UNIX and Linux, Volume II
Volume pool
The pool to which the volume or volumes should be assigned. You can select a volume pool you created or one of the following standard NetBackup pools:
None. NetBackup is the default pool name for NetBackup. DataStore is the default pool name for DataStore.
517
CatalogBackup is the default pool name used for NetBackup hot, online catalog backups of policy type NBU-Catalog.
When the images on a volume expire, NetBackup returns it to the scratch volume pool if it was allocated from the scratch pool. For more information, see Volume pool and volume group overview in the NetBackup Administrators Guide for UNIX and Linux, Volume II
Description
Specifies how the selected volumes are used or any other relevant information about the volumes. For information about the characters you can use in a name, see NetBackup naming conventions on page 629.
Expiration date
Does not apply to cleaning tapes. Specifies the age of the volume and is the date after which the volume is too old to be reliable. When the expiration date has passed, NetBackup reads data on the volume but does not mount and write to the volume. When you add a new volume, a default expiration date is not added. The expiration date is not the same as the retention period for the backup data on the volume. You specify data retention periods in the backup policies.
519
Maximum mounts
Does not apply to cleaning tapes. The number of times that the selected volumes can be mounted. When the limit is reached, NetBackup reads data on the volume but does not mount and write to the volume. A value of zero (the default) is the same as Unlimited. To help determine the maximum mount limit, consult your vendor documentation for information on the expected life of the volume.
Volume pool
Does not apply to cleaning tapes. The pool to which the volume or volumes should be assigned. You can select a volume pool you created or one of the following standard NetBackup pools:
None. NetBackup is the default pool name for NetBackup. DataStore is the default pool name for DataStore. CatalogBackup is the default pool name used for NetBackup hot, online catalog backups of policy type NBU-Catalog.
For more information, see Volume pool and volume group overview in the NetBackup Administrators Guide for UNIX and Linux, Volume II
If you move a volume physically to a different robot, you must change the group of the volume to reflect the move. To change the volume group 1 2 3 4 5 In the NetBackup Administration Console, select Media and Device Management > Media. In the Volumes list, select the volumes that you want to change the volume group assignment for. Select Actions > Change Volume Group. In the New volume group name field, enter the name of the new volume group or select a name from the list of volume groups. Click OK. The name change is reflected in the volume list entry for the selected volumes. If you specified a new volume group (which creates a new volume group), the group appears under Volume Groups in the tree pane.
For more information about server groups, see Configuring server groups for media sharing on page 615.
521
A frozen volume is available for restores. If the backups have expired, you must import the backups first. To freeze or unfreeze media 1 2 3 4 In the NetBackup Administration Console, select Media and Device Management > Media. In the Volumes list, select the volume that you want to freeze or unfreeze. Select Actions > Freeze or Actions > Unfreeze. In the dialog box, click OK.
Labeling media
When NetBackup labels media, it writes a record on the media; the record (or label) includes the NetBackup media ID. Normally, NetBackup controls the labeling of its volumes and in most cases performs this operation automatically. However, media are not labelled automatically if:
They were last used for NetBackup catalog backups. They contain data from a recognized non-NetBackup application and NetBackup is configured to prohibit media overwrite for that media type. If NetBackup has not assigned them If they contain no valid NetBackup images
If a volume has valid NetBackup images, you can deassign the volume so you can label it. For more information, see Deassigning volumes on page 533. If you want to label media and assign specific media IDs (rather than allow NetBackup to assign IDs), use the bplabel command. Caution: If you label a volume, NetBackup cannot restore or import the data that was on the media after you label it.
Caution: For many types of drives, you may not be able to cancel a label job from the Activity Monitor. For more information, see About labeling NetBackup volumes on page 510. To label media 1 2 3 4 5 6 In the NetBackup Administration Console, select Media and Device Management > Media. In the Volumes pane, select a volume or the volumes that you want to label. If you select multiple volumes, they all must reside in the same robot. Select Actions > Label. In the Label dialog, specify the properties for the label operation. For descriptions of the properties, see Label properties on page 523. Click OK. In the warning dialog, click OK. If you selected Verify media label before performing operation and the actual volume label does not match the expected label, the media is not relabeled.
523
Label properties
The following sections describe the properties you can specify for a label operation.
Media server
The name of the media server that controls the drive to write the label.
Logically move the volume by selecting a volume and by using Actions > Move. Logically move the volume by using an Update volume configuration operation. See Update volume configuration on page 553. Physically move the volume into the correct slot.
To obtain an inventory of the robot without updating the barcode information in the database, select Show contents in the Robot Inventory dialog. See Show contents on page 551 for more information.
Rescanning/updating barcodes
To check barcodes and update the EMM database 1 2 3 4 In the NetBackup Administration Console, select Media and Device Management > Media > Robots. Select the robotic library that contains the volumes that you want to scan and update. In the Volumes pane, select the volumes. Select Actions > Rescan/Update Barcodes. A dialog appears that shows the volumes you selected for the rescan operation. Click Start to continue or Close to quit. If you select Start, the results of the update are displayed in the output section of the dialog.
Moving volumes
When you move volumes in or out of a robotic library or from one robot to another, you must move the volumes physically and logically:
Physically move volumes by inserting or by removing them. For some robot types, you can use the NetBackup inject and eject options. Logically move volumes using NetBackup, which updates the EMM database to show the volume at the new location.
When you move volumes from one robotic library to another robotic library, you must do the following:
Move the volumes to stand-alone as an intermediate step Move the volumes to the new robotic library Move single volumes Move multiple volumes Combinations of single and multiple volumes Move volume groups
You cannot move volumes to an invalid location (for example, move DLT media to an 8-mm robot).
525
Symantec recommends that you perform moves by selecting and by moving only one type of media at a time to a single destination.
Move examples
The following are several examples of when to move volumes logically:
A volume is full in a robotic library and no slots are available for new volumes in the robotic library. Move the full volume to stand-alone, remove it from the robot, and then configure a new volume for the empty slot or move an existing volume into that slot. You can use the same process to replace a defective volume. Moving volumes from a robotic library to an off-site location or from an off-site location into a robotic library. When you move tapes to an off-site location, move them to stand-alone. Moving volumes from one robotic library to another (for example, if a library is down). Changing the volume group for a volume or volumes.
To move volumes within a robot. The robot must have a barcode reader and the volumes must have readable barcodes. To remove volumes from a robot. You can use this procedure even if the volumes do not have barcodes or if the robot does not have a reader.
To move volumes using a robot inventory update 1 2 3 4 Physically move the volumes to their new location. Select Actions > Inventory Robot. In the Robot Inventory dialog, select Update volume configuration. Select other options as appropriate. For more information, see Robot inventory operations on page 544.
2 3 4 5
In the NetBackup Administration Console, select Media and Device Management > Media. In the Volumes pane, select the volumes that you want to move. Select Actions > Move. In the Move Volumes dialog, specify the properties for the move. For descriptions of the properties, see Move Volumes properties on page 526. Note: If you move a single volume, the dialog entries show the current location of the volume.
Device host
Specifies the name of the device host where the robot is defined. For single volumes, the current location of the volume is displayed. NetBackup Enterprise Server only: To select a robot on another device host, select from the list of device hosts shown.
527
Robot
Robot specifies the new robotic library for the volumes. You can specify a different robot as the destination or Standalone. The list shows the robot type, number, and control host for any robot that already has at least one volume in the EMM database. For single volumes, the current location of the volume is displayed.
Volume group
Enter or select the volume group to assign to the volumes. If you leave the volume group blank:
Stand-alone volumes are not assigned a volume group. Robotic volumes are assigned to a new volume group; NetBackup generates the name by using the robot number and type. For example, if the robot is a TL8 and has a robot number of 50, the group name is 000_00050_TL8. The new volume group must be for the type of volumes as you are moving. All volumes in a robotic library must belong to a volume group. If you do not specify a group, NetBackup generates a new volume group name by using the robot number and type. More than one volume group can share the same location. For example, a robotic library can contain volumes from more than one volume groupm and you can have more than one stand-alone volume group. All members of a group must be in the same robotic library or be stand-alone. That is, if volume group already exists in another robotic library, you cannot add it (or part of a it) to a robotic library.
The following are the rules for moving volumes between groups:
You can select a robot (see Robot) and the slot number for the volume (see First slot number). To eject a volume from a robot, clear Volume is in a robotic library.
Volumes to move
The Volumes to move section of the dialog shows the media IDs of the volumes that you selected to move. If you selected one side of an optical disk platter, that side is shown but both sides are moved.
Erasing media
Caution: If you erase media, NetBackup cannot restore or import the data on the media. You can erase the data on volumes as follows:
If NetBackup has not assigned them If they contain no valid NetBackup images
After the media is erased, NetBackup writes a label on the media. If a volume has valid NetBackup images, you can deassign the volume so you can label it. For more information, see Deassigning volumes on page 533. The following are the erase options:
SCSI long erase rewinds the media and the data is overwritten with a known data pattern. An SCSI long erase is also called a secure erase because it erases the recorded data completely. Caution: A long erase is a time-consuming operation and can take as long as 2 hours to 3 hours. For example, it takes about 45 minutes to erase a 4-mm tape on a stand-alone drive
SCSI quick erase rewinds the media and an erase gap is recorded on the media. The format of this gap is drive dependent. It may be an end-of-data (EOD) mark or a recorded pattern that the drive does not recognize as data. Some drives do not support a quick erase (such as QUANTUM DLT7000). For the drives that do not support a quick erase, the new tape header that is written acts as an application-specific quick erase.
529
Note: NetBackup does not support erase functions on NDMP drives. To erase media 1 2 3 4 In the NetBackup Administration Console, select Media and Device Management > Media. In the volumes pane, select a volume or volumes that you want to erase. If you selected multiple volumes, they must all be in the same robot For a short erase, select Actions > Quick Erase. For a long erase, select Actions > Long Erase. In the erase dialog, specify the name of the media server the name of the media server to initiate the erase operation. To overwrite any existing labels on the media, do not select Verify media label before performing operation. Click OK. A dialog warns you that this action is irreversible. Click OK if you are certain you want to start the erase action. A dialog reminds you to use the Activity Monitor to view the progress and status of the action. Click OK. If you selected Verify media label before performing operation and the actual volume label does not match the expected label, the media is not erased. Use the Activity Monitor to view the status of the action.
5 6
Caution: For many types of drives, you may not be able to cancel a label or erase media job from the Activity Monitor.
Injecting volumes on page 530 Ejecting volumes on page 530 Media ejection timeout periods on page 532
Injecting volumes
Inject volumes into the robots that have media access ports by loading the volumes in the MAP and then inventory the robot. Select Empty media access port prior to update on the Robot Inventory dialog box. Any volumes to be injected must be in the media access port before the operation begins. If no volumes are in the port, you are not prompted to place volumes in the media access port and the update operation continues. Each volume in the MAP is moved into the robotic library. If the MAP contains multiple volumes, they are moved to empty slots in the robotic library until the media access port is empty or all the slots are full. After the volume or volumes have been moved, NetBackup updates the volume configuration. Some robots report only that media access ports are possible. Therefore, Empty media access port prior to update may be available for some robots that do not have media access ports. For instructions, see Update volume configuration on page 553.
Ejecting volumes
You can eject single or multiple volumes. You cannot eject multiple volumes if they reside in multiple robots. Operator intervention is only required if the robotic library does not have a media access port large enough to eject all of the selected volumes. For these robot types, NetBackup prompts an operator to remove the media from the media access port so the eject operation can continue. For more information about eject, see Media ejection timeout periods on page 532. To eject volumes 1 2 In the NetBackup Administration Console, select Media and Device Management > Media. In the Volumes pane, select one or more volumes that you want to eject.
531
The Eject Volumes dialog box has two tabs, described as follows.
After NetBackup completes prechecks for the eject, the Media tab of the Eject Volumes dialog box shows the volumes that you selected to eject. If no errors occur, the Errors tab is empty. If an error occurs or a hardware limitation exists, the eject may not be possible; if so, the Errors tab is opened. The following two classes of errors can occur:
For serious errors, the Eject button is not active; you must correct the error before you can eject the media. For other errors, the Errors tab shows an explanation of the error. You may continue the eject action (select Eject) or exit (select Close) depending on the type of error.
5 6
ACS and TLM robots only: In the Eject Volumes dialog box, select the media access port to use for the eject. In the Eject Volumes dialog box, click Eject to eject the volumes. The robotic library may not have a media access port large enough to eject all of the selected volumes. For most robot types, you are prompted to remove the media from the media access port so the eject can continue with the remaining volumes.
Timeout period
One week
Note
Applies only to NetBackup Enterprise Server.
Caution: If media is not removed and a timeout condition occurs, the media is returned to (injected into) the robot. You should inventory the robot and then eject the media that was returned to the robot. Some robots do not have media access ports. For these robots, the operator must remove the volumes from the robot manually. Note: After you add or remove media manually, use NetBackup to inventory the robot.
Deleting volumes
You can delete volumes from the NetBackup configuration. For example, if any of the following situations apply, you may want to delete the volume:
A volume is no longer used and you want to recycle it by relabeling it with a different media ID. A volume is unusable because of repeated media errors. A volume is past its expiration date or has too many mounts, and you want to replace it with a new volume. A volume is lost and you want to remove it from the EMM database.
533
After a volume is deleted, you can discard it or add it back under the same or a different media ID. Before you delete and reuse or discard a volume, ensure that it does not have any important data. NetBackup and Storage Migrator volumes have an extra safeguard against accidental deletion. You cannot delete such volumes if they are still assigned. To deassign a volume, see Deassigning volumes on page 533. To delete a volume group, see Deleting a volume group on page 544. To delete volumes 1 2 In the NetBackup Administration Console, select Media and Device Management > Media. In the Volumes pane, select the volumes that you want to delete. Note: You cannot delete any assigned volumes until any application (NetBackup or Storage Migrator) using them deassigns them. 3 4 Select Edit > Delete. In the Delete Volumes dialog, click OK. Note: If you selected only one side of an optical platter, the volume on other side is also deleted. 5 Remove the deleted volumes from the storage device.
Deassigning volumes
An assigned volume is one that is reserved for exclusive use by NetBackup or Veritas Storage Migrator (but not both). A volume is set to the assigned state when either applications first starts using it to store data. The time of the assignment appears in the Time Assigned column for the volume in the Volumes pane. When a volume is assigned, you cannot delete it or change its volume pool. A volume remains assigned until NetBackup or Storage Migrator deassigns it. NetBackup deassigns a volume only when the data is no longer required, as follows:
For regular backup volumes, when the retention period has expired for all the backups on the volume. For catalog backup volumes, when when you stop using it for catalog backups.
To determine which application currently uses a volume, check the Application column of the Volumes pane.
install_path\NetBackup\bin\admincmd (Windows)
/usr/openv/netbackup/bin/admincmd (UNIX)
media id is the media ID to be expired. hname is the name of the NetBackup media server (or SAN media server) where the media ID was written. NetBackup Enterprise Server only: specify hname only if your configuration uses master servers and media servers. The following example assumes only one NetBackup server exists and expires all the backups on media ID ABC001:
bpexpdate -d 0 -m ABC001
535
Exchanging volumes
You should exchange a volume (replace one volume with another volume) if a volume meets any of the following conditions:
Full (in this case, to exchange a volume means to remove the volume from a robotic tape library). Past the maximum allowable number of mounts. Old (past the expiration date). Unusable (for example, because of repeated media errors).
The following are procedures for exchanging volumes, depending on whether you want to reuse the old media ID or not.
The volume contains current and valid NetBackup images. You require slots in the robotic library for additional backups, duplications, vault functions, or other purposes.
To exchange a volume and use a new media ID 1 Move the volume to another location If the volume is in a robotic library, remove it from the robotic library and move it to a stand-alone group. See Moving volumes on page 524.
Add a new volume or move an existing volume in as a replacement for the volume you removed. If you add a new volume, specify a new media ID. Specify the same values for the other attributes as the removed volume (such as robotic residence, volume pool, and the media type). See Adding volumes on page 508. Physically replace the old volume. Do not delete the volume entry for that media ID in case you need to retrieve the data on the volume.
2 3
4 5
537
Recycling volumes
If you recycle a volume, you can use either the existing media ID or a new media ID. Caution: Recycle a volume only if all NetBackup data on the volume is no longer needed or if the volume is damaged and unusable. Otherwise, you may encounter serious operational problems and a possible loss of data.
/usr/openv/volmgr/bin/vmchange -m media_id -n number_of_mounts 8 Set the expiration date to the value you recorded in step 3. See Changing volume properties on page 517.
NetBackup. The default pool to which all backup images are written (unless you specify otherwise). DataStore, for DataStore use. CatalogBackup, for NetBackup catalog backups. None, for the volumes that are not assigned to a pool. On UNIX media servers, NetBackup also creates a pool for Veritas Storage Migrator volumes.
You can add other volume pools. For example, you can add a volume pool for each storage application you use. Then, as you add volumes to use with an application, you add them to that applications volume pool. You can also move volumes between pools. You also can configure a scratch pool from which NetBackup can transfer volumes when a volume pool has no volumes available. See Scratch pool on page 541. The following are volume pool operations:
Adding a new volume pool on page 539 Changing the properties of a volume pool on page 539 Deleting a volume pool on page 542
For more information, see Volume pool and volume group overview in the NetBackup Administrators Guide for UNIX and Linux, Volume II For more information about WORM media, see Using WORM volume pools to manage WORM media on page 590.
539
Description
A brief description of the pool.
541
Frozen, suspended, and imported media do not count against Maximum number of partially full media. Therefore, if you unfreeze or unsuspend the media that are partially full, you may exceed the Maximum number of partially full media value. Also, if you lower the Maximum number of partially full media value, you may exceed the limit. If you exceed the Maximum number of partially full media value, NetBackup uses all of the partially full media until the limit is reached. This option lets you maximize your media usage. NetBackup writes data to the media until they are full, assigns other media to which it writes data until they are full, and so on. This option also lets you control how many drives are used for backup jobs. For example, if you have 10 drives and want to reserve two for restore operations, set the Maximum number of partially full media to 8. If all of the media is in one pool, NetBackup uses only 8 drives to write backup data. NetBackup can use the two other drives for restore operations even while backups occur. For more information about server groups, see Configuring server groups for media sharing on page 615.
Pool name
The name for the new volume pool. Volume pool names are case sensitive, 20 character maximum. For information about the characters you can use in a name, see NetBackup naming conventions on page 631.
Scratch pool
Select this option to use the pool as a scratch pool. A scratch pool is a special volume pool from which NetBackup can transfer volumes to another volume pool when that pool has no volumes available. When the images on a volume expire, NetBackup returns it to the scratch volume pool if it was assigned from the scratch pool. There can be only one scratch pool configured. You cannot add a scratch pool if one exists. You cannot change the NetBackup or DataStore pools to be scractch volume pools. Symantec recommends that you use a descriptive name for the pool name and use scratch pool in the description. You should add sufficient type and quantity of media to the scratch pool to service all scratch media requests that can occur. NetBackup requests scratch media when media in your existing volume pools are allocated for use.
A volume pool that contains volumes The NetBackup volume pool The None volume pool The default CatalogBackup volume pool The HSM volume pool (for Veritas Storage Migrator) The DataStore volume pool
To delete a volume pool 1 2 In the NetBackup Administration Console, select Media and Device Management > Media > Volume Pools. Select a volume pool from the pools in the Volume Pools list. Ensure that the volume pool is empty. If the pool is not empty, change the pool name for any volumes in the pool. If the volumes are not needed, delete them. Select Edit > Delete. Answer the confirmation dialog.
Moving a volume group on page 542 Deleting a volume group on page 544
Moving a volume group changes only the residence information in the EMM database. You must move the volumes physically to their new locations.
543
To move a volume group 1 2 3 4 In the NetBackup Administration Console, select Media and Device Management > Media. In the tree pane, select the volume group that you want to move. Select Actions > Move. In the Move Volume Group dialog, specify the properties for the move. You can only specify the properties that apply for the move type. See Move volume group properties on page 543.
After you move the volume group logically, physically move the volumes to their new locations.
Destination
Displays the destination for the move:
If you move the volume group from a robotic library, Standalone is selected as the destination. If you move the volume group from stand-alone, Robot is selected as the destination
Device host
NetBackup Enterprise Server only.
Robot
The destination robotic library.
Volume group
The volume group to move. Displays --- when you move stand-alone volumes.
3 4 5 6
Queries robots about their media Provides reports about that media Optionally, updates the NetBackup volume configuration (that is, the EMM database) to match the results of the inventory
To inventory robotic libraries that have barcode readers and contain barcoded media, see Inventory a robot on page 547. The robotic inventory information is used to track the location of media. To inventory the robots without barcode readers or the media without readable barcodes, see Using the physical inventory utility on page 572.
545
When to inventory a robot on page 545 Robot Inventory dialog box on page 548 Using the physical inventory utility on page 572 Volume configuration update examples on page 579
Add new volumes to a robot (a new For any robot NetBackup supports, use the Update volume is one that does not have a volume configuration option. NetBackup media ID) The update creates media IDs (based on barcodes or a prefix that you specify). Determine if volumes have been moved physically within a robot For robots with barcode readers and that contain media with barcodes, use the Compare contents with volume configuration option. Use the Show contents option to determine the media in a robot and possibly their barcode numbers. Use the Preview volume configuration changes option, which compares the contents of the robot with the NetBackup volume configuration information. After you examine the results, you can use the Update volume configuration option to update the volume configuration if necessary.
Determine whether new media have barcodes before you add them to NetBackup
Insert existing volumes into a robot (an existing volume is one that already has a NetBackup media ID)
Moving volumes on page 524 Using the physical inventory utility on page 572
Move existing volumes between robotic and stand-alone (an existing volume is one that already has a NetBackup media ID)
If the robotic library supports barcodes and the volume has a readable barcode, use the Update volume configuration option. NetBackup updates the residence information to show the new robotic or stand-alone location. If the robotic library supports barcodes and the volume has a readable barcode, use the Update volume configuration option. NetBackup updates the NetBackup volume configuration information. If the robots do not support barcodes or the volumes do not have readable barcodes, do one of the following procedures:
Move existing volumes from one robot to another (an existing volume is one that already has a NetBackup media ID)
Moving volumes on page 524 Using the physical inventory utility on page 572
First move the volumes to stand-alone Then move the volumes to the new robot
If you do not do both updates, NetBackup cannot update the entries and writes an Update failed error. See Example 6: Moving existing volumes between robots on page 587.
547
Move existing volumes within a robot (an existing volume is one that already has a NetBackup media ID)
Moving volumes on page 524 Using the physical inventory utility on page 572
See Example 7: Adding existing volumes when barcodes are not used. Remove existing volumes from a robot (an existing volume is one that already has a NetBackup media ID) For any robot NetBackup supports, use the Update volume configuration option to update the NetBackup volume configuration information.
Inventory a robot
The following are the robot inventory options you can select using the NetBackup Administration Console:
Show contents. Displays the media in the selected robotic library; does not check or change the EMM database. Compare contents with volume configuration. Compares the contents of a robotic library with the contents of the EMM database but does not change the database. Preview volume configuration changes. Compares the contents of a robotic library with the contents of the EMM database. If differences exist, NetBackup recommends changes to the NetBackup volume configuration. Update volume configuration. Compares the contents of a robotic library with the contents of the EMM database. If differences exist, NetBackup updates the database to match the contents of the robot.
For examples of different volume configuration updates, see Volume configuration update examples on page 579. To inventory the robots without barcode readers or the media without readable barcodes, see Using the physical inventory utility on page 572.
To inventory a robot 1 2 3 In the NetBackup Administration Console, select Media and Device Management > Media > Robots. Select the robot you want to inventory. Select Actions > Inventory Robot. In the Robot Inventory dialog, Device host contains the name of the host that controls the robot and Robot contains the selected robot. Specify the options for the inventory. For information about the options you can specify, see Robot Inventory dialog box on page 548. Click Start to begin the inventory.
Advanced options
Active if you select Update volume configuration or Preview volume configuration changes.
549
Opens the Advanced Robot Inventory Options dialog, from which you can configure more options. See Advanced Robot Inventory Options dialog on page 555. For most configurations, the default settings work well. You should only change the settings if your configuration has special hardware or usage requirements.
Physically move the volume. Update the EMM database by using Actions > Move or by using the Update volume configuration option.
The following figure shows a sample compare report. Figure 9-1 Compare contents report (API robot)
Device host
The host that controls the robot. In NetBackup Enterprise Server, you can specify the device host.
551
Robot
The robot to inventory.
Show contents
Inventories the selected robotic library and generates a report; this operation does not check or change the EMM database. Use this option to determine the contents of a robot. The contents that are displayed depend on the robot type, as follows: Type of robot
Robot has a barcode reader and the robot contains media with barcodes. Robot does not have a barcode reader or robot does not contain media with barcodes. API robot.
Report contents
Shows if each slot has media and lists the barcode for the media. Shows if each slot has media.
Note: If a volume is mounted in a drive, the inventory report lists the slot that it was in before it was moved to the drive. For robots other than API robots that have a barcode reader, the results include the barcode from each volume.
Figure 9-3
ACS robots
NetBackup Enterprise Server topic. The results, received from ACS library software, shows:
The ACS library software volume ID. The NetBackup media ID corresponds to the ACS library software volume ID. The ACS media type. The NetBackup Media Manager media type. The mapping between the ACS library software media type and the corresponding NetBackup Media Manager media type (without considering optional barcode rules).
TLH robots
NetBackup Enterprise Server topic. The results, received from the Automated Tape Library (ATL) library manager, show:
The volume serial number (volser). The Media Manager media ID corresponds to the ATL volser. The ATL media type. The Media Manager media type. The mapping between the ATL media type and the corresponding Media Manager media type (without considering optional barcode rules).
TLM robots
NetBackup Enterprise Server topic.
553
The volume serial number (volser). The Media Manager media ID corresponds to the DAS/SDLC volser. The DAS/SDLC media type The Media Manager media type. The the mapping between the DAS/SDLC media type and the corresponding Media Manager media type (without considering optional barcode rules).
Mounts each tape Reads the tape header Identifies the tape in each slot Updates the NetBackup volume configuration
For more information, see Using the physical inventory utility on page 572.
If the robotic library supports barcodes If any new volume inserted into the library has readable barcodes.
Check the barcode capabilities of the robotic library and the volume by comparing the robot contents with the NetBackup volume configuration.
See Compare contents with volume configuration on page 549. If the robotic library does not support barcodes or the volume does not have readable barcodes, save the results of the compare operation. The results can help you determine a media ID prefix if you use the Advanced Options Media Settings tab to assign a prefix.
555
Specify the volume group for existing media Specify media options for new media
Media type
Media type is always set to DEFAULT for API robots. For instructions for specifying media types for API robots, see Media Type Mappings tab on page 566. Specifies the type for new media that are added to a robot. The list includes the media types that are valid for the robot.
DEFAULT. NetBackup uses the media type that is configured for the drives if:
The drives in the robot are configured on the robot control host All drives the same type
At least one drive is configured on the robot control host If the drives are not the same type, NetBackup uses the default media type for the robot.
A specific media type. If the robot supports multiple media types and you do not want to use the default media type, select a specific type. NetBackup Enterprise Server only: If the drives are not configured on the robot control host and the drives are not the default media type for the robot, select a specific type.
557
The following table shows the default media types for robots when drives are not configured on the robot control host: Table 9-2 Robot type
Optical Disk Library (ODL)
4MM cartridge tape. 8MM cartridge tape. Also supports 8MM cartridge tape 2 and 8MM cartridge tape 3.
DLT cartridge tape 2 and 3, 1/2-inch cartridge tape 1/2-inch cartridge tape 2, 1/2-inch cartridge tape 3 8MM cartridge tape, 8MM cartridge tape 2, 8MM cartridge tape 3 DTF cartridge tape 1/4-inch cartridge tape
1/2-inch cartridge. Also supports 1/2-inch cartridge tape 2 and 1/2-inch cartridge tape 3.
DEFAULT. To let barcode rules determine the media type that is assigned, select DEFAULT. Each media type to be added should have a barcode rule. For example, assume you want to add DLT and half-inch cartridges to a TLD robot with a single update operation. First create separate barcode rules for DLT and half-inch cartridges and then select the specific media types when you create the barcode rules. Finally, select DEFAULT on the Media Settings tab. The correct media type is assigned to each media.
Note: If you choose DEFAULT on the Media Settings tab and DEFAULT in the barcode rule, NetBackup assigns the default media type for the robot.
To use a media type other than the default, select a specific media type from the list. You can use one barcode rule to add media of different types, such as DLT and half-inch cartridges (HCART) to a TLD robot. First, select a specific media type on the Media Settings tab. Second, select DEFAULT for the barcode rule media type when you create the barcode rule. You can perform one update for DLT and another for half-inch cartridge, and the one barcode rule assigns the correct media type. If you specify any value other than DEFAULT on the Media Settings tab, the barcode rule media type must be the same as the media or be DEFAULT. If not, the barcode rule does not match the media (except for cleaning media). The following table shows some example combinations of media types on the Media Settings tab and barcode rule media types for a TLD (non-API) robot and the results when the media are added to the volume configuration: Media type on Media Settings tab
DLT HCART DLT DLT DLT_CLN DLT_CLN DLT_CLN DLT DEFAULT DEFAULT DEFAULT DEFAULT
Rule matches?
Yes Yes Yes Yes No Yes Yes No Yes Yes Yes No
559
The fourth row in the table shows how both cleaning cartridges and regular volumes are added using one update operation. The following conditions all must be true:
The media type on the Media Settings tab is for regular media (DLT, in this example). The barcode matches a barcode tag.
The media type for the barcode rule is cleaning media (DLT_CLN). For another example, see Example 5: Adding cleaning tapes to a robot on page 586. The sixth row and seventh row in the table show how to add only a cleaning tape. In the sixth row, you specify the cleaning media type on the Media Settings tab and in the barcode rule. In the seventh, you specify the cleaning media on the Media Settings tab and specify default when you configure the barcode rule. For more information about barcode rules, see Barcode Rules tab on page 562.
AUTO GENERATE. NetBackup automatically generates a new volume group. DEFAULT. If there is an existing group with a compatible residence for the volume, the volume is added to that group. If a suitable volume group does not exist, NetBackup generates a new volume group name. NO VOLUME GROUP. The media are not assigned to a volume group.
Other choices may be available, depending on the setting of the Media type field; If the Media type is:
DEFAULT, the list includes the volume groups that are valid for the robots default media type. Other than DEFAULT, the list includes the volume groups that are valid for the specified media type.
To specify a volume group other than DEFAULT, enter a volume group name or select from the list. For more information about media types, see Media type on page 556.
AUTO GENERATE. NetBackup automatically generates a new volume group. DEFAULT. If there is an existing group with a compatible residence for the volume, the volume is added to that group. If a suitable volume group does not exist, NetBackup generates a new volume group name.
Other choices may be available, depending on the setting of the Media type field; If the Media type is:
DEFAULT, the list includes the volume groups that are valid for the robots default media type. Other than DEFAULT, the list includes the volume groups that are valid for the specified media type.
To specify a volume group other than DEFAULT, enter a volume group name or select from the list. Tip: If the robotic library contains multiple media types, Symantec recommends a DEFAULT setting. If you specify a volume group and volumes of different media types have been moved into or within the robot, the new update fails: volumes of different media types cannot have the same volume group. For more information about media types, see Media type on page 556.
The robot does not support barcodes. The volume that was inserted does not have readable barcodes. DEFAULT. If you select DEFAULT, NetBackup:
561
Assigns the last MEDIA_ID_PREFIX entry as the default prefix if MEDIA_ID_PREFIX entries are defined in the vm.conf file. Uses the letter A if no MEDIA_ID_PREFIX entries are defined.
To specify a media ID prefix 1 2 Click Browse. In the Media ID Prefix dialog, do one of the following:
Click Specify the media ID prefix for current session only and then enter a new value for the prefix in the text box. The prefix you enter is used only for the current operation. It is not added to the vm.conf file. You can specify a prefix of one to five alphanumeric characters. NetBackup assigns the remaining numeric characters to create six characters. For example, if the prefix is NETB, the media IDs are: NETB00, NETB01, and so on. Click Choose from the media ID prefix list (stored in vm.conf file). and then click on one of the prefixes in the prefix window. Optionally, you can add a new prefix to the list. First enter a prefix in the text box and then click Add.
Click OK to return to the Media Settings tab. About labeling NetBackup volumes on page 510 vm.conf options for media servers in the NetBackup Administrators Guide for UNIX and Linux, Volume II
Volume pool
Specifies the volume pool for the new media. The actions depend on whether you use barcode rules to assign media attributes. The following are the choices:
Using barcode rules, the barcode rules determine the volume pool to which new volumes are assigned. Not using barcode rules, NetBackup assigns data tapes to the NetBackup pool but does not assign cleaning tapes to a volume pool.
A specify volume pool. If you use barcode rules, this volume pool setting always overrides the rule.
Barcode tag
The barcode tag is a unique string of characters from the barcode that identifies the type of media. For example, you can use DLT as the barcode tag for a barcode rule if:
You use DLT on your barcodes to identify DLT tapes DLT is not used on any other barcodes in the robot
Similarly, if you use CLND for DLT cleaning media, you can use CLND as the barcode tag for the rule for DLT cleaning media.
563
The barcode tag can have from 1 to 16 characters but cannot contain any spaces. The following are special barcode rules that can match special characters in the barcode tags:
NONE. Matches when rules are used and the volume has an unreadable barcode or the robot does not support barcodes. DEFAULT. For volumes with barcodes, this tag matches when none of the other barcode tags match. However, the following must be compatible: the media type in the DEFAULT rule and the media type on the Media Settings tab.
You cannot change the barcode tag of a barcode rule. You must first delete the old rule and then add a rule with a new barcode tag. Use the Media Settings tab to set up the criteria for a robot update. See Media Settings tab on page 555.
Description
A description of the barcode rule. You can enter from 1 to 25 characters.
Maximum mounts
The maximum number of mounts (or cleanings) that are allowed for the volume. For data volumes, a value of 0 means the volume can be mounted an unlimited number of times. For cleaning tapes, 0 means the cleaning tape is not used. To avoid a value of 0 for cleaning tapes, use barcodes for your cleaning media that cannot be confused with barcodes for data media.
Media type
The media type to assign to the media. The media type that is specified on the Media Settings tab always overrides the media type of the barcode rule. If you specify any value other than DEFAULT on the Media Settings tab, the barcode rule media type must be the same as the media or be DEFAULT. If not, the barcode rule does not match the media (except for cleaning media). For more information, see Specifying media type when using barcode rules on page 557.
Note: When a media type is selected, the maximum mounts value may revert to the default value for the specified media type. For example, it may revert to 0 for unlimited when you select a non-cleaning media type.
Any media type that you select DEFAULT on the Media Settings tab
565
Volume pool
Specifies the volume pool for the new media. If you use a barcode rule and the Media Settings tab Volume pool field is set to:
DEFAULT, the volume is assigned to the pool you specify in this Volume pool setting. A specific volume pool, the Volume pool setting on the Media Settings tab overrides this Volume pool setting.
Barcode length
The number of characters in the barcode for tapes in the robot.
Generated media ID
032945 2945L N32945 9431 5431P
Robot number
The number of the robot to which the rule applies.
567
mapping entries for that robot type and media type, NetBackup uses the default media types and any mappings on the Media Type Mappings tab. See Adding mapping entries on page 567. To change media type mappings 1 2 3 Select the row that contains the robot-vendor media type mapping that you want to change and click Change Mapping. In the Change Media Mapping dialog, select a Media Manager media type from the list of allowable choices. Click OK.
The following table shows some examples of robot-specific media mappings: vm.conf entry
ACS_3490E = HCART2
Result
Maps the ACS 3490E to HCART the HCART2 media type. Maps ACS DLTIV to the DLT for all ACS DLT media types, DLT2 media type. including DLTIV Maps the TLH 3490E to HCART the HCART2 media type.
ACS_DLTIV = DLT2
TLH_3490E = HCART2
The second column of each table shows the default media type. The third column shows the media types to which you can map the defaults. To do so, you must first add the allowable mapping entries to the vm.conf file.
For example, Table 9-3 shows that for ACS robots you cannot specify either of the following map entries in the configuration file:
ACS_DD3A = DLT ACS_DD3A = HCART4
Default and allowable media types for ACS robots Default Media Manager media type
1/2-inch cartridge (HCART) 1/2-inch cartridge (HCART)
1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3 1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3 1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3 1/2-inch cartridge cleaning tape 2 (HC2_CLN) HC_CLN, HC2_CLN, HC3_CLN
569
Default and allowable media types for ACS robots (continued) Default Media Manager media type
Digital Linear Tape (DLT) Digital Linear Tape (DLT) Digital Linear Tape (DLT) 1/2-inch cartridge (HCART) 1/2-inch cartridge (HCART) 1/2-inch cartridge (HCART) 1/2-inch cartridge (HCART) 1/2-inch cartridge (HCART) 1/2-inch cartridge (HCART2) 1/2-inch cartridge (HCART)
1/2-inch cartridge tape 3 (HCART3) HCART, HCART2, HCART3 1/2-inch cartridge tape 3 (HCART3) HCART, HCART2, HCART3 1/2-inch cartridge (HCART) 1/2-inch cartridge tape (HCART) 1/2-inch cartridge tape (HCART) 1/2-inch cartridge cleaning tape (HC_CLN) 1/2-inch cartridge cleaning tape (HC_CLN) 1/2-inch cartridge cleaning tape (HC_CLN) 1/2-inch cartridge cleaning tape (HC_CLN) Digital Linear Tape 3 (DLT3) Digital Linear Tape (DLT) Digital Linear Tape (DLT) Digital Linear Tape 2 (DLT2) Digital Linear Tape (DLT) HCART, HCART2, HCART3 HCART, HCART2, HCART3 HCART, HCART2, HCART3 HC_CLN, HC2_CLN, HC3_CLN
LTO_CLN2
LTO_CLN3
LTO_CLNU
DLT, DLT2, DLT3 DLT, DLT2, DLT3 DLT, DLT2, DLT3 DLT, DLT2, DLT3 DLT, DLT2, DLT3
Default and allowable media types for ACS robots (continued) Default Media Manager media type
Digital Linear Tape (DLT) Digital Linear Tape (DLT) 1/2-inch cartridge (HCART) 1/2-inch cartridge cleaning tape (HC_CLN) 1/2-inch cartridge cleaning tape (HC_CLN)
STK1Y
STK2P STK2W
1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3 1/2-inch cartridge cleaning tape 2 (HC2_CLN) 1/2-inch cartridge tape 3(HCART3) 1/2-inch cartridge tape 3(HCART3) 1/2-inch cartridge tape 3(HCART3) HC_CLN, HC2_CLN, HC3_CLN
1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3, HC_CLN, HC2_CLN, HC3_CLN, DLT, DLT2, DLT3, DLT_CLN, DLT2_CLN, DLT3_CLN 1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3, HC_CLN, HC2_CLN, HC3_CLN, DLT, DLT2, DLT3, DLT_CLN, DLT2_CLN, DLT3_CLN
VIRTUAL
Default and allowable media types for TLH robots Default Media Manager media type
1/2-inch cartridge (HCART) 1/2-inch cartridge (HCART) 1/2-inch cartridge (HCART) 1/2-inch cartridge (HCART)
571
Default and allowable media types for TLH robots (continued) Default Media Manager media type Allowable media types through mappings
1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3 1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3 1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3 1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3 1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3 1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3 1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3
Default and allowable media types for TLM robots Default Media Manager media type
1/2-inch cartridge (HCART) NONE (OD_THICK is translated to media type REWR_OPT for robot contents reports. OD_THICK is ignored for all other robotic inventory operations)
Digital Linear Tape (DLT) 8mm cartridge (8MM) 4mm cartridge (4MM) 1/2-inch cartridge (HCART) DTF cartridge (DTF) 8mm cartridge (8MM) 1/2-inch cartridge (HCART)
DLT, DLT2, DLT3 8MM, 8MM2, 8MM3 4MM HCART, HCART2, HCART3 DTF 8MM, 8MM2, 8MM3 HCART, HCART2, HCART3
Default and allowable media types for TLM robots (continued) Default Media Manager media type Allowable media types through mappings
1/2-inch cartridge tape 2 (HCART2) HCART, HCART2, HCART3, DLT, DLT2, DLT3, 8MM, 8MM2, 8MM3
Note: The following TLM media types are not supported: OD_THIN, D2, VHS, CD, TRAVAN, BETACAM, AUDIO_TAPE, BETACAMCL, DVCM, and DVCL.
Note: API robots: If a barcode rule contains media types that are incompatible with vendor media types, the robot inventory update may add media with media types inconsistent with the vendor media types. Avoid this problem by grouping barcode rules by media type.
Mounts each tape Reads the tape header Identifies the tape in each slot Updates the NetBackup volume configuration
For the complete syntax of the vmphyinv command, see vmphyinv in NetBackup Commands for UNIX and Linux. For more information, see the following:
Features of vmphyinv on page 573 Requirements and restrictions for vmphyinv on page 573 When to use vmphyinv on page 573 How vmphyinv performs a physical inventory on page 574
573
Features of vmphyinv
The vmphyinv utility has the following features:
Can be invoked from any master server, media server, or SAN media server. Can be used with barcoded tape libraries because it verifies the contents of the media. Recognizes NetBackup, Backup Exec, and Veritas Storage Migrator (VSM) tape formats. Supports remote administration. You do not need to invoke vmphyinv from the host to which the drives are attached. Tries to use multiple drives in a robot even if the drives are attached to different hosts. Works with shared drives (NetBackup Shared Storage Option). Supports all SCSI-based robot types (except optical disk libraries). Can be used to inventory a single media in a stand-alone drive. Use the -u or -n option to specify the drive; the drive must contain media and it must be ready.
It cannot distinguish between the volume records based on the application type. When you move the media from robotic drives to stand-alone drives, you cannot specify a new volume group for the media. It does not support the optical disk library (ODL) robot type.
You want to inventory a robot that does not have a barcode reader or that contains nonbarcoded media. You insert new media into a robotic library and no NetBackup volume records correspond to the media. Use the slot range or list option of vmphyinv to perform the inventory operation. You do not need to add volume records to the EMM database.
You insert some media that have unknown media IDs or globally unique identifiers (GUIDs) into a robot. For example, you insert 10 media from a different tape library in slots 11 to 20. You do not know the IDs on the tapes. Use the slot range or list option of vmphyinv to perform the inventory operation. vmphyinv mounts the media, reads the tape header, determines the media ID, and adds media records to the EMM database. Some of the media are misplaced and the EMM database does not reflect the correct physical location of these media. You can inventory the robot or inventory a subset of media in the robot by using options in vmphyinv.
Obtains a list of drives to mount the media Obtains a list of media to be mounted Mounts media and reads the tape header Updates the EMM database
NetBackup robot number (-rn robot_number). vmphyinv obtains a list of volume records for that robot and inventories each of the media in the list. To use this option, the NetBackup configuration must contain a volume record that corresponds to the robot number in the EMM database for the robot. NetBackup robot number with filter options. If you do not want to inventory all of the media in a robot, you can specify a subset of the media by using filter options. Some filter options are volume pool, volume group, or slot
575
range. To use these options, NetBackup volume records must exist. The following are some examples: Options specified
-rn 4 -pn bear
Media inventoried
Only media in robot 4 and in the volume pool bear. Media in robot 2 and in the volume group moon. Only media in robot 1 and slot range 2 to 4.
-rn 5 -pn NetBackup -v mars -rc1 2 Only media in robot 5, slot range 2 to 7, in -number 6 volume group mars, and in the NetBackup volume pool.
NetBackup robot number and a list of media that belong to a specific robot. For example, if the -rn robot_number and -ml A00001:A00002:A00003 options are specified, only the three specified media are inventoried. If any of these media do not belong to the specified robot, the media are skipped and are not inventoried. To use this option, NetBackup volume records must exist. NetBackup robot number and a slot range or list. Sometimes, media from a different robot or some other source are moved to a robot and the media ID on the tape is unknown. In these cases, you can specify a slot range option or list option. With these options, the NetBackup volume record does not need to exist in the EMM database. However, you must specify the density (using the -d option). Note: For a robot that supports multiple media types, you should specify the density carefully. If you specify the incorrect density, vmphyinv cannot complete the mount and permanent drive failure can occur. The following table shows some examples: Options specified
-rn 1 -slot_range 2 10 -d dlt -rn 0 -slot_list 3:4:5 -d 8mm -rn 2 -slot_range 2 4 -slot_list 5:6:7 -d dlt
Media inventoried
Media in slot range 2 to 10 in robot 1. Media in slots 3, 4, and 5 in robot 0. Media in slots 2, 3, 4, 5, 6, and 7 in robot 2.
The vmphyinv utility contacts the NetBackup Volume Manager, vmd, on the local host or remote host depending on where the drive is attached. The NetBackup Volume Manager starts a process, oprd. The vmphyinv utility communicates with oprd and sends the mount request to oprd. After oprd receives the request, it issues a mount request to ltid. The vmphyinv utility reads the tape header to determine the recorded media ID or globally unique identifier (GUID). GUID is an identifier used by Veritas Storage Migrator and Symantec Backup Exec.
Note: The default mount timeout is 15 minutes. You can specify a different mount time by using the -mount_timeout option.
Cleaning media
If the following conditions are all true, vmphyinv does not attempt to mount the media. The next media in the list is mounted.
You do not specify the vmphyinv slot range or list option. The robot contains cleaning media. The media type is specified as cleaning media in the volume record (such as 4mm_clean or dlt_clean).
If the robot contains cleaning media and any of the following conditions are true, vmphyinv tries to determine if the media is cleaning media:
You use the slot range or list option and the media type of volume record in the EMM database is not a cleaning media type. You use the slot range or list option, and the EMM database does not contains a volume record that corresponds to the cleaning media. You do not used the slot range or list option, and the EMM database does not contains a volume record that corresponds to the cleaning media.
577
The vmphyinv utility tries to determine if the media is cleaning media. It uses the SCSI parameters (sense keys, tape alert flags, and physical (SCSI) media types) returned by the robot. If vmphyinv cannot determine if the media is cleaning media, it tries to mount the media until the mount request times out. Note: NetBackup may not detect the presence of cleaning media for all drives. Some drives report the presence of cleaning media in a manner NetBackup cannot read.
Update criteria
For valid media types, vmphyinv:
Changes the residence fields and description fields of any NetBackup media record if those fields do not match the media header. The description field is changed only if the media is Symantec Backup Exec or Veritas Storage Migrator media. Conditionally changes the media type of an unassigned NetBackup volume record. The media type is changed only if the new media type belongs to the same family of media types as the old media type. For example, the media type DLT can only be changed to DLT2 or DLT3. Never changes the volume pool, media type, and ADAMM_GUID of an assigned record. Never unassigns an assigned NetBackup volume.
In the NetBackup record, updates the ADAMM_GUID field with the GUID and the Description field with the Backup Exec cartridge label in the tape header. Adds the media ID of the NetBackup record to the EMM database (if not already present). Each record is assigned to NetBackup (if not already assigned) and its state is set to Frozen in the EMM database. Changes the volume pool of the unassigned NetBackup volume records that are associated with Backup Exec media to the BackupExec pool. If the BackupExec pool does not exist, vmphyinv creates it.
Note: If a MEDIA_ID_PREFIX entry is not specified in the vm.conf file, NetBackup uses BE as the default prefix for Backup Exec media.
579
In the NetBackup record, updates the ADAMM_GUID field with the GUID. Also updates the Description field with the Veritas Storage Migrator cartridge label in the tape header. Changes the volume pool of the unassigned NetBackup records that are associated with Veritas Storage Migrator media to the StorageMigrator pool. If the StorageMigrator pool does not exist, it is created.
Note: If a MEDIA_ID_PREFIX entry is not specified in the vm.conf file, NetBackup uses RS as the default prefix for Veritas Storage Migrator media. The Storage Migrator database is not updated.
Error cases
The vmphyinv utility may not be able to update the EMM database correctly in the following cases. These cases are reported as errors. If any of the following cases are encountered, you must intervene to continue.
Duplicate media IDs are found. Two or more media in the same robot have the same media ID. A NetBackup volume record that belongs to a different robot is found. It contains the same media ID as the media ID read from the tape header. The media type, media GUID, or volume pool of an assigned volume record needs to be changed. The barcode of an existing volume record needs to be changed.
Example 1: Removing a volume from a robot on page 580 Example 2: Adding existing stand-alone volumes to a robot on page 581 Example 3: Moving existing volumes within a robot on page 583 Example 4: Adding new volumes to a robot on page 584 Example 5: Adding cleaning tapes to a robot on page 586 Example 6: Moving existing volumes between robots on page 587 Example 7: Adding existing volumes when barcodes are not used on page 587
Assume that you remove the volume from the robotic library, specify the following on the Media Settings tab, and then execute the update.
media type volume group volume pool DEFAULT NONROB_8MM DEFAULT
581
The new residence information in the EMM database shows a stand-alone location in the volume group. The volume group is specified on the Media Settings tab. The media type and volume pool remain unchanged. The results are the same for a volume that does not have a barcode.
Assume that you insert the volume into a TL8 robot, specify the following on the Media Settings tab, and then execute the update.
media type volume group use barcode rules volume pool DEFAULT EXB220 YES (selected) NetBackup
Assume that the barcode rules in the following table exist: Barcode tag
CLND CLN8 TL8 DLT TS <NONE> <DEFAULT>
Media type
DLT_CLN 8MM_CLN 8MM DLT 8MM DEFAULT DEFAULT
Volume pool
None None NetBackup d_pool None None NetBackup
Description
dlt cleaning 8mm cleaning tl8 backup dlt backup 8mm no pool no barcode other barcodes
NetBackup recognizes that the media ID exists and changes the EMM database to reflect the new robotic location; NetBackup does not create a new media ID. The volume attributes for media ID 800021 are as follows:
media ID media type barcode media description volume pool robot type robot number robot slot robot host volume group max mounts allowed 800021 8MM cartridge tape TL800021 8MM stand-alone NONE TL8 - Tape Library 8MM 0 1 shark EXB220 0 (unlimited)
The barcode matches the barcode of an existing stand-alone volume in the configuration. Therefore, NetBackup updates the residence information in the EMM database to reflect the new robotic location. Because the volume is not new, barcode rules are ignored.
583
The only setting used on the Media Settings tab is the volume group for added or moved volumes. The media type setting was not used because this example was for a single existing volume that already had a media type.
Assume that you move the volume to empty slot 10, specify the following on the Media Settings tab, and then execute the update.
media type volume group use barcode rules volume pool DEFAULT EXB220 NO (not selected) DEFAULT
The updated volume attributes show the new slot number, but all other information is unchanged.
The new volume is an 8MM tape with a readable barcode of TL800002. No media generation rules are defined. The drives in the robot all have a drive type of 8MM or no drives are configured on the robot control host. You specify the following on the Media Settings tab and execute the update.
Media type Volume group Use barcode rules Volume pool DEFAULT EXB2220 YES (selected) DEFAULT
585
Assume that the barcode rules in the following table exist: Barcode tag
CLND CLN8 TL8 DLT TS <NONE>
Media type
DLT_CLN 8MM_CLN 8MM DLT 8MM DEFAULT
Volume pool
None None NetBackup d_pool None None
The barcode on the media matches the barcode rule named TL8 and the resulting volume attributes for the new volume are as follows:
Media ID Media type Barcode Media description Volume pool Robot type Robot number Robot slot Robot host Volume group Maximum mounts allowed 800002 8MM cartridge tape TL800002 tl8 backup NetBackup TL8 - Tape Library 8MM 0 1 shark EXB220 0 (unlimited)
No media ID generation rules exist. Therefore, the media ID is from the last six characters of the barcode. The new residence information in the EMM database shows the robot host, robot type, robot number, slot, and host. The volume group is from the Media Settings tab. The volume pool and max mounts allowed are from the barcode rule. If barcode rules (or barcodes) had not been used, the media description, volume pool, and max mounts allowed would be set to the following defaults:
Media description: added by NetBackup Volume pool: NetBackup for data tapes or None for cleaning tapes Max mounts: 0 (unlimited)
Note: If the robot does not support barcodes or the barcode is unreadable, you must specify a Media ID prefix on the Media Settings tab. Alternatively, you can specify DEFAULT for the media ID. If you do not, NetBackup does not add new media IDs.
Media type
DLT_CLN DLT DEFAULT
Volume pool
None d_pool None
Description
dlt cleaning dlt backup no barcode
You specify the following on the Media Settings tab and then execute the update.
media type volume group use barcode rules DLT STK7430 YES (selected)
The barcodes on the regular tapes match the DL barcode rule. The media type of the DL barcode rule matches the Media type on the Media Settings tab. The tapes are added as DLT. The cleaning tape matches the CLN barcode rule. NetBackup recognizes that DLT_CLN is the cleaning tape for DLT. NetBackup adds the cleaning tape CLN001 as DLT_CLN type media along with the regular volumes. This example shows NetBackups ability to add cleaning cartridges along with regular volumes when you use Update volume configuration.
587
If the volumes you insert include a cleaning tape, NetBackup adds the volumes correctly if the following are true:
The Media type on the Media Settings tab is the regular media (DLT in this example). The barcode on the volume matches a barcode tag (CLN in this example).
The media type for the barcode rule is the correct cleaning media (DLT_CLN in this example). To add only cleaning media, specify the cleaning media type on the Media Settings tab and in the barcode rule (DLT_CLN in this example).
The following are the attributes for media ID 400021, which already exists as a stand-alone volume.
media ID media type barcode media description volume pool robot type volume group max mounts allowed 400021 4MM cartridge tape ----------4MM stand-alone None NONE - Not Robotic NONROB_4MM 0 (unlimited)
Assume that you insert the volume into the robot, specify the following on the Media Settings tab, and then execute the update.
media type volume group media ID prefix volume pool DEFAULT 00_000_TL4 C4 DEFAULT
589
Note that NetBackup assigned a new media ID to the volume (C40000). This undesired result occurs if you use Update volume configuration and the volumes do not have readable barcodes or the robot does not support barcodes. Without a barcode, NetBackup cannot identify the volume and assumes it is new. The media ID C40000 is generated from the media ID prefix specified on the Media Settings tab. The old media ID (400021) remains in the configuration. The information for the new media ID (C40000) shows the robotic location, which includes the robot host, robot type, number, slot, and host. The volume group and volume pool are configured according to the Media Settings tab selections. The maximum mounts allowed is set to the default (0). For this situation, you should use the physical inventory utility. See Using the physical inventory utility.
Supported drives
For information about the drives that NetBackup supports for WORM media, see the NetBackup Hardware Compatibility List on the Symantec support Web site:
http://entsupport.symantec.com
All of the vendors, except Quantum, require the use of special WORM media. Quantum lets NetBackup convert standard tape media to WORM media. To use Quantum drives for WORM media on Solaris systems, you must modify the st.conf file. For information about how to configure nonstandard tape drives and how to edit the st.conf file, see the NetBackup Device Configuration Guide.
Using WORM volume pools to manage WORM media on page 590 Using unique drive and media types to manage WORM media on page 591
If the drive contains WORM media and the media is in a WORM volume pool, NetBackup writes the media as WORM. If the drive contains WORM media and the media is not in a WORM volume pool, NetBackup freezes the media. If the drive contains standard media and the media is in a WORM volume pool, NetBackup freezes the media.
591
If the drive contains Quantum media that has never been used or has had all of its NetBackup images expired, NetBackup uses the media.
Moves standard media from the scratch pool into the WORM pool Loads the standard media into a WORM-capable drive Freezes the media
NetBackup repeats this process until all of the standard media in the scratch pool has been frozen. The opposite also is true. If a standard volume pool runs out of media and the scratch pool contains WORM media, standard backups may fail because appropriate media is unavailable.
WORM-capable drives cannot be used for backups with standard media even if no WORM backups are in progress. If you do not use WORM volume pools to manage WORM media, you should disable the WORM volume pool name verification. To disable the volume pool name verification, create the following touch file on the media server of the WORM drive:
/usr/openv/netbackup/db/config/DISABLE_WORM_POOLCHECK
Third-party copy backups are not supported with WORM media. NetBackup does not support resume logic with WORM tape. NetBackup fails a job that uses WORM media and then retries the failed job. Alternatively, if checkpoint and restart are used, NetBackup restarts the job from the last checkpoint. Symantec recommends that you use checkpoint and restart for backups. WORM tape is not supported with NetWare media servers.
Chapter
10
Devices
Use Media and Device Management > Devices to add, configure, and manage storage devices in NetBackup. To add and configure storage devices, see the following:
Device configuration prerequisites on page 593 The device mapping file on page 594 Configuring robots and tape drives on page 595 Configuring server groups for media sharing on page 615 Configuring and managing disk pools on page 618 Configuring SAN clients and Fibre Transport on page 619 NearStore configuration on page 747 Managing your device configuration on page 619
For more information about configuring and managing storage devices, see the following:
Stopping and restarting the device daemon on page 624 Activating and deactivating media servers on page 625 Accessing media and devices on other hosts on page 625 The Enterprise Media Manager server on page 626
The storage devices must be attached to the system and recognized by the operating system before you begin NetBackup device configuration. The server platforms that NetBackup supports may require operating system configuration changes to allow device discovery. The NetBackup Device Configuration Guide provides information about how to configure device drivers for the systems that support NetBackup server software. If the host on which you configure devices is not the Enterprise Media Manager server, add it to the NetBackup additional servers list. NetBackup hosts are added automatically to the list of additional servers if the EMM server is running when the host is installed. If the EMM server was not running, use the nbemmcmd -addhost command to add the host.
The files that you download are named similarly to the following files: Mappings_6_nnnnnn.TAR and Mappings_6_nnnnnn.ZIP. 2 Download the latest external types file to the following location on the system that hosts the EMM server:
/usr/openv/var/global (UNIX)
install_path\netbackup\var\global (Windows)
Use the tpext command to update the EMM database with the new version of the device mapping file; no command-line parameters are required. The tpext command resides in the following directory:
595
/usr/openv/volmgr/bin (UNIX)
install_path\volmgr\bin (Windows)
Stop and restart the Media Manager Device daemon. For procedures, see Stopping and restarting the device daemon on page 539.
Using the Device Configuration Wizard on page 595. Symantec recommends that you use the Device Configuration Wizard to add and configure devices. Using options in the NetBackup Administration Console. If you use this method, first add the robot and then add the drives that are in the robot. For procedures, see the following:
Adding a robot on page 597 Adding or changing a drive on page 604 Adding a shared drive on page 605
When you configure devices, you can stop and restart ltid. This action also stops and restarts any robotic processes. For information about controlling ltid manually, see Stopping and restarting the device daemon on page 539. For device configuration examples, see the NetBackup Device Configuration Guide.
Robots, including those attached to NDMP hosts Drives, including those attached to NDMP hosts Shared drives ( for NetBackup Shared Storage Option configurations only) Storage servers that control disk storage
This wizard uses device discovery to add and configure devices automatically. To perform these tasks, this wizard uses device serialization. Device serialization is a feature in the storage devices that allows devices to be identified and configured programmatically. This wizard also uses the device mapping file during device discovery and configuration. See The device mapping file on page 462. In some cases, the wizard may leave some devices partially configured. See Devices that are partially-configured on page 596.
597
Adding a robot
Note: Symantec recommends that you use the Device Configuration Wizard to add storage devices. For more information, see Using the Device Configuration Wizard on page 595. Use the following procedures to add a robot manually. When you add a robot and drives, first add the robot as explained in the following procedure and then add the drives. To add a drive, see Adding or changing a drive on page 604. To add a robot 1 2 3 In the NetBackup Administration Console, select Media and Device Management > Devices. Select Actions > New > Robot. In the Add a New Robot dialog, specify the properties for the robot. The properties you can configure depend on robot type, host type, and robot controls selections you make in the dialog. For descriptions of the properties, see Robot properties on page 598.
Robot properties
The following sections describe the robot properties you can configure. The properties you can configure depend on robot type, host type, and robot control selections you make in the dialog.
ACSLS host
ACSLS Host applies only to NetBackup Enterprise Server. Specify the name of the Sun StorageTek ACSLS host; the ACS library software resides ACSLS host. On some UNIX server platforms, this host can also be a Media Server or EMM server. The ACS library software component can be any of the following:
Automated Cartridge System Library Software (ACSLS) For an example, see the NetBackup Device Configuration Guide. STK Library Station Storagenet 6000 Storage Domain Manager (SN6000).
599
This STK hardware serves as a proxy to another ACS library software component (such as, ACSLS). Note: STK LibAttach software must also be installed, if the device host that has drives under ACS robotic control is a Windows server. Obtain the appropriate LibAttach software from STK. See the Symantec support Web site for the latest compatibility information. For an overview of ACS robots, see the NetBackup Device Configuration Guide.
DAS server
NetBackup Enterprise Server only. To specify the DAS server for TLM robots that are controlled by an ADIC DAS/SDLC server, enter the name of the DAS/SDLC server. This server is an OS/2 workstation near or within the robot cabinet or a Windows server near the ADIC Scalar library. For an overview of TLM robots, see the NetBackup Device Configuration Guide.
Device host
Device Host applies only to NetBackup Enterprise Server. Specifies the host to which the device is attached.
Library name
TLH robot on NetBackup Enterprise Server only. For UNIX device hosts (except AIX), enter the library name that is configured on the UNIX host. For Windows devices hosts:
Determine the library name by viewing the C:\winnt\ibmatl.conf file. For example, in the following example entry in that file, 3494AH is the library name: 3494AH 176.123.154.141 ibmpc1 Enter the library name.
For an overview of TLH robots, see the NetBackup Device Configuration Guide.
Robot device path on page 601 NDMP host name on page 600 SCSI coordinates (Windows host) on page 602
Robot control host on page 600 DAS server on page 599 ACSLS host on page 598
Robot device
Windows device host only. To specify the robot device, click Browse and then select a robot from the list that appears in the Devices dialog.
601
If the browse operation does not find attached robots, an error dialog appears.
Robotic device file on page 601 Robot device on page 600 LMCP device file on page 599 Library name on page 599
Robot number
Specifies a unique, logical identification number for the robotic library. This number identifies the robotic library in displays (for example, TLD (21)) and is also used when you add media for the robot. For NetBackup Enterprise Server environments:
Robot numbers must be unique for all robots on all hosts in the configuration, regardless of the robot type or the host that controls them. For example, if you have two robots, use different robot numbers even if different hosts control them. If you add a robot that is controlled by a remote device host, use the same robot number for that robot on all device hosts. If the robot has its robotic control and drives on different hosts, specify the same robot number in all references to that library. That is, use the same
robot number on the hosts with the drives as you do on the host that has the robotic control. A Tape Library DLT robot is one that allows separate robotic control and drive hosts. For an example, see the NetBackup Device Configuration Guide.
Robot type
Specifies the type of robot. To locate the robot type to use for specific vendors and models, see the Symantec support Web site:
http://entsupport.symantec.com
Robot control configuration overview Robot Type Supported media server platform Information required for configuration
ODL
AIX, Solaris SPARC and HP-UX Robotic device file (except HPIA64), UNIX Windows Robotic device file Robot device or Port, Bus, Target, and LUN
Local Local
Local
All (except Solaris Opteron, HP Library name IA64, AIX, and Linux, and Linux64) AIX LMCP device file
Local
TLH
603
Robot control configuration overview (continued) Robot Type Supported media server platform
AIX, Solaris, Linux, and Linux64 All All All (except Solaris Opteron, Linux64) All (except Linux64 and HP IA64) Windows, AIX, Solaris SPARC, HP-UX (except HP IA64), and Linux (except Linux64)
TSH
Remote
TLM
DAS/SDLC server
NDMP
Figure 10-1
Control
Drive 1
Drive 2
shark
Actions > New > Tape Drive Actions > New > Optical Drive
Specify the properties of the drive. The properties depend on the drive type and host server type. For descriptions of the properties, see Drive properties on page 607.
To change a drive 1 In the NetBackup Administration Console, expand Media and Device Management > Devices > Drives.
605
2 3
In the details pane, right-click on the drive you want to change and select Change from the shortcut menu. In the Change Drive or Change Optical Drive dialog box, change the properties of the drive . The properties depend on the drive type and host server type. For descriptions of the properties, see Drive properties on page 607.
tpconfig command line interface. Use the -path <drivepath> option with the -add -drpath command when you define multi-path drives. Use the -add -drive command when you define shared drives. If you add a drive on multiple hosts, it becomes a shared drive. For more information, see NetBackup Commands for UNIX and Linux. tpconfig interactive mode. On UNIX servers, you can use the tpconfig command in interactive mode. If you use tpconfig, ensure all hosts that share a drive use the same case-sensitive name for the drive. For more information about using tpconfig in interactive mode, see Using the tpconfig device configuration utility in the NetBackup Administrators Guide for UNIX and Linux, Volume II.
If you use the tpconfig command, you cannot use diagnostic tools available on UNIX servers, such as device management reports. For information about the NetBackup Shared Storage Option, see the NetBackup Shared Storage Guide.
For each drive path, you can override the media server setting. The following are the options for the Override SCSI Reserve settings drive path attribute:
Server Default. Use the SCSI reserve protection setting configured for the media server. SPC-2 SCSI Reserve. This option provides SCSI reserve and release protection for SCSI devices that conform to the reserve and release management method that is defined the SCSI Primary Commands - 2 (SPC-2) standard. SCSI Persistent Reserve. This option provides SCSI persistent reserve in and persistent reserve out protection for SCSI devices that conform to the SCSI Primary Commands - 3 (SPC-3) standard.
To configure SCSI reserve when adding a drive 1 2 In the Add a New Drive dialog box, click Add. In the Add Path dialog box, choose one of the Override SCSI Reserve settings when you configure the path properties.
In the Change Drive dialog box, select the drive path. Click Change. In the Change Path dialog box, choose one of the Override SCSI Reserve settings. How NetBackup reserves drives in the NetBackup Administrators Guide for UNIX and Linux, Volume II
607
Drive properties
You specify properties when you add a drive or change the properties of a drive. The properties you can specify depend on drive type, server platforms, or NetBackup server types.
Cleaning frequency
Applies to tape drive only. NetBackup does not support drive cleaning in some robot types. For more information, see Robot attributes in the NetBackup Device Configiration Guide. If you want to set up a frequency-based cleaning schedule for the drive, set the number of mount hours between each drive cleaning. When you add a drive or reset the mount time to zero, NetBackup records the amount of time that volumes have been mounted in that drive. The default frequency is zero. When the accumulated mount time exceeds the time you specify for cleaning frequency, drive cleaning occurs:
If the drive is in a robotic library that supports drive cleaning If a cleaning cartridge is defined in that robotic library
If the cleaning cartridge is compatible with the drive that needs to be cleaned If the cleaning cartridge has a nonzero number of cleanings that remain
The mount time is reset after the driveis cleaned. If you do not specify a cleaning frequency, you can still use automated drive cleaning with the TapeAlert feature if the following are true:
The drive supports TapeAlert. You configured a cleaning volume for the robot. The host platform, robot type, and drive support drive cleaning. If the cleaning cartridge is compatible with the drive that needs to be cleaned If the cleaning cartridge has a nonzero number of cleanings that remain
You also can clean drives from the Device Monitor. For more information about drive cleaning, see Drive cleaning overview and Using TapeAlert in the NetBackup Administrators Guide for UNIX and Linux, Volume II
Data/device path
Optical drives on UNIX servers only. The path to the device file for the optical drive. Device files are in the /dev directory on the UNIX host. If the entries do not exist, create them as explained in the NetBackup Device Configuration Guide. NetBackup uses character-mode device files. If you use NDMP drives, see the NetBackup for NDMP Administrators Guide for configuration information. For more information about device paths, see No rewind device on page 614.
Device host
Optical drive only. NetBackup Enterprise Server only. Specifies the device host for the drive.
Drive status
Applies to tape drive only. When you add a drive, the default drive status is UP, which means the drive is available. When a drive is UP, the default mode is AVR (Automatic Volume Recognition). Exception: optical drives on an HP9000-800 systems are in OPR (operator control) mode when they are UP.
609
To change the drive status, click UP or DOWN. You can also change the drive status using the commands on the Actions menu in Device Monitor.
Drive name
The name that identifies the drive. Each drive name must be unique. Descriptive names are recommended. Drive names are limited to 48 characters. Enter a name for the drive. Alternatively, use drive name rules to create a unique drive name. For information about how to configure rules for naming drives, see Configuring drive name rules on page 611. For information about the characters you can use in a name, see NetBackup naming conventions on page 631.
Drive type
Tape drive only. Specifies the type of drive. If the drive writes WORM media, see Using WORM media on page 589 for more information.
In the Change Path dialog box, configure the properties for the drive path. The properties you can change depend on drive type, server platform, or NetBackup server type.
For more information about device paths, see No rewind device on page 614. To configure SCSI reserve, see Configuring SCSI reserve on a drive path on page 605.
Robotic library
The robot that controls the drive. This dialog allows you to select any configured robot that can control the drive.
Serial number
This read-only field shows the serial number of the drive.
611
Host name Robot number Robot type Drive position Drive position information varies depending on the robot type. Drive position information can be ACS coordinates, TLM/TLH vendor drive name, or the robot drive number. Drive type Serial number
A Custom Text field is also available which accepts any of the allowable drive name characters. For information about the characters you can use in a name, see NetBackup naming conventions on page 631.
To change the global rule, select Global Rule. To create a local rule, select the check box for the device host. Select the fields from which to create the drive name from the list of available fields. Click Add>> to make a field part of your rule. To add your own text to the drive name rule, enter the text in the Custom Text field and click the Add button. Use the Move Up and Move Down buttons to change the order of the fields that are defined for the rule. Click Create Rule to finalize the rule.
613
Note: If you use <host name> in the rule and the drive is a shared drive, the name of the first host that discovers the drive is used as the host name. The name for a shared drive must be identical on all servers that share the drive.
ACS robots (Automated Cartridge System). See ACS on page 614 for more information. TLH robots (Tape Library Half-inch). See TLH on page 614 for more information. TLM robots (Tape Library Multimedia). See TLM on page 614 for more information.
ACS
To specify a drive in an ACS robot 1 Determine the physical location of the drive within the robot. You must know the physical drive in the robot that the device file you specified earlier represents. You establish this correlation during installation. Select ACS. In the dialog enter the following information: For
ACS Number
2 3
Enter
The index (in ACS library software terms) that identifies the robot that has this drive. The Library Storage Module that has this drive. The robot panel where this drive is located. The physical number of the drive (in ACS library software terms).
TLH
To specify a drive in a TLH (Tape library half-inch) robot 1 2 Select TLH. In the dialog, enter the IBM device number of the drive within the robot.
TLM
To specify a drive in a TLM (Tape library multimedia) robot 1 2 Select TLM. In the dialog, enter the DAS/SDLC drive name of the drive within the robot.
No rewind device
UNIX servers only. Although both rewind and no rewind on close device files are usually available, NetBackup requires only the no rewind device file. A no rewind device remains at its current position on a close operation. On some versions of UNIX, the device file name may be preceded or followed by the letter n. Device files are in the /dev directory on the UNIX host. If the entries do not exist, create them as explained in the NetBackup Device Configuration Guide.
615
NetBackup master server NetBackup media servers NDMP tape servers Virtual host names of NetBackup media servers in a cluster
Servers can be in more than one group. All members of a server group must have the same NetBackup master server. Only NetBackup 6.5 and later systems can be in server groups. Media sharing provides the following benefits:
Increases media utilization by reducing the number of partially full media. Reduces media-related expenses because fewer media are required and fewer media are vaulted (NetBackup Vault option). Reduces administrative overhead because you inject fewer scratch media into the robotic library. Increases media life because media are mounted fewer times. Media are not repositioned and unmounted between write operations from different media servers. Reducing media mounts requires appropriate hardware connectivity between the media servers that share media and the drives that can write to that media. Appropriate hardware connectivity may include Fibre Channel hubs or switches, SCSI multiplexors, or SCSI-to-fibre bridges. Ensure the appropriate connectivity between and among the media servers and robots and drives.
Optionally, configure NetBackup for media sharing by setting the master server Enable Unrestricted Media Sharing for All Media Servers host property. For more information, see Media properties on page 446. Optionally, configure the volume pools to use for media sharing by setting the Maximum number of partially full media property for those pools. For more information, see Adding a new volume pool on page 539 or Changing the properties of a volume pool on page 539. Create the media sharing groups as described in this section. If you allow unrestricted allow media sharing in your NetBackup environment, you do not have to create media sharing groups. Unrestricted media sharing is set by using the master server Enable Unrestricted Media Sharing for All Media Servers host property. Configure backup policies that use the volume pools and media sharing groups by setting the Policy Volume Pool and Media Owner properties of the backup policies. For more information, see Policy Attributes tab on page 87.
To change the owner of a volume, see Changing the owner of a volume on page 520. To create a server group 1 2 3 In the NetBackup Administration Console, select Media and Device Management > Devices > Server Groups. Select Actions > New Server Group. In the New Server Group dialog box, enter or select the appropriate information. To add a server to the group, select it in the Servers Not in Group window and click Add. To remove a server from the group, select it in the Servers in Group window and click Remove. For descriptions of the fields, see Server group properties on page 617.
617
NetBackup media servers NDMP tape servers Virtual host names of NetBackup media servers in a cluster
Other server group types (NOM and Alternate Restore) are reserved for future use.
State
The state of the server group:
Active. The server group is available for use. Inactive. The server group is not available for use.
To change the state, select the new state from the dropdown box.
Description
A description of the media server group.
Servers in group
The servers (and their type) that belong to the group. To remove a server from the group, select it in the Servers in Group window and click Remove.
For AdvancedDisk, see Creating an AdvancedDisk disk pool on page 726. For OpenStorage and SharedDisk, see the NetBackup Shared Storage Guide or the NetBackup Administration Console help. For PureDisk, see the Veritas NetBackup PureDisk Remote Office Edition Administrators Guide.
619
When to perform device configuration changes on page 619 Using the Device Configuration Wizard for changes on page 620 Changing a robot configuration on page 620 Changing the configuration of a drive on page 620 Changing a drive to a shared drive on page 621 Deleting robots on page 621 Deleting drives on page 621 Performing device diagnostics on page 622 Printing your device configuration on page 623
Also see Making changes to your hardware configuration in the NetBackup Administrators Guide for UNIX and Linux, Volume II
complete and you are not in a production environment, answer yes to the stop and restart prompt. Caution: If you stop and restart ltid, any backups, archives, or restores also are stopped.
621
Deleting robots
Note: Any drives that are configured as residing in a robot that you delete are changed to stand-alone drives. Any media in the deleted robot is also moved to stand-alone. To delete a robot 1 2 3 4 5 In the NetBackup Administration Console, select Media and Device Management > Devices. Select Robots in the tree pane. Select the robotic library you want to delete from the Robots pane. Select Edit > Delete. Answer the delete confirmation dialog.
Deleting drives
To delete a drive 1 In the NetBackup Administration Console, select Media and Device Management > Devices.
2 3 4 5
Select Drives in the tree pane. Select the drive or drives that you want to delete from the pane on the right. Select Edit > Delete. Answer the delete confirmation dialog.
Operator intervention is required if the State column of the Results window contains Waiting. For example, a test step may prompt you to load a new tape into a drive before the test can continue. Complete the requested operation task and then click Continue to resume the test. If you click Details for a test step that requires intervention, you can resume the test by clicking Continue from the Test Details dialog.
623
Ensure that the library to be tested is properly configured for use with NetBackup. Testing is conducted using the existing NetBackup robotic control daemons or processes. To run a robot diagnostic test 1 2 3 4 5 In the NetBackup Administration Console, select Media and Device Management > Devices. Select Actions > Robot Diagnostics. In the Robot Diagnostics dialog box, select the media server that is the Device Host for the robot that you want to test. Select the robot that you want to diagnose in the Robot Name box. Click Start to start the diagnostic tests.
Operator intervention is required if the State column of the Results window contains Waiting. For example, a test step may prompt you to load a new tape into a drive before the test can continue. Complete the requested operation task and then click Continue to resume the test. If you click Details for a test step that requires intervention, you can resume the test by clicking Continue from the Test Details dialog.
To print your current device configuration using tpconfig The following example uses tpconfig to list the device configuration and redirect the output to the file named devconf.txt, which can then be printed: tpconfig -dl > devconf.txt Note: The tpconfig -d or -l option may truncate drive names. Use tpconfig -dl to obtain the full drive name.
4 5
625
and tpunmount commands and the drive_mount_notify and drive_unmount_notify scripts on those drives. To use UNIX commands on a drive, the drive must be down and ltid must not be running.
Current jobs are allowed to complete. No new jobs are scheduled for the host. If the host is part of a shared drive configuration, it does not scan drives.
To activate or deactivate a host 1 2 3 In the NetBackup Administration Console, select Media and Device Management > Media Servers. From the Media Servers pane, select the media server to activate or deactivate. Select Actions > Activate or Deactivate.
Then
A host can mange media and devices on the remote host if it is is added to the bp.conf file of the server you logged into. You do not need to add a SERVER entry to the vm.conf file. You must add a SERVER entry for the host on which the NetBackup Administration Console is running (the server you logged into).
The vm.conf file on shark contains the following: SERVER = shark The vm.conf file on shark does not require any additional SERVER entries, because all device management for shark are performed from shark. The vm.conf file on eel contains the following, which allows eel to manage its own devices and permits shark to access them.: SERVER = eel SERVER = shark The vm.conf file on yak contains the following, which allows yak to manage its own devices and permits shark to access them: SERVER = yak SERVER = shark
627
Select Actions > Enterprise Media Manager Database > Remove Device Host.
To synchronize the database This procedure updates the device database on NetBackup 5.x servers to be consistent with the device configurations in the EMM server. Usually, you do not have to synchronize the EMM database with device databases on a back-level media server. However, if you have problems after recent configuration changes to your local device hosts, you should synchronize. 1 2 In the NetBackup Administration Console, select Media and Device Management > Devices. Select Actions > Enterprise Media Manager Database > Synchronize Enterprise Media Manager Database.
The EMM server must be installed on a system that hosts a NetBackup master or media server. Symantec recommends that you install the EMM server on the same system as a NetBackup master server. If the EMM domain contains more than one NetBackup master server, each master server must be allowed access to the EMM server. Use the Servers host property on the EMM server to allow access. The hosts for all devices and media that are managed by a NetBackup master server must use the same EMM server. Users cannot share devices or volumes between EMM domains. Media IDs must be unique within an EMM domain. Barcodes must be unique within an EMM domain. Drive names must be unique within an EMM domain. Robot numbers must be unique within an EMM domain. Host names must be consistent within an EMM domain. Do not use a fully qualified name and an unqualified name to refer to the same host. Do not use a physical name and a virtual host name to refer to the same host.
Note: Beginning with release 6.0, NetBackup allocates drives before it starts jobs on a media server. Therefore, NetBackup 6.0 and later may pre-empt drive selections on NetBackup 5.x media servers. To optimize resource allocation in your environment, you should update all media servers to release 6.0 or later.
Chapter
11
Credentials
Credentials appears only if a feature that requires external credentials is licensed. Use Media and Device Management > Credentials to add, remove, and manage log-in credentials for:
Disk array hosts. For disk array host credentials, see the SharedDisk section of the NetBackup Shared Storage Guide. NDMP hosts. For NDMP host credentials, see the NetBackup for NDMP Administrators Guide. Storage servers. For OpenStorage server credentials, see the OpenStorage section of the NetBackup Shared Storage Guide.
630 Credentials
Chapter
12
Management topics
This chapter contains the topics that are related to the administration and management of NetBackup.
NetBackup naming conventions on page 631 Using wildcards in NetBackup on page 632 To power down and reboot NetBackup servers on page 633 Using the NetBackup license utility to administer licenses on page 638 To administer a remote master server on page 639 To administer devices on other servers on page 649 Using the NetBackup-Java Windows display console on page 651 Configuring the NetBackup-Java administration console on page 652 NetBackup-java performance improvement hints on page 667 Managing client restores on page 672 Goodies scripts on page 687 Alternate server restores on page 687 Using NetBackup with Storage Migrator on page 694
Alphabetic (A-Z a-z) (names are case-sensitive) Numeric (0-9) Period (.)
Do not use a minus as the first character. Spaces are only allowed in a comment for a drive.
Wildcard for zero or more characters. For example: r* refers to all files that begin with r r*.doc refers to all files that begin with r and end with .doc. To back up all files that end in .conf, specify: /etc/*.conf
Wildcard for any single character (A through Z; 0 through 9). For example: file? refers to file2, file3, file4 file?? refers to file12, file28, file89 To back up all files named log01_03, log02_03, and so on, specify: c:\system\log??_03
[ ]
Use a pair of square brackets to indicate any single character or range of characters separated with a dash. For example: file[2-4] refers to file2, file3, file4 file[24] refers to file2, file4 *[2-4] refers to file2, file3, file4, name2, name3, name4
{ }
Use a pair of curly brackets to indicate multiple file name patterns. Separate the patterns by commas only; no spaces are permitted. A match is made for any or all entries. For example: {*1.doc,*.pdf} refers to file1.doc, file1.pdf, file2.pdf
To use wildcard characters literally, precede the character with a backslash (\).
633
A backslash (\) acts as an escape character only when it precedes a special or a wildcard character. NetBackup normally interprets a backslash literally because a backslash is a legal character to use in paths. Assume the brackets in the following are to be used literally: C:\abc\fun[ny]name In the exclude list, for example, precede the brackets with a backslash: C:\abc\fun\[ny\]name
In the NetBackup Administration Console, click Activity Monitor, then select the Processes tab. Right-click the request daemon (bord) and select Stop Daemon. From the command line, run: /usr/openv/netbackup/bin/admincmd/bprdreq -terminate
Note: bprdreq does not run on a media server. 3 Run the system shutdown command. Note: The installation process copies the appropriate startup and shutdown script from /usr/openv/netbackup/bin/goodies to /init.d and creates links to it from the appropriate /rc directory. Use system startup scripts to begin the Media Manager and NetBackup daemons when the system boots up. Use shutdown scripts to terminate the daemons at system shutdown. See the NetBackup Installation Guide for instructions on how to edit the script. 4 Power down the server.
/usr/openv/netbackup/bin/bp.kill_all To start up all NetBackup daemons From a command line, enter: /usr/openv/netbackup/bin/bp.start_all To reboot a NetBackup master server 1 2 3 Restart the system. Ensure that bprd, bpdbm, and vmd are up by running the following script: /usr/openv/netbackup/bin/bpps -a Start all NetBackup daemons: /usr/openv/netbackup/bin/bp.start_all
To reboot a NetBackup media server 1 2 Restart the system. Start ltid if it is not already running: From the NetBackup Administration Console: a b Click Activity Monitor, then select the Processes tab. Right-click ltid and select Start Daemon. From the command line, run: /usr/openv/volmgr/bin/ltid
Prevent bpps from displaying processes you do not want to check by adding the processes to an exclude list. Refer to comments within the script for more information. To display both NetBackup and Media Manager options, run:
/usr/openv/netbackup/bin/bpps -a
635
In the following sample display, the second column contains the process IDs for the processes.
root root root root root 303 305 306 307 310 0.0 0.0 0.0 0.0 0.0 0.2 0.0 0.0 0.0 0.0 136 156 104 68 116 264 0 0 56 0 ? ? ? ? ? S IW IW S IW Feb Feb Feb Feb Feb 11 4:32 ltid -v 11 0:54 vmd -v 11 0:15 tl8d -v 11 12:16 avrd 11 0:07 tl8cd -v
Status for the nbemm command is not shown in the output of vmps. The nbemm status is shown in the output of the bpps script.
Summary of active licensed features: Displays a summary of the active features that are licensed on this server. This view lists each feature and the number of instances of the feature that are licensed. Summary of active capacity-based licensed features: Displays the storage capacity for which the NetBackup environment is licensed and the capacity in use. The summary also notes whether the license is in compliance. The summary does not display the amount of physical storage space. All capacity values are calculated based on the definition that 1 terabyte = 1,099,511,627,776 bytes.
The OpenStorage Disk Option, the PureDisk Storage Option, and the Virtual Tape Option do not display all values at this time.
All registered license keys details: Displays the details of the license keys that are registered on this server. The view lists:
each license key, the server where the key is registered, when the key was registered, the features that the key provides, and whether the feature is active or inactive.
Perform the following tasks from the NetBackup License Keys dialog box:
Add a new license Delete a license View the properties of one license Export the license list
To add new license keys 1 2 In the NetBackup License Keys dialog box, click New. In the Add a New License Key dialog box, enter the license key and click Add. The new license key appears in the license list.
Note: Restart all the NetBackup utilities (including NetBackup-Java Administration Console) after deleting the license keys. To print license key lists 1 In the NetBackup License Keys dialog box, select the license key you want to print. If no selection is made, all licenses are printed. The printed information includes:
License key Name of the host Date the key was added Name of the product Number of instances Name of the feature Whether or not the license is valid Expiration date for the license
637
2 3
In the NetBackup License Keys dialog box, click the Print button. The Print dialog box appears. Make your print selections and click OK.
To delete license keys 1 2 3 Select the license key you want to delete from the license key list. If the key has more than one feature, all the features are listed in the dialog box. In the NetBackup License Keys dialog box, click Delete. A confirmation dialog box appears. Click Yes to delete all the features that are associated with the key. The license key cannot be restored. If the key appears in the list more than one time, to delete one instance deletes all other instances of the key from the list.
Note: Restart all the NetBackup utilities (including NetBackup-Java Administration Console) after deleting the license keys. To view the properties of a license key In the NetBackup License Keys dialog box, select one license and click Properties. To export license keys 1 2 In the NetBackup License Keys dialog box, click Export. The Export File Name dialog box appears. Enter the path and file name where youd like the key properties of all licenses to be exported. Click Save. The exported file contains a list of each license key, along with the:
Name of the host Date the license was added Name of the product Number of instances Name of the feature Whether or not the license is valid Expiration date for the license
638 Management topics Using the NetBackup license utility to administer licenses
At the prompt, enter one of the following menu selections, then press Enter:
Type A to add a new license key, then type the license key at the prompt. Type D to delete a license from the list, then type the license key at the prompt. Type F to list only the licenses that are currently active. Expired licenses do not appear in this listing. Specify a local or a remote host. Type L to list all registered licensesactive or inactive. Specify a local or a remote host. Type H for help on the License Key Utility. Type q to quit the utility.
639
First, make the remote server accessible to the local server. For more information, see the following section, To add a NetBackup server to a server list on page 639. Second, indicate the remote server you want to administer. See To choose a remote server to administer on page 644.
apricot
Grape selects File > Change Server and types apricot as the host name.
grape
If grape is not listed on the server list of apricot, grape receives an error message after trying to change servers to apricot. Assume that apricot is an authorized NetBackup server. A message appears that indicates server grape is invalid because it does not appear on the server list of apricot.
To add grape to the server list of apricot, follow the steps in To add a server to a UNIX server list. For other reasons why a remote server may be inaccessible, see If you cannot access a remote server on page 648. Note: To log in to a remote master server through the log in dialog box, the name of the local host does not need to appear in the server list of the remote server. This method to log in to a remote host is explained in To indicate a remote system upon log in on page 645.
641
To add a server to a UNIX server list 1 Access the server properties of the destination host using one of the following methods:
Log in to apricot from grape (provided the user name has sufficient privileges), or log in at apricot
Start the NetBackup-Java Administration Console (jnbSA) on the local server (grape). Indicate destination host apricot on the log in dialog box. The jnbSA command is described in NetBackup Commands for UNIX and Linux. Start the NetBackup-Java Windows Display Console on a Windows system. Indicate destination host apricot on the log in dialog box. Physically go to the destination host and start jnbSA. Physically go to the destination host (apricot) and start jnbSA. Indicate apricot on the log in dialog box.
In the NetBackup Administration Console, expand Host Properties > Master Servers.
Currently, apricot allows remote access by two additional servers: apple and banana
Select Servers to display the server list. The Additional Servers list contains, as the dialog box explains, Servers that can access the currently selected host. Since the Additional Servers list does not include server grape, apricot considers grape to be an invalid server. To add a server to the server list, click Add. The New Server dialog box appears. Type the server name (grape) in the field and click Add to add the server to the list. Click Close to close the dialog box without adding a server to the list.
5 6
643
Restart all daemons and utilities on the server where the host properties were changed to ensure that the new configuration values are used. Restart the NetBackup Administration Console as well.
Apricot now includes grape among the servers to which it allows remote access
Note: The bp.conf file on every UNIX server contains SERVER and possibly MEDIA_SERVER entries. The server list in the properties dialog box represents these entries. Hosts that are listed as media servers have limited administrative privileges. To add a server to a Windows server list 1 2 3 4 Go to the destination host and start the NetBackup Administration Console. Expand Host Properties > Master Server. Double-click the server name to view the properties. Select the Servers tab to display the server list. The server list contains, as the dialog box explains, Servers that can access the currently selected host. To add a server to the Additional Server List, click Add. Enter the server name in the New Server dialog box. Click Add or Close. Restart all services on the server where the change was made to ensure that the new configuration values are used. Restart the NetBackup Administration Console as well.
5 6 7
Select the File > Change Server menu command. Specify the remote server in the host name field to start the NetBackup-Java console.
To use the change server command to administer a remote server 1 Start the NetBackup Administration Console on a NetBackup-Java capable machine:
Log in and run jnbSA: /usr/openv/java/jnbSA 2 3 4 5 In the NetBackup Administration Console log in screen, specify the local server to manage. Click Login. Select Master Server in the left pane (tree view) of the NetBackup Administration Console. Select File > Change Server.
645
Note: If the user has the necessary permissions on both machines, the user can transition from Master A to Master B without setting up trust relationships. If the users identity has administrative privileges on Master B but is different from the users identity on Master A, the user is required to reauthenticate. Reauthenticate from the NetBackup Administration Console by using File > Login as New User... for Windows. Or, close and reopen the NetBackup-Java Administration Console. To indicate a remote system upon log in 1 2 Log in to the NetBackup client or server where you want to start the NetBackup Administration Console. Start the NetBackup Administration Console on the local system:
For example, to start the console on a Solaris system named tiger: Log in on tiger and run the following command line:
Any NetBackup master server tiger NetBackup-Java capable UNIX client or server shark
/usr/openv/java/jnbSA
To start the console on a Windows system named bear: From the Windows desktop, select Start > Programs > Veritas NetBackup > NetBackup-Java Version 6.5. (The system must have the Windows Display Console installed.) The log in screen appears. In the Host name field, type the name of the remote NetBackup server you want to manage.
Type in the user name and password for an authorized NetBackup administrator (for example: root), then click Login. This process logs you in to the NetBackup-Java application server program on the specified server. The NetBackup Administration Console appears. The console program continues to communicate through the server you specified for the remainder of the current session.
On a Windows client if the NetBackup-Java Windows Display Console is installed. On a UNIX client if the client is NetBackup-Java capable.
647
Click here to install the Remote Administration Console and client software. No server software is installed.
In Figure 12-2, the administrator can use the administration console on console1 to add a comment for a drive on media_server1. The administrator can manage NetBackup on master_server1 or media_server1 from any of the systems. Console1 must be listed in the server list on master_server1 but does not need to be listed on media_server1 because it is a media server.
Figure 12-2
console1 Windows 2000 NetBackup Remote Administration Console Server list: master_server1 media_server1
Start the Remote Administration Console, then select File > Change Server to change to a NetBackup server.
The destination server is operational. NetBackup daemons are running on both hosts. The network connection is valid. The user has administrative privileges on the destination host. The current host is listed in the server list of the destination host. For more information, see To add a NetBackup server to a server list on page 639. The host does not need to be listed if the host is a media server or a client. Or, if only media and device management or monitoring is to take place. To ensure that all appropriate NetBackup processes use the new server entry, stop and restart the following processes:
The NetBackup Database Manager and NetBackup Request Manager services on the remote server if it is Windows. The NetBackup Database Manager (bpdbm) and NetBackup Request Manager (bprd) on the remote server if it is UNIX.
649
For problems changing servers to configure media or devices or monitor devices, verify that the NetBackup Volume Manager is running on that server. If you cannot access devices on the remote host, it may be necessary to add a SERVER entry to the vm.conf file on that host. See the NetBackup Administrators Guide, Volume II for instructions.
Select the File > Change Server menu command in an existing instance of the Administration Console and change to the media server. Start the NetBackup Administration Console on the media server. Specify the remote server in the host name field and start the NetBackup-Java console.
For instructions, see To choose a remote server to administer on page 644. For device discovery, configuration, and management to occur, the following must be true:
The devices must be configured correctly in the operating system of the media server host. The media server must be in the additional servers list on the NetBackup master server and the EMM server. Normally, the EMM server resides on the same machine as the NetBackup master server. The EMM server must be up and running, both when you install the media server software and when you configure the devices.
If the EMM server is not running when you install a media server, the media server is not registered. You cannot discover, configure, and manage the devices of that media server. You must register the media server with the EMM server.
The following procedure assumes that all other steps to add a media server are accomplished. For the procedures, see Adding a media server in the NetBackup Administrators Guide, Volume II. To register a media server 1 2 Start the EMM service on the EMM server. On the EMM server host, run the following command (use the host name of the media server):
nbemmcmd -addhost -machinename hostname -machinetype media -masterserver server_name -operatingsystem os_type -netbackupversion level.major_level.minor_level
Note: To avoid problems with NetBackup, ensure that the host name you use in NetBackup matches the host name in your TCP/IP configuration. For more information about nbemmcmd, see NetBackup Commands for UNIX and Linux.
651
How to authorize NetBackup-Java users on a Windows system. How to restrict access to NetBackup-Java applications on a Windows system. How to authorize users to use a subset of the NetBackup-Java administrator applications.
Add an entry in auth.conf for each user that accesses NetBackup-Java applications. The existence of this file, along with the entries it contains, prohibits unlisted users from accessing NetBackup-Java applications on the Windows system. The following is a sample auth.conf file on a Windows system:
mydomain\Administrator ADMIN=ALL JBP=ALL mydomain\joe ADMIN=ALL JBP=ALL * ADMIN=JBP JBP=ENDUSER+BU+ARC
Available on UNIX by running jnbSA Available on Windows by installing the NetBackup-Java Windows Display Console
These processes may be run on two physically different NetBackup hosts. This distributed application architecture holds true for the UNIX Backup, Archive, and Restore client graphical user interface (jbpSA) as well. The administrator first starts the NetBackup-Java Administration Console interface. Use one of two methods:
Run the jnbSA command on UNIX Select Start >Veritas NetBackup > NetBackup-Java Version 6.5 on a Windows system on which the Windows Display Console is installed
Then, the administrator logs in to the application server on the host that is specified in the login dialog box.
653
Note: The host that is specified in the login dialog box and the system that runs the NetBackup Administration Console must run the same NetBackup version. The application server of the host that is specified in the NetBackup Administration Console login dialog box authenticates the login credentials of the user. The credentials are authenticated by using standard UNIX user account data and associated APIs. The login credentials must be valid on the host that is specified in the login dialog box. Figure 12-3 NetBackup login dialog box
Application server
The server that is usually the object of all administrative tasks is the host specified in the NetBackup Administration Console login dialog box. An exception is the use of the File > Change Server capability in the NetBackup Administration Console. The Change Server capability allows administration of a remote server (a server other than the one specified in the NetBackup Administration Console login dialog box). Figure 12-4 Change Server dialog box
Remote server
Regardless of the which server is administered, all administrative tasks that are performed in the NetBackup Administration Console make requests of the
application server. All tasks are run on the application server host, whether the server is remote or whether the server is specified on the login dialog box. However, regardless of which NetBackup authorization method is configured, authorization for tasks in the Administration Console is specific to the server being administered. For example, NetBackup-Java authorization capabilities are in use on Host_A. Use Change Server to change to Host_B. The permissions are honored as configured in the auth.conf on Host_B. For successful administration of a remote server, the application server host must be included in the server list of the remote server. For more information, see To add a NetBackup server to a server list on page 639. Figure 12-5 Host properties server list
In earlier releases, this context (to change to a remote server from the application server) also applied to the enhanced authentication and authorization capabilities. NetBackup encourages the use of Symantec Product Authentication and Authorization for NetBackup Access Control (NBAC) instead of legacy security implementations. For information about how enhanced authorization and authentication applies in this context, see the NetBackup 6.0 documentation.
655
If NetBackup Access Control is not configured, you may still authorize users of the NetBackup-Java administration console for specific applications. For more information, see USE_NBJAUTH_WITH_ENHAUTH on page 666. NetBackup Access Control, when configured as described, always takes precedence over the capabilities authorization of NetBackup-Java as described in To configure nonroot usage on page 658. When NetBackup Access Control is configured, but a user is not authorized as a NetBackup administrator, the capabilities allowed to this user in the Backup, Archive, and Restore (jbpSA) application are those specified for the user in the auth.conf file resident on the host specified in the NetBackup-Java login dialog box. Users of the NetBackup-Java interfaces must log in to the NetBackup-Java application server that is on the NetBackup host where they want to perform administrator or user operations. The /usr/openv/java/auth.conf file contains the authorization data for accessing NetBackup-Java applications. This file exists only on NetBackup-Java capable machines where the NetBackup-Java interface software is installed. The default auth.conf file provides the following authorizations:
On NetBackup servers: Administration capabilities for the root user and user backup and restore capabilities for all other users. On NetBackup clients: User backup and restore capabilities for all users.
On all other UNIX NetBackup systems, the file does not exist but the NetBackup-Java application server provides the same default authorization. To change these defaults on other UNIX systems, you must create the /usr/openv/java/auth.conf file. To perform remote administration or user operations with jbpSA a user must have valid accounts on the NetBackup UNIX server or client machine. Note: Nonroot or non-administrator users can be authorized to administer Windows NetBackup servers remotely from the NetBackup-Java Console. Do so by setting up authorization in the auth.conf file on the Windows server. The auth.conf file must contain entries for the UNIX user names that are used in the login dialog box of the NetBackup-Java Console. The auth.conf file must reside in install_path\VERITAS\java on each Windows server you want to provide nonroot administration capability. Without an auth.conf file, the user has the same privileges on the remote server as on the server that is specified in the login screen. User privileges are the same if auth.conf does not contain an entry for the user name even though host authorization between the two is configured. (SERVER entries in the configuration of each.)
The first field of each entry is the user name that is granted access to the rights that the entry specifies. In the released version, the first field allows root users to use all of the NetBackup-Java applications. An asterisk in the first field indicates that any user name is accepted and the user is allowed to use the applications as specified. If the auth.conf file exists, it must have an entry for each user. Or, the auth.conf file must have an entry that contains an asterisk (*) in the username field; users without entries cannot access any NetBackup-Java applications. Any entries that designate specific user names must precede a line that contains an asterisk in the username field.
Note: The asterisk specification cannot be used to authorize all users for any administrator capabilities. Each user must be authorized by using individual entries in the auth.conf file. To deny all capabilities to a specific user, add a line that indicates the user before a line that starts with an asterisk. For example:
mydomain\ray ADMIN= JBP= * ADMIN=JBP JBP=ENDUSER+BU+ARC
The ADMIN keyword specifies the applications that the user can access. ADMIN=ALL allows access to all NetBackup-Java applications and the related administrator-related capabilities. To allow the use of only specific applications, see Authorizing nonroot users for specific applications on page 658. The JBP keyword specifies what the user can do with the Backup, Archive, and Restore client application (jbpSA). JBP=ALL allows access to all Backup, Archive, and Restore capabilities, including those for administration. To allow only a subset of those capabilities, see Capabilities authorization for jbpSA on page 659. An asterisk in the first field indicates that any user name is accepted and the user is allowed to use the applications as specified. The second line of the released version contains an asterisk in the first field. The
657
asterisk means that NetBackup-Java validates any user name for access to the Backup, Archive, and Restore client application (jbpSA). JBP=ENDUSER+BU+ARC allows end users to back up, archive, and restore files only. The user name and password that is entered in the login screen must be valid on the machine that is specified in the host field. (True for starting the NetBackup-Java administration console or the Backup, Archive, and Restore application (jbpSA).) The NetBackup-Java application server authenticates the user name and password by using the system password file data for the specified machine. The password must be the same password that was used upon login at that machine. For example, assume you log in with the following information:
username = joe password = access
Here you must use the same user name and password to log into NetBackup-Java. Note: The NetBackup-Java login box accepts passwords greater than eight characters. However, only the first eight are significant upon login to a NetBackup-Java application server on a UNIX system. You can log in to the NetBackup-Java application server under a different user name than the name used to log in to the operating system. For example, if you log in to the operating system with a user name of joe, you could subsequently log in to jnbSA as root. Upon exit, some application state information is automatically saved in the directory of joe $HOME/.java/.userPrefs/vrts directory. (For example, table column order.) The information is restored the next time you log in to the operating system under account joe and initiate the NetBackup-Java application. This login method of is useful if there is more than one administrator because it saves the state information for each administrator. Note: NetBackup-Java creates a users $HOME/.java/.userPrefs/vrts directory the first time an application is exited. Only NetBackup-Java applications use the .java/.userPrefs/vrts directory. If the user name is not valid as determined by the contents of the auth.conf file, an error message appears. All applications are inaccessible to the user:
No authorization entry exists in the auth.conf file for username name_specified_in_login_dialog. None of the NB-Java applications are available to you.
The defaults allow anyone with any valid user name to use the Backup, Archive, and Restore client application (jbpSA).Only root users can access the administrator applications and the administrator capabilities in jbpSA. Specify entries for valid user names.
Note: The validated user name is the account the user can back up, archive or restore files from or to. The Backup, Archive, and Restore application (jbpSA) relies on system file permissions when to browse directories and files to back up or restore.
659
For example, to give a user (user1) access only to the Device Monitor and Activity Monitor, add the following entry to the auth.conf file:
user1 ADMIN=DM+AM
In order for a nonroot user to modify the files that the NetBackup-Java Administration Console uses, run the nonroot_admin_nbjava script. The script changes permissions on the following files:
/usr/openv/java/auth.conf /usr/openv/java/Debug.properties /usr/openv/java/nbj.conf
Redirected restores. For more information, see Managing client restores on page 672. User backups or archives require a policy schedule of these types and the task to be submitted within the time window of the schedule.
To authorize users for a subset of Backup, Archive, and Restore capabilities, use the following identifiers for the JBP keyword in the auth.conf file:
ENDUSER - Allows users to perform restore tasks from true image, archive, or regular backups plus redirected restores. BU - Allows users to perform backup tasks. ARC - Allows users to perform archive tasks. The capability to perform backups (BU) is required to allow archive tasks. RAWPART - Allows users to perform raw partition restores. ALL - Allows users to perform all actions, including server-directed restores. (Restores to a client that is different from the client that is logged into.) Server-directed restores can only be performed from a NetBackup master server.
For example, to allow a user (user1) to restore but not backup up or archive files:
user1 ADMIN=JBP JBP=ENDUSER
BPJAVA_PORT, VNETD_PORT
The following ports are the configured ports for the bpjava-msvc and vnetd daemon processes. These ports are registered with the Internet Assigned Numbers Authority (IANA). Table 12-3 Port
bpjava-msvc vnetd
Symantec recommends that these ports are not changed. If changes are necessary, make the change on all NetBackup hosts in the relevant NetBackup cluster as described in the NetBackup Installation Guide. The value must be set in the corresponding nbj.conf (UNIX) or setconf.bat (Windows) configuration option.
FIREWALL_IN
The FIREWALL_IN configuration option provides a method to use a Java Administration Console that is outside of a trusted network to administer the NetBackup master servers that are within a trusted network. This option uses the following format. On UNIX:
FIREWALL_IN= HOST1:PORT1=HOST2:PORT2[;...;HOSTn:PORTn=HOSTm:PORTm]
On Windows:
SET FIREWALL_IN= HOST1:PORT1=HOST2:PORT2;IP_ADDR1:PORT3=IP_ADDR2:PORT4 SET FIREWALL_IN >> "%NBJDIR%"\nbjconf
661
Where HOST is a host name or an IP address. This configuration option provides a way to allow administrators to bypass the firewall using one of the following methods:
Enter the port number of the bpjava service in the trusted internal network. Then, map the private interface where the bpjava service runs to a public interface that can be reached from outside the firewall. Set up a secure shell (SSH) tunnel from the local host to the system inside the firewall.
Example
In the following example:
Master server NBUMaster.symc.com is in a trusted network, behind a firewall. The IP address of NBUMaster.symc.com is 10.221.12.55. The NetBackup Java Administration Console is installed on localhost. SSH tunnels exist from localhost to NBUMaster.symc.com as follows:
bpjava-msvc port (default 13722) localhost:port1 vnetd port (default 13724) pbx port (default 1556) localhost:port2 localhost:12345
Make relevant changes for connections to bpjava-msvc and vnetd as described in BPJAVA_PORT, VNETD_PORT on page 660. On UNIX systems, add the following line to the nbj.conf file:
FIREWALL_IN=NBUMaster.symc.com:1556=localhost:12345;10.221.12.55:12345=localhost:12345
The connection to NBUMaster.symc.com:1556 is to be redirected to localhost:12345. The connection to 10.221.12.55:1556 is to be redirected to localhost:12345.
Note: The same options are used if NBUMaster.symc.com has a public interface (NBUMasterpub.symc.com) that can be reached from the Internet. In this case, the administrator would replace localhost with NBUMasterPub.synm.com.
FORCE_IPADDR_LOOKUP
The FORCE_IPADDR_LOOKUP configuration option specifies whether NetBackup performs an IP address lookup to determine if two host name strings are indeed the same host. This option uses the following format:
FORCE_IPADDR_LOOKUP = [ 0 | 1 ]
Where: 0 = Indicates that no IP address lookup is performed to determine if two host name strings are indeed the same host. They are considered to be the same host if the host name strings compare equally. Or, if a short name compares equally to the short name of a partially or fully qualified host name. 1 = Indicates that an IP address lookup is performed if the two host name strings do not match. The lookup determines if they have the same host. The default is to perform an IP address lookup if necessary to resolve the comparison. The IP address lookup is not performed if the host name strings compare equally. Note: Use a value of 1 for this option if you have the same host name in two different domains. For example, eagle.abc.xyz and eagle.def.xyz or using host name aliases. Many places in the NetBackup Administration Console compare host names to determine if the two are indeed the same host. For example, when using the File > Change Server command. The IP address lookup can consume time and result in slower response time. However, accurate comparisons are important. No IP address lookup is necessary if the host name is specified consistently in the NetBackup Administration Console login dialog box. It must match how the host names are configured in NetBackup. Host names are identified in the server list that is found in the Servers host properties. On UNIX systems, the host names also appear in the bp.conf file. Using host names eagle and hawk, the following describes how this option works:
FORCE_IPADDR_LOOKUP = 0 Comparisons of the following result in no IP address lookup. The hosts are considered to be the same host: eagle and eagle
663
eagle.abc.def and eagle.abc.def eagle.abc and eagle.abc.def eagle and eagle.abc.def eagle and eagle.anything The hosts are considered to be different for any comparisons of short, partially, or fully qualified host names of eagle and hawk regardless of aliases.
FORCE_IPADDR_LOOKUP = 1 Comparisons of the following result in no IP address lookup. The hosts are considered to be the same host: eagle and eagle eagle.abc and eagle.abc eagle.abc.def and eagle.abc.def In addition to all comparisons of eagle and hawk, the following result in an IP address lookup. The comparison determines if the hosts are indeed the same host. eagle.abc and eagle.abc.def eagle and eagle.abc.def eagle and eagle.anything
INITIAL_MEMORY, MAX_MEMORY
Both INITIAL_MEMORY and MAX_MEMORY allow configuration of memory usage for the Java Virtual Machine (JVM). Symantec recommends that the NetBackup-Java Administration Console, the NetBackup-Java Windows Display Console, or the NetBackup, Archive, and Restore user interface be run on a system that contains at least 1 gigabyte of physical memory. Make sure that 256 megabytes of memory is available to the application. INITIAL_MEMORY specifies how much memory is allocated for the heap when the JVM starts. The value probably does not require changing. The default is sufficient for quickest initialization of jnbSA, the NetBackup-Java Windows Display Console, or jbpSA on a system with the recommended amount of memory. On UNIX systems, the initial memory allocation can also be specified as part of the jnbSA or jbpSA command. For example:
jnbSA -ms 36M
Default = 36M (megabytes). MAX_MEMORY specifies the maximum heap size that the JVM uses for dynamically allocated objects and arrays. If the amount of data is large, consider
specifying the maximum heap size. For example, a large number of jobs in the Activity Monitor. On UNIX systems, the maximum memory allocation can also be specified as part of the jnbSA or jbpSA command. For example:
jnbSA -mx 512M
MEM_USE_WARNING
The MEM_USE_WARNING configuration option specifies the percent of memory used compared to MAX_MEMORY, at which time a warning dialog is displayed to the user. Default = 80%. This option uses the following format:
MEM_USE_WARNING=80
NBJAVA_CLIENT_PORT_WINDOW
The NBJAVA_CLIENT_PORT_WINDOW configuration option specifies the range of non-reserved ports on this computer to use for connecting to the NetBackup-Java application server. Or, to connect to the bpjobd daemon from the NetBackup-Java Administration Consoles Activity Monitor. This option uses the following format:
NBJAVA_CLIENT_PORT_WINDOW = n m
Where:
n indicates the first in a range of non-reserved ports that are used for connecting to the bpjava processes on the NetBackup-Java application server. Or, for connecting to the bpjobd daemon or Windows service from theActivity Monitor of the NetBackup-Java Administration Console. If n is set to 0, the operating system determines the non-reserved port to use (default). m indicates the last in a range of non-reserved ports that are used for connecting to the NetBackup-Java Administration Console/NetBackup-Java Windows Display Console. If n and m are set to 0, the operating system determines the non-reserved port to use (default).
The minimum acceptable range for each user is 120. Each additional concurrent user requires an additional 120. For example, the entry for three concurrent users might look as follows:
NBJAVA_CLIENT_PORT_WINDOW = 5000 5360
If the range is not set wide enough, jnbSA exits with an error message that states an invalid value has occurred during initialization.
665
NBJAVA_CONNECT_OPTION
The NBJAVA_CONNECT_OPTION configuration option specifies how the NetBackup-Java application server is connected to. It may be done using the vnetd daemon (VNETD_PORT) or directly using the application servers port (BPJAVA_PORT). The option also specifies the callback method that the server or the client uses when it communicates with the NetBackup-Java consoles (jnbSA, jbpSA). The default for NBJAVA_CONNECT_OPTION requires only that the vnetd port be accessible through any firewall.
NBJAVA_CONNECT_OPTION = [ 0 | 1 ]
Where: 0 = Indicates a direct connection to the application server and the traditional callback method. 1 = Indicates a connection to the application server using vnetd and the no callback method (default).
NBJAVA_CORBA_DEFAULT_TIMEOUT
The NBJAVA_CORBA_DEFAULT_TIMEOUT configuration entry specifies the default timeout that is used for most CORBA operations that are performed by the Java Administration Console. This option is present by default and uses the following format:
NBJAVA_CORBA_DEFAULT_TIMEOUT=60
NBJAVA_CORBA_LONG_TIMEOUT
The NBJAVA_CORBA_LONG_TIMEOUT configuration entry specifies the timeout value that is used by the following areas in the Java Administration Console:
Device configuration wizard Disk Pool configuration wizard Disk Pool Inventory
NBJAVA_CORBA_LONG_TIMEOUT=1800
This option is present by default and uses the following format: The default is 1800 seconds.
USE_NBJAUTH_WITH_ENHAUTH
NetBackup encourages the use of Symantec Product Authentication and Authorization for NetBackup Access Control (NBAC) instead of legacy security implementations. For information about the USE_NBJAUTH_WITH_ENHAUTH configuration option, see the NetBackup 6.0 documentation. For information on Symantec Product Authentication and Authorization, see the NetBackup Security and Encryption Guide.
INITIAL_BROWSE_SEARCH_LIMIT limits the start date of the search for restores and can improve performance when large numbers of backups are done. KEEP_LOGS_DAYS specifies how long job and progress log files are kept that the NetBackup-Java Backup, Archive, and Restore application (jbpSA) generates. The files are written into the following directories: /usr/openv/netbackup/logs/user_ops/_username_/jobs /usr/openv/netbackup/logs/user_ops/_username_/logs
667
A directory exists for each user that uses the NetBackup-Java applications. The default is three days. This option also controls how long the NetBackup-Java GUI log files are kept in /usr/openv/netbackup/logs/user_ops/nbjlogs.
NetBackup-Java Administration Console NetBackup-Java Windows Display Console NetBackup Backup, Archive, and Restore user interface
Regardless of the platform, you can run the Administration Console from the following locations:
Run it locally on a desktop host (on supported Windows and UNIX platforms), or Run it remotely and display it back to a desktop host (from supported UNIX platforms)
To provide the best performance, the recommended method for using these consoles is to run the consoles locally on a desktop host. When the consoles are run locally, they do not exhibit the font and the display issues that can be present in some remote display-back configurations.
The NetBackup Administration Console on one machine, and the consoles application server - bpjava processes on another machine.
The NetBackup Administration Console does not have to run on a NetBackup server host. However, the application server must run on this host in order for you to be able to administer NetBackup. For more information, see NetBackup-Java administration console architectural overview on page 652. Although the NetBackup-Java Administration Console does not run on all NetBackup-supported platforms, the application server for the console does run on all supported platforms. The distributed application architecture enables direct administration of all NetBackup platforms, even though the consoles themselves run only on a subset of the NetBackup-supported platforms. To log into the NetBackup-Java Administration Console, specify a host name. The host name is the machine where the application server (bpjava) runs. (For example, a NetBackup master server.) All requests or updates that are initiated in the console are sent to its application server that runs on this host.
669
Consider the network communication speed and the amount of data being transferred. Consider the amount of work being performed on the relevant machines. Run NetBackup-Java on a machine that has a low level of activity. For example, there can be large differences in response time when other memory-intensive applications are running on the machine. (For example, Web browsers.) Multiple instances of NetBackup-Java on the same machine have the same effect. Run NetBackup-Java on a 1 gigabyte machine that has at least 256 MB of RAM available to the application. In some instances, the application does not initiate due to insufficient memory. A number of messages identify these failures in the xterm window where the jnbSA command was run. Or, the messages appear in the application log file. Possible messages include the following:
Error occurred during initialization of VM Could not reserve enough space for object heap Out of Memory
For more information, refer to the bp.conf options INITIAL_MEMORY, MAX_MEMORY on page 663.
Consider the amount of physical memory on the relevant machines. Possibly add memory on the host being administered (the consoles application server host). Consider increasing the swap space to relevant machines:
The host being administered Increase the amount of swap space available to the system where you are running the applications can increase performance. Especially if there is a great deal of other activity on the machine. More swap space can alleviate hangs or other problems that relate to insufficient memory for the applications.
The console host (the host where the console is started) The host being administered
To save startup time, allow NetBackup-Java to run (iconified) rather than exit and restart. Startup of the Java virtual machine can take longer than other applications. Consider limiting the amount of NetBackup data that is retained for long periods of time to only that which is necessary. For example, do not retain successfully completed jobs for more than a few hours.
For more information, see Managing the jobs database on page 67.
Is the performance better when run locally or using remote display back?
Performance depends on the following:
the speed of the network the console and the application server machine resources the workloads on the console the application server hosts the amount of NetBackup data. (Data is the number of jobs in the Activity Monitor or number of NetBackup policies.)
The console may perform better if started on the consoles application server host, then displayed back to the desktop host. However, Symantec is not aware of a situation where that configuration produces better console performance. As previously mentioned, the configuration is not recommended due to problems unrelated to performance issues. Consider the following scenarios to determine what would provide the best performance for your configuration.
Scenario 1
Assume no deficiency in either the console hosts resources or the application server hosts resources. Assume that the amount of NetBackup configuration data being transferred to the console host far exceeds the X-Windows pixel display data. That is, the actual console screen being sent from the remote host. Unfortunately, the only way to determine the viability of this situation is to try it. Network capabilities and the proximity of the two hosts influences each NetBackup configuration.
Scenario 2
Assume that the available resources of the application server host far exceed that of the console host. Assume that the console host has a very limited CPU and memory as compared to the NetBackup master server being administered. (The console host is the machine on which the console is started.) If the console is run on the master server and displayed back to the desktop host, performance may be enhanced. If the desktop host is a Windows machine, X-terminal emulation or remote display tools such as Exceed and VNC are required.
671
These scenarios address the performance aspect of using the NetBackup-Java console. There may be other reasons that require you to display back remotely to your desktop, however, it is not recommended. Review the Release Notes for additional issues of relevance to the NetBackup-Java Administration Console and Backup, Archive, and Restore client console. Table 12-4 File
/usr/openv/java/auth.conf /usr/openv/netbackup/bp.conf /usr/openv/java/nbj.conf
/usr/openv/volmgr/vm.conf
$HOME/bp.conf
Server-directed restores on page 672 Client-redirected restores on page 673 Restoring files and access control lists on page 681 To improve search times by creating an image list on page 682 Set original atime for files during restores on page 682 Checkpoint restart for restore jobs on page 683 Restoring system state on page 684
Find related topics in Chapter 5, Reference Topics, in the NetBackup Administrators Guide, Volume II. Incorrectly specified host names are often a factor in file restore problems.
Server-directed restores
By default, NetBackup clients are configured to allow NetBackup administrators on a master server to direct restores to any client. To prevent server-directed restores, configure the client accordingly:
Windows clients: Open the Backup, Archive, and Restore interface on the client. Select File > NetBackup Client Properties > General tab > Clear the Allow server-directed restores checkbox. UNIX clients: Add DISALLOW_SERVER_FILE_WRITES to the following file on the client: /usr/openv/netbackup/bp.conf
Note: On UNIX systems, the redirected restores can incorrectly set UIDs or GIDs that are too long. The UIDs and GIDs of files that are restored from one platform to another may be represented with more bits on the source system than on the destination system. If the UID/GID name in question is not common to both systems, the original UID/GID could be invalid on the destination system. In this case, the UID/GID is replaced with the UID/GID of the user that performs the restore. When performing a redirected restore, no progress log is produced if the bp.conf file of the requesting server does not contain an entry for the server
673
that performs the restore. (A progress log is an entry in the Task Progress tab of the Backup, Archive, and Restore client interface.) Without the entry in the bp.conf file (or the server list), the restoring server has no access to write the log files to the requesting server. Consider the following solutions:
To produce a progress log, add the requesting server to the server list: log into the requesting server. In the NetBackup Administration Console, expand NetBackup Management > Host Properties > Master Servers > Double-click on master server > Servers. Add the restoring server to the server list. Log in to the restoring server. Check the Activity Monitor to determine the success of the restore operation.
Note: To restore a UNIX backup that contains soft and hard links, the Backup, Archive, and Restore client interface must be run from a UNIX machine. Only the Java version of the client interface contains the Rename hard links and Rename soft links restore options. Windows users can install the Windows display console to access the Java version of the Backup, Archive, and Restore interface from a Windows machine. (See Running the Java-based Windows Display Console on page 37.)
Client-redirected restores
The Backup, Archive, and Restore client interface contains options for allowing clients to restore the files that were backed up by other clients. The operation is called a redirected restore.
Open Backup, Archive, and Restore and select File > Specify NetBackup Machines and Policy Type. The client name that is selected as Source Client for Restores is the source of the backups to be restored.
On NetWare target clients: Specify the client name in the bp.ini file. UNIX clients:
Open Backup, Archive, and Restore and select the client name as the Source client for restore.
675
Note: The information within this section applies to restores made using the command line, not the Backup, Archive, and Restore client interface. Create an altnames directory in the following location, then place the empty file inside of the directory:
/usr/openv/netbackup/db/altnames/No.Restrictions
The NetBackup client name setting on the requesting client must match the name of the client for which the backup was created. The peer name of the requesting client does not need to match the NetBackup client name setting. Caution: The /usr/openv/netbackup/db/altnames directory can present a potential breach of security. Users that are permitted to restore files from other clients may also have local permission to create the files that are found in the backup.
Where peername is the client to possess restore privileges. In this case, the requesting client (peername) can access the files that are backed up by another client. The NetBackup client name setting on peername must match the name of the other client.
Create an altnames directory in the following location, then place the peername file inside of the directory:
/usr/openv/netbackup/db/altnames/peername
Where peername is the client to possess restore privileges. Add to the peername file the names of the client(s) whose files the requesting client wants to restore. The requesting client can restore the files that were backed up by another client if:
The names of the other clients appear in the peername file, and the NetBackup client name of the requesting client is changed to match the name of the client whose files the requesting client wants to restore.
client1 is the client that requests the restore. client2 is the client that created the backups that the requesting client wants to restore.
Note: The information within this section applies to restores made using the command line, not the Backup, Archive, and Restore client interface.
677
Note: You must be a root user for any of the steps that must be performed on the NetBackup server. You may also have to be a root user to make the changes on the client.
Edit /usr/openv/netbackup/db/altnames/client1 so it includes the name of client2. Or, Run the touch command on the following file: /usr/openv/netbackup/db/altnames/No.Restrictions
Caution: The No.Restrictions file allows any client to restore files from client2. 2 3 4 Log in on client1 and change the NetBackup client name to client2. Restore the file. Undo the changes that were made on the server and client.
Figure 12-6
client3
In this example, restore requests from client1, client2, and client3 are routed through the TCP gateway. Because the gateway uses its own peer name rather than the client host names for connection to the NetBackup server, NetBackup refuses the requests. Clients cannot restore even their own files. Perform the following stops to correct the situation: 1 Determine the peer name of the gateway: a Attempt a restore from the client in question. In this example, the request fails with an error message similar to the following: client is not validated to use the server Examine the NetBackup problems report and identify the peer name that is used on the request. Entries in the report may be similar to the following: 01/29/07 08:25:03 bpserver - request from invalid server or client client1.dvlp.null.com In this example, the peer name is client1.dvlp.null.com.
Edit the peername file so that it includes the client names. For example, if you leave the file
/usr/openv/netbackup/db/altnames/client1.dvlp.null.com
empty, client1, client2, and client3 can all access the backups that correspond to their NetBackup client name setting. For more information, see To allow a single client to perform redirected restores on page 675. If you add the names client2 and client3 to the file, you give these two clients access to NetBackup file restores, but exclude client1.
679
For more information, see To allow redirected restores of a clients files on page 675. Note that this example requires no changes on the clients. 4 Restore the files.
2 3
On the NetBackup server, stop the NetBackup request daemon, bprd, and restart it in verbose mode by running:
/usr/openv/netbackup/bin/admincmd/bprdreq -terminate /usr/openv/netbackup/bin/bprd -verbose
Restart bprd to ensure that bprd logs information regarding client requests. 4 5 On client1, attempt the file restore. On the NetBackup server, identify the peer name connection that client1 used. Examine the failure as logged in the All Log Entries report or examine the bard debug log:
/usr/openv/netbackup/logs/bprd/log.date
to identify the failing name combination. 6 Perform one of the following on the NetBackup server:
Enter the following commands mudir -p /usr/openv/netbackup/db/altnames touch /usr/openv/netbackup/db/altnames/No.Restrictions These commands allow any client access to client2 backups by changing its NetBackup client name setting to specify the client2. Run the touch command on the following file: /usr/openv/netbackup/db/altnames/peername The command allows client1 access to any client2 backups by changing its NetBackup client name setting to specify client2. Add client2 to the /usr/openv/netbackup/db/altnames/peername file. The
addition to the peername file allows client1 access to the backups that were created on client2 only. 7 8 9 On client1, change the NetBackup client name setting in the user interface to match what is specified on client2. Restore the files to client1. Perform the following:
Delete the VERBOSE entry from the /usr/openv/netbackup/bp.conf file on the master server. Delete /usr/openv/netbackup/logs/bprd and the contents. Delete /usr/openv/netbackup/db/altnames/peer.or.hostname (if existent) Delete /usr/openv/netbackup/db/altnames/No.Restrictions (if existent) On client1, restore the NetBackup client name setting to its original value.
681
Where the restore is cross-platform. (Examples: an AIX ACL restored to a Solaris client; a Windows ACL restored to an HP client.) When a tar other than the NetBackup modified tar is used to restore files.
In these instances, NetBackup stores the ACL information in a series of generated files in the root directory using the following naming form: .SeCuRiTy.nnnn These files can be deleted or can be read and the ACLs regenerated by hand. See Chapter 5, Reference Topics, in the NetBackup Administrators Guide, Volume II. This section lists other files that NetBackup generates due to cross-platform restores.
The policy that backed up the client is of policy type MS-Windows-NT. An administrator performs the restore and is logged into a NetBackup server (Windows or UNIX). The option is set at the server, using the client interface. The option is unavailable on stand-alone clients (clients that do not contain the NetBackup server software). The destination client and the source of the backup must both be systems running Windows 2000, Windows XP, or Windows Server 2003. The option is disabled on UNIX clients.
To restore files without restoring ACLs 1 Log in to the NetBackup server as administrator. Open the Backup, Archive, and Restore client interface.
2 3 4 5
From the client interface, initiate a restore. Select the files to be restored, then select Actions > Start Restore of Marked Files. The Restore Marked Files dialog box appears. Place a check in the Restore without access-control attributes check box. Make any other selections for the restore job and click Start Restore.
683
Master server host property Clean-up > Move Restore Job from Incomplete State to Done State For more information, see Clean-up properties on page 383. Master server host property Universal > Restore Retries For more information, see Universal Settings properties on page 477.
The restore restarts at the beginning of the last checkpointed file only, not within the file. Checkpoint Restart for restore jobs works only on the files that are backed up using Standard or MS-Windows-NT policy types.
Note: Although NetWare clients use the Standard policy type, Checkpoint Restart for restores is not supported on NetWare clients.
Third Party Copy and the Media Server Copy images that use Standard policy types are supported. However, they cannot be suspended or resumed if the backup image has changed blocks. Flashbackup is not supported.
The System State should be restored in its entirety. Do not restore selected files. Although incremental backups of the System State can be configured, NetBackup always performs a full backup. Therefore, only the most recent backup of the System State must be restored. For Windows 2000 systems, Service Pack 2 is required. Do not redirect a System State restore. System State is computer-specific and to restore it to an alternate computer can result in an unusable system. Do not cancel a System State restore operation. To cancel the operation may leave the system unusable. To restore the System State to a domain controller, the Active Directory must not be running. Refer to the following procedure for directions on how to restore the Active Directory.
685
To restore the system state 1 To restore the Active Directory, restart the system, then press F8 during the boot process. F8 brings up a startup options menu. Press F8 upon restart if the system to which you are to restore is a Windows domain controller. Otherwise, begin with step 4. From the startup options, select Directory Services Restore Mode and continue the boot process. Ensure that the NetBackup Client Service, inetd, has started. Use the Activity Monitor or the Services application in the Windows Control Panel. Start the Backup, Archive, and Restore client interface. Click Select for Restore, and place a checkmark next to System State.
2 3 4
5 6
From the Actions menu, choose Start Restore of Marked Files. From the Restore Marked Files dialog, select Restore everything to its original location and Overwrite the existing file.
Caution: Do not redirect the System State restore to a different host. System State is computer-specific. To restore it to a different computer can result in an unusable system. 7 8 Click Start Restore. Your network may contain more than one domain controller. To replicate Active Directory to other domain controllers, perform an authoritative restore of the Active Directory after the NetBackup restore job completes. To perform an authoritative restore of the Active Directory: run the Microsoft ntdsutil utility after you have restored the System State data
but before the server is restarted. An authoritative restore ensures that the data is replicated to all of the servers. For more information about an authoritative restore and the ntdsutil utility, refer to your Microsoft documentation. 9 Reboot your system before performing subsequent restore operations. If you have booted into Directory Services Restore Mode on a domain controller, reboot into normal mode when the restore is complete.
687
Goodies scripts
The /usr/openv/netbackup/bin/goodies directory contains sample shell scripts to modify. Use some scripts with the cron utility to create periodic mailings of the information that relates to NetBackup. To ensure that other can run the new scripts, run: chmod 755 script_name Where script_name is the name of the script. The scripts in the goodies directory are not supported but are intended as examples to customize.
Supported configurations
The next two figures show configurations where NetBackup supports alternate server restores. All methods require that the server that is used for the restore
be in the same cluster as the server that performed the original backup. The server must also share the same Enterprise Media Manager database. Figure 12-7 NetBackup servers that share robotic peripherals
Robot NetBackup Image Catalog Enterprise Media Manager database Master Server Control Drive 2 Drive 1 Media Server 1 Drive 3
Media Server 2
A single, shared Enterprise Media Manager database exists on the NetBackup master server. The NetBackup master server is available at time of restore. Robotic control is on a NetBackup server that is available at the time of the restore.
689
Figure 12-8
Robot 1
Drive 1
Drive 1
Drive 2
Media server 1
NetBackup image catalog Stand-alone drive Enterprise Media Manager database Master server Drive 1
The media is made physically accessible through an available NetBackup server. The Enterprise Media Manager database is updated to reflect this move. A single, shared Enterprise Media Manager database exists on the NetBackup master server. The NetBackup master server is available at time of restore Robotic control (if applicable) is on a NetBackup server that is available at the time of the restore.
Method 1: Modifying the NetBackup catalogs on page 690 Method 2: Overriding the original server on page 691 Method 3: Automatic failover to alternate server on page 692
Media is moved to an off-site location, where a media server exists. A robot has been moved from one server to another. Two (or more) servers share a robot, each with connected drives. One of the servers is to be disconnected or replaced. Two (or more) servers each have their own robots. One of the servers robots has run out of media capacity for future backups, while plenty of empty slots exist on another servers robot.
The actual steps that are used vary depending on whether the original server is still available. To modify catalogs when the server that wrote the media is available 1 If necessary, physically move the media. Then, update the Enterprise Media Manager database by using move volume options in the Media Manager administration utilities. Update the NetBackup image catalog on the master server. Update the NetBackup media catalogs on both the original NetBackup server (oldserver) and the destination NetBackup server (newserver). Use the following command, which can be run from any one of the NetBackup servers. The admincmd command must be entered on one line.
As root on a UNIX NetBackup server: cd /usr/openv/netbackup/bin/admincmd bpmedia -movedb -m media_id -newserver hostname -oldserver hostname As administrator on a Windows NetBackup server: cd install_path\NetBackup\bin\admincmd bpmedia.exe -movedb -m media_id -newserver hostname -oldserver hostname
To modify catalogs when the server that wrote the media is not available 1 If necessary, physically move the media. Then, update the Enterprise Media Manager database by using the move volume options in the Media and Device Management window. Update only the NetBackup image catalog on the master server. Use the following commands from the NetBackup master server. The admincmd command must be entered on one line.
691
As root on a UNIX NetBackup server: cd /usr/openv/netbackup/bin/admincmd bpimage -id media_id -newserver hostname -oldserver hostname As administrator on a Windows NetBackup server: cd install_path\NetBackup\bin\admincmd bpimage.exe -id media_id -newserver hostname -oldserver hostname
Two (or more) servers share a robot, each with connected drives. A restore is requested while one of the servers is either temporarily unavailable or is busy doing backups. A server has been removed from the NetBackup configuration, and is no longer available.
To enable overriding of the original server for restores 1 In the NetBackup Administration console, open the General Server host properties dialog. For more information, see General Server properties on page 431. Add an entry in the Media Host Override list, that lists the original backup server and the restore server. Click OK.
To override the original server for restores manually To revert to the original configuration for future restores, delete the changes that were made in step 2. 1 2 If necessary, physically move the media and update the Enterprise Media Manager database Media Manager volume database to reflect the move. Modify the NetBackup configuration on the master server:
Using the NetBackup Administration Console: Open the General Server host properties dialog of the master server. Add an entry in the Media Host Override list, that lists the original backup server and the restore server. Click OK. By modifying the bp.conf file on a UNIX NetBackup server:
As root add the following entry to the /usr/openv/netbackup/bp.conf file: FORCE_RESTORE_MEDIA_SERVER = fromhost tohost The fromhost is the server that wrote the original backup and the tohost is the server to use for the restore. 3 Stop and restart the NetBackup Request daemon on the master server.
Note: The override applies to all storage units on the original server. This means that restores for any storage unit on fromhost go to tohost.
Two or more servers share a robot, each with connected drives. When a restore is requested, one of the servers is temporarily inaccessible. Two or more servers have stand-alone drives of the same type. When a restore is requested, one of the servers is temporarily inaccessible.
In these instances, inaccessible means that the connection between bprd on the master server and bptm on the original server (through bpcd) fails. Possible reasons for the failure are:
Original server is down. Original server is up but bpcd on that server does not respond. (For example, if the connection is refused or access is denied.) Original server is up and bpcd is fine, but bptm has problems. (For example, if bptm cannot find the required tape.)
Note: The failover uses only the failover hosts that are listed in the NetBackup configuration. (See the following procedure.) By default, the list is empty and NetBackup does not perform the automatic failover. To enable automatic failover to an alternate server 1 Modify the NetBackup configuration on the master server:
693
Open the Restore Failover host properties dialog of the master server. Add an entry in the Alternate Restore Failover Machines list, that lists the media server and failover restore server(s).
By modifying the bp.conf file on a UNIX NetBackup server: As root, add the following entry to the /usr/openv/netbackup/bp.conf file: FAILOVER_RESTORE_MEDIA_SERVERS = failed_host host1 host2 ... hostN where: failed_host is the server that is not operational. host1 ... hostN are the servers that provide failover capabilities. When automatic failover is necessary for a given server, NetBackup searches through the relevant FAILOVER_RESTORE_MEDIA_SERVERS list. NetBackup looks from left to right for the first server that is eligible to perform the restore.
Note: There can be multiple FAILOVER_RESTORE_MEDIA_SERVERS entries and each entry can have multiple servers. However, a NetBackup server can be a failed_host in only one entry. 2 Stop and restart the NetBackup Request daemon on the master server.
An alternate server restore operation can include media IDs that contain backup images that span media. It may be necessary to identify the media IDs that contain fragments of the spanned images. The group of related media is called a media spanning group. To identify the media in a specific media spanning group, run the following command as root on the NetBackup master server: cd /usr/openv/netbackup/bin/admincmd bpimmedia -spangroups -U -mediaid media_id To display all media in all spanning groups, omit -mediaid media_id from the command.
For user backups by nonroot users, NetBackup first caches the files, then backs up the files. For scheduled backups and user backups by a root user, NetBackup backs up only the migration information for the files. Because the data is already resident on secondary storage, NetBackup neither backs up the data nor caches it.
Caution: NetBackup does not set the Storage Migrator obsoletion date for a file. Make sure that the migrated copies are retained for at least as long as the backups. Restores are not possible unless the copies are retained. When NetBackup restores purged files, Storage Migrator considers the restored files to be purged, with a file slice value of zero. If files have been selected for migration and not yet copied to secondary storage, NetBackup backs them up. A bparchive back up and remove operation always caches a purge file.
695
For more information, see Set original atime for files during restores on page 682. Note: If you use another migration product, make sure that it provides adequate and full recoverability of the disk-resident data. Make sure that it has transparent access to the disk files at the application level.
DO_NOT_RESET_FILE_ACCESS_TIME USE_CTIME_FOR_INCREMENTALS
These entries cause the atime for files to be updated each time the files are backed up. The updated atime of the files appear as if the files are frequently used and stops Storage Migrator from selecting the files for migration.
Appendix
Installation overview on page 698 Post-installation tasks on page 707 Backup and recovery procedures on page 712 Database unloading tool on page 716 Moving the NetBackup database from one host to another on page 719
NetBackup installs Sybase ASA 9.0.1 during the master server installation as a private, non-shared server for the NetBackup database (NBDB). The NetBackup database, NBDB, contains the Enterprise Media Manager (EMM) data as well as other NetBackup data that NetBackup services use. The same installation of Sybase ASA is used for the optionally-licensed product, Bare Metal Restore (BMR) and its associated database (BMRDB). The BMR database is created during the BMR installation process.
Installation overview
By default, the NetBackup relational database (NBDB) is installed on the master server. The master server is also the default location for the Enterprise Media Manager (EMM) server. Since EMM is the primary user of NBDB, the NetBackup database always resides on the same machine as the Enterprise Media Manager. For performance reasons, the EMM server and the relational database can be moved to another server. The following steps are performed automatically during installation, but can be performed independently after installation. 1 As part of the NetBackup master server installation, the Sybase ASA 9.0.1 server is created. The server parameters are set in the server.conf file:
/usr/openv/var/global/server.conf
The contents of the server.conf file are described in server.conf on page 699. 2 The following entry sets the database location. It is added to the bp.conf file:
VxDBMS_NB_DATA = /usr/openv/db/data
NetBackup configuration entry on page 704. 3 The VxDBMS configuration file for NetBackup is created. This file requires the read and write permissions of root:
/usr/openv/db/data/vxdbms.conf
4 5 6
A minimum of four additional database files are created with contiguous space pre-allocated: The NetBackup system database file (mentioned in step 4):
/usr/openv/db/data/NBDB.db
The Sybase ASA accounts and schema are created for each of the NetBackup components that make use of the NetBackup database. (For example, EMM_MAIN.) The following command initializes the EMM data:
/usr/openv/volmgr/bin/tpext
server.conf
Caution: Symantec recommends that this file not be edited without assistance from Technical Support. NetBackup may not start if server.conf is edited. /usr/openv/var/global/server.conf is read when the ASA daemon is started. The ASA daemon gets all configuration information from this file:
-n NB_server_name -x tcpip(LocalOnly=YES;ServerPort=13785) DBA -gl DBA -ti 0 -c 25M -ch 500M -cl 25M -gn 10 /usr/openv/db//log/server.log -ud -gp 4096 -ct+ -gd DBA -gk -o
-n NB_server_name Where server_name indicates the name of the Sybase ASA server. Each Sybase server has a unique name. Use the same name that was used during installation. If a fully qualified name was used at that time, use a fully qualified name here. Caution: If this name is changed, the Enterprise Media Manager cannot connect to the database.
-x tcpip(LocalOnly=YES;ServerPort=13785) Indicates what kind of connections are allowed in addition to shared memory: local TCP/IP connections using port 13785. -gp 4096 Indicates the maximum page size (in bytes) for the database. This parameter is given during database creation. -ct+ Indicates that character set translation is used. UTF8 encoding is used. -gd DBA -gk DBA -gl DBA Indicates that the DBA user is the account used to start, stop, load, and unload data. -ti 0 Indicates the client idle time that is allowed before shutdown. By default, no idle time is allowed, which prevents the database from shutting down. -c 25M Indicates the initial memory that is reserved for caching database pages and other server information. (May be changed for performance reasons.) -ch 500M Indicates the maximum cache size, as a limit to automatic cache growth (May be changed for performance reasons.) -cl 25M Indicates the minimum cache size, as a limit to automatic cache resizing. (The size may be changed for performance reasons.) -gn 10 Indicates the number of requests the database server can handle at one time. This parameter limits the number of threads upon startup. (May be changed for performance reasons.) -o /usr/openv/db/log/server.log Indicates the location of server output messages. (The messages include start and stop events, checkpoints, error conditions, cache changing size.) This log is not managed, but growth is slow. -ud Indicates that the server should run as a daemon.
databases.conf
The /usr/openv/var/global/databases.conf configuration file contains the locations of the main database files and the database names for automatic startup when the ASA daemon is started. For example, if NBDB and BMRDB are
both located on the master server in the default locations, databases.conf contains:
"/usr/openv/db/data/NBDB.db" -n NBDB "/usr/openv/db/data/BMRDB.db" -n BMRDB
vxdbms_env.csh, vxdbms_env.sh
The scripts vxdbms_env.csh and vxdbms_env.sh set up the ASA environment:
/usr/openv/db/vxdbms_env.csh /usr/openv/db/vxdbms_env.sh
/bin
/usr/openv/db/bin contains all ASA commands and NetBackup-specific commands:
create_nbdb Used during installation and upgrades to create and upgrade the NetBackup database, NBDB. nbdb_admin Among other things, use nbdb_admin to change the DBA and NetBackup account passwords, or to start and stop individual databases. nbdb_backup Use to make an online or an offline backup of the ASA database files to a file system directory. nbdb_move Use to change the location of the ASA database files from the default location. nbdb_ping Displays the status of the ASA database. nbdb_restore Use to recover from an online or an offline backup in a file system directory that was created using nbdb_backup. nbdb_unload Use to create a dump of all or part of the NBDB database or the BMRDB database schema and data. nbdbms_start_server Use to start and stop the ASA daemon.
Note: Commands are described in NetBackup Command for UNIX and in the online help.
/charsets
/usr/openv/db/charsets contains ASA-specific information.
/data
/usr/openv/db/data is the default location of the database, NBDB:
NBDB.db Main NetBackup database file; considered a dbspace. EMM_DATA.db An additional dbspace that contains EMM data. EMM_INDEX.db Enhances the EMM database performance. NBDB.log The transaction log for the NetBackup database, necessary for recovery. NBDB.log is automatically truncated after a successful full or incremental online, hot or offline, cold catalog backup of the ASA database. vxdbms.conf Contains the configuration information specific to the Sybase ASA installation:
VXDBMS_NB_SERVER = NB_server_name VXDBMS_NB_PORT = 13785 VXDBMS_NB_DATABASE = NBDB VXDBMS_BMR_DATABASE = BMRDB VXDBMS_NB_DATA = /usr/openv/db/data VXDBMS_NB_INDEX = /usr/openv/db/data VXDBMS_NB_TLOG = /usr/openv/db/data VXDBMS_NB_PASSWORD = encrypted_password
The encrypted password that is used to log into both the DBA accounts for NBDB and BMRDB, and other data accounts is stored in vxdbms.conf. Note: The password is set to a default upon installation (nbusql). Symantec recommends that the password is changed after installation. (See To change the database password on page 707.)
If BMR is installed, the directory also contains: BMRDB.db, BMRDB.log (transaction log for BMR), BMR_DATA.db, BMR_INDEX.db
/lib
/usr/openv/db/lib contains all the ASA shared libraries. The directory also includes ODBC libraries, used to connect to NBDB and BMRDB.
/log
/usr/openv/db/log contains the ASA server log file server.log that contains only Sybase logs.
/res
/usr/openv/db/res contains ASA-specific information.
/scripts
/usr/openv/db/scripts contains the ASA SQL scripts that are used to create the database. The directory also contains NetBackup SQL scripts that are used to create the EMM and other schemas. Caution: Do not edit the scripts that are located in /usr/openv/db/scripts.
/staging
/usr/openv/db/staging is used as a temporary staging area during online, hot catalog backup and recovery.
/tix
/usr/openv/db/tix contains ASA-specific information.
Select NB_dbsrv in the Activity Monitor in the NetBackup Administration Console. From the command line:
/usr/openv/netbackup/bin/bp.kill_all | bp.start_all The ASA daemon is included in the stop command or the start command, which starts and stops all NetBackup daemons. /usr/openv/db/bin/nbdbms_start_server ndbms_start_server starts the ASA server if no option is specified. /usr/openv/db/bin/nbdbms_start_server -stop -f Stops the server; -f forces a shutdown with active connections. /usr/openv/db/bin/nbdbms_start_server -stat The -stat option tells whether the server is up or down: Adaptive Server Anywhere Server Ping Utility Version 9.0.1.1965 Ping server successful. /usr/openv/db/bin/nbdbms_start_server -h Use -h to display usage information about the nbdbms_start_server.
To start or stop individual databases The individual databases can be started or stopped, while leaving the ASA daemon to continue running:
nbdb_admin [-start | -stop] Starts or stops NBDB without shutting down the ASA server. To see whether the database is up, enter: nbdb_ping nbdb_admin [-start | -stop BMRDB] Starts or stops BMRDB without shutting down the ASA server. To see whether the BMRDB database is up, enter: nbdb_ping -dbn BMRDB
Clusters
Sybase ASA is supported in a clustered environment. Sybase ASA failover is included with the NetBackup server failover solution. The software is installed on all machines in the cluster, but the database files are created on a shared disk. To facilitate the shared files, database and configuration files are installed on a shared drive: Configuration files are stored in /usr/openv/var/global.
Post-installation tasks
All tasks are optional and performed at the command line:
Change the database password (description follows) Move NBDB and BMRDB database files (possibly to tune performance) (see Moving NBDB database files after installation on page 708) Add a mirrored transaction log (see To add a mirrored transaction log on page 709) Recreate NBDB (Creating the NBDB database on page 710)
5 6
5 6
Caution: If the NBDB.db database already exists, to run create_nbdb does not overwrite it. If you want to move the database, move it using the nbdb_move command. To create the NBDB database manually 1 2 3 4 5 Shut down all NetBackup daemons: /usr/openv/netbackup/bin/bp.kill_all Start the ASA daemon: /usr/openv/netbackup/bin/nbdbms_start_stop start Run the following command: /usr/openv/db/bin/create_nbdb Start up all NetBackup daemons: /usr/openv/netbackup/bin/bp.start_all The new NBDB database is empty and does not contain the EMM data that is loaded during a normal installation. Make sure that you have the most current support for new devices before the data is repopulated. New devices are added approximately every two months. Note: This procedure differs from releases before NetBackup 6.0. a b Obtain the external_types.txt mapping file from http://entsupport.symantec.com. Place external_types.txt in /usr/openv/var/global The new file replaces the current external_types.txt file.
Repopulate the EMM data by running the tpext utility. tpext updates the EMM database with new versions of device mappings and external attribute files. /usr/openv/volmgr/bin/tpext During regular installation, tpext is run automatically.
Caution: If the create_nbdb command is used to create a database manually, the tpext utility must also be run. tpext loads EMM data into the database.
Drop the existing NBDB database and recreate it in the default location: create_nbdb -drop The -drop option instructs NetBackup to drop the existing NBDB database. The location of the current NBDB data directory is retrieved automatically from the bp.conf file. Drop the existing NBDB database and do not recreate: create_nbdb -drop_only Drop the existing NBDB database and recreate it in the directories as specified: create_nbdb -drop -data data_directory -index index_directory -tlog log_directory [-mlog log_mirror_directory] If the NBDB database files were moved from the default location using nbdb_move, use this command to recreate them in the same location. Specify current_data_directory.
Caution: If the location of NBDB.db has changed from the default, BMRDB.db must also be recreated. The BMRDB.db files must reside in the same location as the NetBackup database files.
Online, hot catalog backup (recommended method) The online, hot catalog is considered an online, hot method because it can be performed while regular backup activity takes place. Benefits of the online, hot catalog method include:
This method runs per a policy and is virtually transparent to the customer. The policy can be set up using either the Catalog Backup wizard or the Policy wizard. Either wizard automatically includes all the necessary catalog files, to include the database files (NBDB and BMRDB), and any catalog configuration files (vxdbms.conf, server.conf, databases.conf.) This method allows the administrator to recover either the entire catalog or pieces of the catalog. (For example, the databases separately from the image catalog.)
This method offers the incremental backup. For Sybase ASA, the incremental backup means a backup of the transaction log only. Transaction logs are managed automatically, truncated after each successful backup. For more information, see Online, hot catalog backup method on page 283.
Offline, cold catalog backup This type of catalog backup is considered an offline, cold backup because it should not be run when regular backup activity takes place. For Sybase ASA, the databases (NBDB and BMRDB) are shut down during the catalog backup. For more information, see Offline, cold catalog backup method on page 296. The default for the NetBackup environments that upgrade to 6.5 is to remain with the offline, cold catalog backup method. A hot catalog backup would need to be configured.
A second child job begins the image catalog backup. Note: The backup of any 5.x media server displays as a separate job. Note: If BMR is installed and a remote EMM server is in use, the backup of the EMM server displays as a separate job.
Transaction logs are truncated after a successful full or incremental backup. If the transaction logs are manually changed or deleted, there could be a hole in the recovery. The child job for the relational database backup is normally run on the master server. The master server is the default location for NBDB and the required location for BMRDB. If NBDB has been moved to a media server, the child job runs on the media server. In this case, additional logging for the job appears in the admin log on the media server. If NBDB has been moved to a media server, and BMRDB is installed on the master server, two child jobs exist for the relational database backup
portion of the online, hot catalog backup. One on the media server for NBDB and one on the master server for BMRDB.
EMM_INDEX.db In the case of BMRDB, the following files are dynamically located:
BMR_INDEX db If these files have been moved (using nbdb_move) from the default location (/usr/openv/db/data), the locations are determined automatically. 2 3 4 The databases NBDB and BMRDB are shut down (if BMRDB exists). The Sybase ASA daemon continues to run. The relational database files as identified in step 1, as well as the image catalog files, are backed up. If the backup is successful, the transaction logs are truncated and the databases are restarted. If the backup was not successful, the databases are restarted without truncating the transaction logs.
If NBDB has been moved to a media server, the offline, cold catalog backup includes the database files on the media server. The back up shuts downand starts up the database remotely. Additional logs appear in the admin log on the media server.
to both online, hot or offline, cold catalog backups.) The transaction log, NBDB.log, is located by default in: /usr/openv/db/data/NBDB.log The transaction log continues to grow until it becomes truncated. The online, hot or offline, cold catalog backups must run frequently enough so that the transaction log doesnt grow to fill the file system. In addition to the default transaction log, a mirrored transaction log can be created for additional protection of NBDB using: /usr/openv/db/bin/nbdb_move -mlog mirrored_log_directory The log is called: mirrored_log_directory/NBDB.m.log The directory for the mirrored log should not be the same as the directory for the default transaction log. Ideally, the mirrored log should be located on a file system on a different physical disk drive. If BMR is installed, a transaction log for BMRDB is also created by default in: /usr/openv/db/data/BMRDB.log with an optional mirrored log in: mirrored_log_directory/BMRDB.m.log The BMRDB transaction logs are backed up and truncated during the catalog backup along with the NBDB transaction logs. Caution: If a catalog backup is not run, the logs wont be truncated. Truncation must be managed in this manner as it is critical to recovery of the database.
Catalog recovery
The method that is used to recover the catalog in a disaster recovery situation depends on the method that is used to back up the catalog. Recovery scenarios include:
A full recovery form a complete disaster: Using the Disaster Recovery wizard, the databases are restored along with the image catalog to a consistent state. A recovery of the database files only: Using bprecover, the relational database files and configuration files can be restored and recovered from either an online, hot or offline, cold catalog backup.
Catalog recovery scenarios and procedures are discussed in the NetBackup Troubleshooting Guide.
Additional command lines for backup and recovery of the relational databases
The recommended method to protect the relational databases is to use the catalog backup and recovery interfaces. In addition, a temporary backup of the NBDB database and the BMRDB database can be made to a directory. Use the backup for extra protection before database administration activities such as to move or to reorganize the database files.
nbdb_backup
Use nbdb_backup to make either an online or an offline copy of the NBDB database files and the BMRDB database files in a directory. The transaction log wont be truncated using nbdb_backup. Transaction logs are managed only by using the catalog backup. /usr/openv/db/bin/nbdb_backup [-dbn database_name][-online | -offline] destination_directory -dbn database_name only backs up the specified database (NBDB or BMRDB). -offline shuts down the database and access to the database. Connections to the database are refused at this time. The ASA daemon does not shut down. Caution: The transaction logs are not truncated using nbdb_backup. A catalog backup must be run to truncate the logs.
nbdb_restore
Use nbdb_restore to recover from a database backup that was made using nbdb_backup. /usr/openv/db/bin/nbdb_restore -recover source_directory These commands are logged in the admin directory.
For more information, see the following section, Terminating database connections. A reload.sql script is generated when ndb_unload is run. The script contains all the code that is required to recreate the database. Symantec Technical Support uses this script and the associated files to assist in support cases. /usr/openv/db/bin/nbdb_unload [-dbn database_name] [-t table_list] [-s] destination_directory Where:
-dbn database_name database_name is NBDB (default) or BMRDB. -t table_list Must list the owner of the table, then the table name. For EMM, the account EMM_MAIN owns all tables. nbdb_unload -t EMM_MAIN.EMM_Device, EMM_MAIN.EMM_Density -s Schema only is dumped; no data.
11 Start up all NetBackup daemons: /usr/openv/netbackup/bin/bp.start_all Caution: Symantec does not recommend using reload.sql to make a copy of the relational databases in a production environment. Either nbdb_backup should be used to make a physical copy, or nbdb_move should be used to relocate the database files.
Create NBDB and associated files in the default location (/usr/openv/db/data) on B: /usr/openv/db/bin/create_nbdb Or, if NetBackup has not been installed on B: Install NetBackup on B, identifying B as the EMM server during installation. Set the database password on host B to match the password on A if the password has been changed from the default: /usr/openv/db/bn/nbdb_admin -dba password Shut down NetBackup on A, B, and on all master servers and media servers that use host A as the EMM server: /usr/openv/netbackup/bin/bp.kill_all Copy the following catalog files from their location on A to the final location on B:
Note: The final location on B does not need to be the same as the original location on A.
Note: Do not copy vxdbms.conf. NBDB.db EMM_DATA.db EMM_INDEX.db NBDB.log NBDB.m.log (optional) If the database files on A and B are in the default location and server A is also a UNIX server, go to step 11. (The default location is /usr/openv/db/data.) 6 Change databases.conf on A and B so that the databases dont start automatically when the server is started: /usr/openv/db/bin/nbdb_admin -auto_start NONE Start the Sybase ASA server on B: /usr/openv/netbackup/bin/nbdbms_start_stop start To update the catalog with the location of the database files on B: nbdb_move -data dataDirectoryB -index indexDirectoryB -tlog tlogDirectoryB [-mlog mlogDirectoryB] -config_only Stop the Sybase ASA server on B: /usr/openv/netbackup/bin/nbdbms_start_stop stop
7 8
10 On B: for any database files copied to non-default locations in step 5, go to the default directory on B and delete the appropriate database files. EMM_DATA.db EMM_INDEX.db NBDB.db NBDB.log NBDB.m.log (optional) 11 Change the EMMSERVER entry in the bp.conf file from A to B on all master servers and media servers that had used A as the EMM server. 12 On A, delete the database files and configuration files: EMM_DATA.db EMM_INDEX.db NBDB.db NBDB.log NBDB.m.log (optional) 13 On A:
dataDirectoryA/vxdbms.conf /usr/openv/var/global/databases.conf /usr/openv/var/global/server.conf Remove the VXDBMS_NB_DATA entry from the bp.conf file.
If BMRDB exists on A, execute the following command on A so that BMRDB starts automatically when the server is started: /usr/openv/db/bin/nbdb_admin -auto_start BMRDB
14 Start NetBackup on B: /usr/openv/netbackup/bin/bp.start_all 15 Start NetBackup on all master servers and media servers that use B as the EMM server: /usr/openv/netbackup/bin/bp.start_all 16 Perform a full catalog backup.
The directory name and the prefix of the file name depend on the cluster type.
Appendix
Directly-attached disks
The option is easy to deploy and use. NetBackup discovers the storage and uses familiar NetBackup storage units and backup policies to use the storage. Allows multiple file systems to be used in a single storage unit. Storage unit capacity can be increased by adding disks. Only add what you need, when you need it, then update the NetBackup disk pools. Logical units of storage span physical boundaries, so you do not have to create new NetBackup storage units or change the backup policies. Reduces level of administrator attention through automatic policies that distribute job load and intelligently manage capacity so that jobs do not fail because of out of space conditions.
Data mover: An entity that moves data between the primary storage (the NetBackup client) and the storage server. In AdvancedDisk, NetBackup media servers function as data movers. Storage server: An entity that writes data to and reads data from the disk storage. A storage server is the entity that has a mount on the file system on the storage. In AdvancedDisk, NetBackup media servers function as both storage servers and data movers. Disk volume: A logical unit of disk storage. Disk pool: A collection of disk volumes that are administered as an entity.
Licensing AdvancedDisk
No special installation is required for the NetBackup components of AdvancedDisk. However:
The NetBackup master server and all NetBackup media servers that use the feature must be at NetBackup 6.5 or later. You must activate the feature by entering the Flexible Disk Option license key on the NetBackup master server.
You may have one license key that activates NetBackup and all of your add-on products. Alternatively, you may have a separate license key for NetBackup and for each add-on product such as AdvancedDisk. If you remove the Flexible Disk Option license key or if it expires:
You cannot create the disk pools or the storage units that reference AdvancedDisk disk pools. NetBackup jobs that attempt to use the disk pools or the storage units that are based on disk pools fail. The error message indicates that the feature is not licensed. NetBackup does not delete the disk pools or the storage units that reference the disk pools. You can use them again if you enter a valid license key.
storage server the NetBackup media server host in which the disks are installed. The storage server owns exclusive access to the storage. Figure B-2 Combined storage server and data mover
NetBackup media server functions as both storage server and data mover
NetBackup clients
The command lists all storage servers already configured. By default, NetBackup configures all media servers as BasicDisk storage servers. Therefore, all media servers in your environment appear as BasicDisk servers, as in the following example:
/usr/openv/netbackup/bin/admincmd/nbdevquery -liststs V6.5 tree.symantecs.org BasicDisk 5 V6.5 flower.symantecs.org BasicDisk 5 V6.5 water.symantecs.org BasicDisk 5
If the media server does not appear in the command output as an AdvancedDisk storage server, configure the media server as a storage server. To configure an AdvancedDisk storage server in NetBackup
Run the following nbdevconfig command on the NetBackup master server or the media server:
/usr/openv/netbackup/bin/admincmd/nbdevconfig -creatests -storage_server storage_server -stype AdvancedDisk [-st storage_type] -media_server media_server
-storage_server storage_server is the name of the NetBackup media server that has a file system mount on the storage. -stype AdvancedDisk value specifies the storage server type. -st storage_type is a numeric value that specifies the server properties. For AdvancedDisk, the default is 5 (direct attached, formatted disk). Required only if you want to use a value other than the default.
The value is obtained by adding together the numeric values of the following properties. Whether the disk is formatted and how it is attached are mutually exclusive and complementary.
1 - formatted disk. The disk is formatted as part of the vendor-specific preparation; NetBackup does not format the disk. 2 - raw disk. The disk is not formatted; NetBackup formats the disk. 4 - direct attached. Direct attached means that the storage server and media server are the same NetBackup host. 8 - network attached. Network attached means the storage server is physically distinct from the NetBackup media server. It does not imply LAN data movement nor does it preclude Fibre Channel as the transport for data movement.
-media_server media_server is the name of the NetBackup media server that performs the operation. Use the same name as the storage server name.
vol1
Disk volumes
AdvDiskPool _Gold
vol2 vol3
AdvDiskPool _Silver
A disk pool is the storage destination of a NetBackup storage unit. NetBackup assumes exclusive ownership of the disk resources that comprise the disk pool. If you share those resources with other users, NetBackup cannot manage disk pool capacity or storage lifecycle policies correctly. When you create a disk pool, you specify:
The disk volumes to include in the pool. The disk pool properties. Properties include the name, the high water mark, the low water mark, and a comment that describes the disk pool. Symantec recommends that disk pool names be unique across your enterprise. For more information, see Disk pool properties on page 732.
When NetBackup sends backup data to a disk pool, NetBackup selects disk volumes based on available capacity and predicted size of the backup. NetBackup tries to write backup data to a single volume. If necessary, backup images span disk volumes in a disk pool. Backup images do not span across multiple disk pools. You must first configure the media server as a storage server. For procedures, see Creating an AdvancedDisk storage server on page 724. To create an AdvancedDisk disk pool 1 2 In the NetBackup Administration Console tree, select Media and Device Management. From the list of wizards in the Details pane, click Configure Disk Pool and follow the wizard instructions. For help, see the wizard help.
The following are the configuration options for a disk pool storage unit. Storage unit name Enter a unique storage unit name for the new storage unit. The name can describe the type of storage. The storage unit name is the name used to specify a storage unit for policies and schedules. The storage unit name cannot be changed after creation. Storage unit type Select Disk as the storage unit type. Disk type Select AdvancedDisk. Disk pool Select the disk pool that contains the storage for this storage unit. All disk pools of the specified Disk type appear in the Disk pool list. If no disk pools are configured, no disk pools appear in the list.
Media server The Media server setting specifies the NetBackup media server that moves data to and from the storage server. Only the NetBackup media server that is configured as the storage server can move data to and from the disk pool. NetBackup selects the media server to use when the policy runs. Maximum concurrent jobs The Maximum concurrent jobs setting specifies the maximum number of jobs that NetBackup can send to a disk storage unit at one time. (Default: 1 job. The job count can range from 0 to 256.) This setting corresponds to the Maximum concurrent write drives setting for a Media Manager storage unit. NetBackup queues jobs until the storage unit is available. If three backup jobs are ready to be sent to the storage unit and Maximum concurrent jobs is set to two, the first two jobs start and the third job waits. If a job contains multiple copies, each copy applies toward the Maximum concurrent jobs count. The number to enter depends on the available disk space and the server's ability to run multiple backup processes. You can use maximum concurrent jobs to balance the load between disk storage units. A higher number of concurrent jobs means that the disk can be busier than if the number is lower. Caution: A Maximum concurrent jobs setting of 0 disables the storage unit. For information about how NetBackup balances storage unit and media server load, see Maximum concurrent jobs in NetBackup Administrators Guide for UNIX and Linux, Volume I. Maximum fragment size Specify the largest fragment size that NetBackup can create to store backups. The default maximum fragment size for a disk storage unit is 524,287 megabytes. To specify a maximum fragment size other than the default, enter a value from 20 megabytes to 524,287 megabytes. Backups to disk are usually fragmented to ensure that the backup does not exceed the maximum size that the file system allows. If an error occurs in a backup, the entire backup is discarded. The backup restarts from the beginning, not from the fragment where the error occurred. (An exception is for backups for which checkpoint and restart is enabled. In that case, fragments before and including the last checkpoint are retained; the fragments after the last checkpoint are discarded.)
Usage recommendations
For usage recommendations, see the following:
Define a storage unit (such as STU-FT). Select the disk pool. Select Only use the following media servers. Select the FT media servers that connect to the SAN clients. Create a backup policy for the SAN clients and select the STU-FT storage unit. Define another storage unit (such as STU-LAN). Select the same disk pool. Select Only use the following media servers. Select the media servers with LAN connectivity to the regular clients. Create a backup policy for the regular clients and select the STU-LAN storage unit.
This scenario assumes that the SAN clients are a small subset of your client base. It also assumes that the media servers with LAN connectivity to the regular clients also have SAN connectivity to the storage. Example 2 Even without a SAN, you can separate your backup traffic similarly and still write all of the data to the same disk pool. For example, you can send the backups from your most important clients to a media server that is dedicated for the most important backups:
Define a storage unit (such as STU-CRITICAL). Select the disk pool. Select Only use the following media servers. Select one (or a subset) of the media servers. Create a backup policy for the critical clients and select the STU-CRITICAL storage unit. Define another storage unit (such as STU-NORMAL). Select the same disk pool. Select Only use the following media servers. Select a different subset of the media servers.
Create a backup policy for the regular clients and select the STU-NORMAL storage unit.
The disk pool name. The storage server name. The storage server is the same as the NetBackup media server to which the storage is attached. The disk volumes that comprise the disk pool. The total amount of space available in the disk pool. The total raw, unformatted size of the storage in the disk pool. A comment that is associated with the disk pool. The high water mark for the disk pool. (The default is 98%.)
The high water mark is a threshold that indicates the storage is full. It applies to both the individual disk volumes in the pool and the disk pool, as follows:
Individual volumes. When a disk volume reaches the high water mark, NetBackup writes the data to another disk volume in the pool. Disk pool. When all volumes are at the high water mark, the disk pool is full. When a disk pool approaches the high water mark, NetBackup reduces the number of jobs that are allowed to write to the pool. NetBackup does not assign new jobs to a storage unit in which the disk pool is full.
The low water mark for the disk pool. (The default is 80%.) When the capacity of the disk pool returns to the low water mark, NetBackup again assigns jobs to the storage unit. Capacity is regained as backup images expire. The low water mark setting cannot be greater than or equal to the high water mark setting.
If backup jobs are assigned to a disk pool, the state change fails. Cancel the backup jobs or wait until the jobs complete. 3 Merge the disk pools. The following is the command syntax. The primary disk pool is the one you want to retain; nbdevconfig deletes the secondary disk pool after the merge.
/usr/openv/netbackup/bin/admincmd/nbdevconfig mergedps -stype AdvancedDisk -primarydp disk_pool_name -secondarydp disk_pool_name
Change the state of the primary disk pool to UP. The following is the command syntax:
/usr/openv/netbackup/bin/admincmd/nbdevconfig/nbdevconfig -changestate -stype AdvancedDisk -dp disk_pool_name -state UP
To change the disk volume state 1 Determine the name of the disk volume. The following command lists all volumes in the specified disk pool:
/usr/openv/netbackup/bin/admincmd/nbdevquery -listdv -stype AdvancedDisk -dp disk_pool_name
Change the disk volume state; the following is the command syntax:
/usr/openv/netbackup/bin/admincmd/nbdevconfig -changestate -stype AdvancedDisk -dp disk_pool_name dv vol_name -state state
state is UP or DOWN. NetBackup jobs still read from and write to a disk pool that has a downed volume, but the downed volume is unavailable.
The volumes in the two disk pools must have unique names. If the secondary disk pool is referenced by storage units, you must delete those storage units.
To merge disk pools 1 Change the state of each disk pool to DOWN; the following is the command syntax:
/usr/openv/netbackup/bin/admincmd/nbdevconfig/nbdevconfig -changestate -stype AdvancedDisk -dp disk_pool_name -state DOWN
If backup jobs are assigned to a disk pool, the state change fails. Cancel the backup jobs or wait until the jobs complete. 2 Merge the disk pools. The following is the command syntax. The primary disk pool is the one you want to retain; nbdevconfig deletes the secondary disk pool after the merge.
/usr/openv/netbackup/bin/admincmd/nbdevconfig mergedps stype AdvancedDisk -primarydp disk_pool_name -secondarydp disk_pool_name
Change the state of the primary disk pool to UP. The following is the command syntax:
/usr/openv/netbackup/bin/admincmd/nbdevconfig -changestate -stype AdvancedDisk -dp disk_pool_name -state UP
Caution: Do not delete a disk pool that contains unexpired NetBackup images; if you do, data loss may occur. To delete a disk pool 1 2 3 4 In the NetBackup Administration Console tree, select Media and Device Management > Devices > Disk Pools. Select a disk pool Click Edit > Delete. In the Delete Disk Pool dialog box, verify that the disk pool is the one you want to delete and then click OK.
-l
-listdp
-listdv
Shows a summary of all disk volumes. To show the properties of a specific disk volume, also use the -dv disk_volume option.
-stype server_type
With -listdp, shows all disk pools of the specified storage type. With -listdv, shows all disk pools of the specified storage type and their disk volumes.
-U -D
Produces an output format that is more human-readable. Produces an output format that provides more information than the -U option but has less formatting.
The command lists all storage servers already configured. By default, NetBackup configures all media servers as BasicDisk storage servers. Therefore, all media servers in your environment appear as BasicDisk servers, as in the following example:
/usr/openv/netbackup/bin/admincmd/nbdevquery -liststs V6.5 tree.symantecs.org BasicDisk 5 V6.5 flower.symantecs.org BasicDisk 5 V6.5 water.symantecs.org BasicDisk 5
If the media server does not appear in the command output as an AdvancedDisk storage server, configure the media server as a storage server.
With -liststs, shows all storage servers of the specified storage type. With -storage_server, shows all storage servers that are at the specified host.
For usage information, see NetBackup Commands for UNIX and Linux.
The NetBackup Disk Pool status report. For more information, see Disk Reports on page 79. Media and Device Management > Devices > Disk Pools. The NetBackup License Keys dialog box. Open the dialog box by selecting Help > License Keys in the NetBackup Administration Console. Display the summary by clicking Summary of active capacity-based license features. The summary displays the storage capacity for which you are licensed and the capacity used. It does not display the amount of physical storage space.
The NetBackup Operations Manager also provides information about storage capacity and usage. For more information, see the NetBackup Operations Manager Guide.
Troubleshooting AdvancedDisk
The following may help you troubleshoot AdvancedDisk.
To resolve an incorrect storage type problem 1 2 3 4 5 Delete all disk pools that use the storage server. Delete the storage server. Reconfigure the storage server. Recreate the disk pools. If necessary, specify the new disk pools in the storage units. If you recreated the disk pools with the same names as the ones you deleted, this step is not necessary.
After a brief period of time, the volume state changes to UP. No further action is required.
Disk failure
If recovery mechanisms do not protect a disk that fails, the backup images on that disk are lost. Operating system read and write errors may occur for the volume that represents the disk. NetBackup cannot use that volume because of the errors, and NetBackup jobs may fail. To prevent NetBackup from trying to read from or write to the disk, you must change the volume state to DOWN in NetBackup. If the volume represents other disks that still function, those disks are not available because the volume state is DOWN. You may be able to read from the volume by mounting it manually, in which case you may be able to recover image fragments from any disks that did not fail. If you replace a failed disk, you can use the same mount point for the replacement disk. Change the volume state to UP, and NetBackup uses that volume again. Any valid backup images on that volume are available for restores.
Appendix
Required software, hardware, and licenses on page 742 Upgrade considerations on page 744 NearStore disk storage unit advantages on page 745 Restrictions in the current release on page 746 NearStore configuration on page 747 NearStore disk storage unit properties on page 750 Viewing the backup image on page 753 Disk consumption on page 753 Disaster recovery using volume SnapMirror on NearStore disk storage units on page 755 Troubleshooting on page 764
For general disk storage unit setup information, see Chapter 5 in this guide. See the Data ONTAP System Administrators Guide for more information about any NetApp commands referenced. Terms used in this document include: Data ONTAP: The NetApp storage operating system provides unified data management for both block and file serving environments. file system export mode: In the file system export mode, backups become user-mountable when exported as CIFS or NFS file systems. This mode is in effect when both the Enable file system export setting and the Enable block
sharing setting are enabled. NetApp also refers to this mode as context-aware SIS. The file system export mode adds functionality to the space optimized image mode by enabling a file system export of the backup image. Mount the backup image as a file system, drag-and-drop or copy files to restore location. image mode: This mode is in effect when neither Enable block sharing or Enable file system export are selected in the storage unit dialog box. In the image mode, the disk storage unit acts much like a BasicDisk storage unit in how data is stored. qtree (quota tree): A subdirectory in a NearStore volume that acts as a virtual subvolume with special attributes, primarily quotas and permissions. snapshot: A read-only, point-in-time copy of the entire file volume. A snapshot captures file modifications without duplicating file contents. SnapVault: Allows exports of snapshot copies to another NetApp system, providing an incremental block-level backup solution. space optimized image mode: The space optimized image mode is in effect when the Enable block sharing setting is enabled in the NearStore disk storage unit dialog. This mode makes use of single-instance store (SIS) without the additional requirement of managing snapshots. NetApp also refers to this mode as context independent SIS or advanced single instance store. To use this mode, the nearstore_asis1 license must be turned on for each volume. WAFL (Write Anywhere File Layout): The file system used in all NetApp storage servers. WAFL supports snapshot creation.
NetBackup Enterprise on the master server and media server, with the OpenStorage Disk Option license installed. NetBackup client software 5.0 or later. A NetApp NearStore server running Data ONTAP 7.2 or later, with the following software installed:
A SnapVaultTM secondary license (enabled) A NetApp nearstore_option license (required when a NetApp FAS device, such as a FAS3050, is used)
To configure the storage unit to use the space optimized image mode (Enable block sharing enabled) the nearstore_asis1 license must be turned on for each volume on the filer.
Upgrade considerations
To use the file system export mode or the space optimized image mode, both NetBackup 6.0 MP4 and ONTAP 7.2 (or later) are required. However, if the new functionality is not needed, the following version combinations are supported:
NetBackup 6.0 MP4 and ONTAP 7.1 NetBackup 6.0 and ONTAP 7.2
NearStore disk storage units and SnapVault storage units cannot share volumes NearStore and SnapVault storage units cannot share the same volume. To prepare a volume to support NearStore storage units:
Disable any incremental backups to the secondary qtrees that were originally scheduled for the volume. Release existing SnapVault relationships. Use the NetApp snapvault -stop command to stop all backups and delete the qtrees and configurations on a volume. Disable any existing WAFL snapshots on the volume. This includes the default WAFL snapshot schedule that is automatically configured when the volume is created.
Clean up configured qtrees Qtree entries in the SnapVault configuration database are not deleted when a volume is destroyed. Make sure to delete the qtree entry in the configured database. Manage NearStore SnapVault snapshot schedules Use the snapvault snap sched command to display the currently configured SnapVault snapshot schedule. The command allows you to view the basenames of all snapshot sets for all SnapVault volumes on the filer. Note: Volumes configured for NetBackup NearStore disk storage units do not support the snapvault snap sched command. Any attempt to run the snapvault snap sched command on a NetBackup NearStore volume will fail. Use the snapvault snap unsched command to turn off the SnapVault schedule for a set of snapshots and stop the snapshot process for the SnapVault secondary storage system.
Note: The snapvault snap unsched command does not end the SnapVault relationships between the secondary system qtrees and their platform source drives or directories. To do so, run the snapvault stop command for each qtree configured or existing on the volume to be used as a NearStore disk storage unit.
Perform initial full backups for client and policy pairs For every client and policy pair, a full backup must be performed to a NearStore disk storage unit before an incremental of any type can be performed.
Backup data reduction NearStore avoids duplicating disk blocks by comparing blocks in the most recent backup with the preceding backup image. Incremental backups do not consume disk space unless blocks in the new backup image differ from blocks in the active file system. As a result, multiple backups to the same volume store only uncommon blocks, and blocks that are common continue to share. Space savings are based on a per-client basis and only for files with identical names. Use the Data ONTAP snapvault status -b command to view data on the space savings. For example:
gabe*> snapvault status -b Snapvault secondary is ON. Volume actual used -------------image_size_vol 1471MB 1174MB
saved ----297MB
%saved -----20%
ratio ----1.25:1
Tar image retained for interoperability The NetBackup tar image is preserved in a WAFL qtree to support NetBackup administrative functions such as file restoration, duplication, disk staging, import from disk, and twinning to another storage unit. No NetBackup administrator necessary to perform user restores Backups to NearStore disk storage unit with the file system export option enabled do not require a NetBackup administrator to perform restore. File system export allows the NetApp storage system to present a normal CIFS or NFS file system to users to perform simple file restores.
A NearStore requires an Ethernet connection because data is transferred over a TCP/IP socket. Gigabit Ethernet (GbE) is preferred. A NearStore disk storage unit does not support the checkpoint restart feature. This restriction will be removed in future NetBackup releases. A NearStore disk storage unit does not support backups based on the following policy configurations: In space optimized In file system image mode export mode
Yes No No No
In Image mode
Yes No
Yes No
No No
Yes No
Yes
No
Yes
No
No
No
A NearStore disk storage unit with the file system export option enabled does not support user backups. NetBackup does not collect True Image Restore information for user backups, and the file system export mode requires that TIR information be collected. For more information, see Collect true image restore information on page 108. A NearStore disk storage unit with the file system export option enabled does not support hot catalog backups. Hot catalog backups rely, in part, on the user backup process that does not collect TIR information. NearStore disk storage units cannot be included in storage unit groups. NearStore disk storage units cannot operate in conjunction with the clustering functionality in ONTAP 7.2 or earlier. Clustering is turned on by default on some filers. To allow NearStore functionality, remove the clustering license and reboot the filer.
NearStore disk storage units offer partial support for basic disk staging: In space optimized image mode
No Yes
In image mode
Yes Yes
NearStore configuration
To make the SnapVault storage unit available for backups, add, enable, and configure SnapVault on the secondary filer. Run the following commands on the secondary filer: To configure SnapVault on the secondary filer 1 2 3 Add the secondary SnapVault license: license add sv_secondary_license Enable SnapVault: options snapvault.enable on Grant access to the primary filer and to the media servers authorized to access the NearStore system by entering the following command: options snapvault.access host=nbu_media_server1, nbu_media_server2...
NearStore authentication
A NearStore user name and password must be configured in NetBackup before the storage unit is created. NearStore authentication information is stored in the NetBackup Enterprise Media Manager (EMM) database. Note: A NetBackup NDMP license is not required to create a NearStore disk storage unit. However, to use the NetBackup Administration Console to enable NearStore credentials instead of tpconfig, NDMP must be enabled. To authenticate the NetBackup media server 1 2 In the NetBackup Administration Console, select Media and Device Management > Devices > NDMP Hosts. From the Actions menu, select New > New NDMP Host. The Media and Device Management dialog box appears.
3 4
In the dialog box, provide the name of the secondary host. Click OK. Specify the credentials on the NDMP host. Use global credentials or credentials specific to this host.
Credentials can also be configured using the tpconfig command. To create a root NearStore user name and password tpconfig -add -snap_vault_filer -nh hostname -user_id root_ID [-password root_password] Note: It is important to avoid using root as an NDMP password because root is not encrypted, and could compromise the integrity of your storage system. To create a non-root NearStore user name and password Administrators can create user accounts on the NearStore to perform backups and restores. The following procedure describes a method to send a users encrypted password over the network. 1 2 Log onto the Nearstore. To create a new user, enter the following command: useradmin user add userID -g groupID Enter a password when prompted. To receive the encrypted version of the password, enter: ndmpd password userID where userID is the name of the user just added. Record the password. Log out of the NearStore. Enter the following tpconfig command: tpconfig -add -user_id username -nh nearstore_name -snap_vault_filer -password encrypted_password The encrypted password is passed across the network.
4 5 6
To verify that the NearStore credentials have been entered into the NetBackup EMM database Once the tpconfig command is run, ensure that the media server is authenticated by running the following command: nbemmcmd -listhosts -list_snap_vault_filers -machinename media_server_name For example:
C:\Program Files\VERITAS\NetBackup\bin\admincmd> nbemmcmd -listhosts -list_snap_vault_filers -machinename entry NBEMMCMD, Version:6.0CA(20050628) The following hosts were found: ndmp mmnetapp.xxx.yyy.com Command completed successfully.
File system export mode If neither option is enabled, the storage unit uses image mode (which acts much like a BasicDisk storage unit)
Displays only those volumes that are available to the NearStore disk storage unit
On demand only
A NearStore disk storage unit can only be used on demand. On demand only cannot be deselected.
Disk type
Depending on what is licensed, there are a number of disk types available from which to choose. To configure a NearStore storage unit, select NearStore.
NearStore server
The NearStore server drop-down list contains all NearStore hosts configured and authenticated for the selected media server and available to NetBackup.
Properties button
Click the Properties button to display:
Volume capacity: The total capacity of the volumes on the NearStore unit. Available space: The storage currently available for use on the NearStore unit. % Full: The storage that is currently in use on the NearStore unit.
snapshots. This mode is especially useful for database backups, since an exported file system of a database backup is not useful in that case.
Image mode
To select Enable temporary staging area (used for basic disk staging), both Enable block sharing and Enable file system export must not be selected. In this way, the NearStore is storing the backup using the image mode. Using this mode, the clients tar stream is passed to the NearStore without additional information. Since the ONTAP kernel cannot read NetBackups tar format, only basic NetBackup operations can be performed, not SIS.
Disk consumption
Snapshot creation consumes a large amount of disk space. NetBackup prepares for this space requirement by reserving 20% of the disk space on the volume to be used exclusively for the snapshot, and not for the active file system. If the snapshots exceed the reserved amount, space is consumed as needed from the active file system. The active file system cannot, however, consume disk space reserved for snapshots.
Expiring images through NetBackup. This can be accomplished through the Catalog utility. Lowering the retention level for images so that images are expired sooner.
Using the NearStore disk storage unit for more than one purpose
The volume properties of the NearStore storage unit display a value for the storage available on the volume. A volume designated for NearStore storage should be used exclusively for NetBackup. (See NearStore disk storage units and SnapVault storage units cannot share volumes on page 744.)
755 Disaster recovery using volume SnapMirror on NearStore disk storage units
Two media servers back up to volumes on a NearStore disk storage unit (NearStoreA).
756 Disaster recovery using volume SnapMirror on NearStore disk storage units
Figure C-2
Mediaserver1
Mediaserver2
Vol 2
SnapMirror relationship
Vol 1
There are two basic disaster recovery scenarios for the voulmes on NearStore A:
The volumes on NearStoreA are unrecoverable. If the volumes on NearStoreA have been destroyed and cannot be recovered, the SnapMirror relationship must be manually broken, making the replicated volumes on NearStoreB read- and write-enabled. For each replicated volume on each media server, an entry is added in the NetBackup bp.conf file (UNIX) or registry (Windows) that instructs NetBackup to redirect restores, verifications, and deletions to the replicated copy. The bpstsinfo command provides a check to identify any images that were not replicated before the failure. After the failover, storage units must be altered so that future backups go to volumes on the failover NearStore. The volumes on NearStoreA are recoverable. If the volumes have not been destroyed but were temporarily unavailable, all data backed up to NearStoreB, while NearStoreA was unavailable, can be transferred back to NearStoreA. NetBackup can then be reconfigured to direct restores, verifications, deletions, and backups to NearStoreA again.
Initial configuration
As in any NetBackup environment, configure NearStore storage units, create NetBackup backup policies, and configure catalog backups.
757 Disaster recovery using volume SnapMirror on NearStore disk storage units
On NearStoreB, configure a SnapMirror relationship for each volume to be replicated from NearStoreA. Configure a SnapMirror schedule with a relatively small time period to minimize any data mismatches between the source and destination in the case of a disaster. See the NetApp Online Backup and Recovery Guide for information on how to configure SnapMirror relationships and schedules.
On each UNIX media server: Add a NEARSTORE_FAILOVER_SERVER entry to the /usr/openv/netbackup/bp.conf file. On each Windows media server: Use the bpgetconfig command to obtain a list of configuration entries, then use bpsetconfig to add the NEARSTORE_FAILOVER_SERVER entry to the registry. If added correctly, the entry should appear in the following registry location:
HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\ ConcurrentVersion\Config
Use the bpstsinfo -comparedbandstu command to compare the contents of the NetBackup catalog with the list of images reported from the NearStore. Because the SnapMirror replication is performed asynchronously, there is a small chance that images may not have been fully replicated before the NearStoreA went down. bpstsinfo -comparedbandstu creates a list of images that the catalog thinks are on NearStoreA and compares that list to the images that NearStoreB reports it contains. Any image is listed that is not present both in the catalog and on NearStoreB. Also listed is the image location, whether the image is in the catalog only or on media only. The list identifies any discrepancy to the administrator so the appropriate action can be taken.
758 Disaster recovery using volume SnapMirror on NearStore disk storage units
4 5
For future backups to be successful, all NetBackup NearStore disk storage units must have the name NearStoreA changed to NearStoreB. If the catalog had been backed up to NearStoreB and the disaster necessitates a catalog recovery, see the NetBackup Troubleshooting Guide for more information. Note: Catalog backups to NearStore disk storage units are restricted to those that do not have the File System Export option enabled.
Failover examples
The examples in the following sections are based on the environment in the Figure C-2 on page 756.
Example 1
NearStoreA is unavailable, and NearStoreB is configured as the new NearStore disk storage unit. Figure C-3 NearStoreB as the new disk storage unit
Mediaserver1
Mediaserver2
Vol 2
Vol 1
To enable NearStoreB, use the following steps: 1 Break the SnapMirror relationship between the volumes. Issue a snapmirror break command on the replicated volumes on NearStoreB.
NearStoreB> snapmirror break volume1 NearStoreB> snapmirror break volume2
Change the configuration for each volume that was being failed over.
759 Disaster recovery using volume SnapMirror on NearStore disk storage units
Add a NEARSTORE_FAILOVER_SERVER entry to the bp.conf file for each volume that was being failed over. The following entry is for mediaserver1:
NEARSTORE_FAILOVER_SERVER = NearStoreA:/vol/volume1 NearStoreB:/vol/volume1
On each Windows media server: Use the bpsetconfig to add the NEARSTORE_FAILOVER_SERVER entry to the registry (type Multi-String Value). If added correctly, the entry should appear in the following registry location:
HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\ ConcurrentVersion\Config
On each media server, run the bpstsinfo -comparedbandstu command. The command displays differences between the contents on the catalog, and contents on the disk storage unit. The following is the command for mediaserver1:
/usr/openv/netbackup/bin/admincmd/bpstsinfo -comparedbandstu -oldservervolume NearStoreA:/vol/volume1 -servername NearStoreB -serverprefix ntap: -lsuname /vol/volume1
No discrepancies If no discrepancies exist between the images in the catalog and the images on the NearStore volume, no images are listed in the output. The output contains only debug logging:
STS: STH_ESDEBUG: comparedbandstu: libsts openp() 06/09/12 10:48:37: opening module /usr/openv/lib/libstspibasicdiskMT.so STS: STH_ESDEBUG: comparedbandstu: libsts openp() 06/09/12 10:48:38: opening module /usr/openv/lib/libstspinearstoreMT.so Nearstore disk subtype
With discrepancies The output contains additional information if mismatches are found. A mismatch can exist if, for example, one image did not get replicated to NearStoreB before NearStoreA went down.
STS: STH_ESDEBUG: comparedbandstu: libsts openp() 06/09/12 10:39:37: opening module /usr/openv/lib/libstspibasicdiskMT.so
760 Disaster recovery using volume SnapMirror on NearStore disk storage units
Nearstore disk subtype ONLY IN CATALOG imagename:mediaserver1_1157990060 policy:powerpoint_backup copy_num:1 frag_num:0 is_header:TRUE resume_num:0 ONLY IN CATALOG imagename: mediaserver1_1157990060 policy: powerpoint_backup copy_num:1 frag_num:1 is_header:FALSE resume_num:0
Note: Two images are listed but they represent only one backup. There are separate files for the header and the actual backup data. If this backup had been enabled for True Image Restore, there would have been three images printed out. To tell if the images are part of the same backup, look at the imagename field. In the example, both listings have the same image name, which indicates that theyre part of the same backup. The entries for this image must be removed from the NetBackup catalog either by using the NetBackup Administration Console or by running bpexpdate. To remove the entry from the catalog using bpexpdate, enter:
/usr/openv/netbackup/bin/admincmd/bpexpdate -backupid mediaserver1_1157990060 -d 0
If the original volumes on NearStoreA are never expected to recover, manually delete the snapshot copies used by the SnapMirror transfer on volumes volume1 and volume2. (Do this if, for example, it is never expected that the volume will be SnapMirror resynced.) Issue snapmirror status l on the destination volume on NearStoreB: NearStoreB> snapmirror status l vsmtest1 The following is the output:
NearStoreB> snapmirror status -l volume1 Snapmirror is on. Source: Destination: Status: Progress: State: Lag: Mirror Timestamp: Base Snapshot: Current Transfer Type: Current Transfer Error: Contents: Last Transfer Type: Last Transfer Size: Last Transfer Duration: Last Transfer From: NearStoreA:volume1 NearStoreB:volume1 Idle Broken-off 00:05:28 Fri Sep 29 10:39:28 PDT 2006 NearStoreB(0101178726)_volume1.2 Replica Resync 72 KB 00:00:03 NearStoreA:volume1
761 Disaster recovery using volume SnapMirror on NearStore disk storage units
Repeat this procedure for volume2 as well. 5 6 Remove any SnapMirror schedules added in the snapmirror.conf file for these volumes. Reconfigure the disk storage units that were originally configured to the volumes on NearStoreA. Point the disk storage units to the disk storage units on NearStoreB using the following command:
/usr/openv/netbackup/bin/admincmd/bpsturep -label <storage unit label> -nh NearStoreB
Example 2
NearStoreA is taken down for maintenance and NearStoreB is configured as the new NearStore disk storage unit. The administrator performs the steps outlined in Example 1 on page 758, to enable NearStoreB as the new temporary disk storage unit. When NearStoreA is back online the administrator wants to use it again as the disk storage unit. All data backed up to NearStoreB while NearStoreA was unavailable must be transferred to NearStoreA before re-enabling NearStoreA as the disk storage unit. Follow these steps to transfer data from NearStoreB to NearStoreA and use it as the disk storage unit for NetBackup: 1 Resync the volume(s) from NearStoreB back to NearStoreA.
NearStoreA> snapmirror resync -S NearStoreB:volume1 volume1 NearStoreA> snapmirror resync -S NearStoreB:volume2 volume2
Issue snapmirror release commands for both volumes on NearStoreA, as NearStoreA is no longer the replica source.
NearStoreA> snapmirror release volume1 NearStoreB:volume1 NearStoreA> snapmirror release volume2 NearStoreB:volume2
Delete the base snapshots on NearStoreB. The snapshots that were originally used by SnapMirror while transferring data from NearStoreA to NearStoreB are no longer needed. To delete the snapshots, see step 4 on page 760. Confirm that the relationships are intact by issuing SnapMirror updates on NearStoreA:
NearStoreA> snapmirror update -S NearStoreB:volume1 volume1 NearStoreA> snapmirror update -S NearStoreB:volume2 volume2
762 Disaster recovery using volume SnapMirror on NearStore disk storage units
NearStoreB> snapmirror resync -S NearStoreA:volume1 volume1 NearStoreB> snapmirror resync -S NearStoreA:volume2 volume2
To resync the volumes may return a message similar to the following, and fail the resync operation:
The resync base snapshot will be: NearStoreA(0101179629)_volume1.4 These older snapshots have already been deleted from the source and will be deleted from the destination: NearStoreB(0101178726)_volume1.20699 NearStoreB(0101178726)_volume1.20698 Are you sure you want to resync the volume? y Wed Sep 27 12:30:24 PDT [snapmirror.dst.resync.success:notice]: SnapMirror resync of volume1 to NearStoreA:volume1 successful. Transfer started. Monitor progress with 'snapmirror status' or the snapmirror log. NearStoreB> Wed Sep 27 12:30:26 PDT [snapmirror.dst.snapDelErr:error]: Snapshot NearStoreB(0101178726)_volume1.20699 in destination volume volume1 is in use, cannot delete. Wed Sep 27 12:30:27 PDT [snapmirror.dst.err:error]: SnapMirror destination transfer from NearStoreA:volume1 to volume1 : snapmirror transfer failed to complete.
If such a case occurs, use the following steps to resolve this issue: a The SnapMirror resync operation replicated the volume, so break the replica by issuing a snapmirror break:
NearStoreB> snapmirror break volume1
Retry the resync operation attempted in step 3 on page 749. You may need to repeat these steps until no more snapshot copies are causing problems with the resync operation. Issue snapmirror release commands for both volumes on NearStoreB, as NearStoreB is no longer the replica source. Delete the base snapshots on NearStoreA. The snapshots were originally used by SnapMirror while transferring data from NearStoreB to NearStoreA and are no longer needed. Confirm that the relationships are intact by issuing SnapMirror updates on NearStoreB.
Change the configuration for each volume to redirect access of backups made to NearStoreB to NearStoreA.
763 Disaster recovery using volume SnapMirror on NearStore disk storage units
Change the bp.conf entry for each volume to redirect access of backups made to NearStoreB to NearStoreA. (Any entries entered in the bp.conf file while following Example 2 on page 761, to redirect from NearStoreA to NearStoreB should be removed.) The following entry is for mediaserver1:
NEARSTORE_FAILOVER_SERVER = NearStoreB:/vol/volume1 NearStoreA:/vol/volume1
On each Windows media server: Use the bpsetconfig command to add the NEARSTORE_FAILOVER_SERVER entry to the registry (type Multi-String Value). If added correctly, the entry should appear in the following registry location:
HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\ ConcurrentVersion\Config
Reconfigure the disk storage units that were originally configured to the volumes on NearStoreB. Point the disk storage units to the disk storage units on NearStoreA using the following command:
/usr/openv/netbackup/bin/admincmd/bpsturep -label <storage unit label> -nh NearStoreA
764 Troubleshooting
Troubleshooting
Logs can be found in the following locations:
By default (if not creating multiple copies): /usr/openv/netbackup/logs/bpdm If creating multiple copies: /usr/openv/netbackup/logs/bptm
All other logging is similar to a standard backup, producing, for example, progress logs. Logs contain more information about the interaction with NearStore. On the NearStore, the root volume contains a NetBackup-specific log file that details the protocol between NetBackup and the NearStore. ONTAP debug logs are found in the following location: /vol/vol0/etc/logs/nbu_snapvault
Make sure that the permissions on the disk storage unit are set so that data can be written to the volume. If permissions are Read Only, NetBackup cannot write to it. Make sure that the SnapVault license has been added and is turned on. Make sure the tpconfig command is used to add the NearStore user ID and password into the EMM global database. For more information, see To authenticate the NetBackup media server on page 747. If the maximum number of transfers allowed to a single NearStore is exceeded, the ONTAP kernel reports the following error: inf Wed Jul 6 07:28:27 CDT [10.80.106.36:58645] Maximum active transfers reached.
If jobs are failing to write to the NearStore, make sure that the space reserved for snapshots on the NearStore is not completely full. When the reserved space is full, NetBackup uses the active file system space as needed. In the case of a disk full condition on the NearStore, make sure that there are no WAFL snapshots consuming disk space unnecessarily.
765 Troubleshooting
Snapshots are used to ensure the integrity of the exported file system. A snapshot is made up of one or more images in a group. Before a snapshot can be reclaimed (or deleted), all the images it contains must be deleted. The snapshots must be deleted to keep the NearStore file system synchronized with the last NetBackup catalog image.
Use bpstsinfo -imagegrouplist to determine what image groups are contained within a snapshot. Use bpstsinfo -deleteimage to delete the images within the a snapshot.
A File System Export-enabled NearStore storage unit may generate a return code of 1 (partially successful) even if all the data was backed up successfully. This may occur if the last backup to that client and policy pair did not generate a return code of 0 due to incorrect True Image Restore information. In the Activity Monitor, the Job Details for the job note that additional files may have been exported on the NearStore that were not in the most recent client backup:
9/27/2006 5:20:34 PM - Error bpdm(pid=2328) The backup was successful but the exported filesystem on the storage host gabe may display files that are no longer present on the client filesystem. (STS_EEFSCHK) 9/27/2006 5:20:38 PM - Warning bpbrm(pid=2412) The filesystem exposed by the nearstore DSU may not be up to date. Check the Nearstore's nbu_snapvault log for details
766 Troubleshooting
Appendix
PureDisk 6.1 MP1 (or later) on one or more nodes. This version contains the NetBackup export engine (nbu service). See the Veritas NetBackup PureDisk Remote Office Edition Administrators Guide for complete information on PureDisk hardware and software requirements.
Run add_NBU_onNode.sh to add the new NetBackup export engine. See Configuring the PureDisk node in the PureDisk Administrators Guide. If NetBackup was in the topology file when install_newStoragePool.sh was run, it is not necessary to run add_NBU_onNode.sh. Enable the export engine by selecting Activate NetBackup export engine in the Topology tab. See Activating a new component or service in the PureDisk Administrators Guide.
768
NetBackup 6.5 or 6.0 MP5 server software. The NetBackup DataStore license to provide the DataStore policy type selection.
Requirements to restore
To restore data selections from NetBackup, the following software is required:
NetBackup 6.0 MP5 client software NetBackup 6.5 or 6.0 MP5 server software.
The policies can be created in any order. The export takes place when the PureDisk policy runs.
769
If no NetBackup policy name is entered, NetBackup tries to determine which policy to use. The PureDisk policy determines when the export runs. The NetBackup policy must be set up for the export to work.
Attributes tab
Select the DataStore policy type
Select DataStore as the policy type. (The DataStore policy type selection appears if the DataStore license key is installed.) The compression and multiple data streams attributes are not supported for export because they are not supported upon restore. To run multiple streams, multiple export agents are required.
Schedules tab
770
By default, a DataStore policy type uses an Application Backup schedule. The start window for an Application Backup type is open every day for 24 hours. Note: The default schedule can be adjusted or a new schedule can be created, but the start windows must coincide with the PureDisk Export policy start window.
Clients tab
In the Clients tab, add the name of the PureDisk export agent(s). (Multiple PureDisk export agents can indicate the same NetBackup DataStore policy. Add the export agents in the Clients tab as needed.) Do not include the name of the originating PureDisk clients.
Backup Selections tab No entries are required on the Backup Selections tab.
771
Although the NetBackup job runs as a DataStore policy type, the job is cataloged as a PureDisk-Export policy type under the name of the PureDisk agent.
Select the NetBackup server where the PureDisk backup data was exported to.
Select the PureDisk agent where the data was exported from. To restore the data, the agent must contain NetBackup client software.
4 5
Select a backup to restore from the NetBackup History. Restore the files to the selected client as you would restore from a user-directed backup.
Restore support
NetBackup can restore only what PureDisk supports as part of its backups. For example, PureDisk does not provide access control list (ACL) support beyond UNIX file or directory permissions, so NetBackup cannot restore ACLs. See the PureDisk documentation for complete details. Additional comments on restores:
While Windows and UNIX security information can be restored, one limitation exists regarding restores to an alternate client for UNIX files: NetBackup backs up both the user ID and user name, but PureDisk backs up only the user ID. In non-PureDisk export backups, during a restore to an alternate client, a user name can map to a different user ID. NetBackup performs a search for the user name and changes the user ID appropriately. For PureDisk export backups this ability is lost, since the user name is not available. Files that are restored could belong to a different user. Windows files can be restored to UNIX systems and UNIX files can be restored to Windows systems. However, security information is lost when restoring Windows file to UNIX.
772
Logging information
Standard debugging techniques apply to both PureDisk and NetBackup portion. The VxBSA debug log is written to the pdexport directory.
Index
Symbols
.ds files 226 .f files in catalog 278 .SeCuRiTy.nnnn files 681
A
Absolute pathname to directory/volume storage unit setting 228 to volume storage unit setting 751 Accept connections on non reserved ports property 480 Access Control authorizing users 651 host properties Authentication domain tab 368 Authorization service tab 371 Networks list 366 Symantec Product authentication and authorization 365 NetBackup 654 access control lists (ACLs) 177, 681 Activity Monitor bpdbjobs command 70 BPDBJOBS_OPTIONS environmental variable 69 canceling uncompleted jobs 52 deleting completed jobs 52 detailed job status 51, 61 disabling job logging 450 killing jobs 52 monitoring jobs 51 restarting a completed job 52 resuming suspended jobs 52 saving job data to a file 53 set column heads to view 51 suspending a job 52 using the Troubleshooter 53 Actual client property (Backup Exec Tape Reader) 376 Actual path property (Backup Exec Tape Reader) 376
Adaptive Server Anywhere (NB_dbsrv) 58 administering remote systems 645 administrator e-mail address property 78, 438 nonroot 658 AdvancedDisk disk storage units 223 AFS policy type 90 All log entries report 76, 383, 384 ALL_LOCAL_DRIVES directive 186 Allow backups to span tape media property 449 Allow client browse property 386 restore property 386 Allow media overwrite property 446 Allow multiple data streams directives 189 set policy attribute 112 when to use 113 Allow multiple retentions per media property 140, 449 Allow server file writes property 364, 480 Alternate restore failover machines host properties 460 Always property in Fibre Transport host properties 423 Announce DHCP interval property 455 ANSI format, allow overwrite 446 AOS/VS format, allow overwrite 446 API robots 527, 555, 566 application backups 121 archive bit 120, 202, 403, 405 assigned volumes 533 assigning tape requests 499 atime 682, 694 auth.conf file capabilities identifiers 659 description 656 entries for specific applications 658 overview 655 Authentication NetBackup Access Control 45 service 61
774
Authorization host properties DomainGroup 374 Group/Domain 374 Host 374 User 373 User must be an OS administrator 374 NetBackup Access Control 45 preferred group 479 Service 61 auto-discovery streaming mode 191 Automated Cartridge System drive information 614 automatic backups 121 cumulative incremental backups 121 differential incremental backups 121 full backups 121 Vault policy type 122 Volume Recognition service (avrd) 62 automounted directories 102 avrd (Automatic Volume Recognition process) 62
B
backlevel administration consoles 38 Backup end notify timeout property 476 Backup Exec QIC media 343 Backup Exec Tape Reader host properties Actual client 376 Actual path 376 GRFS advertised name 375 Backup migrated files property 396 Backup start notify timeout property 474 Backup status report 383, 384 backups activating policy 99 application 121 archive 120 automatic 121 cumulative incremental 120, 121 differential incremental 120, 121 full 121 Vault 122 Client backups report 76 clients using Storage Migrator 694 deactivating policy 99 duplicating 330
frequency effect on priority 130 guidelines for setting 129 setting 129 full 119 importing 336 network drives 100 NFS mounted files 87, 101 off-site storage 139 policy management window 82 raw partitions on Windows 96, 171 registry on Windows clients 172 selections list, verifying 167 Status of Backups report 76 types of 119 user directed schedules 151 type of backup 120 verifying 327 windows duration, examples 144 specifying 143 Bandwidth host properties Bandwidth 378 Bandwidth throttle setting for the range of IP addresses 378 Bandwith 378 Bandwith throttle settings list 378 From IP address 378 To IP address 378 barcodes 523, 562, 563 Bare Metal Restore (BMR) 56, 58, 108, 280, 405, 697 Bare Metal Restore daemon 62 basic disk staging and NearStore disk storage units 747 creating a storage unit 247 Final destination media owner 250 Final destination storage unit 250 Final destination volume pool 250 priority of duplication jobs 135 relocation schedule 119, 239, 249 schedule 249 storage units selection within a storage unit group 273 size recommendations 245 using checkpoint restart 96 Use alternate read server 135 Use alternate read server attribute 135, 251
775
BasicDisk storage units 223, 259 BE-MTF1 format, allow overwrite 447 Block level incremental backups 96 BMR database 280 BMRD (Bare Metal Restore process) 62 BMRD (NetBackup Bare Metal Restore Master Server) 58 BMRDB.db configuration entry 704 in catalog 280 relocating 699 bp.conf file configuring to use ctime 126 customizing jnbSA and jbpSA 666 entries for Activity Monitor 68 indicating database location 698 NetBackup-Java Administration Console configuration entries 660 obtaining list of entries 361 when master servers share EMM databse 467 BPARCHIVE_POLICY 152 BPARCHIVE_SCHED 152 bpbackup command 351 BPBACKUP_POLICY 152 BPBACKUP_SCHED 152 bpbackupdb command 351 BPBRM logging property 443 bpcatarc command 322 bpcatlist command 321 bpcatres command 322 bpcatrm command 322 BPCD connect-back property 425, 427 bpcd daemon 62 BPCD port setting on client 454 bpchangeprimary command 328 BPCOMPATD (NetBackup Compatibility Service) 59 bpcompatd process 62 bpconfig command 192 bpdbjobs adding entries to bp.conf file 68 command 70 debug log 70 BPDBJOBS_OPTIONS environmental variable 69 BPDBM NetBackup Database Manager, description 59 BPDBM logging property 443 bpdbm process 62 BPDM logging property 443 bpend 476
bpexpdate command 333, 534 bpfis directory for VSP logging messages 487 bpgetconfig command 361 BPINETD (NetBackup Client Service) 58 BPJAVA_PORT 660 bpjava-msvc service 63 bpjava-susvc service 63 bpjobd process 63 bpps script 634 BPRD logging property 443 NetBackup Request Manager, description 59 port setting on client 454 process 63 bpsetconfig command 361 bpstart 474 bpsynth log 210 BPTM logging property 443 Browse and restore ability property 388 buffer size 406 Busy action property 382 Busy file host properties Busy file action 382 File action file list 381 Operators email Address 381 Process busy files 381 Retry count 382 Working directory 381
C
cachefs file systems, excluding from backup 195 calendar scheduling how it interacts with daily windows 149 using 146 canceling uncompleted jobs 52 capacity-based licenses 635 catalog archiving bpcatarc command 322 bpcatlist command 321 bpcatres command 322 bpcatrm command 322 deactiving policy for 99 catalog backups archiving 318 bpcatarc 322 bpcatlist 321 bpcatres 322 bpcatrm 322
776
catarc policy 319 deactivate policy 319 extracting images 323 overview 318 retention level setting 320 type of backup indicated 320 compressing image catalog 355 configuration 296 disk path 310 file paths media server 315 Windows master 314 image files 278 last media used 307 manual backup 350 media ID 309 server 307 type 308 moving client images 354 multiple file layout 278 offline, cold method 56 online, hot method 283 parent and child jobs 56 schedules for 92, 232, 287, 294, 437 volume pool 93 overview 276 policy type 196 setting schedules 311 single file layout 278 space required 347 uncompressing 357 Catalogbackup volume pool 93 catarc schedule 83 CDE (Common Desktop Environment) 35 cdrom file system, excluding from backup 195 change journal 404 and synthetic backups 210 determining if enabling is useful 403 using in incremental backups 403 changing media description 518 robot configuration 620 volume expiration date 518 volume group name 520, 521 volume pool attributes 539 volume pool for a volume 519 volume properties 517 character device 608
Check the capacity of disk storage units property 226, 431 checkpoint restart and synthetic backups 210 Move job from incomplete state to done state property 385 Move Restore Job from Incomplete Sate to Done State 683 restore retries 683 resuming a restore job 683 suspending a restore job 683 cipher types for NetBackup encryption 410 cleaning drives 502 frequency 607 tape change cleanings allowed 519 set count 514 Clean-up host properties Catalog cleanup wait time 384 Image cleanup 384 Keep logs 383 Keep true image restoration information 384 Keep vault logs 383 Move backup job from incomplete state to done state 96, 385 Move job from incomplete state to done state 385 Client administrators e-mail property 481 Client attributes host properties Allow client browse 386 Allow client restore 386 Browse and restore ability 388 Clients list 387 Free browse 388 Maximum data streams 387 Client backups report 76 Client cipher property 410 Client connect timeout property 474 Client name property 395 Client port window property 457 Client read timeout property 397, 475 Client reserved port window property 457 Client sends mail setting 481 clients BPCD port 454
777
BPRD port 454 choosing policy type 88 database 387 deleting from policy 86 DHCP interval property 455 exclude and include lists 419 exclude file list 195, 414 installing 160, 162 list property 387 maximum jobs 436 moving image catalog 354 name 673 peername 673 secure 162 setting host names 159 trusting clients 160 clustering 362, 706 cold catalog backups (see catalog backups) Collect disaster recovery information for Bare Metal Restore 108 Collect true image restoration (TIR) with move detection property 202 collecting disaster recovery information 103, 108 column heads, selecting to view 51 Communications buffer size property 406 Compress catalog interval property 356, 438 compression, by software advantages 106 disadvantages 106 specifications 106 concurrent jobs on client 436 per policy 97 configuring drives and robots 595 media 508 storage devices 595 CONNECT_OPTIONS 427 Consistency check before backup host property 471 control path, robotic 601 copies, third-party 333 Copy on write snapshots 172 copy, primary 333 cpio format, allow overwrite 446 create media ID generation rules 555 critical policies, identifying 197 cross mount points effect with UNIX raw partitions 103 examples 104
interaction with Follow NFS policy attribute 104 policy attribute 179 separate policies for 104 setting 103 ctime 182 cumulative incremental backups 120, 123, 405
D
Daemon connection port property 426, 427 Daemon port only property (for selection of ports) 428 daemons check with vmps 635 checking processes 634 tlmd 65 tshd 65 vmscd 60 Daily windows setting 149 data deduplication 106, 108 movers 222, 224 streams 189 Data Classifications in storage lifecycle policies 253, 262, 263 selection in policy 90, 91, 137 database manager process (bpdbm) 62 database-extension clients, adding file paths for 185 databases, NetBackup (see catalog backups) DataStore policy type 89 volume pool 93 datetime stamp 125 DB2 policy type 89, 122 DBR format, allow overwrite 446 deassign volumes 533 Default cache device path for Snapshots property 400 Default mount point property 470 DEFAULT_CONNECT_OPTIONS 424 Delay on multiplexed restores property 431 deleting drive 621 storage unit groups 273 storage units 218, 219 volume group 544 volume pools 542 volumes 532
778
Density storage unit setting 229 denying requests 501 description, for new volume 515 detailed job status 51, 61 device character 608 configuration wizard 596, 605, 620 discovery 596 file permission 624 file, robotic 601 mapping file 594 no rewind 614 volume header 611 Device Configuration Wizard 217 device host for move volume 526 for new volume 513 Device Monitor 67 add drive comment 504 assigning requests 499 display pending requests 497 resubmit request 501 devpts file system, excluding from backup 195 DHCP setting on client 455 differential incremental backups 120, 405 Direct Access Recovery (DAR) 432 Directory can exist on the root file system or system disk setting 228 DISABLE_STANDALONE_DRIVE_EXTENSIONS 50 9 disaster recovery collect information for 103, 108 file, sending 197, 289, 317 information 438 sending e-mails 197, 289, 317 tab 196 disk consumption 753 logs report 79 pool status report 80 pools 222 spanning 92, 271, 450 staging storage units selection within a storage unit group 269 storage model 222 storage unit status report 79 storage units 240 Disk pool storage unit setting 229 Disk type storage unit setting 229, 728, 751
disk-image backups 96, 171 Do not compress files ending with property 401 DO_NOT_RESET_FILE_ACCESS_TIME 695 document-level restores 115, 432 down a device 501 drive access permission 624 add comment 504 adding 604 changing operating mode 495 character device 608 cleaning 502, 503, 607 configuration, changing 620 drive status 608 no rewind device 614 performing diagnostics 622 robot drive number 610 robot library, controlling drive 610 servicing requests 498 TLH information 614 TLM information 614 type 609 volume header device 611 duplicate backups becoming a primary copy 332 creating 330 restoring from 328 duration of backup window, examples 144
E
E-mail address for administrator of this client 481 disaster recovery 197 send from client 481 send from server 481 EMM database 281 empty media access port prior to update 550 Enable block sharing storage unit setting 229, 751 Enable document restore attribute 115 Enable encryption property 410 Enable file system export storage unit setting 752 Enable job logging property 450 Enable multiplexing storage unit setting 230 Enable Open file backup during backups property 455 Enable performance data collection property 481 Enable SCSI reserve property 447 Enable single instance backup for message attachments property 413
779
Enable standalone drive extensions property 450 Enable standard encryption property 410 Encryption host properties Client cipher 410 Enable encryption 410 Enable standard encryption 410 Encryption key file 411 Encryption libraries 411 Encryption permissions 409 Encryption strength 410 UselLegacy DES encryption 410 use with synthetic backups 208 Enterprise Disk Options 222 Enterprise Media Manager (EMM) 59, 220, 280, 281, 434, 466, 687, 688, 689, 690, 691, 697 erasing media 528 errors, media mount 67 escape character on UNIX 633 Exceptions to the exclude list host property 414 Exchange host properties Enable single instance backup for message attachments 413 Mailbox for message level backup and restore 413 exclude dates from schedule 145 files and directories from backup 414 exclude files list on client 419 overview 195 Windows example 419 Exclude list host properties Exceptions to the exclude list 414 Use case sensitive exclude list 414 Expire after duplication retention type for storage lifecycle policy 262 expired media 541 export host properties 361 license key 637 extended attribute files disabling the restore of 183 Solaris 9 177 external_types.txt 710
F
fail all copies, multiple copies 134 failover media server to alternate media server(s) 459 storage unit selection in group 267 Fibre Transport host properties Always 423 Maximum concurrent fibre transport connections 423 Never 423 Preferred 422 Use defaults from the master server configuration 423 File browse timeout property 475 File change log, using in VxFS 398 file lists disk image on Windows 171 extension clients 185 links on UNIX 178 NetWare clients nontarget 183 target 185 raw partitions 171, 178 standard clients 176 UNIX files not backed up 171, 176, 194 Windows clients 170 File system backup coverage report 167 file systems 103 files .SeCuRiTy.nnnn 681 /.rhosts 160 catalog space requirements 347 excluding from backup 414 for catalog backup 312 goodies scripts 687 linked, UNIX 177 NFS mounted 87, 101 No.restrictions 674 NOTES.INI 445 peername 675 redirected restores 676 restrictions on restores 673 filters, applying 51 Final destination media owner 250 storage unit 250 volume pool 250 Firewalls
780
host properties BPCD connect-back 427 Daemon connection port 426, 427 Default connect options 425 Hosts list 426 Ports 425, 427 using vnetd with 425, 427 first slot number add volumes 513 for move volumes 527 fixed retention type for storage lifecycle policy 260 FlashBackup 90, 177, 179 Flexible Disk Option 223, 224, 229, 253 Follow NFS 179 Follow NFS mounts notes on use with cross mount points 102 with raw partitions 102 Follow NFS setting 101, 102, 104 FORCE_IPADDR_LOOKUP 662 Free browse property 388 From IP address property 378 full backups 119, 121, 203
H
hard links NTFS volumes 173 UNIX directories 178 High water mark storage unit setting 230 HKEYS, backing up 173 host deactivate 625 device 32 properties changing in a clustered environment 362 exporting 361 permission to change 364 hot catalog backups (see catalog backups)
I
IBM device number 614 images changing primary copy 328 duplicating 330 expiring with bpexpdate 534 moving client catalog 354 on disk report 79 on media report 76 on tape report 77 restoring from duplicate 328 verifying 327 importing backups 336 include files list 195 list, on client 419 Incrementals based on archive bit property 405 timestamp property 405 inetd client process 62 Informix policy type 90 INI file, for Lotus Notes 445 Initial browse search limit property 478 INITIAL_BROWSE_SEARCH_LIMIT 666 INITIAL_MEMORY 663, 668 inject volume into robot multiple volumes 550 robot inventory 530 Inline copy option 131, 330, 333, 334 installing client software
G
General level logging property 402 General server host properties Check the capacity of disk storage units 226, 431 Delay on multiplexed restores 431 Document-level restore options 432 Media host override 433 Must use local drive 432 Use direct access recovery for NDMP restores 432 Global attributes host properties Administrators e-mail address 438 Compress catalog interval 438 Job retry delay 435 Maximum backup copies 437 Maximum jobs per client 151, 436 Policy update interval 436 Priority of restore jobs 436 Schedule backup attempts 435 global device database host conflict 596 Global logging level property 443
781
on PC clients 162 on secure clients 162 on trusting clients 160 Instant Recovery Advanced backup method 96 Backups to disk only setting 131 Intelligent Disaster Recovery (IDR) 103, 108 Internet Assigned Numbers Authority (IANA) 456, 660 inventory and compare robot contents 549
L
label media tapes 510 new media 521 optical media 556 library sharing 603 license keys accessing 635 deleting 637 export 637 printing 636 using the NetBackup License Key utility 638 viewing the properties of one key 637 LIFECYCLE_PARAMETERS file 264 Limit jobs per policy setting 97, 151 links UNIX hard-linked directories 178 UNIX symbolic 177 Load Balance storage unit selection in group 267 Locked file action property 397 logging bpsynth 210 deleting after a set time 383, 384 enabled for debug 443 legacy 442 unified 441 logical storage unit (LSU) attributes 753 long erase 529 Lotus Notes host properties INI file 445 Path 445 policy type 89 properties 445 Low water mark storage unit setting 228, 230 ltid (NetBackup Device Manager) 59, 63
J
Java auth.conf file 656 authorizing users 655 directory 657 interface 34 jbp.conf file 666 jbpSA configuration options 666 jnb.conf file 666 jnbSA configuration options 666 performance improvment hints 668 Virtual Machine (JVM) 663 jnbSA 34, 35, 61, 652 Job Manager logging property 444 Job retry delay property 435 jobs Concurrent per disk storage unit 231 filters, specifying 51 maximum per client 436 per policy 97 priority for policy 98 viewing in the Activity Monitor 56 JVM (Java Virtual Machine) 663
K
Keep logs property 74, 383, 384 Keep status of user-directed backups, archives, and restores property 396, 397, 406 Keep true image restoration information property 384 Keep vault logs property 383 KEEP_LOGS_DAYS 666 keyword phrase 116 killing jobs 52
M
Mac OS X 89 mail notifications administrator E-mail address 481 Disaster Recovery attachment, sending 197 email address for administrator 438 Windows nbmail.cmd script 438 Mailbox for message level backup and restore property 413 manual backups NetBackup catalogs 350
782
policy for 200 mapping file (external_types.txt) 710 master servers, rebooting 634 MAX_KB_SIZE_PER_DUPLICATION_JOB 264 MAX_MEMORY 663, 668 MAX_MINUTES_TIL_FORCE_SMALL_DUPLICATIO N_JOB 264 maximum backup copies property 437 concurrent FT connections property 423 concurrent jobs storage unit setting 231 concurrent write drives storage unit setting 131, 231 data streams property 387 error messages for server property 406 jobs per client 436 jobs per policy 97 mounts add volume 514 streams per drive storage unit setting 233 vault jobs property 438 media 1 and media 2, catalog backup 308 active 78 freeze 520 host override property 433 host properties Allow backups to span disk 450 Allow backups to span tape media 449 Allow media overwrite 446 Allow multiple retentions per media 449 Enable job logging 450 Enable SCSI reserve/release 447, 448 Enable standalone drive extensions 450 Media ID prefix (non-robotic) 451 Media request delay 451 Media unmount delay 451 ID for catalog backup 309 ID prefix (non-robotic) property 451 last used for catalog backup 307 log entries report 77, 383, 384 mount errors, canceled 67 errors, queued 67 timeout for Storage Migrator 694 mount timeout property 475 nonactive 78 pools (see volume pools) recycling 537
replacing 535 request delay property 451 server connect timeout property 476 suspend 521 type for catalog backup 308 type for new volume 515 type when not an API robot 556 unfreeze 520 unmount delay property 451 unsuspend 521 media ID generation rules 566 prefix for update robot 560 Media server copy advanced backup method 96 Media server storage unit setting 233, 729 media servers adding a media server to the Alternate restore failover machine list 460 rebooting 634 registering with the EMM server 649 Restore failover host properties 459 Megabytes of memory property 398 MEM_USE_WARNING 664 Microsoft Volume Shadow Copy Service (VSS) 392 MIN_KB_SIZE_PER_DUPLICATION_JOB 264 mntfs file system, excluding from backup 195 monitoring NetBackup processes 66 monthly backups, scheduling 148 mount points 103 requests, pending 497 move backup job from incomplete state to done state property 96, 385 detection 109 job from incomplete state to done state property 385 Restore Job from Incomplete State to Done State 683 restore job from incomplete state to done state property 385 volume group 542 volumes logical move 524 overview 524 physical move 524 update volume configuration 525 MS SharePoint Portal Server 2003 115 MS-Exchange policy type 89
783
MS-SharePoint policy type 90 MS-SQL-Server policy type 89 MS-Windows-NT policy type 89 MTF format, allow overwrite 447 mtime 182 multiple copies fail all copies 134 parent and child jobs 57 setting 131 using checkpoint restart 95 multiple data streams 189 allowing 113, 114 parent and child jobs 57 tuning 114 multiple file layout for NetBackup catalogs 278 multiplexing (MPX) and synthetic backups 206 set for schedule 141 use with Enable block sharing 230 multistreaming and synthetic backups 206 Must use local drive property 432
N
named data streams, disabling the restore of 183 naming conventions 631 nb_updatedssu script 226 NBDB.db configuration entry 704 in catalog 280 installation overview 698 relocating 699 NBEMM (NetBackup Enterprise Media Manager) 59, 63 nbemmcmd command 469 nbEvtMgr process 63 nbftsrvr process 63 nbj.conf 660 NBJAVA_CLIENT_PORT_WINDOW 664 NBJAVA_CONNECT_OPTION 665 NBJAVA_CORBA_DEFAULT_TIMEOUT 665 NBJAVA_CORBA_LONG_TIMEOUT 665 NBJM (NetBackup Job Manager) 64, 444 nbmail.cmd script 438 NBPEM (NetBackup Policy Execution Manager) 59, 64, 444 nbproxy process 64 NBRB (NetBackup Resource Broker) 59, 444 nbrb process 64 NBRMMS (NetBackup Remote Management and
Monitor Service) 59, 64 NBSL (NetBackup Service Layer) 60 nbsl process 64 nbstlutil (lifecycle utility) command 265 nbstserv process 64 nbsvcmon process 64 NBU-Catalog policy type 196 NBVAULT (NetBackup Vault Manager) 60, 64 NCR-Teradata policy type 89 NDMP Direct Access Recovery for restores 432 drives 432 global credentials 452 host storage unit setting 235 hosts 452, 595 policy type 89 storage 333 storage units 227, 240 NearStore disk storage units 223, 235, 273 server storage unit setting 751 storage units 744 authenticating media servers 747 disk consumption 753 properties 750 SnapVault schedules 744 storage units disk type 746 NetBackup client service 454 request service port (BPRD) 454 volume pools 542 NetBackup Access Control (NBAC) authorizing NetBackup-Java users 654 use of 479, 666 NetBackup Client Service (BPINETD) 58 NetBackup Compatibility Service (BPCOMPATD) 59 NetBackup Database Manager (BPDBM) 59 NetBackup Device Manager (ltid) 59 NetBackup for MS-Exchange 185 NetBackup Job Manager (NBJM) 59, 444 NetBackup Monitor Service 60 NetBackup Operations Manager (NOM) 60 NetBackup Policy Execution Manager (NBPEM) 59, 444 NetBackup Remote Management and Monitor Service (NBRMMS) 59 NetBackup Request Manager (BPRD) 59 NetBackup Request Service Port (BPRD) property 454
784
NetBackup Resource Broker (NBRB) 59, 444 NetBackup Service Layer (NBSL) 60, 63 NetBackup Storage Lifecycle Manager 60 NetBackup support Web site 594 NetBackup Vault Manager (NBVAULT) 60 NetBackup Volume Manager (VMD) 60 NetBackup volume pool 93 NETBACKUP_RELATIONAL_DATABASE_FILES directive 300, 312 NetBackup-Java, set up for 35 NetWare client host properties Back up migrated files 396 Keep status of user-directed backups, archives, and restores 396 Uncompress files before backing up 396 target and nontarget 414 NetWare policy type 89 network drives, backing up 100 host properties Announce DHCP interval 455 NetBackup client service port (BPCD) 454 NetBackup request service port (BPRD) 454 Network Appliance (NetApp) 741 Network Attached Storage (NAS) 224, 227 Never property in Fibre Transport host properties 423 NEW_STREAM, file list directive 189 NFS (Network File System) Follow NFS policy attribute 101, 102, 104 NFS access timeout property 483 no disk spanning 450 no rewind device 614 NOM (NetBackup Operations Manager) 60 non reserved ports 480 nonactive media 78 none of the files in the file list exist (NetBackup status message) 163 None volume pool 93 nonroot administration for specific applications 658
OpenStorage disk storage unit 223, 723 operating mode of drive, changing 495 Operators email address property 381 optical devices 132, 333 volumes 514, 515, 528 Oracle policy type 89 Override policy storage selection setting 137 volume pool setting 137 Overwrite existing files 182
P
parent jobs 56, 112 in Activity Monitor Jobs tab 56 Limit jobs per policy setting 97 parent_end_notify script 56 parent_start_notify script 56 parent_end_notify script 56 parent_start_notify script 56 partially-configured devices 596 path separators 228 setting (Lotus Notes) 445 pathname catalog backup to disk 310 rules for policy file list 170 PBX (Symantec Private Branch Exchange) 66 PC NetLink files 177 peername files 675 of client 673 pending actions notation 498, 500 overview 498, 500 resolving 500 Perform default search for restore property 406 incrementals based on archive bit 125 permissions for device access 624 to change NetBackup properties 364 physical inventory utility 572 policies activating 99 changing properties 83, 84, 85, 86 configuration wizard 82 creating policy for Vault 199 deactivating 99
O
obsoletion date 694 On demand only storage unit setting 235, 271, 750 Open file backup properties 455 OpenStorage Disk Option 223, 229, 253, 742
785
example 153 overview 81 planning 154 setting priority 98 user schedules 151 volume pool setting 93 Policy Execution Manager Logging property 444 Policy storage policy attribute 91, 293, 295 policy type AFS 90 DataStore 89 DB2 89 FlashBackup 90 FlashBackup Windows 90 Informix 90 Lotus-Notes 89 MS-Exchange 89 MS-SharePoint 90 MS-SQL-Server 89 MS-Windows-NT 89 NBU-Catalog 89 NCR-Teradata 89 NDMP 89 NetWare 89 Oracle 89 SAP 90 SQL-BackTrack 90 Standard 89 Sybase 90 Vault 89 Vault Catalog Backup 122 Policy update interval property 326, 436 Port Ranges host properties Client port window 457 Client reserved port window 457 Server port window 458 Server reserved port window 458 Use OS selected non reserved port 457, 458 Use random port Assignments 457 ports allowing operating system to select non reserved port 457, 458 non reserved 480 power down NetBackup servers 633 Preferred property in Fibre Transport host properties 422
prelabel media 510, 521 preprocess interval 191 preview volume configuration update 550 primary copy becoming a 332 changing 328 definition 333 promoting to 328 print device configuration 623 job list information 53 license key 636 Prioritized storage unit selection in group 267 priority of a job 98 of duplication jobs 135 of relocation jobs started from this schedule setting 250 of restore jobs property 436 Private Branch Exchange 61, 66 Problems report 76, 383, 384 proc file system, excluding from backups 195 Process busy files property 381 processes check with vmps 635 monitoring 66 show active 634 properties changing on multiple hosts 363 exporting 361 overview 361 viewing 360 PureDisk Storage Option 224, 229 Storage Pool Authority (SPA) 229
Q
quick erase 529 Quiescent wait time 491 quotas on file systems 222
R
random ports, setting on server 457 raw partitions 103 backing up 96, 119, 171 backups on UNIX 178, 179 Follow NFS policy attribute 102 restoring 172
786
rebooting NetBackup servers 634 recommended method of configuring devices 595 recycle media 537 redirected restores 179, 673 Reduce fragment size storage unit setting 238, 753 registry, backup/restore 172, 173 relocation schedule 119, 129, 135, 141 remote device management 649 systems, administering 645 Remote Administration Console 647 replace media 535 reports All log entries report 76 Client backups report 76 description of utility in Administration Console 72 Disk logs report 79 Disk pool status report 80 Disk storage unit status report 79 Images on disk report 79 Images on media report 76 Images on tape report 77 Media log entries report 77 Problems report 76 running a report 72 settings for building a report 74 Status of backups report 76 Tape contents report 77 Tape lists report 78 Tape logs report 77 Tape summary report 78 Tape written report 78 using the Troubleshooter 80 requests assigning 499 denying 501 display pending 498 overview 498 resubmitting 501 reset file access time property 398 mount time 503 residence, update volume configuration 546 Resource Broker logging property 444 restarting jobs 52 Restore Failover host properties Alternate restore failover machines
list 460 Restore job resuming 683 suspending 683 Restore retries interaction with checkpoint restart 683 property 477 restores alternate server 687 directed from the server 672 from a specifc backup copy 136, 687 raw partition 172 redirected 459, 673, 675 reducing search time 355 registry on Windows clients 173 server independent 687 symbolic links on UNIX 177 System State 684 resuming suspended jobs 52 retention levels default 140 for archiving catalogs 320 retention periods caution for setting 152 changing 463 expiration 152 expiring backups with bpexpdate 534 guidelines for setting 138 lifecycle and policy-based 138, 256 mixing on tape volumes 140, 449 precautions for setting 140 redefining 462 setting 138 user schedule 152 Retention type in lifecycle Expire after duplication 262 Fixed 260 Staged capacity managed 260 Retries allowed after runday policy setting 128 Retry count property 382 retry restores, setting 477 robot barcode update 523 compare contents 549 control host 600 destination for move volume 527 device file 601 device host 599 drive number 610
787
for new volume 515, 527 inventory 511, 551 library 610 number 601 number storage unit setting 239 performing diagnostics 622 type 602 type storage unit setting 239 Robust logging 442 Round Robin storage unit selection in group 267 RS-MTF1 format, allow overwrite 447
SCSI Long Erase 528 pass-through command 589, 596 persistent reserve 448 drive path override 606 Quick Erase 528 reserve, configuring 447 reserve/release drive path override 606 SeCuRiTy.nnnn files 681 sendmail 439 server administration, backlevel 38 alternate server restores 687 directed restore 672 -directed restores 659 EMM server 280, 281 host properties 465 independent restores 459, 687 list definition 465 port window property 458 power down 633 rebooting 633 reserved port window property 458 sends mail property 481 SERVER, vm.conf entry 625 setconf.bat file 660 Shadow Copy Components directive 173, 187 using 392 shared drives configuration wizards 595 drive operating mode 496, 497, 503 SharedDisk host properties Default mount point 470 storage units 224 SharePoint 2003 57, 115, 471 SharePoint Hosts host properties Farm component-end host 472 Farm front-end host 472 show robot contents 551 shut down NetBackup daemons 633 single file layout for NetBackup catalogs 278 restore program, FlashBackup 177 Single-Instance Storage (SIS) 96, 106, 108, 261, 413, 742, 752
S
SAP policy type 90 Schedule backup attempts property 114, 435 schedules adding to policy 118 backups on specific dates 146 catalog backup 311 examples of automatic 151 excluding dates 145 frequency 129 how calendar scheduling interacts with daily windows 149 monthly backups 148 naming 118 not combining calendar-based and frequencybased 128, 129 overview 117 priority 130 retention level defaults 140 retention periods guidelines 138 setting 138 setting backup times 143 specify multiplexing 141 storage unit/lifecycle policy 137 type of backup 119 user backup or archive 151 volume pool 137 weekly backups 147 scratch pool, adding 541 volume pool 93 scripts 56 bpdbjobs example 69 bpps 634 goodies 687 vmps 635
788
slot number add volume 513 for move volumes 527 Snapshot Client 56, 90, 96, 116, 131, 185, 224, 229, 392, 484 SnapVault storage units 224, 235, 240, 259, 273, 744 Solaris 9 extended attributes 177 SPC-2 SCSI reserve 448 SQL-BackTrack policy type 90 Staged capacity managed retention type for storage lifecycle policy 260 staging schedule storage unit setting 239 using BasicDisk storage unit 228 using Storage Lifecycle Policies 253 Standard policy type 89 start up NetBackup daemons 634 status codes, NetBackup 71 163 Status of backups report 76 Storage device storage unit setting 239 storage devices, steps for attaching 595 Storage Lifecycle Policies 137, 253 and the Multiple copies configuration dialog 137 copy number 257 Data classification 262 duplication jobs configuration 264 mixed retention types in the same volume 261 optional LIFECYCLE_PARAMETERS configuration 264 retention type 138, 256 storage destinations 255, 259 using nbstlutil to administrate lifecycle operations 265 writing multiple copies 256 Storage Migrator 93, 221, 238, 694 storage servers 222 storage unit groups 271, 273 name setting 239 selection within a storage unit group 273 type setting 240 storage units AdvancedDisk disk type 223 available storage property of volume 237 BasicDisk type 223 capacity property of volume 237
changing server to manage 639 creating 217, 218 creating a basic disk staging unit 247 creation overview 216 deleting 218, 219 disk pool comment property 237 disk storage units 222 for policy 91 for schedule 137 high water mark property of volume 237 low water mark property of volume 237 maintaining space on disk storage units 225 Media Manager type 220 name property 237 naming conventions 631 NDMP disk type 227 NearStore 273, 746 NearStore disk type 223, 235, 273 number of volumes property 237 OpenStorage disk type 223 optical devices 132, 333 percent full property on volume 237 PureDisk disk type 224, 273 QIC drive type 132, 333 raw size property on volume 238 SharedDisk disk type 224 SnapVault disk type 224, 235, 273 storage lifecycle policies 224 usable size property of volume 238 vendor-specific 223 subnets and bandwidth limiting 377 Sun PC NetLink 177 suspend backups and restores 52, 53, 683 media 501 Sybase Adaptive Server Anywhere (ASA) default password 702 in NetBackup installation 280 management of 705 starting/stopping ASA service 705 use in NetBackup 697 Sybase policy type 90 Symantec Private Branch Exchange 61, 66 Symantec Product Authentication and Authorization 45, 61 Symantec products properties 473 Symantec support Web site 594 symbolic links included in backup selection list 167
789
UNIX 177 synthetic backups and encryption 208 component images 203 cumulative incremental 204 full 203 logs produced during 210 no NetBackup change journal support 404 recommendations for running 206 schedules 128 using Checkpoint Restart 96 System State backups 96 directive 186 restoring 684
T
tape assigning requests 499 contents report 77 library half-inch (TLH) 614 multimedia (TLM) 614 lists report 78 logs report 77 Stacker Half-inch (TSH) daemon 65 summary report 78 written report 78 TapeAlert 608 tar format, allow overwrite 447 TCP level logging property 402 temporary staging area 135, 230, 239, 240, 752 third-party copies 333 Third-Party Copy Device Advanced Backup method 96 Time overlap property 405 Timeouts host properties Backup end notify timeout 476 Backup start notify timeout 474 Client connect timeout 474 Client read timeout 475 File browse timeout 475 Media mount timeout 475 Media server connect timeout 476 Use OS dependent timeouts 475 tlmd daemon 65 tmpfs file system, excluding from backup 195 To IP address property 378
tpconfig menus 605 tpext utility 711 Transfer throttle storage unit setting 240 traversing directories to back up a file 419 Troubleshooter using in Activity Monitor 53 using in Reports application 80 True Image Restoration (TIR) configuration 108 Error code 136 209 length of time to keep information 384 move detection 109 no NetBackup change journal support 404 pruning information 209 with Move Detection 209 with move detection 404 tshd daemon 65
U
uncompress files before backing up property 396 NetBackup catalogs 357 unified logging 441 Universal host properties Allow server file writes 480 Use preferred group for enhanced authorization 479 settings properties 477 UNIX client host properties Add to all 401 Do not compress files ending with 401 Do not reset file access time 398 Keep status of user-directed backups, archives, and restores 397 Megabytes of memory 398 primary node in tree 482 UNIX server properties 483 UNSET, file list directive 193 UNSET_ALL, file list directive 193 unsupported characters 553 update and rescan barcodes 523 robot procedure 553 volume configuration 545, 547 usbdevfs file system, excluding from backup 195 Use alternate read server 135, 251 Use case sensitive exclude list host property 414
790
Use change journal in incrementals property 403 Use defaults from the master server configuration property 423 Use Direct Access Recovery for NDMP restores property 432 Use legacy DES encryption property 410 Use non reserved ports property 425, 427 Use OS dependent timeouts property 475 Use preferred group for enhanced authorization property 479 Use random port assignments properties 457 Use reserved ports property 425, 427 Use specified network interface property 478 Use VxFS file change log for Incremenatal backups property 398 USE_CTIME_FOR_INCREMENTALS 695 USE_NBJAUTH_WITH_ENHAUTH 666 user access to devices 624 archive backups 120 backups 120 schedules planning 151 User directed timeouts property 406
V
Vault backup type 122 catalog archiving 323 designating duplicate as the primary 328 disaster recovery data 198 Logging property 444 Maximum vault jobs host property 438 parent and child jobs 57 policy creating 199 type 89 Recovery Report 198 vendor-specific storage units 223 verifying backup images 327 selections list 167 veritas_pbx (Symantec Private Branch Exchange) 66 view properties of a license key 637 Virtual Tape Option 45, 227 vm.conf file adding SERVER entries 625 VMD (NetBackup Volume Manager) 60
vmd process 66 vmps script 635 vmscd daemon 60 VMWare Proxy Servers host properties 484 vnetd Only property (for selection of ports) 428 Veritas Network Daemon 425, 427 VNETD_PORT 660 Volume Configuration wizard 511 volume group changing name 520, 521 deleting 544 for move volume 527 moving 542 volume is in a robotic library for move volume 527 for new volume 516 Volume Manager (VxVM) 179 volume pools add volume 516 adding 539 CatalogBackup 93 changing attributes 539 changing for a volume 519 DataStore 93 DataStore pool 516, 519 deleting 542 for schedule 137 indicating one for use by a policy 93 NetBackup 93 None 93 overview 538 scratch 93 Volume Shadow Copy Service (VSS) 186, 187, 392 Volume Snapshot Provider (VSP) backups using Checkpoint restart 96 directory for logging messages 487 properties 485 using with databases volumes adding 508 allocation 93 assigned 533 assignments 93 changing 517 cleaning count 519 deleting (see deleting) description for new volume 515
791
for move volume 528 header device 611 maximum mounts allowed 514 moving 524 moving, actions menu 525 recycling 537 replacing 535 scratch 93 VRTSat (Symantec Product Authentication Service) 61 VRTSaz (Symantec Product Authorization Service) 61 VRTSpbx (Symantec Private Branch Exchange) 61 VSP (see Veritas Volume Snapshot Provider) VxFS 4.0, named data streams 180 file change log 398 vxlogcfg command 442 vxlogmgr command 442
W
WAFL qtree cleaning up 744 Wait time before clearing archive bit property 403 weekly backups, scheduling 147 wildcard characters in exclude files lists 632 UNIX escape character 633 file paths 176 Windows clients 171 Windows client host properties Communications buffer size 406 General level logging 402 Incrementals based on archive bit 405 Incrementals based on timestamp 405 Keep status of user-directed backups, archives, and restores 406 Maximum error messages for server 406 Perform default search for restore 406 TCP level logging 402 Timeout overlap 405 Use change journal in incrementals 403 User directed timeouts 406 Wait time before clearing archive bit 403 Windows Disk-Image (raw) backups 96, 171 Windows Display Console 37, 645, 651 Windows Open File Backups
host properties Abort backup on error 394 Disable snapshot and contine 394 Enable Windows Open File backups for this client 392 Global drive snapshot 393 Individual drive snapshot 393 Use Microsoft Volume Shadow Copy Service (VSS) 392 Use Veritas Volume Snapshot Provider (VSP) 392 Windows Terminal Services 39 wizards backup policy 82 catalog backup 296 Device Configuration 217, 596 device configuration 620 shared drive configuration 605 Working directory property 381 WORM media retention period caution 140
792