Restore - Teradata QueryGrid

QueryGrid™ Guía de instalación y uso- 3.06

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata QueryGrid
Release Number
3.06
Published
Diciembre de 2024
ft:locale
es-ES
ft:lastEdition
2024-12-18
dita:mapPath
es-ES/ndp1726122159943.ditamap
dita:ditavalPath
ft:empty
dita:id
lxg1591800469257
Product Category
Analytical Ecosystem

El comando restore se encuentra en /opt/teradata/tdqgm/bin/restore.sh y debe ejecutarse como usuario raíz o tdqgm. Se requiere el nombre del archivo de copia de seguridad que se va a restaurar como argumento.

Uso

Para obtener ayuda para el comando backup, utilice la opción --help:

/opt/teradata/tdqgm/bin/restore.sh --help

Resultado:

usage: restore [options] <backup-file>

Restores the QueryGrid manager configuration from a backup file in the event of a catastrophic failure.

options:

 -a,--public-address <address>   The address other managers and nodes use
                                 to access this manager instance.
 -d,--data-center <name>         The name of the data center to join.
 -f,--force                      Force the restore to start without requiring confirmation.
 -h,--help                       Print this message

Ejemplo: Restaurar QueryGrid

Para restaurar el sistema, ejecute:

/opt/teradata/tdqgm/bin/restore.sh <backup_file>
Enter public address for this manager instance [<public_address>]:

donde <backup_file> es el nombre de la ruta de acceso del archivo ZIP de copia de seguridad, similar a ~/tdqgm-backup-2016-06-16.zip, y <public_address> es el nombre de host o la dirección IP del sistema QueryGrid Manager; por ejemplo, test.mydomain.com o 198.51.100.20.

Resultado (observe que debe escribir y en el símbolo del sistema):

A restore from backup removes all data previously saved on this manager instance and 
all local manager services are restarted.  This manager instance becomes a standalone cluster. 
Other managers can join this instance using the join-cluster command.  

Do you wish to continue? [y/n]:   y 

Stopping QueryGrid Manager...

Deleting previous state...

Restoring configuration data...

Data Centers
------------
1.  San Diego

2.  Las Vegas

3.  Atlanta

4.  Richmond

Select data center of local manager instance [1-4]: 3

Restoring tdqg-node-16.00.00.00.DEV-30.tar.gz...
Restoring tdqg-teradata-connector-1.0-224-SNAPSHOT.tar.gz...
Restoring tdqg-fabric-1.00.00.00.tar.gz...
Restoring tdqg-teradata-connector-1.0-12-SNAPSHOT.zip...

Starting QueryGrid Manager...
Restore completed successfully.