Restore - Teradata QueryGrid

Teradata® QueryGrid™ インストールとユーザー ガイド

Product
Teradata QueryGrid
Release Number
2.11
Published
2019年12月
Language
日本語
Last Update
2020-04-13
dita:mapPath
ja-JP/fya1571089961130.ditamap
dita:ditavalPath
ft:empty
dita:id
lfq1484661135852

restoreコマンドは/opt/teradata/tdqgm/bin/restore.shにあり、rootまたはtdqgmユーザーとして実行する必要があります。引数として、復元するバックアップ ファイルの名前が必要です。

使用

バックアップ コマンドのヘルプを表示するには、--helpオプションを使用します。

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

結果:

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

例: Teradata QueryGridの復元

システムを復元するには、次を実行します。

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

ここで、<backup_file>~/tdqgm-backup-2016-06-16.zipのようなバックアップZIPファイルのパス名です。<public_address>はTeradata QueryGridマネージャ システムのホスト名またはIPアドレスで、例えばtest.mydomain.comまたは198.51.100.20のようになります。

結果(注: プロンプトにはyを入力します)。

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.