IMPORTANT: Jobs that are generated using the RMAN CLI cannot be re-run using the NetVault Backup WebUI. The RMAN CLI command (that is the RMAN script) is not sent from the RMAN CLI application back to NetVault Backup. Consequently, if you select Run Now on the Job Status page, the job will fail. |
1 |
Initiate a command line session, and navigate to the “util” directory: |
• |
• |
5 |
Verify that the nvpluginaccess utility has been correctly configured by reviewing the contents of the “hookplugs.cfg” file located in the “config” directory: |
• |
• |
NOTE: The Password field in the “hookplugs.cfg” file contains an encrypted view of the password. The actual password is not displayed. |
2 |
From the prompt, generate a “Run Block” as follows: |
NetVault Backup Server Name – The NetVault Backup Machine Name of the NetVault Backup Server from which you will run the backup job. This is a required value. | |||||||
Target Set Name – To target a specific device during backup, specify a Target Set created for use with Oracle RMAN backups. (Leave this option blank if you want to use NetVault Backup’s default setting of “Any Device.”) This option will override the Target Set specified on the Configure dialog. For more information on Target Sets, refer to the discussion of Selection Sets in the Dell NetVault Backup Administrator’s Guide. | |||||||
Advanced Options Set Name – Specify an Advanced Options Set created for use with Oracle RMAN backups. (Leave this option blank if you want to use NetVault Backup’s default Advanced Options settings.) This option will override the Advanced Options Set specified on the Configure dialog.
When defining the CLI Backup Advanced Options Set, the Discard After Days/Weeks/Years option must be specified instead of Discard After Full Backups in the Backup Life section of the Advanced Options tab. CLI-based RMAN backups do not support backup-life generation for Full Backups, and backups might expire unexpectedly if the Discard After Full Backups option is specified. For more information on Advanced Option Sets, refer to the discussion of Selection Sets in the Dell NetVault Backup Administrator’s Guide. | |||||||
|
• |
“send” clause – The parameters specified with the “send” clause are applied to a specific job. |
• |
“PARMS” clause – The parameters specified with the “PARMS” clause are applied to all the jobs run from the Oracle Instance. |
send 'NETVAULTCLIPASSWORD=<password>';
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 will display the NetVault Backup password in plain text. | |||||||||
You can 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. Note that this parameter will override the Advanced Options Set that you specified on the Configure dialog.
For more information on Advanced Option Sets, refer to 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 is the default parameter (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.
| |||||||||
You can use this variable to select a specific group of media based on its group label. This variable must be used in conjunction with the “NV_TARGET_MEDIA” variable; otherwise, it will have no effect.
| |||||||||
You can 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).
| |||||||||
You can use this variable to select a specific piece of media based on its media label. This variable must be used in conjunction with the “NV_TARGET_MEDIA” variable; otherwise, it will have no effect.
| |||||||||
You can 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:
| |||||||||
You can 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 from.
PARMS="ENV=(NV_ORIGINAL_NV_CLIENT= <nv_client_machine_name>)" | |||||||||
You can use this variable to run a script after completion of a backup job. The script to be 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).
| |||||||||
You can use this variable to run a script before a backup job. The script to be 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).
| |||||||||
You can 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.
| |||||||||
You can use this variable to specify a Restore Device Source Set created for use with Oracle RMAN CLI restores, which lets you target a specific NetVault Backup set of devices and device options during a restore. Do not use this option if you want to use the default NetVault Backup setting of Any Device.
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.
| |||||||||
For more information on Schedule Sets, refer to the Dell NetVault Backup Administrator’s Guide. | |||||||||
| |||||||||
You can use this variable to specify a Target Set created for use with Oracle RMAN CLI backups to target a specific NetVault Backup device during backup. (Ignore this option if you want to use the NetVault Backup default setting of “Any Device.”) Note that this parameter will override the Target Set specified on the Configure dialog.
For more information on Target Sets, refer to 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.”
|
IMPORTANT: Close any terminal session or window in which you have set the NETVAULTCLIACCOUNT and NETVAULTCLIPASSWORD variables. |
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center