Chat now with support
Chat with Support

NetVault 12.4 - Administration Guide

Introduction Getting started Configuring clients Managing catalog search Configuring storage devices
About storage devices SAN considerations Quest DR Series systems Quest QoreStor NetVault SmartDisk EMC Data Domain Systems Snapshot Array Manager Virtual Tape Libraries Virtual standalone drives Shared Virtual Tape Libraries Physical tape devices Storage tiers
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 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
Common errors Safe Mode in NetVault Backup

Creating Restore Advanced Options Sets

A Restore Advanced Options Set is used to specify restore type, pre- and post-script, and other advanced options. You can create a Restore Advance Options Set from the Create Restore Job page.

1
Start the restore job wizard, and click Create New next to the Advanced Options list.
3
Click Save, and in the Create New Set dialog box, type a name for the set.
Click Save to save the Restore Advanced Options Set.

Setting restore type

1
On the Advanced Options page, click Restore Type, and select one of the following options.
Table 65. 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

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating