NetVault Backup Teradata Plugin Users Guide English
NetVault Backup Teradata Plugin Users Guide English
NetVault Backup Teradata Plugin Users Guide English
Teradata Plugin
version 12.2
Version: 12.2Product Number: TRG-101-12.2-EN-01
Users Guide
TRG-101-12.2-EN-01 10/08/10
Copyrights
NetVault: Backup Teradata Plugin Users Guide
Software Copyright 2010 BakBone Software
Documentation Copyright 2010 BakBone Software
This software product is copyrighted and all rights are reserved. The distribution and sale of this
product are intended for the use of the original purchaser only per the terms of the License
Agreement. All other product trademarks are the property of their respective owners.
The NetVault: Backup Teradata Plugin Users Guide documentation is copyrighted and all rights
are reserved.
This document may not, in whole or part, be copied, photocopied, reproduced, translated,
reduced or transferred to any electronic medium or machine-readable form without prior consent
in writing from BakBone Software.
Teradata, ARCmain, BTEQ and BYNET are registered trademarks of the Teradata
Corporation. All references made within this documentation used with permission from
Teradata Corp.
THIS PUBLICATION IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT.
THIS PUBLICATION COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL
ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE
CHANGES WILL BE INCORPORATED INTO NEW EDITIONS OF THE PUBLICATION.
BAKBONE SOFTWARE MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE
PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN THIS PUBLICATION AT ANY
TIME.
1999-2010 BakBone, BakBone Software, NetVault, Application Plugin Module, BakBone
logo, Integrated Data Protection, SmartDisk, Asempra, and FASTRecover are all
trademarks or registered trademarks of BakBone Software, Inc., in the United States and/or in
other countries. All other brands, products or service names are or may be trademarks,
registered trademarks or service marks of, and used to identify, products or services of their
respective owners.
BakBone Software
9540 Towne Centre Drive, Suite 100 San Diego, California 92121 866.484.2663
Table of Contents
Preface
11
13
Prerequisites ................................................................................................................... 15
Installing Teradata Plugin .............................................................................................. 16
Installing the License Key .............................................................................................. 16
Removing Teradata Plugin ............................................................................................. 17
19
Table of Contents
37
63
Restore .......................................................................................................................................... 64
Copy ............................................................................................................................................... 65
Analyze .......................................................................................................................................... 65
User-defined Restore Scripts ......................................................................................................... 65
87
Table of Contents
Appendix
Appendix A: Glossary
97
99
Prerequisites ....................................................................................................................99
Procedure for Migrating the Server ...............................................................................99
103
105
Appendix E: Troubleshooting
109
PREFACE
About this Document
This guide describes how to install, configure, and use the NetVault: Backup
Teradata Plugin to protect your data.
Target Audience
This guide is intended for system administrators, database administrators, and
other technical personnel who are responsible for the backup and recovery of
Teradata database. An understanding of Teradata database administration and the
operating system under which you are running the database is assumed.
Organization
The User's Guide is organized as follows:
Chapter 4: Backing up Data with Teradata Plugin how to use the plugin to
perform backups.
Chapter 5: Restoring Data with Teradata Plugin describes how to use the
plugin to restore and recover data.
Chapter 6: Viewing Logs and Job Progress describes how to obtain the job
progress information and access the job logs.
Appendix A: Glossary
Preface
You can download these guides from the BakBone website at the following
address:
http://www.bakbone.com/documentation
Technical Support
Services Centers (RSC) are available to assist you. To learn more about
Teradata Customer Services, go to Teradata @ Your Service at
http://www.Teradata.com/TeradataAtYourService
RSCs were formerly called MSCs (Managed Service Centers).
If you have purchased an ESS (Enterprise System Support) contract, a
customized support plan was created for you. Refer to your support plan for
contact information. In addition, a unique PIN (Personal Identification
Number) was given to your site. If you are an ESS customer, you must
contact the regional RSC to request support, and you must use your PIN.
PINs are not published; if you misplace your PIN contact your account
representative.
Teradata Web Site Provides the latest news, upcoming events, analyst
reports, benchmark publications, and customer stories all tailored to
your industry, your business and your needs at URL:
http://www.info.teradata.com
http://www.teradata.com
Teradata Resource Center Web Site The latest Teradata Product and
Solution brochures, Industry Solution brochures, as well as customer
success stories and third party analyst reports at URL:
http://www.teradatalibrary.com
Data Storage products are listed at:
http://www.teradatalibrary.com/datastorage.htm
10
Preface
11
Chapter 1:
INTRODUCING NETVAULT:
BACKUP TERADATA PLUGIN
This chapter provides an overview of the NetVault: Backup Teradata Plugin. The
information in this chapter is organized into the following topics:
1.1.0
Feature Summary
1.2.0
Feature Summary
Full, Full On-line, Full Clustered, Full Clustered On-line, Full Multi-stream and
Full Multi-stream On-line backup types
Backup and restore entire database, or selected tables and database objects
Checkpoint restarts
12
Chapter 1
Introducing NetVault: Backup Teradata Plugin
Job scheduling
13
Chapter 2:
2.1.0
Prerequisites
2.1.1
Traditional Architecture
BAR Framework
Traditional Architecture
The traditional approach is the direct-attached architecture in which the tape
drives and libraries are connected directly to the Teradata nodes. The Teradata
Plugin runs on the DBS nodes, which initiate the backup and restore jobs.
Figure 2-1:
An example of
legacy directattached
configuration
14
Chapter 2
Installing Teradata Plugin
Teradata has moved away from this architecture and does not recommend it to the
new customers. However, support will continue to protect the investment of the
existing customers. The direct-attached configuration is only available on MP-RAS
UNIX. It is not supported on Windows or Linux.
2.1.2
BAR Framework
The recent and the recommended approach for all platforms is the BAR
framework. In this architecture, backups and restores are managed by dedicated
BAR Servers that are connected to the Teradata DBS nodes via Gigabit Ethernet
LAN. This approach off loads the BAR work from Teradata nodes and offers better
scalability. Additionally, this approach supports disk backups and sharing of
devices. These features are not available in the direct-attached architecture.
Figure 2-2:
An example of
BAR
framework
Teradata System
Node
1
Node
2
Node
3
Node
4
Node
5
Node
6
Node
7
Node
8
Gbit Switch
BAR
Server
BAR
Server
BAR
Server
BAR
Server
BAR
Server
Teradata
Master
Plugin
Teradata
Slave
Plugin
Teradata
Slave
Plugin
Teradata
Slave
Plugin
Teradata
Slave
Plugin
NetVault
Server
NetVault
Client
NetVault
Client
NetVault
Client
NetVault
Client
Robotic Control
Path
Tape Library
541A012
You can also install multiple Teradata systems at a single site, which can be
configured within a single or multiple NetVault: Backup Domains. When setting up
multiple NetVault: Backup Domains, ensure that each Teradata system has
access to separate backup devices. To understand the different ways to configure
the BAR Servers, consult the Teradata Global Support Center, or the BakBone
Software Teradata OEM Group, in San Diego, California, USA.
15
Shared
Library
Teradata
Production
System
(4 nodes)
BAR
Server
NVServer
Robotics
9200
Shared Library
w/Shared
Tape Drives
BAR
Server
Teradata
Production
System
NVClient
(4 nodes)
Robotics
BAR
Server
NVServer
9200
BAR
Server
NVClient
BAR
Server
BAR
Server
NVClient
NVClient
Teradata
Development
System
BAR
Server
Teradata
Development
System
BAR
Server
(2 nodes)
NVClient
(2 nodes)
NVClient
Fibre
Channel
Switch
541A013
2.2.0
Prerequisites
Before starting the plugin installation, refer to the following notes and complete the
required tasks:
Install the NetVault: Backup Server software on the designated machine. This
machine can be a BAR Server or any other machine outside the Teradata
DBS system. The Server machine can run any supported operating system
regardless of the DBS operating system.
The NetVault: Backup Server is the core software that provides backup
management services and controls all the operations and devices (including
the logical control of robotics). For instructions on installing the NetVault:
Backup Server software, refer to the NetVault: Backup Installation Guide.
Select the Teradata Master Plugin node. The NetVault: Backup Server
configured as the Teradata Master Plugin is suitable in most cases. However,
you can also choose one of the BAR Servers or any other machine on the
network to serve as the Teradata Master Plugin node.
Install the NetVault: Backup Client software on the BAR Servers and the
Teradata Master Plugin node (if this machine is not configured as the
NetVault: Backup Server). For instructions on installing the NetVault: Backup
Client software, refer to the NetVault: Backup Installation Guide.
Install Teradata Tools and Utilities (TTU) on the Teradata Master Plugin node
and the BAR Servers. The Teradata Plugin v12.x requires TTU 13.0 or later.
For multi-stream backups and restores, set up a Teradata ARC Server (TARA
Server). This Server facilitates communication between the ARC processes.
16
Chapter 2
Installing Teradata Plugin
2.3.0
Add the backup devices to the NetVault: Backup Server. For instructions,
refer to the NetVault: Backup Administrators Guide.
2.4.0
17
Figure 2-4:
License Key
Installation
window
4. Enter (or copy/paste) the license key in the Enter Key String box.
5. Click OK.
2.5.0
18
Chapter 2
Installing Teradata Plugin
19
Chapter 3:
CONFIGURING TERADATA
PLUGIN
This chapter describes how to configure the default settings for the Teradata
Plugin. The information in this chapter is organized into the following topics:
Removing a DBS
3.1.0
20
Chapter 3
Configuring Teradata Plugin
3. Locate Teradata in the list of plugins. Right-click this node, and select
Configure.
You can also access the Configure window using the methods described in
the following sections:
21
Path to ARCMAIN Utility Enter the file path for the ARCMAIN utility.
Path for Teradata Plugin and ARC Working Files The working
directory path must be relative to the NetVault: Backup installation
directory, regardless of whether NetVault: Backup is installed on the
default installation directory or a custom directory. By default, the working
directory is set to the following relative path:
MP-RAS teradata
Linux teradata
Windows Teradata
22
Chapter 3
Configuring Teradata Plugin
23
From the Services panel, open the Properties window for the
NetVault Process Manager.
Then, enter the application path for the Text Editor in this box. Make
sure that the application is accessible to the Teradata Master Plugin.
When a job starts (as determined by the job schedule), the Teradata
Plugin will automatically start the editor application and open the script
file. After making the changes when you close the editor, the plugin will
transfer the updated script to the BAR Server on which it is to be
executed, and run the job. The Administrator must be present when
the job is scheduled in order to edit the script. Otherwise, the job will
remain in an idle state with an open editor window.
Batch Mode The Batch Mode script editing feature utilizes scripts
that automatically make the necessary edits to the ARC scripts without
any manual input. Exercise caution when using the Batch Mode editing
feature and thoroughly test the script before using it as this script will
be executed for every job.
To use the batch editing mode, you must do the following:
Then, enter the file path for the script in the Editor Application
box.
When a job starts, the Teradata Plugin passes the generated ARC
script as an argument to the script file, which will modify the ARC
script. When finished, the Teradata Plugin will run the updated script.
When entering the script file name in the Editor Application box,
consider the following:
24
Chapter 3
Configuring Teradata Plugin
The backups might fail if you select an incorrect version. The features
specific to a Teradata DBS release are briefly described below:
Teradata Database 13.0 and Later
25
Setting the priority level to High or Highest does not have any
negative impact on the other processes when the ARCMAIN
processes are not running. The plugin raises the scheduling priority
only when a job is running.
This parameter can be configured only from the Selections tab on the
NVBU Backup window. Setting the priority level via the NetVault:
Backup Configurator or Remote Configurator will not work.
Restore Media Request (Timeout) Enter the timeout interval for the
availability of media during restore. The job will be aborted if the backup
media is not available within the specified interval. When set to zero, the
job waits indefinitely for the media. Therefore, BakBone recommends that
you change this default value and set an appropriate timeout period to exit
gracefully.
26
Chapter 3
Configuring Teradata Plugin
Note: The Full Multi-stream and Full Multi-stream On-line methods cannot be
used without configuring the TARA Server name/address.
TARA Server Port This parameter is set to the default listener port for
the TARA Server, which is 54323. Change the port number if the TARA
Server is configured to listen on a different port in your setup.
ARCMAIN Log Line Wrap Width On TTU 13.0 and later, this
parameter can be used to set a value for the ARCMAIN LINEWRAP
parameter. ARCMAIN uses this setting while displaying the log messages.
By default, the messages are wrapped at 80 characters. To change the
LINEWRAP settings, enter the number of characters at which you want
ARCMAIN to wrap the message. You can specify any value in the range
0-255. The line wrap setting works as follows:
0 No wrapping
3.1.1
27
3.1.2
3.2.0
28
Chapter 3
Configuring Teradata Plugin
Figure 3-2:
Enter Name of
Teradata
RDBMS
window
DBS Name Enter the name of the target DBS. Ensure that this machine
has a corresponding COP1 mapping in the /etc/hosts file of each BAR
Server. For example, if the Teradata DBS is called TeraDB, then the
/etc/hosts file on each BAR Server must have an alias mapping for the
DBS name as TeraDBcop1.
Cluster Count Enter the total number of clusters contained in the DBS.
The cluster count is required to determine the number of parallel jobs for
cluster archiving.
5. Click OK. The DBS will be added to the plugin and displayed under the
Teradata node.
3.2.1
3.2.2
Removing a DBS
To remove a Teradata DBS, perform the following steps:
1. Open the Backup window.
2. On the Selections tab, open the Teradata Master Plugin node (double-click
the node, or right-click the node, and select Open).
29
3.3.0
Figure 3-3:
Define Clients
for Teradata
DBS window
Client The Teradata Plugin will display all the NetVault: Backup Clients
listed under Clients in the NVBU Client Management window. Select
only the BAR Servers that will participate in the backup and restore
operations.
6. Click OK.
Note: Follow the same procedure to add or remove BAR Servers, or to
reconfigure the drives available to a BAR Server.
30
Chapter 3
Configuring Teradata Plugin
3.4.0
3.5.0
31
4. Right-click the Teradata DBS node and select Set Default Logon.
5. Configure the following parameters:
Figure 3-4:
Set Default
Login window
3.6.0
32
Chapter 3
Configuring Teradata Plugin
4. Right-click the Teradata DBS node, and select Create/Upgrade Catalog
Database.
5. Configure the following parameters:
Figure 3-5:
Create
Catalog
Database
window
Enter Password for DBC Account Enter the password for the DBC
user account.
Catalog Database Name This box displays the Catalog database name
specified in the Configure window. It should not be changed. Any change
must be made in the Configure window.
3.7.0
If the restore accounts are not created, the cluster restore jobs will fail and the
message User Identification is Not Authorized will be logged.
If sufficient restore accounts are not created, the job will not fail. However, the
message Parallelism is Lost will be displayed.
If necessary privileges are not granted, the restore jobs will fail and the
message User does not have RESTORE Access to Database xxx will be
logged.
The procedure for creating restore accounts can be divided into the following
steps:
33
These steps are described in the following sections. Before proceeding make sure
that you have configured the Number of Restore Accounts for Parallel
Restores and the Restore Account Base Name parameters in the Configure
window. For details, refer to Configuring the Default Settings on page 19.
Note: You can also use the BTEQ commands to create the restore accounts. For
details on using BTEQ, refer to the relevant Teradata Documentation.
3.7.1
Figure 3-6:
Create
Restore
Account(s)
window
Enter Password for DBC Account Enter the password for the DBC
user account.
Restore Account Base Name This box displays the base name for the
restore account specified in the Configure window. It should not be
changed. Any change must be made in the Configure window.
34
Chapter 3
Configuring Teradata Plugin
3.7.2
Figure 3-7:
Change
RESTORE
Privileges
window
Account Name Enter the user name with DBC account privileges.
Restore Account Base Name This box displays the base name for the
restore account, and should not be changed.
3.7.2.a
35
Account Name Enter the user name with DBC account privileges.
Restore Account Base Name This box displays the base name for the
restore account, and should not be changed.
3.8.0
Figure 3-8:
Define
Encryption
Algorithms
window
36
Chapter 3
Configuring Teradata Plugin
37
Chapter 4:
Full Backup
Incremental Backup
Using Catalog
38
Chapter 4
Backing up Data with Teradata Plugin
4.1.0
Additional Notes
All-AMPs
Cluster
Multi-stream
Each method can be used to perform online or offline backups. The online
backups allow concurrent updates to tables while the backup is in progress. The
Teradata Plugin utilizes automatic logging for online backups on Teradata
Database 12.0 and later. On prior versions of the database, you must activate
permanent journaling for online backups. Without automatic or permanent logging,
read locks are placed on the object being backed up, preventing updates during
the backup. The available backup types are described in the sections that follow.
4.1.1
39
Full Backup
The Full Backup method archives data from all AMPs into a single archive file.
Read utility locks are used to prevent updates by other users during backup.
When a database is selected, the read utility lock is placed at the database level
before archiving begins. When individual tables are selected, the lock is placed on
each table before it is archived. The locks are released when the backup
completes.
4.1.2
4.1.3
Teradata Database V2R6 On V2R6, the Full On-line Backups can only be
used to backup databases with permanent journals. You must also enable the
Allow ARC Script Journaling parameter. For details, refer to Configuring
the Default Settings on page 19. Group Read locks are placed during backup
to allow concurrent updates.
Teradata Database 12.0 and Later Permanent journals are not required on
Teradata database 12.0 and later as the DBS automatically sets up the
required logging mechanism when an on-line backup is requested.
Phase 2 archives the data tables and objects into cluster archives.
40
Chapter 4
Backing up Data with Teradata Plugin
4.1.4
Teradata Database 12.0 and Later Permanent journals are not required on
release 12.0 and later as the DBS automatically sets up the required logging
mechanism when an on-line backup is requested.
Note: The use of permanent journaling is not supported through the Teradata
Plugin GUI if the Teradata Database Version parameter on the Configure
window is set to Teradata Database 12.0 or Teradata Database 13.0 and Later.
The support for permanent journals through the Teradata Plugin GUI is limited to
Teradata V2R6.
4.1.5
41
Read utility locks are used to prevent updates by other users during a backup.
When a database is selected, the read utility lock is placed at the database level
before archiving begins. When individual tables are selected, the lock is placed on
each table before it is archived. The locks are released when the backup
completes.
4.1.6
To use this method, you must set up a TARA Server and specify the server name/
IP and port number on the Configure window. The Full Multi-stream On-line
backup method is not supported on MP-RAS UNIX platform.
4.1.7
Incremental Backup
For very large databases, backing up the full database each time may not be
practical. To solve this problem, the Teradata Plugin provides the Incremental
Backup method, which can be used in conjunction with the Full On-line backups to
archive the after-change journals. In the unfortunate event of failure, the full
backup along with the journal backup can be used to restore and recover the
database.
To use the incremental backup method you must activate permanent journaling
and enable the Allow ARC Script Journaling parameter. For details, refer to
Configuring the Default Settings on page 19.
42
Chapter 4
Backing up Data with Teradata Plugin
4.1.8
4.1.9
4.2.0
4.2.1
43
Figure 4-1:
Selections tab
on Backup
window.
On Teradata
database 13.0
and later, the
database
objects, such
as triggers,
views, stored
procedures
and others are
also listed in
the selection
tree
Classical View This view displays a flat selection tree, ignoring the
parent-child relationship.
5. Select the desired browse method, and open the DBS node to view the
contents.
6. A login prompt will appear if you have not configured a default login account
for the plugin. Configure the following parameter in the login window:
Account Name Enter a Teradata DBS user name. This user account
must have sufficient privileges to run backup and restore jobs.
44
Chapter 4
Backing up Data with Teradata Plugin
7. Make the data selections as described below:
Select an Entire DBS In the Hierarchical View, the entire DBS can be
selected for a backup by selecting the DBC node. In the Classical View,
each node must be selected manually.
Select DBC System Tables The DBC system tables can only be
selected when performing a Full or a Full Multi-stream backup. This can
be done by selecting the <All DBC Objects> node in the Hierarchical
View, or the DBC node in the Classical View.
Select PPI Table Partitions The ability to select partitions of a PPI table
is limited to Full and Full Multi-stream backup methods. The other backup
methods do not support backups of PPI table partitions. For more
information, refer to Archiving Selected Partitions of PPI Tables on page
52.
For excluding the child objects after selecting a parent node, first
complete all the selections and then omit the unwanted objects from
backup. An inclusion after exclusion will result in a failed job.
The All, Default and Public objects are not displayed in the Hierarchical
View. Select the DBC node to backup these objects.
The SYSUDTLIB which contains the definition of all User Defined Types
(UDTs) is logically linked to the DBC. When you archive DBC, the
SYSUDTLIB is automatically included. If you exclude DBC, the
SYSUDTLIB is also excluded.
4.2.2
45
4.2.3
Full Select this method to perform an all AMPs backup of the selected data
without any journaling.
Full On-line To use this backup method with V2R6, you must activate
permanent journaling and enable the Allow ARC Script Journaling
parameter. For details, refer to Configuring the Default Settings on page 19.
Figure 4-2:
Backup
Options for
Full and Full
On-line
methods
4.2.3.a
Using Catalog
To store the backup information in the catalog, do the following:
Select the Use ARC Catalog check box in the Configure window. For
details, refer to Configuring the Default Settings on page 19.
Create the required catalog database. For details, refer to and Creating or
Upgrading the Catalog Database on page 31.
Under Backup Type, leave the Use ARC Catalog check box selected.
Clear this check box if you do not want to use the catalog for a particular job, for
example, when archiving the Catalog database itself.
46
Chapter 4
Backing up Data with Teradata Plugin
4.2.3.b
4.2.3.c
4.2.3.d
If an internal failure occurs in ARC, such that program control cannot proceed
to, or complete, the release lock step.
4.2.3.e
4.2.3.f
47
This feature is only supported on Windows 2003 R2 and Linux platforms. It is not
available on MP-RAS UNIX operating system. The Defiance module must be
installed on each BAR Server on which you want to run the encrypted backups.
4.2.3.g
4.2.3.h
4.2.3.i
48
Chapter 4
Backing up Data with Teradata Plugin
4.2.3.j
4.2.4
To override the auto-selection and run the job on particular BAR Server, select the
target machine in the Run Job on Client list.
4.2.5
4.3.0
49
Figure 4-3:
Backup
Options for
Full Clustered
and Full
Clustered Online methods
Full Clustered On-line To use this method with V2R6, you must
activate permanent journaling and select the Allow ARC Script
Journaling parameter as described in Configuring the Default Settings on
page 19.
50
Chapter 4
Backing up Data with Teradata Plugin
The Teradata Plugin will attempt to restart the failed cluster sub-jobs on
the remaining active BAR Servers. This might increase the backup time
depending on (1) how much data was transferred before the error, and (2)
whether an idle BAR Server is available immediately. The job status is set
to Backup Completed with Warnings if any of the sub-jobs has to be
rescheduled while the other sub-others are successful.
If you do not select this check box, the job will be aborted when a sub-job
fails.
5. Complete and submit the job. For details, refer to Finalizing and Submitting a
Job on page 48.
4.4.0
51
Full Multi-stream On-line To use this method with V2R6, you must
activate permanent journaling and select the Allow ARC Script
Journaling parameter as described in Configuring the Default Settings on
page 19.
5. Complete and submit the job. For details, refer to Finalizing and Submitting a
Job on page 48.
52
Chapter 4
Backing up Data with Teradata Plugin
4.5.0
Archive only a subset of data and avoid duplication. This can minimize the
size of the archive and improve performance.
The ability to select partitions of a PPI table is limited to Full backup method. The
other backup methods do not support backups of PPI table partitions.
4.5.1
4.5.2
A restore operation always deletes the selected partitions of the target table
before restoring the rows that are stored in the archive.
53
Figure 4-5:
Enter Partition
Selection
Expression
window
5. Click OK. The PPI table icon changes indicate PPI partition backup and the
partition expression is displayed in parenthesis.
Figure 4-6:
PPI partitions
selected for a
backup
6. To include partitions from other PPI tables, repeat steps 2-4 specifying the
required filter expression for each table.
7. Click the Backup Options tab, and select Full or Full Multi-stream under
Backup Type.
8. Configure the required Backup Options. For details, refer to Configuring the
Backup Options on page 45.
9. To run the job on a particular BAR Server, select the target machine in the
Run Job on Client list. For details, refer to Choosing the BAR Server to Run
Backup on page 48. Ignore this step to automatically select a least loaded
BAR Server to perform the backup.
10.Complete and submit the job. For details, refer to Finalizing and Submitting a
Job on page 48.
54
Chapter 4
Backing up Data with Teradata Plugin
4.5.3
4.5.4
4.6.0
4.7.0
55
4.8.0
56
Chapter 4
Backing up Data with Teradata Plugin
Note the following:
4.9.0
A job must be resumed immediately from the same session. If you close and
reopen the Jobs window, then the Resume option will not be available.
If the Jobs window is not closed/reopened but another job is submitted in the
same session, then the status of the stopped job will change to Incomplete
and the Resume option will no longer be available.
Full Select this method to perform an all AMPs backup of the selected
data without any journaling.
Full On-line To use this method with V2R6 and previous releases, you
must activate permanent journaling and enable the Allow ARC Script
Journaling parameter as described in Configuring the Default Settings on
page 19.
Full Clustered On-line To use this method with V2R6 and previous
releases, you must activate permanent journaling and enable the Allow
ARC Script Journaling parameter as described in Configuring the
Default Settings on page 19.
Full Multi-stream On-line To use this method with V2R6, you must
activate permanent journaling and select the Allow ARC Script
Journaling parameter as described in Configuring the Default Settings on
page 19.
3. under Backup Type, select the Generate ARC Script Only check box.
4. Enter a suitable name for the job in the Job Title box.
5. Click Submit.
57
6. For details on viewing and saving the ARC script, refer to Accessing Job Logs
on page 92.
4.10.0
4.11.0
58
Chapter 4
Backing up Data with Teradata Plugin
Teradata Plugin v12.x provides a Catalog Database Maintenance feature, which
can be used to remove unnecessary records related to savesets which have been
retired, blanked or removed from the NVDB. This helps in cleaning up the catalog
database and limiting its size.
You can run a catalog cleanup job either from the plugin GUI or from the CLI. The
procedures are described in the following sections.
4.11.1
4.11.2
59
<Value> is a user input variable that must be replaced with the actual value.
Parameters enclosed in [ ] are optional. The parameters are described in detail
below:
Important: If you omit either DBAccount or DBPassword, then the plugin will
use the default account configured for the DBS. Without a default account if you
omit one of these parameters, the job will fail.
Verbose Specify ALL to write both the ERROR and the LOG messages to
the standard output. Specify ERROR to write only the ERROR messages to
standard output. This is an optional parameter. If you omit this parameter or
specify any other value, then the plugin will not write any messages. This
parameter does not affect the NetVault: Backup Log daemon.
4.12.0
The parameters are not case sensitive (for example, you can enter NVServer
or NVSERVER). However the values are case-sensitive.
60
Chapter 4
Backing up Data with Teradata Plugin
4.12.1
4.12.2
4.13.0
Additional Notes
Refer to the notes in this section before you run a backup job.
For non fallback tables, it is recommended that you perform a backup when
all AMPs are online. Alternatively, you can perform specific AMP archive for
the offline processors after the AMPs are back online. However, Teradata
Plugin does not support backups of specific AMPs. This must be performed
outside the plugin from the command line.
The Teradata Plugin does the following while generating parallel data streams
for cluster backup if the media availability timeout interval has been set in the
Configure window:
61
Ignores the BAR Servers with no suitable drive/media and logs a warning.
Waits for the availability of drives/media if all the drives are currently busy.
62
Chapter 4
Backing up Data with Teradata Plugin
63
Chapter 5:
Restore
Copy
Analyze
Using Catalog
64
Chapter 5
Restoring Data with Teradata Plugin
5.1.0
Additional Notes
5.1.1
Restore
A restore operation moves data from archived files back to the same Teradata
database from which it was archived. Refer to the following notes before you start
a restore operation:
A restore of database DBC will drop all the new database objects (database,
users, and UDTs) created since the archive. A restore of a user database will
drop new tables and other database objects such as views, macros, etc.,
created since the archive of the database.
The data dictionary must contain the definition of the entity to be restored.
DROP and RENAME statements cause the definition of an entity to be
removed from the dictionary, and this same definition cannot be recreated
using CREATE statement. So a dropped table can be restored only by
restoring the entire database. A dropped database can be restored only by
restoring the DBC first (provided the DBC archive has the database definition
in it). To restore objects not defined in the dictionary, use the Copy method.
Before starting a parallel restore job, ensure that you have created the
required number of restore accounts. For more information, refer to Creating
User Accounts for Parallel Restores on page 32.
5.1.2
65
Copy
A copy operation moves data from an archived file to any Teradata Database and
creates a new table if one does not already exist on the target database. The
following conditions must be met before you copy the data:
5.1.3
The user must have restore access privileges on the target database or table.
The user account must have both CREATE TABLE and RESTORE database
access privileges on the target database to copy a non-existent table.
The target database must have a journal table to copy journal archives.
Analyze
The analyze method allows you to determine the contents of the backup saveset
without actually restoring the data. The Teradata Plugin provides the following two
analyze options:
Analyze Selections Use this option to analyze the contents of the selected
database in the archive.
Analyze All from Archive Use this option to analyze the contents of the
complete saveset.
The analyze method provides the following information about the archive saveset:
5.1.4
The name of each database, data table, journal table, stored procedure, view,
and macro in each database
66
Chapter 5
Restoring Data with Teradata Plugin
5.2.0
5.2.1
Figure 5-1:
Selections tab
on Restore
window
67
To open any node on the Selections tab, you can do either of the following:
3. Locate Teradata in the list of plugins, and open this node to display the
backup savesets created with the plugin. Each saveset is labeled with its job
title followed by the backup type, saveset ID and the backup timestamp.
4. Open the target backup saveset to display the <All Objects> node.
5. Open the <All Objects> node to list the databases and tables. From this
level, double-click a node to open it (the right-click + Open method is not
available).
6. Select the objects to be restored.
When selecting the data, consider the following:
5.2.2
For excluding the child objects after selecting a parent node, first complete all
the selections and then omit the unwanted objects from backup. An inclusion
after exclusion will result in a failed job.
The SYSUDTLIB which contains the definition of all User Defined Types
(UDTs) is logically linked to the DBC. When you restore DBC, the
SYSUDTLIB is automatically restored. If you exclude DBC, the SYSUDTLIB
is also excluded.
5.2.3
Target DBS The target database name is displayed in this box. Do not
change it.
5.2.4
68
Chapter 5
Restoring Data with Teradata Plugin
Figure 5-2:
Restore
Options for AllAMPs backup
methods
5.2.4.a
Using Catalog
If the backup information was written to a catalog, select the Use ARC Catalog
check box to speed up the operation. Clear this check box if a catalog was not
used during backup.
5.2.4.b
5.2.4.c
69
connected sessions that are not actually used in the operation result in wasted
system resources.
5.2.4.d
5.2.4.e
5.2.4.f
5.2.5
70
Chapter 5
Restoring Data with Teradata Plugin
If you intend to restore incremental backups next, the rollfoward operation can be
performed with the last incremental restore job.
5.2.6
5.2.7
5.3.0
71
Target DBS The target database name is displayed in this box. Do not
change it.
72
Chapter 5
Restoring Data with Teradata Plugin
Note: For the Multi-stream Restore Method, you can use the Maximum Parallel
Data Streams to Use option to reduce the number of parallel streams and use
fewer streams than what was used during backup. The plugin will restore the first
subset of data streams, and then continue with the next subset until all data
streams are restored. The remaining streams in the last subset may be lesser than
the configured maximum parallel data streams.
8. Complete and submit the job. For details, refer to Finalizing and Submitting a
Job on page 70.
5.4.0
73
itself determines how the data is distributed and what data each stream restores.
The restore script does not contain this information.
To restore/copy backups generated using the multi-stream backup methods,
perform the following steps:
1. Select the data for restore. For details, refer to Selecting Data for a Restore
on page 66.
2. Click the Restore Options tab. Under Login Information enter the following
details:
Figure 5-4:
Restore
Options for
Multi-stream
backup
methods
Target DBS The target database name is displayed in this box. Do not
change it.
74
Chapter 5
Restoring Data with Teradata Plugin
5. To recover the database or tables using the restored journal, select the Roll
Forward check box. For details, refer to Recovering Tables and Databases
on page 69.
6. To generate copy of fallback tables and indexes for fallback and nonfallback
tables, select the Issue BUILD Statement check box under ARC Restore
Options. The build operation can be performed with the last incremental
restore job.
7. Under MPP Options, configure the following parameter:
Note: For Multi-stream Restore Method, you can use the Maximum Parallel Data
Streams to Use option to reduce the number of parallel streams and use fewer
streams than what was used during backup. The plugin will restore the first subset
of data streams, and then continue with the next subset until all data streams are
restored. The remaining streams in the last subset may be lesser than the
configured maximum parallel data streams.
8. Complete and submit the job. For details, refer to Finalizing and Submitting a
Job on page 70.
5.5.0
Figure 5-5:
Different
methods for
selecting data
from a PPI
Partition
Backup
75
<PPI Table> (ALL PARTITIONS) Select this check box to restore all the
partitions within the selected saveset. The records within the range
specified by the partition expression is first dropped from the table, and
then the data in the archive is restored.
3. Click the Restore Options tab, and configure the login details. For details,
refer to Connecting to the Target DBS on page 67.
4. Under ARC Restore Options, select Restore or Copy method.
5. Configure the appropriate restore options. For details, refer to Configuring the
Restore Options on page 67.
6. To recover the database or tables using the restored journal, select the Roll
Forward check box. For details, refer to Recovering Tables and Databases
on page 69.
7. To run the job on a particular BAR Server, select the target machine in the
Run Job on Client list. For details, refer to Choosing the BAR Server to Run
the Job on page 70. Ignore this step to automatically select a least loaded
BAR Server to perform the restore.
8. Complete and submit the job. For details, refer to Finalizing and Submitting a
Job on page 70.
5.6.0
76
Chapter 5
Restoring Data with Teradata Plugin
3. Under ARC Restore Options, select the Restore method.
4. To apply the change-images in the journal archives, select the Roll Forward
check box. For details, refer to Recovering Tables and Databases on page
69.
5. Configure the appropriate restore options. For details, refer to Configuring the
Restore Options on page 67.
6. To run the job on a particular BAR Server, select the target machine in the
Run Job on Client list. For details, refer to Choosing the BAR Server to Run
the Job on page 70. Ignore this step to automatically select a least loaded
BAR Server to perform the restore.
7. Complete and submit the job. For details, refer to Finalizing and Submitting a
Job on page 70.
5.7.0
5.8.0
You must use the Copy method if you want to rename an object. The job will
fail if you try to rename objects using the Restore method.
An object with the same name must not exist in the database.
77
Authorization Type
Macros
Triggers
Views
To rename an object while copying it from the saveset, perform the following steps:
1. Select the data for restore. For details, refer to Selecting Data for a Restore
on page 66.
2. To rename an object, right-click the object and select Rename.
3. Select the Relocate check box, and enter the new name for the object in the
box to the right.
Figure 5-6:
RenameRelocate
window
4. Click OK. On the Selections tab, the new name for the object is displayed in
parenthesis.
Figure 5-7:
The new name
for the object
is displayed on
the Selections
tab
5. Repeat steps 24 for any other object that you want to rename.
6. Under ARC Restore Options, select the Copy method.
7. Configure the appropriate restore options. For details, refer to Configuring the
Restore Options on page 67.
8. To run the job on a particular BAR Server, select the target machine in the
Run Job on Client list. For details, refer to Choosing the BAR Server to Run
78
Chapter 5
Restoring Data with Teradata Plugin
the Job on page 70. Ignore this step to automatically select a least loaded
BAR Server to perform the restore.
This step does not apply to cluster backups.
9. Complete and submit the job. For details, refer to Finalizing and Submitting a
Job on page 70.
5.9.0
Figure 5-8:
The Restore
Rename
window
3. Select the Relocate check box, and enter the target database name in the
box to the right.
4. Click OK. On the Selections tab, the target database name is displayed in
parenthesis.
Note: You can also rename tables and other database objects while copying them
to an alternate database. For details, refer to Renaming Objects During Restore
on page 76.
5. Click the Restore Options tab, and configure the login details under Login
Information:
Target DBS Enter the target database name. The database must have
been already be added to the Teradata Plugin. For details, refer to Adding
Teradata DBS on page 27.
79
Password Enter the password associated with the configured user. For
cluster backups, enter the common password assigned to the restore
accounts.
5.10.0
Analyze Selections Use this option to analyze the contents of the selected
database in the archive.
Analyze All from Archive Use this option to analyze the contents of the
complete saveset.
80
Chapter 5
Restoring Data with Teradata Plugin
To analyze the contents of the archive, perform the following steps:
1. Open the Restore window. On the Selections tab, open the target saveset
and select the database. For details, refer to Selecting Data for a Restore on
page 66.
2. Click the Restore Options tab, and configure the login details. For details,
refer to Connecting to the Target DBS on page 67.
3. Under ARC Restore Options, select ANALYZE Selections or ANALYZE All
from Archive method.
4. Click Submit.
5. For details on viewing the output of ANALYZE statement, refer to Accessing
Job Logs on page 92
5.11.0
5.12.0
5.12.1
81
5.12.2
82
Chapter 5
Restoring Data with Teradata Plugin
1. Perform the procedure described in the section Analyzing Archive Media on
page 79, selecting either ANALYZE Selections or ANALYZE ALL from
Archive option to determine the contents of the saveset.
2. Perform the procedure described in the section Dumping Restore Map on
page 83 to determine the backup stream file name.
3. Write an ARC script for restoring data using either of the following methods
4. On the Selections tab, open the target saveset. For details, refer to Selecting
Data for a Restore on page 66. Select the top-level entity as any other
selection will be ignored.
5. Click the Restore Options tab, and configure the appropriate restore
options. For details, refer to Configuring the Restore Options on page 67.
6. In the Run User Script box under Overrides, enter the file path for the script
file created in step 3. The script file must reside on the Teradata Master
Plugin node.
7. To run the job on a particular BAR Server, select the target machine in the
Run Job on Client list. For details, refer to Choosing the BAR Server to Run
the Job on page 70. Ignore this step to automatically select a least loaded
BAR Server to perform the restore.
8. Complete and submit the job. For details, refer to Finalizing and Submitting a
Job on page 70.
5.12.3
83
5.13.0
Sorting the Savesets To sort the savesets listed on the Selections tab,
select one of the following methods in the Selection Method list:
Plugin This is the default method. The savesets are ordered according
to the plugin used to generate them.
Backup Set To sort the savesets by the Selection Set used for the
backup, select Backup Set in the Selection Method list.
Job To sort the savesets by the Job Title, select Job in the Selection
Method list.
By Date Range Select the By Date Range check box, and enter or
select the From and To dates in the boxes provided to list the savesets
generated during a given period.
Show On-line Status Select the Show On-line Status check box to list
the savesets stored on the currently online media.
84
Chapter 5
Restoring Data with Teradata Plugin
5.14.0
Searching for Data Items To find a data item inside a saveset, right-click it
and select Search. Enter the item name in the Search String box and click
Search.
Viewing Media List To view the media list for a saveset, right-click it and
select Media List.
Additional Notes
Refer to the notes in this section before you run All-AMPs, Cluster or Multi-stream
restore jobs.
DBC and SYSUDTLIB databases must not be selected while using the COPY
method.
If you restore a data table with fallback from All-AMPs or Cluster backups
while one or more AMPs are offline, Teradata ARC generates the information
to restore the data on the offline AMPs when they return to operation. The
system recovery process restores the offline AMPs when they return to online
status.
For non fallback tables, it is recommended that you restore the All-AMPs or
Cluster backups when all AMPs are online. Alternatively, you can restore the
data to specific AMP as soon as they come back online. However, Teradata
Plugin does not support restores to specific AMPs. This must be performed
outside the plugin from the command line.
The Teradata Database does not generate transient journal images during
rollforward operation. If the operation is not completed, the data tables being
recovered are left in an unknown state.
The Teradata Plugin does the following while generating parallel data streams
for cluster restore if the media availability timeout interval has been set in the
Configure window:
Ignores the BAR Servers with no suitable drive/media and logs a warning.
Waits for the availability of drives/media if all the drives are currently busy.
When restoring Full Multi-stream and Full Multi-stream On-line backups, the
Teradata Plugin performs the following tasks:
85
If this BAR Server is not available, then restore stream 1 to any other
available BAR Server.
Otherwise, continue with the other streams, and restore the ones that can
be restored to the same BAR Server that backed them up. Skip the
streams that cannot be restored to the same BAR Server
86
Chapter 5
Restoring Data with Teradata Plugin
87
Chapter 6:
6.1.0
88
Chapter 6
Viewing Logs and Job Progress
6.1.1
Figure 6-1:
Job Monitor
window for All
AMPs job
Job Information
Status The current status of the job (for example, Waiting for Media,
Writing to Media, Backup Completed, Backup Failed, etc.)
6.1.2
89
Figure 6-2:
Job Monitor
window for
Cluster
Backups
Job Information
Status The current status of the job (for example, Waiting for Media,
Writing to Media, Backup Completed, Backup Failed, etc.)
Master Client The name of the BAR Server on which the Teradata Master
Plugin is running
Active Clients The BAR Servers on which the sub-jobs are running
90
Chapter 6
Viewing Logs and Job Progress
Inactive Clients The BAR Servers that are not participating in the backup/
restore job
Performance Details
6.1.3
Job ID Job identification number for individual data streams. For Dictionary
phase, the Job ID will be 0 and for the cluster streams, the Job IDs will be 1,
2, etc.
Transfer Rate Total data transferred/ Total elapsed time (in KB/sec)
Status The current status of the job (for example, Waiting for Media,
Writing to Media, Backup Completed, Backup Failed, etc.)
Master Client The name of the BAR Server on which the Teradata Master
Plugin is running
Active Clients The BAR Servers on which the sub-jobs are running
Inactive Clients The BAR Servers that are not participating in the backup/
restore job
Performance Details
Type Sub-job type. The job type is Multistream for all data streams.
Transfer Rate Total data transferred/ Total elapsed time (in KB/sec)
91
92
Chapter 6
Viewing Logs and Job Progress
6.2.0
93
Class The type of operation that generated the log. For example, media
activity logs are classified as Media, messages sent by the plugin are
classified as Data Plugin, and job messages are classified as Job.
Client The name of the Client on which the process that generated the
log is running.
Figure 6-4:
Logs showing
the ARC
scripts
generated for
a Cluster
archive
Among the other entries, the ARC script, ANALYZE statement output, and
Restore Map can be identified by their Log Messages as described in the
table below. For cluster jobs, there are multiple log entries depending on the
number of parallel data streams generated for the job.
Output Type
Log Message
94
Chapter 6
Viewing Logs and Job Progress
Output Type
Restore Map
Log Message
Restore file NVUS1 -> Data Steam
Restore file NVUS1 -> Dictionary Stream
Restore file NVUS2 -> Cluster Stream
View Job Context The log context typically contains the execution
scripts or output generated by the plugin.
Figure 6-5:
The log
context
window
5. To save a log context, click Save to File. In the Save Log Context window,
enter the file name and click OK. The file is saved to ...\NetVault\Logs
directory (where ... represents the NetVault: Backup installation directory).
Appendix
97
Appendix A:
GLOSSARY
AMP
Access Module Processor
ARC
Archive and Recovery
BTEQ
Basic Teradata Query
COP
Communications Processor
DBC
Database Computer
DBS
Database System
HUT
Host Utility
MPP
Massively Parallel Processing
NetVault: Backup Client
NetVault: Backup Clients are machines that act as backup and/or restore targets.
These machines require at least the Client version of the NetVault: Backup
software.
NetVault: Backup Domain
NetVault: Backup is designed to work in an environment in which one machine is
configured as the NetVault: Backup Server and various other machines throughout
the network act as NetVault: Backup Clients assigned to it. A single Server and its
Clients make up a NetVault: Backup Domain. The Server acts as the domain
controller and all the Clients must be added to the Server to target them for
backups or restores.
98
Appendix A
Glossary
NetVault: Backup Server
NetVault: Backup Server is the core backup management software. The Server
controls all the operations within the NetVault: Backup domain and manages the
backup devices.
PI
Primary Index
PPI
Partitioned Primary Index
SMP
Symmetric Multi Processing
TDE
Teradata Extension
Teradata Master Plugin
The Teradata Master Plugin acts as an agent for the NetVault: Backup Server to
control the Teradata backup and recovery data flows for a Teradata DBS.
TPA
Trusted Parallel Application
TTU
Teradata Tools and Utilities
99
Appendix B:
B.1.0
Prerequisites
Prerequisites
Before starting the migration, refer to the following notes and complete the
required tasks:
Ensure that the Target Server has TCP/IP connectivity to all the existing
NetVault: Backup Clients.
Backup the NetVault Database (NVBD) using the NetVault Databases Plugin.
The NVDB contains information about the current NetVault: Backup system,
including the Clients, libraries, media and jobs. This data must be restored to
the new Server to migrate the existing settings. For more information on
using the NetVault Databases Plugin, refer to the NetVault: Backup
Administrators Guide. While performing NVDB backup, note down the bar
codes for the backup media. This can be used to identify the tapes during
restore.
Important: The historic logs will not be preserved when the setup is migrated. You
can, however, restore the log files from a previous NVDB backup and view it by
changing the log source temporarily on the Logs window.
B.2.0
Start the NetVault: Backup Configurator. On the Service tab click Stop
Service.
100
Appendix B
Migrating the NetVault: Backup Server
3. Remove the devices physically and reconnect them to the Target Server.
4. Install the NetVault: Backup Server software on the Target Server. For
instructions on installing the Server software, refer to NetVault: Backup
Installation Guide.
Note the following:
The NetVault: Backup version must be the same as the Source Server.
Any upgrade must be done post migration.
The NetVault: Backup name must be the same as the Source Server.
The installation directory can differ on the two Servers. You can select any
directory on the Target Server.
The NVDB directory can differ on the two Servers. However, ensure that
the selected directory can accommodate the existing NVDB data and
meet the growing space requirements.
5. Install the Teradata Plugin and other plugins that were installed on the Source
Server. The plugin versions and the configuration must match on the two
Servers.
6. Start NetVault: Backup and open the Device Management window.
7. On the Add menu, click Add Library. Add any one drive connected to the
Server. Only one drive needs to be added to restore the NVDB. The
remaining settings can be restored from the NVDB backup.
8. Click the Configure tab. Double-click the library or right-click and select
Configure.
9. On the Configuration tab, click the Mark Unknown Media Blank check box.
This will mark all the media as Blank and help initialize the library quickly.
Otherwise, NetVault: Backup will try to load each tape and read its header,
which will take long to complete. Click OK to save the settings.
10.Click Save Details on the tool bar.
11. Load the NVDB backup media on library. If the media is not already loaded,
find the slot that contains the media (use the media barcode). Right-click the
slot and select Load.
12.The media will be marked as Foreign. Right-click the media and select Scan.
When the scanning completes, all the savesets contained in the media will be
displayed.
13.Open the Restore window, and the open the target saveset. Select the
following entities:
101
Events To restore custom events defined for backup and/or report jobs
Keys To restore the permanent license key for NetVault: Backup Server
14.Click Submit.
The NetVault: Backup service will stop automatically when the job completes.
To restart the service, do one of the following:
The job definitions can be accessed and modified from the Jobs window.
The Server recognizes all the backup media and the media rotation policies
remain unaffected.
Note: To view the historic logs, restore the log files from an NVBD backup. Open
the Logs window. On the Options menu, click Select Logs Source. In the Select
Log Source window, enter the log file path. For more information, refer to the
NetVault: Backup Administrators Guide.
102
Appendix B
Migrating the NetVault: Backup Server
103
Appendix C:
C.1.0
Logon String
Backup Scripts
Restore Scripts
C.1.1
Logon String
All scripts must begin with a logon string that connects to the Teradata DBS. There
are two ways to write the logon script:
Write the full logon string. This method is simple but lacks security as the
password is visible in the script file.
C.1.2
Backup Scripts
The following naming convention is recommended for the script files:
FILE=NVUSn
where <n> represents the file number used for cluster backups.
104
Appendix C
Creating User Scripts
n
Represents
Dictionary
Cluster Group #0
Cluster Group #1
4 (etc.)
The script file name for the cluster phase must not begin with the letters NVC.
C.1.3
Restore Scripts
Refer to the following notes while creating a restore script:
Examine the backup scripts to find out which file contains what data and enter
the correct file number in the Restore statement to restore the intended data.
When using plugin generated ARC scripts for Cluster restores, change the
cluster stream file name (for example, NVCS1) to the corresponding Restore
Map file (for example, NVUS2).
105
Appendix D:
D.1.0
nvsetcreate
nvsetmodify
nvjobcreate
nvjobmodify
nvrestore
D.1.1
Client-specific Commands
Devices-specific Commands
nvjoblist
nvjobstart
nvjobabort
nvjobhold
106
Appendix D
NetVault: Backup CLI Considerations
D.1.2
nvjobresume
nvjobexport
nvjobimport
nvtrigger
nvsetdelete
nvjobdelete
Media-specific Commands
D.1.2.a
nvsetcreate
The nvsetcreate command can be used to create the following types of Selection
Sets:
Important: The default login for database browsing must be configured in order to
create a backup selection set using nvsetcreate.
Schedule Set
This command cannot be used to create a Backup Options Set since the Teradata
Plugin does not support the -backupoption switch. A Backup Options Set can
only be created from the Backup window.
Note: NetVault: Backup does not support Restore Options Set for any plugin.
Examples
107
D.1.2.b
nvsetmodify
The nvsetmodify command can be used to modify the following types of
Selection Sets:
Schedule Set
This command cannot be used to modify a Backup Options Set since the Teradata
Plugin does not support the -backupoption switch. A Backup Options Set can
only be modified from the Backup window.
Examples
Modify Backup Selection Set BS1 to include database DB2 instead of DB1
nvsetmodify -setname BS1 -type BS -change
@tree@path@"bkb4480/Hierarchical View/DBC/DB1"=DB2
Modify Restore Selection Set RS1 to include database DB2 instead of DB1
nvsetmodify -setname RS1 -type RS -change
@tree@path@"<All Objects>/DB1"=DB2
D.1.2.c
nvjobcreate
The nvjobcreate command can be used to create and run Teradata Plugin
backup jobs. However, you cannot use the -backupoption switch.
This command cannot be used for Teradata Plugin restore jobs because of the
following reasons:
D.1.2.d
NetVault Backup does not support a Restore Options Set for any plugin.
The Teradata Plugin cannot run a restore job with the default plugin settings.
It requires at least the Restore Account password to complete a restore job,
and it cannot be from the CLI.
nvjobmodify
The nvjobmodify command can be used to modify the Job Title or the Selection
Sets being used for a backup job. However, you cannot use the
-change Options switch to modify the backup options for a Teradata Plugin job.
108
Appendix D
NetVault: Backup CLI Considerations
D.1.2.e
nvrestore
The nvrestore command cannot be used to restore Teradata Plugin backups. The
-path option, which is a required switch, cannot be specified correctly for the
Teradata Plugin restore jobs. The Teradata Plugin only supports the -list switch
that lists all the completed backups. To restore Teradata Plugin backups from the
CLI, you can use the nvjobcreate and nvjobstart commands, instead.
109
Appendix E:
TROUBLESHOOTING
This appendix describes how to troubleshoot some commonly encountered errors.
The information in this chapter is organized into the following topics:
E.1.0
Common Errors
Common Errors
This section lists some common errors and their solution. In cases where an error
occurs and it is not described in this section, obtain the ARC error number from the
Logs and refer to the relevant Teradata Documentation for resolution.
Backup Failed
User does not have BACKUP access to database xxx
The user does not have sufficient privileges to perform backups. Grant the
necessary privileges or configure another user account with sufficient
privileges to perform backups.
Restore Failed
User identification is not authorized
User does not exist or the password is incorrect. Refer to the section Creating
User Accounts for Parallel Restores on page 32 to configure the restore
accounts.
110
Appendix E
Troubleshooting
Restore Failed
User does not have RESTORE access to database xxx
The restore accounts do not have the required privileges. Refer to the section
Granting Privileges to the Accounts on page 34 to grant the necessary
privileges.
Restore Failed
Unable to locate catalog table
While restoring backups for which Catalog database was not used, disable
the Use ARC Catalog option.