El comando backup se encuentra en /opt/teradata/tdqgm/bin/backup.sh y debe ejecutarse como usuario raíz o tdqgm. De forma predeterminada, las copias de seguridad se colocan en el directorio /var/opt/teradata/tdqgm/backups y llevan el nombre tdqgm-backup-YYYY-MM-DD.zip, donde YYYY-MM-DD corresponde a la fecha actual. El archivo de copia de seguridad incluye todos los detalles de configuración y paquetes de software que se cargaron en QueryGrid Manager.
Uso
Para obtener ayuda para el comando backup, utilice la opción --help:
/opt/teradata/tdqgm/bin/backup.sh --helpResultado:
usage: backup [-f <file>] [-h] [-x] Creates a backup file that enables the QueryGrid manager configuration to be restored in the event of a catastrophic failure. options: -f,--file <file> The path to the backup file to create. -h,--help Print this message. -x,--exclude-software Flags if software files should be excluded from the backup.
Ejemplo: copia de seguridad de QueryGrid
Para realizar la copia de seguridad, ejecute:
/opt/teradata/tdqgm/bin/backup.shResultado:
Starting backup... Backup completed: /var/opt/teradata/tdqgm/backups/tdqgm-backup-2016-06-16.zip