NetBackup105 AdminGuide EntVault
NetBackup105 AdminGuide EntVault
Vault™ Agent
Administrator's Guide
for Windows
Release 10.5
NetBackup™ for Enterprise Vault™ Agent
Administrator's Guide
Last updated: 2024-09-23
Legal Notice
Copyright © 2024 Veritas Technologies LLC. All rights reserved.
Veritas, the Veritas Logo, Veritas Alta, and NetBackup are trademarks or registered trademarks
of Veritas Technologies LLC or its affiliates in the U.S. and other countries. Other names may
be trademarks of their respective owners.
This product may contain third-party software for which Veritas is required to provide attribution
to the third party (“Third-party Programs”). Some of the Third-party Programs are available
under open source or free software licenses. The License Agreement accompanying the
Software does not alter any rights or obligations you may have under those open source or
free software licenses. Refer to the Third-party Legal Notices document accompanying this
Veritas product or available at:
https://www.veritas.com/about/legal/license-agreements
The product described in this document is distributed under licenses restricting its use, copying,
distribution, and decompilation/reverse engineering. No part of this document may be
reproduced in any form by any means without prior written authorization of Veritas Technologies
LLC and its licensors, if any.
The Licensed Software and Documentation are deemed to be commercial computer software
as defined in FAR 12.212 and subject to restricted rights as defined in FAR Section 52.227-19
"Commercial Computer Software - Restricted Rights" and DFARS 227.7202, et seq.
"Commercial Computer Software and Commercial Computer Software Documentation," as
applicable, and any successor regulations, whether delivered by Veritas as on premises or
hosted services. Any use, modification, reproduction release, performance, display or disclosure
of the Licensed Software and Documentation by the U.S. Government shall be solely in
accordance with the terms of this Agreement.
Technical Support
Technical Support maintains support centers globally. All support services will be delivered
in accordance with your support agreement and the then-current enterprise technical support
policies. For information about our support offerings and how to contact Technical Support,
visit our website:
https://www.veritas.com/support
You can manage your Veritas account information at the following URL:
https://my.veritas.com
If you have questions regarding an existing support agreement, please email the support
agreement administration team for your region as follows:
Japan [email protected]
Documentation
Make sure that you have the current version of the documentation. Each document displays
the date of the last update on page 2. The latest documentation is available on the Veritas
website:
https://sort.veritas.com/documents
Documentation feedback
Your feedback is important to us. Suggest improvements or report errors or omissions to the
documentation. Include the document title, document version, chapter title, and section title
of the text on which you are reporting. Send feedback to:
You can also see documentation information or ask a question on the Veritas community site:
http://www.veritas.com/community/
https://sort.veritas.com/data/support/SORT_Data_Sheet.pdf
Contents
Legend
Index
location
NetApp
Share
Partition Partition
1 2 Vault Store Partition 3 Vault Store Partition 1 Vault Store
database database database
NTFS NTFS
NetApp NTFS
Disk Share
Share Disk
Feature Description
Enterprise Vault backup The NetBackup Enterprise Vault agent supports full,
schedules differential-incremental, and cumulative-incremental backups.
These types of backups are configured in an Enterprise Vault
policy that the user creates through the NetBackup
Administration Console. The user can then specify which
Enterprise Vault components to backup by selecting
predefined directives in the backup policy.
Tight NetBackup integration Tight integration with NetBackup means the following:
Data management Enterprise Vault agent backups are saved to a wide variety
of storage devices that NetBackup supports.
Feature Description
Restore operations An administrator who uses the Backup, Archive, and Restore
interface can browse Enterprise Vault backups and select
the ones to restore.
Local media server The Enterprise Vault agent supports the use of a local media
server as the primary media server during a backup.
However, the configuration of the local media server for
Enterprise Vault agent is different than what a NetBackup
configuration uses.
Step 1 Verify the operating system and See “Verifying the operating system and platform compatibility”
platform compatibility. on page 15.
Step 2 Verify the NetBackup software See “NetBackup server and client requirements” on page 15.
requirements for NetBackup for
Enterprise Vault.
Installing NetBackup for Enterprise Vault 15
Verifying the operating system and platform compatibility
Table 2-1 Installation steps for NetBackup for Enterprise Vault (continued)
Step 3 Verify that primary server has a valid See “License for NetBackup for Enterprise Vault” on page 18.
license for NetBackup for Enterprise
Vault and any NetBackup options.
For each node and cluster, configure the logon account to be the Enterprise Vault
Admin user.
■ The ability to communicate with the Enterprise Vault services and to put
Enterprise Vault into backup mode
■ Permissions to read and write from the Enterprise Vault file system paths such
as the Enterprise Vault partitions, and index locations. The file paths can be on
the UNC or the local drive
Note: You must perform the following procedure for all of the Enterprise Vault
servers and the SQL servers in an Enterprise Vault site configuration.
5 In the left pane, expand Windows Client and click Enterprise Vault. The
Client Properties dialog box is displayed.
6 In the User name box, specify the user ID for the account that is used to log
on to Enterprise Vault (DOMAIN\user name).
7 In the Password box, specify the password for the account.
8 Click OK to save your changes.
The Enterprise Vault agent uses the snapshot mechanism in following scenarios:
■ An Enterprise Vault SQL database backup using a FULL schedule.
■ An Enterprise Vault File System data backup for a non-UNC (Universal Naming
Convention) location.
Table 3-1 illustrates when snapshot is used.
The following list contains the additional notes that relate to a VSS-based snapshot
configuration:
■ The Enterprise Vault agent internally uses the VSS-based snapshot. Therefore,
every drive that has the Enterprise Vault data must have an ample amount of
free space for a VSS snapshot to be taken. A snapshot can fail if the amount
of free space on the selected drive is insufficient.
See “About the VSS_E_INSUFFICIENT_STORAGE snapshot error” on page 96.
■ With NetBackup 7.1 and later, the Enterprise Vault agent attempts to take as
many snapshots per snapshot job as possible. The maximum number of
snapshots that can occur during a single snapshot job is 64 which, is also the
default value. You can lower this value by adjusting the maximum number of
snapshots that can occur during a single snapshot job. The registry DWORD
value, MaxSnapshotPerJob controls the maximum number of snapshots. This
registry value is located under the registry key,
Software\VERITAS\NetBackup\CurrentVersion\Agents\EnterpriseVault\.
The default for the MaxSnapshotPerJob value is 64 snapshots per snapshot
job.
Configuration 23
Configuring the local media server for Enterprise Vault backup
6 When you finish configuring the schedule, client, and backup selections, select
the Create button.
Attribute Description
Policy type Determines the types of clients that can be in the policy. In some
cases policy type determines the types of backups that NetBackup
can perform on those clients. To use the Enterprise Vault agent,
you must define at least one policy of type that is Enterprise-Vault.
Note: If you use the command-line interface (CLI), the identifying
number for an Enterprise Vault agent policy type is 39.
Limit jobs per policy Limits the number of jobs that NetBackup performs concurrently
with this policy. Set this option to a number that is determined by
the backup selection and your Enterprise Vault configuration. A
single policy can result in multiple jobs. In addition, you can run
backups without using this option.
Allow multiple data This attribute is enabled when the user creates an Enterprise Vault
streams policy. However, Enterprise Vault agent does not support the
multiple data streams feature.
Keyword phrase A textual description of a backup. Useful for browsing backups and
restores.
6 Select the Start window tab if you want to define the period of time during
which the backup starts and ends.
7 Select the Exclude Dates tab if you want to exclude specific dates from the
schedule.
8 Select Add.
Full Backup Select this back up type to back up any Enterprise Vault
component. All Enterprise Vault directives support full backups.
User Backup This type of backup is not supported for Enterprise Vault.
User Archive This type of backup is not supported for Enterprise Vault.
Cumulative Incremental This backup type backs up the files that are specified in the
backup backup selections list that has changed since the last full backup.
All files are backed up if no previous Full backup has been done.
Cumulative incremental backups occur automatically according
to schedule criteria. A complete restore requires the last full
backup and the last, cumulative incremental backup.
Note the following about Cumulative Incremental backups:
Differential Incremental Select this backup type to only back up the changes that are made
backup to the data since the last full backup or previous incremental
backup.
Note: The Enterprise Vault entity names cannot begin with a space or end with a
space. Any Enterprise Vault entity name that uses this format is not supported.
Configuration 29
Creating a backup selections list
NetBackup uses the same backup selection list for all of the clients that are backed
up according to the policy.
To create a backup selections list
1 In the policy, select the Backup selections tab.
2 Select the Add button.
3 From the Pathname or directive list, select the directive. The directives that
display depend on the version of Enterprise Vault that you installed.
See the section called “Naming conventions for Enterprise Vault directives”
on page 29.
See “About Enterprise Vault directives and what data they back up” on page 35.
4 Select the Add to list button.
You can rename any directive by clicking in the list and directly editing the line.
5 Select the Add button when you finish adding directives.
Note: With Enterprise Vault 8.0 or later, you cannot use the EV_DIR_DB directive
with the EV_INDEX_LOCATION= and the EV_OPEN_PARTITION= directives.
Configuration 30
Adding a client to a policy
Note: Enterprise Vault uses three terms to define quiescence. Those three terms
are read-only mode, backup mode, and quiescence. These terms are used
interchangeably in reference to Enterprise Vault.
■ Vault stores
See the Enterprise Vault Administrator's Guide for additional information.
■ Index locations
If you use the Enterprise Vault Administration Console, remember to refresh
the console before and after you set or clear the backup mode.
See the Enterprise Vault Administrator's Guide for additional information.
Note: Enterprise Vault 9.0 and later versions support atomicity for quiescence.
Vault accepts notification from the backup product through the partition secure
notification file or by the archive bit of the files in the partition. You can configure
Enterprise Vault to accept either method of notification to determine if the files in
the partition have been backed up.
See “About the partition secure notification file” on page 33.
See “About the archive bit ” on page 33.
Enterprise Vault agent resets the archive bit on the files that were backed up in
FULL and DIFFERENTIAL schedules.
A cumulative incremental backup does not reset the archive bit of an object that is
included for backup. In addition, if a cumulative-incremental backup is run after a
differential-incremental backup completes (and the archive bit is reset), the
cumulative-incremental backup does not include the files that were backed up in
the differential-incremental backup.
If the Enterprise Vault vault store is configured with the, Remove safety copies
after backup, option set, and the Enterprise Vault partition that is configured with
the Use the archive attribute setting for a backup, then the archive file (safety
copy) delete does not occur after a cumulative-incremental backup.
Chapter 5
Performing backups of
Enterprise Vault
This chapter includes the following topics:
Note: Veritas recommends that you create Enterprise Vault policies with the
directives that do not back up the same Enterprise Vault data. For example, an
Enterprise Vault backup policy with the EV_SITE directive can back up the same
data as a backup policy with the EV_SERVER directive. In this case, running the
Enterprise Vault backup policy that is configured with the EV_SERVER directive is
not necessary.
Table 5-1 shows the Enterprise Vault directives. In the following table a policy client
has been specified and each directive applies to full, differential, and cumulative
backups. In addition, Enterprise Vault supports multiple policy clients (except for
Performing backups of Enterprise Vault 36
About Enterprise Vault directives and what data they back up
EV_MONITORING_DB The monitoring database is an SQL database that is associated with the
Enterprise Vault monitoring service. This database typically contains
performance and trend information about Enterprise Vault activities.
EV_AUDIT_DB The auditing database only exists if Enterprise Vault auditing is enabled.
The audit database contains audit records of various configurable Enterprise
Vault operations.
Use this directive to back up the auditing database in the Enterprise Vault
deployment if you have Audit enabled. This option is disabled by default.
■ The auditing database does not need to be hosted on the policy client.
■ This directive supports multiple policy clients in the client list. You should
add multiple clients when multiple Enterprise Vault sites have their own
auditing database.
Performing backups of Enterprise Vault 37
About Enterprise Vault directives and what data they back up
Table 5-1 Enterprise Vault directives and what they back up (continued)
EV_FSAREPORTING_DB The FSA Reporting database only exists if FSA Reporting has been
configured. The FSA Reporting database contains a history of the active
and the archived files on the file servers. This data is used to track trends
and as a summary of the archived files and active files on file servers.
Use this directive to back up the FSA Reporting database in the Enterprise
Vault deployment if you have FSA Reporting enabled. This option is disabled
by default.
■ The FSA Reporting database does not need to be hosted on the policy
client.
■ This directive supports multiple policy clients in the client list. You should
add multiple clients when multiple Enterprise Vault sites have their own
FSA Reporting database.
EV_INDEX_LOCATION=Site name Use this directive to back up all index locations in the Enterprise Vault site,
that the Site name variable specifies. You can use any backup schedule
with this directive.
EV_OPEN_PARTITION=Vault Store The open partition directive backs up the open partition and Vault Store
name database of the Vault Store that you specify when you define the Vault
Store name. The partition can be present on NTFS file system or NAS
devices.
Note: For the streamer-based open partitions, do not use this directive as
the backup would succeed partially. Instead, use the
EV_VAULT_STORE_DB directive.
Performing backups of Enterprise Vault 38
About Enterprise Vault directives and what data they back up
Table 5-1 Enterprise Vault directives and what they back up (continued)
EV_CLOSED_PARTITIONS=Vault Store The closed partitions directive backs up any closed partitions of the Vault
name Store that you specify when you define the Vault Store name. The partitions
can be present on NTFS file system or NAS devices.
■ This directive does not support multiple policy clients in the client list.
■ If Vault Store name is not specified, the job fails.
EV_READY_PARTITIONS=Vault Store The ready partitions directive backs up the ready partitions of the Vault
name Store that you specify when you define the Vault Store name. The partitions
can be present on NTFS file system or NAS devices.
■ This directive does not support multiple policy clients in the client list.
■ If Vault Store name is not specified, the job fails.
Note: Do not use this directive for the streamer-based ready partitions. If
some ready partitions are streamer-based, the job is completed but the
data is not backed up by NetBackup. If all ready partitions are
streamer-based the job fails.
EV_VAULT_STORE_DB=Vault Store The Enterprise Vault, vault store database is an SQL database that can
name contain metadata about the vault store and archived data.
Use this directive to back up the vault store database that the Vault Store
name variable specifies in the Enterprise Vault deployment.
Table 5-1 Enterprise Vault directives and what they back up (continued)
EV_FINGERPRINT_DB=Vault Store The fingerprint database contains information about archived data in Vault
Group name Store Partitions. Use this directive to back up the fingerprint database that
is associated with the supplied Vault Store Group. The Enterprise Vault
agent can discover multiple fingerprint databases when a Vault Store Group
is configured to support multiple fingerprint databases.
■ When you choose to cancel an Enterprise Vault agent job, all child jobs are
canceled. The selected job is canceled along with any sibling job that is active
or queued. If a parent job exists, it waits for all of the children jobs to get canceled
and then the status of the parent becomes canceled. The status of the sibling
jobs that completed before you canceled the job does not change and you can
use their images for a restore.
■ If you choose to cancel a full backup that involves an Enterprise Vault SQL
Server database (such as a directory database), then you must make sure that
you exit that backup. Then you must make sure that you take a full backup
before you start the next cumulative backup.
To cancel an Enterprise Vault backup job from the Activity monitor
1 Open the NetBackup web UI.
2 On the left, select Activity monitor. The select the Jobs tab.
3 Select the check box for the first job of the backup that you want to cancel.
4 Select Cancel.
Chapter 6
Performing restores of
Enterprise Vault
This chapter includes the following topics:
■ Viewing backup data using the Microsoft SQL Server Management Studio
and Restore user interface whose backup was taken from Enterprise Vault agent
policy.
Review the following before you begin an Enterprise Vault restore:
■ The destination client for Enterprise Vault file system data restore should have
the same version of Enterprise Vault installed as the client from where Enterprise
Vault was backed up.
From the Backup, Archive, and Restore interface, you can change the destination
client and policy type. Select File > Specify NetBackup Machine and Policy
Type and make the necessary adjustments to the options in this dialog box as
shown in the following image.
■ When you perform a disaster recovery of Enterprise Vault data, restore the
directory database first. After you successfully restore the directory database,
you can restore other Enterprise Vault components and partitions.
■ Veritas recommends that you restore the vault store database when you attempt
to restore an open partition. In addition, you should restore the open partition
when you attempt to restore the vault store database.
■ Veritas recommends that you restore individual components of Enterprise Vault
one at a time.
■ You must stop all Enterprise Vault services on Enterprise Vault servers when
performing a restore.
See “Stopping the administrative services on Enterprise Vault servers”
on page 43.
When you restore Enterprise Vault data you select the backup images that are
displayed in the Backup, Archive, and Restore interface. These images are for
Enterprise Vault file system data or Enterprise Vault SQL databases.
See “About the Backup, Archive, and Restore interface” on page 43.
See “Restoring Enterprise Vault SQL database components” on page 61.
Performing restores of Enterprise Vault 43
Stopping the administrative services on Enterprise Vault servers
Select
msdb.dbo.backupset.database_name,
msdb.dbo.backupset.backup_start_date,
msdb.dbo.backupset.backup_finish_date,
CASE msdb.backupset.type
END AS backup_type
FROM msdb.dbo.backupmediafamily
ORDER BY
msdb.dbo.backupset.database_name,
msdb.dbo.backupset.backup_start_date
4 Click Execute.
See the section called “Restore Enterprise Vault data (Backup, Archive, and Restore
interface)” on page 47.
Note: The options to Create and restore to a new virtual hard disk file and
to Restore directories without crossing mount points is displayed in
theNetBackup web UI or the Enterprise Vault Administration Console but is
not supported for NetBackup Enterprise Vault data recovery using Datastore
policy.
Option Description
Restore everything to its Restores the selected items to the same location from which they were backed up. This
original location option is the default option.
Restore everything to a Restores the selected items to the different location from which they were backed up.
different location
Restore individual folders Select this option to restore any selected Enterprise Vault file system data to different
and files to different locations.
locations
The items you mark for restore appear in the Restore individual folders and files to
different locations list box. When you select a folder for restore, that folder name appears
in the list box (not the individual files in that folder). To restore individual files to different
locations, select files individually.
When you double-click on the source list, you see that content already exists. You should
remove all of the existing content and then enter a physical path of a new destination in
the Enter New Destination dialog box. You can also use the browse feature to browse
for a new destination.
Note: If you type a new destination in the Destination field, you must enter a valid
physical path.
NetBackup browses the local computer where the Backup, Archive, and Restore interface
is running. NetBackup only browses the local computer, even if you chose to redirect a
restore to a different client.
You must provide or select a file name as the destination if you change the destination
location of the file. For folders, the destination name is used as the folder name.
See “About restoring Enterprise Vault file system data” on page 54.
Performing restores of Enterprise Vault 49
About the Enterprise Vault Database Settings tab
Table 6-1 Lists the restore options on the General tab (continued)
Option Description
Create and restore to a Creates and restores the selected items to a new virtual hard disk file.
new virtual hard disk file
This option is displayed in the NetBackup Administration Console but is not supported
for the Enterprise Vault policy.
Overwrite existing file Overwrites the existing files and folders. The default is not to overwrite.
Restore completion After a restore completes, you can leave an SQL database in any of the following states:
state
■ Operational
■ Read-only
■ Non-operational
To bring the Enterprise Vault SQL database to the required Point in time (PIT) or end-of-log
(EOL), the SQL database restore consists of a set of restores. An example set of restores
consists of the following:
In other scenarios, the set of restores would require a subset of restores, such as a FULL or
a FULL and cumulative restore. If the set contains incremental restores, the initial restores
should leave the database in a “Restore pending” state so future restores append to the
database. Thus, you should use the Leave database operational option only in the last
restore job of the restore set. Once the database is brought online, the user cannot make
any further cumulative or differential (database differential or transaction log) restores on that
database. If you want to perform any further restores, you must start from a FULL database
restore.
Note: Given a PIT or EOL, the NetBackup SQL Agent has the capacity to find the SQL
restore set (FULL, database differential, and transaction logs). However, the Enterprise Vault
agent does not have this capability; therefore, the user must find and sequence the SQL
restore set manually.
Performing restores of Enterprise Vault 51
About the Enterprise Vault Database Settings tab
Consistency check You can check the consistency of the database after restores are complete.
after restore To check the consistency of the database, select one of the following consistency checks
when you select the Leave database operational option:
Point-in-time recovery To recover the Enterprise Vault SQL database to a PIT, select a restore set that includes the
immediate DIFFERENTIAL (transaction log) backup after the PIT. In addition, while restoring
this backup you must select the “PIT” option and specify the PIT.
You must ensure that you use the PIT option only with the last differential backup restore.
You must select the Leave database operational option in the user interface to enable you
to select the PIT option.
Redirected restore Select this option and specify the new <SQL INSTANCE\SQL database name > to restore
to an alternate client, alternate SQL instance, or alternate SQL database. You must do that
for each restore in the restore set. The destination SQL database should not be present. If
it is present, a chance of data loss in the destination database is possible.
Note: You can change the SQL INSTANCE name, however do not change the SQL database
name. If you change the SQL database name Enterprise Vault does not automatically
recognize the new name. If you chose to change the SQL database name then you must
also update your Enterprise Vault configuration.
Note: A redirected restore of an auditing database must be made to the same SQL instance
where the directory database resides.
Take database offline Select this option to disconnect all the connections to the destination SQL database (including
Enterprise Vault connections) before it is restored. You should use this option only with the
full restore.
Performing restores of Enterprise Vault 52
Specifying the server, clients, and policy type for restores
See the section called “Specify the server, source client, destination client, and
policy type for a restore operation (NetBackup web UI)” on page 52.
See the section called “Specify the server, source client, destination client, and
policy type for a restore operation (Backup, Archive, and Restore interface)”
on page 53.
6 From the Destination client list, select the name of the client where you want
to restore the images. You can determine the name of the destination client
from either the NetBackup web UI or the Enterprise Vault Administration
Console.
See the section called “Determining the destination client for Enterprise Vault”
on page 54.
7 Click Next and continue with restore.
■ File system data type in a UNC path, such as an Index location or an open,
closed, or ready partition.
The UNC restore can use any Enterprise Vault server in an Enterprise Vault
site as the destination client. That is possible because the data is automatically
restored to its original location because the source path is embedded in the file
path. You must make sure that the Enterprise Vault username credentials for
this Enterprise Vault server, has write permissions for this UNC path. The
username credentials are specified in the NetBackup client properties.
■ SQL data type, such as directory, monitoring, auditing, FSA Reporting, fingerprint,
or vault store databases
The database name contains the system name in a format similar to System
name\SQL instance\SQL DB name. For example, a vault store database on
CLIENT TWO, would appear as Vault Store DB (CLIENT
TWO\SQLINST\database). The destination client name in this example is CLIENT
TWO.
■ The Backup, Archive, and Restore user interface does not prohibit you from
selecting more than one component to restore. However, selecting more than
one file system component for restore can result in a failed restore operation.
■ When you restore Enterprise Vault file system data from one backup image,
you can use any option in Restore destination choices field.
■ When you restore Enterprise Vault file system data that consists of multiple
images, the following applies:
■ You can restore data to the original location.
■ To restore data to an alternate location, you must use the Restore individual
folder and files option.
■ In the Alternate restore options dialog box, provide a physical path. However,
the user interface displays an Enterprise Vault logical path representation. You
must manually update this path to reflect the correct physical path of the alternate
location.
■ In the Backup, Archive, and Restore user interface, you can select one or more
folders under the Index location; however you cannot select individual files inside
an index folder. In addition, if you deselect an index location, all of the files that
are contained within that location are also deselected.
■ When you restore an open partition, you should also restore the vault store
database if it is available.
■ Run the restore from the system that hosted the Enterprise Vault file system
data. However, this system was not the NetBackup policy client for the Enterprise
Vault file system data backup images.
By default, a NetBackup client is not allowed to show the backup images where
the policy client for those images is some other NetBackup client. In this case,
you may have to add a No Restriction File on the NetBackup primary server.
That allows this NetBackup client to show and restore the backup images of
Enterprise Vault file system data that were taken through another NetBackup
client.
See the NetBackup Administrator’s Guide, Volume I for more information about
the No Restriction File.
■ Expand EV Vault Store > All Partitions and select the closed partition(s)
that you want to restore.
■ Expand EV Vault Store > All Partitions and select the ready partition(s)
that you want to restore.
Note: Restoring multiple Enterprise Vault images in one restore operation is not
supported in this release. Veritas recommends that you restore one backup image
at a time. Selecting multiple backup images in a single restore job may give
unpredictable results.
Review the following notes before you attempt to restore an Enterprise Vault SQL
database:
■ Restore full and incremental backups one at a time.
Performing restores of Enterprise Vault 58
About restoring Enterprise Vault SQL databases
■ When you do a redirected restore, you must select the Redirected restore option
and specify the alternate SQL instance name and database name. (This
requirement applies to each restore in the restore set.) The SQL instance name
always contains the system name. (For default instances, the system name is
the instance name.)
■ The Enterprise Vault agent cannot restore data and log files (.MDF and .LDF
files) of an Enterprise Vault SQL database to a physical path that is different
from the original physical path. As a result, the Enterprise Vault SQL restore is
affected as follows:
■ The drive (C:/ or D:/) used by these files at backup time is available at the
restore time (in the destination client).
■ In the redirected restore, if a new path (SQL instance or database name)
already exists and it is associated with some other physical files. The
database becomes associated with the new physical files after the restore
completes. The physical files of the old database become dangling files and
are no longer associated with a database.
■ In the redirected restore, if the physical files to be restored are present and
associated with some other database, manually take the database offline.
If you do not take the database offline, the restore cannot overwrite those
files.
Note: Recovery is only possible with SQL differential (transaction log) backup
images.
■ Full backup image: A restore set starts with a full backup image.
■ Cumulative backup image: Add the last, cumulative backup image to the set.
Add this image if it occurred between when the full backup image was taken
and the time you decided to perform the restore or recovery.
Performing restores of Enterprise Vault 59
About restoring Enterprise Vault SQL databases
■ Differential backup images: Add the differential backup images that occurred
between the last cumulative backup (or full backup if no cumulative backup
happened) and the time that you decided to perform the restore or recovery. If
you want to perform a recovery with PIT, then include the immediate differential
image after the PIT in the restore set.
The following example demonstrates how to determine a backup image restore set
in different use cases.
Figure 6-2 shows a variety of backup images that were taken and the time instance
that it occurred.
T1 T2 T3 T4 T5 T6 T7 T8 T9 T10
Table 6-3 demonstrates which backup images you would select to comprise a
backup image restore set at any given time instance. Depending on the time you
want to restore or recover the database, determines which backup images you
must include in the backup image restore set.
t1 Full backup
t3 Full + Differential 1
t7 Full + Cumulative
The following examples explain which backup images you must select in the Backup,
Archive, and Restore interface:
■ Example 1:
To restore an SQL database to time instance t3, your backup image restore set
must consist of the following backup images:
■ The full backup image with the options Take database offline and Leave
database Non-operational or Leave database Read-only enabled.
■ The first differential backup image with the option Leave database
operational enabled.
■ Example 2:
To recover an SQL database with PIT at time instance t8, your backup image
restore set must consist of the following backup images:
■ The full backup image with the options Take database offline and Leave
database Non-operational or Leave database Read-only enabled.
■ The last cumulative-backup image with the option Leave database
Non-operational or Leave database Read-only enabled.
■ The third differential backup image with the option Leave database
operational and Point-in-time recovery enabled.
■ Example 3:
To recover an SQL database at time instance t10 which is after the last
differential backup, you must use Microsoft's SQL tail-log mechanism. For more
information about performing a tail-log backup, visit Microsoft's website and
search for more information on this topic.
In this example the backup image restore set would include the following images:
■ The full backup image with the options Take database offline and Leave
database Non-operational or Leave database Read-only enabled.
■ The last cumulative-backup image with the option Leave database
Non-operational or Leave database Read-only enabled.
Performing restores of Enterprise Vault 61
Restoring Enterprise Vault SQL database components
■ The third differential backup image with the option Leave database
operational and Point-in-time recovery enabled.
■ Perform a tail-log backup. See Microsoft's website for instructions on how
to perform this type of backup.
Note: If you restore a vault store database, Veritas recommends that you also
restore the corresponding open partition if it is available.
Note: By default, a NetBackup client is not allowed to show the backup images
for which a policy client is some other NetBackup client. You may need to add
a No Restriction File on the NetBackup primary server. That enables the
NetBackup client to show and restore the backup images of the Enterprise Vault
SQL database that were taken through some other NetBackup client.
See the NetBackup Administrator’s Guide, Volume I for more information about
the No Restriction File.
15 Repeat steps 8 through 14 for each image that you select to restore.
16 After the restore completes, start the Enterprise Vault services on all of the
Enterprise Vault systems. Select Start > Programs > Administrative Tools
> Services.
Chapter 7
Disaster recovery
This chapter includes the following topics:
■ A copy of NetBackup for Windows with a license for the Enterprise Vault agent
that is added on the primary server.
■ The latest backup of the Enterprise Vault server that you want to recover.
■ Any service packs that have been applied to the original installation.
For additional information about Enterprise Vault disaster recovery requirements,
see the Enterprise Vault Administrator’s Guide on the Veritas support website.
Note: Unless otherwise stated, do not start any Enterprise Vault service until you
complete all the steps of a recovery procedure. If you start the Enterprise vault
service to browse the Enterprise vault configuration, stop the Enterprise vault service
before you move to the next step of recovery. If you chose to not run the Enterprise
Vault recovery tools to repair consistency after the restore is complete, a data loss
can occur. In addition, Veritas recommends that you run Enterprise Vault tools with
the guidance of Enterprise Vault Support.
When a disaster occurs, there is a logical order that you should use to recover your
Enterprise Vault environment. The following list provides a high-level summary of
the process you should follow to successfully recover your data:
■ First, identify the SQL server that hosted the directory database.
■ Install the operating system and any other required applications on the SQL
server that you identified and then begin to restore the directory database.
■ Restore the directory database.
See “Recovering a directory database” on page 66.
■ Install Enterprise Vault server on one of the systems and direct Enterprise Vault
to the appropriate directory database.
■ Finally, start the admin and the directory services and open the Enterprise Vault
Administration Console. With the Enterprise Vault Administration Console open,
determine which Enterprise Vault server and SQL server to use as the destination
client for other entities.
Disaster recovery 66
Recovering a directory database
Note: If you use the Enterprise Vault Administration Console to browse for the
destination client, remember to stop the Enterprise Vault services before starting
a recovery. You must stop all Enterprise Vault services on all Enterprise Vault
servers before attempting a restore or recovery.
Note: Before starting the recovery process, see the Recovery chapter, in the
Enterprise Vault Administrator’s Guide for Windows.
Note: Before starting the recovery process, see the Recovery chapter, in the
Enterprise Vault Administrator’s Guide for Windows.
Disaster recovery 67
Recovering an FSA Reporting database
Note: Before starting the recovery process, see the Recovery chapter, in the
Enterprise Vault Administrator’s Guide for Windows.
Note: Before starting the recovery process, see the Recovery chapter, in the
Enterprise Vault Administrator’s Guide for Windows.
Note: Veritas recommends that you run the Enterprise Vault tools to verify the
consistency of Enterprise Vault indexes and database. If inconsistency exists,
rebuild the Enterprise Vault indexes. In addition, Veritas recommends that you run
Enterprise Vault tools with the guidance of Enterprise Vault Support.
6 Restore the index location data for all index locations that was part of this
Enterprise Vault server.
See “Restoring an Enterprise Vault file system component” on page 55.
7 Repeat Step 1 through Step 6 for each Enterprise Vault server that was a part
of this Enterprise Vault site.
5 Repeat step 4 for all of the remaining vault stores, which are a part of this
Enterprise Vault Store group.
6 Restore the fingerprint database.
See “Recovering a fingerprint database” on page 70.
7 After the restore is complete, run the Enterprise Vault recovery tools.
If you chose to not run the Enterprise Vault recovery tools to repair consistency
after the restore is complete, data loss can occur. In addition, Veritas
recommends that you run Enterprise Vault tools with the guidance of Enterprise
Vault Support.
8 Start the Enterprise Vault services on all Enterprise Vault servers.
Disaster recovery 70
Recovering a fingerprint database
7 Run the Enterprise Vault recovery tools to repair the consistency of the entire
vault store group. That helps to bring the partitions, the vault store database,
and the fingerprint database to a consistent state.
Note: Veritas recommends that you run Enterprise Vault tools with the guidance
of Enterprise Vault Support.
4 Configure the Enterprise Vault server to the Enterprise Vault directory database
in the Enterprise Vault configuration.
5 Install the NetBackup client on this system if it is not installed already.
6 Restore the data for all of the Enterprise Vault partitions that are a part of this
Enterprise Vault server.
See “Restoring an Enterprise Vault file system component” on page 55.
7 Repeat Step 1 through Step 6 for each Enterprise Vault server that was a part
of this Enterprise Vault site.
Note: Veritas recommends that you run the Enterprise Vault tools to verify the
consistency of the Enterprise Vault indexes and database. If an inconsistency exists,
rebuild the Enterprise Vault indexes. In addition, Veritas recommends that you run
Enterprise Vault tools with the guidance of Enterprise Vault Support.
7 Restore the Enterprise Vault auditing database if this Enterprise Vault server
hosted the Enterprise Vault auditing database.
See “Recovering an auditing database” on page 66.
8 Restore the Enterprise Vault FSA Reporting database if this Enterprise Vault
server hosted the Enterprise Vault FSA Reporting database.
See “Recovering an FSA Reporting database” on page 67.
9 Restore the Enterprise Vault fingerprint database if the Enterprise Vault hosted
a vault store group.
See “Recovering a fingerprint database” on page 70.
10 Restore the first vault store that is a part of this Enterprise Vault server. Use
the following steps to understand which are the components that you must
restore:
■ Restore the vault store database.
See “Recovering a vault store database” on page 71.
■ Restore all of the vault store partitions.
Restore the first vault store partition.
See “Recovering vault store partition” on page 72.
Repeat this step for all partitions in the vault store.
■ Run the Enterprise Vault recovery tools to repair the consistency of the
vault store. That helps to bring the partitions, and the vault store database,
to a consistent state. Veritas recommends that you run Enterprise Vault
tools with the guidance of Enterprise Vault Support.
11 Repeat Step 10 for the remaining vault stores that are a part of this Enterprise
Vault server.
12 Restore the index location data for all index locations that were a part of this
Enterprise Vault server.
See “Restoring an Enterprise Vault file system component” on page 55.
12 Repeat Step 11 for the remaining vault stores that are a part of this Enterprise
Vault server.
13 Restore the index location data for all index locations that were a part of this
Enterprise Vault server.
See “Restoring an Enterprise Vault file system component” on page 55.
Note: Veritas recommends that you run the Enterprise Vault tools to verify the
consistency of Enterprise Vault indexes and database. If an inconsistency
exists in Enterprise Vault Indexes rebuild them. In addition, Veritas recommends
that you run Enterprise Vault tools with the guidance of Enterprise Vault Support.
Chapter 8
Enterprise Vault Agent
support for Enterprise
Vault
This chapter includes the following topics:
■ crawler-read-only
■ crawler.log
■ crawler-service.pipe
Enterprise Vault Agent support for Enterprise Vault 80
Excluding files from the exclude list
■ indexer-fatal-error
■ indexer-read-only
■ indexer.log
■ indexer-service.pipe
■ .lock
Note: File name must be enclosed with wild characters. For example, the file
*crawler-fatal-error* or *.ARCH*.
Note: The same client name is used across all policies to protect an Enterprise
Vault site.
For more information about Enterprise Vault site and server aliases, see the
Enterprise Vault Administrator's Guide.
Enterprise Vault Agent support for Enterprise Vault 82
About Enterprise Vault tools
■ You can however, restore the data from the Differential backup images. You
must restore all of the Differential backup images after the restore of the last
full-backup image.
To avoid this issue, Veritas recommends that you make sure the full backup is
successful before you begin a Cumulative incremental backup. Ensuring a
successful full backup before you attempt Cumulative backup guards against a
data loss scenario.
Finally, check whether you have the required privileges to create backups using
the Enterprise Vault agent.
■ A restore (or an alternate restore) of multiple SQL objects in a single restore job
is not supported.
To perform an alternate restore of Enterprise Vault SQL data, pick the SQL
object from a single backup image. Do not mix the SQL object selection from
one backup image with file system objects or other SQL objects from another
backup image.
■ A restore gets slow when you attempt to restore a large number of files or a
large amount of data. For better results, change the socket buffer size.
See “ Changing the socket buffer size for large restores” on page 84.
queries Enterprise Vault for its configuration. That happens in the first job (known
as the discovery job) of the compound backup job.
If an Enterprise Vault configuration change and NetBackup’s discovery job
happens at the same time then any one of the following can occur:
■ Fail with a status code 2
■ Partially succeed with a status code 1 (Some Enterprise Vault objects may
not be backed up.)
■ Success without any error (Some Enterprise Vault objects may not be backed
up.)
■ Across multiple Enterprise Vault sites, Enterprise Vault enables you to configure
multiple Enterprise Vault vault store groups or vault stores with the same name.
However, NetBackup does not support multiple vault store groups or multiple
vault store configurations with the same name across Enterprise Vault sites. In
addition, NetBackup does not support these types of configurations within the
same Enterprise Vault site. If you attempt this type of configuration using the
NetBackup Enterprise Vault agent, you can encounter unexpected behavior
from the agent that can cause a data loss.
■ The Enterprise Vault agent does not support the Enterprise Vault index locations
that are based on a mapped drive. If any index location in an Enterprise Vault
site is based on a mapped drive then you should ensure that no backup selection
uses the EV_INDEX_LOCATION directive.
Enterprise Vault Agent support for Enterprise Vault 86
Enterprise Vault agent functionality and support for Enterprise Vault
Note: An incremental backup after a full restore was allowed in the earlier versions
of NetBackup. The failure of the incremental backup failure after a full restore has
been observed in the NetBackup 7.5.
Chapter 9
Troubleshooting
This chapter includes the following topics:
■ About troubleshooting
About troubleshooting
This chapter explains the processes and resources that can help you troubleshoot
the NetBackup Enterprise Vault agent. These resources include the debug logs
and status reports for NetBackup and for the database agent to help troubleshoot
the backup and restore operations. These reports are useful for finding the errors
that are associated with those applications.
Note: When debug logging is enabled, the files can become large and can adversely
affect other backups that use the same files.
install_path\NetBackup\logs\mklogdir.bat
Table 9-1 List of the directories to create and capture back up, restore, and
snapshot data
Table 9-1 List of the directories to create and capture back up, restore, and
snapshot data (continued)
Table 9-2 Lists the directories to create and capture back up, restore, and
snapshot data on the NetBackup media server
Table 9-3 Lists the VxUL logs for NetBackup Policy Execution Manager
and NetBackup Job Manager
After you create these directories all debug logging information is placed in the
separate files that are created on a date basis.
If MSXML 6 is not installed, the client's bpresolver log contains the following
error message:
registry key for MSXML6 not found. Seems that MSXML6 is not
installed...Exiting
You should install MSXML 6 and run the backup again.
■ Look at the Event Viewer of the policy client and related Enterprise Vault servers.
■ Quiescence can fail if the Enterprise Vault component (Vault store or Index
location) or its parent component (such as, vault store group or site) is already
quiesced. The backups fail with a status 2. You should clear the backup mode
and attempt to run the backup again.
■ A backup can fail with a status 2 if the backup runs within a few minutes from
when an Enterprise Vault directory database was restored. You should browse
the Enterprise Vault configuration from Vault Administration Console and attempt
to run the backup again.
HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\BEDS\Engine\NTFS
If a policy contains the directives that cannot be specified together in the same
policy then the policy creation and modification fails with a status code 69.
Recommended action: From the backup selection remove any one of the directive
that cannot be specified together.
See “About Enterprise Vault directives and what data they back up” on page 35.
Perform the following to reset the Microsoft Volume Shadow Copy Service (VSS)
writer states and to ensure that future snapshot jobs are successful.
To reset the Microsoft Volume Shadow Copy Service (VSS) writer states
1 Run services.msc.
2 Ensure that the MS Software Shadow Copy Provider service's Startup type
is set to Manual.
Troubleshooting 95
About NetBackup status-related troubleshooting information
3 Ensure that the Volume Shadow Copy service's Startup type is set to
Manual.
4 Run cmd.exe.
5 From the command line, run vssadmin list writers.
This command shows you the state of the VSS writers. If any of them are in a
bad state (a state other than Stable) then you must manually reset the writer's
state.
6 Reset the VSS writer states by running the following commands from the
command line:
net stop swprv
cd %SystemRoot%\system32
regsvr32 ole32.dll
regsvr32 oleaut32.dll
regsvr32 vss_ps.dll
vssvc /Register
regsvr32 /I swprv.dll
regsvr32 /I eventcls.dll
regsvr32 es.dll
regsvr32 stdprov.dll
regsvr32 msxml.dll
regsvr32 msxml2.dll
regsvr32 msxml3.dll
regsvr32 msxml6.dll
Note: Verify that the msxml6.dll or msxml6r.dll files are in the system32
directory. If they are not present in the directory, then run the Windows update
to get the .dll files. Finally, run the regsvr32 command again for these DLLs
after you have verified that they are in your system32 directory.
After you restart the computer you should run the following commands:
■ C:\> vssadmin list writers
Specify only one client in the policy or from backup selection remove the directive
that does not support multiple client.
See “About Enterprise Vault directives and what data they back up” on page 35.
The NetBackup Enterprise Vault Agent portal is a good place for more information
about the NetBackup Enterprise Vault Agents. See the following URL for more
information.
https://www.veritas.com/docs/100001067
Appendix A
NetBackup Enterprise
Vault Migrator
This appendix includes the following topics:
within Enterprise Vault. After Enterprise Vault archives the item, a collection process
is run and that result it is placed into a CAB file. Once the CAB file is created, it is
now ready to be migrated from Enterprise Vault to NetBackup using a migration
process. The Enterprise Vault migration process calls the NetBackup migration
process, which starts a backup of the CAB files by a NetBackup policy. Once the
backup is complete, Enterprise Vault truncates the vault store partition copy of the
CAB file. That reduces the Enterprise Vault disk storage space and leverages the
investments that were made in the NetBackup infrastructure.
During the NetBackup migration process multiple copies can be made using inline
tape copies. Disk storage units (DSUs) and disk storage staging units (DSUs) are
also supported for the NetBackup-controlled migrations that are direct to disk.
However, Veritas recommends that you keep traditional backups separate from
Enterprise Vault data because the retention requirements are likely to be very
different.
You can specify any name that you want. However, make a note of this
name because you may use it again when you configure Enterprise Vault
in a later step.
■ From the Policy type list, select DataStore.
The Enterprise Vault database agent policy type displays if the primary
server has a license for this database agent.
6 Specify the backup window of the schedule. Select the Start window tab to
define the period of time during which the backup starts and ends.
Set the schedules to allow backups and restores to happen at any time. The
Vault Store Partition configuration controls the Enterprise Vault migration
(backup) times.
7 On the Clients tab, specify a NetBackup client for the policy.
Use the name of the Enterprise Vault server whose data is to be migrated in
the NetBackup client for the policy.
8 You do not need to specific policy directives because the file names are passed
automatically between Enterprise Vault and NetBackup.
9 When you finish configuring the policy, select the Create button.
3 Configure the migration properties. Select the Advanced tab within the Vault
Store Partition Properties dialog box. Set the following attributes on this
tabbed page:
■ NBU policy
The name of the NetBackup policy through which migration is expected to
take place.
■ NBU server
The name of the NetBackup primary server.
■ You can modify the default values of the other settings if you deem it is
necessary.
In the Permissions for SYSTEM field, ensure that both groups are given
full permissions and click OK.
Note: Other required parameters of the command line interface need to be passed
appropriately for the restore operation to complete successfully.
The following bprestore CLI format restores data of all partitions or migrated files
for a particular EV-Server.
..\Veritas\NetBackup\bin>bprestore -S hpesx4v5 -C hpesx4v7 -t 24
-ev_migrated_data *
procedure to restore migrated data from NetBackup no matter what system you
run the Backup, Archive, and Restore user interface from.
To restore Enterprise Vault migrated data using the Backup, Archive, and
Restore user interface
1 Start the Backup, Archive, and Restore user interface.
2 Open the Specify NetBackup Machines and Policy Type dialog box.
■ Select File > Specify NetBackup Machines and Policy Type. (Windows
interface)
■ Select Actions > Specify NetBackup Machines and Policy Type. (Java
interface)
3 From the Specify NetBackup Machines and Policy Type dialog, perform the
following:
■ Select the server to use for backups and restores.
■ Designate the source client for the restore.
■ Designate the destination client for the restore.
■ Select DataStore in the Policy type for restores field.
4 Select the list of backups to be restored in the NetBackup History field of the
user interface and then click the Restore icon.
Make sure that you have selected only Enterprise Vault migrated backups to
be restored.
5 From the Restore Marked Files dialog box, select the Restore as Enterprise
Vault migrated data check box.
6 Click Start Restore.
Note: While restoring Enterprise Vault migrated data using the Datastore policy,
the options to Create and restore to a new virtual hard disk file and to Restore
directories without crossing mount points are not supported.
■ Restart the Enterprise Vault Admin service. Restarting this service restarts
all of the Enterprise Vault services. You need to restart all of the Enterprise
Vault processes because certain processes may use the migrator
(NBUMigrator.dll). Restarting them enables them to locate and load the
xbsa.dll.
■ EVStgOffilineOpns
■ StorageManagement
This process is required to analyze logs when you want to test the Enterprise
Vault Configuration.
■ StorageDelete
This process is required when you want to analyze the logs after you delete
a partition whose data has been migrated.
Execute the following commands to set the verbose logging:
■ set StorageFileWatch verbose
Enter the command, view, to see a list of processes for which you can enable
verbose logging.
5 Set the log file. From the Command Prompt window, you can execute the
command, log log_file_name, to set the log file.
As an example, you enter the log EVLogs.txt to set the log file to
C:\EVLogs.txt.
6 Enable monitoring. From the Command prompt window, you can execute the
command, mon, to set monitoring.
7 Execute the migrator tasks for which logs are required.
Execute the tasks (Migration/Retrieval/Deletion) for which logs are required.
The Dtrace screen displays the various logs that are generated for the task.
8 Press Control-C to exit from the monitoring phase.
NetBackup Enterprise Vault Migrator 110
Troubleshooting the Enterprise Vault migrator
9 Disable logging.
You must disable the logging to ensure that all log entries are stored in the log
file. You can use the command, log, to disable logging.
After you type the log command, you are prompted to confirm that you want
to disable logging. Type,Yes.
Note: Use the following procedure as a guideline only. Even though the objectives
that are stated within the procedure remain the same, the steps to achieve them
may vary with different versions of NetBackup. The same principle also applies to
the screen shots provided.
In case of any believed discrepancy, see the NetBackup Troubleshooting Guide
UNIX, Windows, Linux for more information.
To collect the Enterprise Vault logs that were migrated to the NetBackup logs
1 Go to the NetBackup logs directory.
A logs directory resides under the NetBackup installed directory. For example,
if NetBackup is installed under the directory, C:\Program
Files\Veritas\NetBackup\, then the following logs directory also exists:
C:\Program Files\Veritas\NetBackup\logs
2 Create the required directories under the NetBackup logs folder.
You should refer to the following logs as your first point of reference when you
investigate the details of any failure:
■ vxbsa logs
■ bpbkar logs
■ tar logs
To enable the creation of these log files you must create the following directories
under the NetBackup logs folder (if they do not already exist):
■ exten_client
Executing the mklogdir.bat command creates several log directories.
However, this command does not create the directory, exten_client.
■ bpbkar
■ tar
The migration can fail because of any failure in the workings of NetBackup.
Therefore, even though the first point of investigation should start with the
NetBackup Enterprise Vault Migrator 112
Troubleshooting the Enterprise Vault migrator
mentioned logs, it is safest to collect all of the logs by executing the command,
mklogdir.bat.
■ bpbkar
■ tar
You should collect all the logs files by either creating a .zip file of the
NetBackup logs folder, or copying the latest file under every directory under
the NetBackup logs folder.