Chatee ahora con Soporte
Chat con el soporte

NetVault Plug-in for Oracle 10.0.5 - User Guide

Introducing Dell™ NetVault™ Backup Plug-in for Oracle® Defining a backup strategy Installing and removing the plug-in Configuring the plug-in Backing up data Using the Oracle® Flashback Database Restoring data
Restoring and recovering data: an overview Performing User Managed restores Using advanced User Managed restore procedures Performing RMAN restores Using RMAN types of recovery in a non-RAC environment Using advanced procedures with RMAN restores
Maintaining the Recovery Catalog Using the RMAN CLI Using the Plug-in with Oracle® RAC Using the Plug-in in a failover cluster environment Using the plug-in with Oracle® Data Guard Troubleshooting Glossary

More parameters: the "send" and "PARMS" clauses

Use the parameters described in this section with either the “send” or the “PARMS” command to set up the NetVault Backup options for a backup job run from the command line. This section describes how the “send” and the “PARMS” clauses work.
“send” clause: The parameters specified with the “send” clause are applied to a specific job.
send '<Variable>=<Value>';
In this example, the “NV_TARGET_MEDIA” command affects only the “SBT_TAPE” Channel “ch1”.
The “send” clause is used within a run block and is specified immediately after the “allocate” command in the syntax.
“PARMS” clause: The parameters specified with the “PARMS” clause are applied to all the jobs run from the Oracle® Instance.
PARMS="ENV=(<Variable>=<Value>)"
In this example, the “NV_TARGET_MEDIA” command affects the “SBT_TAPE” Channel “ch1” and any other channels set in the other run blocks.
The “PARMS” clause is used within a run block and is specified immediately after the “allocate” command in the syntax.
Table 3. Variables
NOTE: Use of the NETVAULTCLIPASSWORD variable is a security risk. As an alternative, Dell recommends using the nvpluginaccess utility described in Running the NetVault Backup ‘nvpluginaccess’ utility. If the NETVAULTCLIPASSWORD variable is implemented, it displays the NetVault Backup password in plain text.
Use this variable to specify a template for an Advanced Options Set created for use with Oracle® RMAN CLI backups to target a specific set of NetVault Backup Advanced Options during backup. This parameter overrides the Advanced Options Set that you specified on the Configure dialog box.
For more information on Advanced Option Sets, see the discussion of Selection Sets in the Dell NetVault Backup Administrator’s Guide.
The parameters within curly braces are optional. Count followed by full determines the number of generations that the backup is kept. This parameter is the default (that is, if nothing is specified with count, the number of backup generations is considered for the backup life). Days, weeks, or years represents the number of days, weeks, or years that the backup is kept before it is discarded.
Use this variable to assign a title to the job. Dell recommends that only use this variable with the “send” command on a per job basis (that is, to avoid the chance of all future jobs being labeled with this Job Title, when applied with the “PARMS” clause).
Use this variable to compress backup data before it is transferred over the network (that is, in the same manner as the Advanced Options tab’s “Network Compression” option). The permissible values are:
Use this variable with the “PARMS” clause to establish the machine name of the original NetVault Backup Client Machine Name where the backup was performed.
PARMS="ENV=(NV_ORIGINAL_NV_CLIENT= <nv_client_machine_name>)"
Use this variable to run a script after completion of a backup job. The script to run must be saved in the “…\netvault\scripts” subdirectory on the Oracle Database Server (where “…” refers to the complete path to the installation of NetVault Backup).
Use this variable to run a script before a backup job. The script to run must be saved in the “…\netvault\scripts” subdirectory on the Oracle Database Server (where “…” refers to the complete path to the installation of NetVault Backup).
Use this variable to reset the Oracle environment after the “PARMS” clause has been used in the run block.
If the value is set as Never, no media marked for reuse is used for the backup. With the parameter set as Any, any media previously marked for reuse is considered for the backup. If the value is set as With same group label as the target media, any media containing the specified group label that has been previously marked for reuse is considered for the backup.
NOTE: To use this variable, you must specify a Restore Device Source Set that was created from the Restore Source option on the Restore Options tab. Do not use NetVault Backup Backup Target Sets. A NetVault Backup Backup Target Set is used to specify target devices during a backup. A NetVault Backup Restore Source Set is used to specify a set of source devices and devices options during a restore.
Set this variable through the “send” or “PARMS” clause in the RMAN CLI.
Using “send”: The specified parameters apply only to a specific job.

send '<Variable>=<Value>';
Using “PARMS”: The specified parameters apply to all jobs run from the Oracle Instance.

PARMS="ENV=(<Variable>=<Value>)
For more information on Schedule Sets, see the Dell NetVault Backup Administrator’s Guide.
Any not in a group: To target any media that does not have a Group Label assigned to it.
Any: To target any available media.
MID: To target a specific piece of media based on its media label (in which case the NV_MID_LABEL variable has to accompany this variable, and the applicable piece of media must be named).
Group Label: To target the media within a specific group based on its Group Label (in which case the NV_GROUP_LABEL variable has to accompany this variable, and the applicable Group Label must be named).
For more information on Target Sets, see the discussion of Selection Sets in the Dell NetVault Backup Administrator’s Guide.
If set to True, the data transfer is checked and a job message is added to the NetVault Backup Job log stating “Backup job has verified successfully.”
After the “PARMS” clause has been used, use either of the following lines of syntax to reset the RMAN environment:
IMPORTANT: Close any terminal session or window in which you have set the NETVAULTCLIACCOUNT and NETVAULTCLIPASSWORD variables.

Querying the NetVault Backup media name

For RMAN CLI backups performed through the plug-in, you can use SQL*Plus to determine the physical media on which the RMAN backup pieces are stored. The following example shows how to query the media information using Oracle® SQL*Plus.
SQL*Plus uses the following format to display the media information:
The tape_barcode is shown in parentheses.
If there is no tape_media_label, the media label defaults to “MMS NetVault Backup Tape”.

Performing CLI-based restores

IMPORTANT: Although this form of restore is initiated locally from a terminal session on the Oracle Database Server, you can monitor job progress from the Jobs Status page in the NetVault Backup WebUI. However, this option applies only to data restores from the media contained in devices controlled by the NetVault Backup Server.

Using the Plug-in with Oracle® RAC

Documentos relacionados

The document was helpful.

Seleccionar calificación

I easily found the information I needed.

Seleccionar calificación