Chat now with support
Chat with Support

NetVault 12.1 - Administration Guide for Managed Service Providers

Introduction Getting started Configuring clients Managing catalog search Configuring storage devices Backing up data Managing policies Restoring data Managing NetVault Backup dashboard Managing jobs Monitoring logs Managing storage devices
Role-based access to manage storage devices Monitoring device activity Managing disk-based storage devices in list view Managing disk-based storage devices in tree view Managing the Snapshot Array Manager Managing tape libraries in list view Managing tape libraries in tree view Managing tape drives in list view Managing tape drives in tree view Adding shared devices
Managing storage media Managing user and group accounts Managing Tenant Monitoring events and configuring notifications Reporting in NetVault Backup Working with client clusters Configuring default settings for NetVault Backup
About configuring default settings Configuring encryption settings Configuring plug-in options Configuring default settings for post-scripts Configuring default settings for Verify Plug-in Configuring Deployment Manager Settings Configuring Job Manager settings Configuring Logging Daemon settings Configuring Media Manager settings Configuring Network Manager settings Configuring Process Manager settings Configuring RAS device settings Configuring Schedule Manager settings Configuring Web Service settings Configuring Auditor Daemon settings Configuring firewall settings Configuring general settings Configuring security settings Synchronizing NetVault Time Configuring the reporting utility Configuring NetVault Backup WebUI default settings Configuring NetVault Backup to use a specific VSS provider Configuring default settings using Txtconfig
Diagnostic tracing Managing diagnostic data Using the deviceconfig utility NetVault Backup processes Environment variables Network ports used by NetVault Backup Troubleshooting

Setting restore type

1
On the Advanced Options page, click Restore Type, and select one of the following options.
Table 63. Restore type

Restore from selected backup

This option is selected by default. To restore data from the selected backup, leave this option selected.

Restore from latest backup

Select this option to restore data from most recent backup that was performed using a particular Backup Selection Set regardless of which saveset you use to create the restore job.

f
Restore TestBackup1 using the Restore from selected backup option. This job restores the file “first.txt.”
g
Restore TestBackup1 using the Restore from latest backup option. This job restores the file “last.txt.”
2
Click Set to save the settings and close the dialog box.

Specifying additional options

1
On the Advanced Options page, click Additional Options, and configure the following option:
Use Network Compression: To use network compression while transferring data over the network, select this check box. The data is compressed on the server or client to which the source device is attached before being transferred over the network. On the target client, the data is decompressed before being restored to the original or alternate location.
Restores performed using the Plug-in for NDMP, Plug-in for NetWare, and NetVault Bare Metal Recovery products
2
Click Set to save the settings and close the dialog box.

Configuring pre- and post -scripts for restore jobs

You can use the pre- and post-script options to run user-defined scripts before a job starts or after a job completes. You can use these scripts to perform tasks such as dismounting or shutting down a database before the job starts or mounting or starting the database after the job completes.

Before configuring pre- or post-scripts, review the following information:

The script should be an executable file, for example, “.bat” files on Windows and “.sh” files on Linux.
The script file should reside on the target client. It should be available in the scripts directory under the NetVault Backup installation directory.
The pre- and post-scripts can contain run-time parameters. These parameters are stored in the environment variable NV_USER_ARG. You can also use other NetVault Backup environment variables in the scripts. For a list of available environment variables, see Environment variables in NetVault Backup.
psmail: Use this script to send job completion status to the specified email addresses.
psmail_logs: Use this script to send job completion status and job logs to the specified email addresses.
Linux and UNIX: psmail or psmail_logs
Windows: psmail.bat or psmail_logs.bat
1
On the Advanced Options page, click Pre & Post Scripts, and configure the following settings.

Pre Script

This option allows you to run a user defined script before a job starts. You can use this script to perform any pre -restore preparation, like dismounting or shutting down a database.

To run a pre -script, do the following:

In the Pre Script box, specify the script filename.
In the User Parameter box, provide the values for the run -time parameters. The value should be valid and conform to its usage in the script. NetVault Backup does not perform any validity checks for the user parameters.

Post Script

This option allows you to run a user-defined script after a job completes. You can use this script to perform any post restore processing, such as mounting or starting a database after a job completes.

To run a post -script, do the following:

In the Post Script box, specify the script filename.
In the User Parameter box, provide the values for the run-time parameters. The value should be valid and conform to its usage in the script. NetVault Backup does not perform any validity checks for the user parameters.
2
Click Set to save the settings and close the dialog box.

Pre script

Success

Success

Success

Fail

Fail

Fail

Restore job

Success

Success

Fail

Does not run

Does not run

Does not run

Post script

Success

Fail

Success

Success

Not configured

Fail

Overall job status

Job completes successfully

Job completes, but a post -script error is reported

Job fails, but the pre -script and post -script runs. An error is reported

Job fails, and a pre -script error is reported, but post -script runs

Job fails, and a pre -script error is reported

Job fails. Pre -script and post -script errors are reported

Configuring user-defined events for restore jobs

When creating a restore job, NetVault Backup lets you configure user-defined events that can be raised when the job completes successfully, completes with warnings, or fails. You can use these options when you want to be notified about the completion status of individual jobs.

You can also raise user-defined events for individual backup jobs, restore jobs, report jobs, policies, and log messages. You can use various notification methods to receive notifications when the predefined or user‑defined events occur in NetVault Backup.

You can configure the user-defined events in the Restore Advanced Options Set. Once you create a user‑defined event, you can raise it for any job or backup policy. NetVault Backup adds the user-defined events to the event class Jobs — User defined. You can then set up one or more notification methods for the event to receive notifications when the event is raised.

1
On the Advanced Options page, click Events, and configure the following settings.

Job is Successful

Type or select the event that you want to raise when the job completes successfully.

Job has Warnings

Type or select the event that you want to raise when the job completes with warnings.

Job Fails

Type or select the event that you want to raise when the job fails.

2
Click Set to save the settings and close the dialog box.
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating