Before attempting to restore a backup, make sure you meet the following prerequisites for same-site restoration:
- The VantageCloud Enterprise site must be set up with Query Service and is configured for self-service support. If not available, raise a change request.
- You must be a Console administrator (have TD-CUSTOMER-ADMIN role) to create partial backups or restore backup jobs.
- Make sure the Console user exists in the database. Use Teradata username field on the User Settings tab of the Your account page. If the user does not exist, create one and grant permissions using the following commands respectively:
- CREATE <username> as password=<password>, perm=<desired perm space>;
- GRANT LOGON ON ALL TO <username> WITH NULL PASSWORD
- You have restore access rights on all databases and all tables on the system. This is to view all the objects in a backup. Use the following commands to grant privileges.
- DIAGNOSTIC ALLOWDUMPRESTOREALL ON FOR SESSION;
- GRANT DUMP, RESTORE ON "ALL" TO <td-username>;
- Grant create, alter, and drop permissions to the user.
You should have the database credentials of the user, that is, <td-username> and its <password>. Make sure the <td-username> has drop/create/alter permissions on the target database to restore data to the target system. For example, to restore data to a database named dbcmngr on the target system, use the following command to give drop/create/alter permissions.
- GRANT all on "dbcmngr" to <td-username>;
For Cross-Site restoration, in addition to meeting the prerequisites of same-site restoration on the source site, you must also fulfill the following:
- You must have Vantage 2.4.2 on both source and target sites.
- Make sure the Console user exists on the target site. If the user does not exist, create a user using the steps mentioned in the same-site restoration prerequisites.
- Grant create, alter, and drop permissions to the user on the target site.
- The logged in user must have restore access rights on all databases and all tables on the target site.
Use the following procedure to restore backups.
- Log on to https://cloud.vantage.teradata.com.
- Select Data protection .
- Select Retained copies.
- Select the backup to restore, select , then Restore.
- Enter the Restore Job name.
- In the Target site, select the site to restore.By default, the current site is selected. For cross-site restoration, select a different site to restore the backup.
- Open the Settings tab and select the required option from the following scenarios.
Option Details Continue on access rights violation The restore job proceeds even when the DUMP access rights violation occurs. Run as copy job Restores data into a database with a different internal database ID than the one in the backup set.Do not select this option when the database system is original, and the database ID matches with the saved backups. Rename objects during restore on the target site by adding a suffix. Select to add a suffix for renamed tables to differentiate from the original. Restore to a different database on the target site Select to choose the database from the available list. Skip statistics Select to skip collecting statistics during a backup or restore job.
- Open the Objects tab and select the required objects to restore using the respective checkboxes.
- Open the Selection Summary tab and make sure the selections you made are available.
- Select Save & Run.
- If requested, provide credentials, and select Save & Start.
- Open the History tab and check the Status of the restore job.
If the job restoration fails or completes with errors, you can rerun the job. The steps to follow are:
- On the Jobs tab, select the failed job.
- On the Overview tab, select to view the details of errors.
- Make necessary changes on the Settings tab.
- On the Objects tab, select the failed objects and click Save.You can update or run only failed objects.
- Select , then Run.