Teradata Aster provides a single script to support both backup and restore functionalities on a cluster-wide base. You can invoke this script along with other required arguments to run either backup or restore commands, and it also supports list and remove functions.
The supported functions and the commands syntax are shown here.
- Backup
python barAsterOnAws.py backup --queen_instance_id <queen_instance_id> --s3_bucket_name <S3 Bucket Name>
Creates a backup copy of the data in the Aster cluster identified by the <queen_instance_id>, and save the copy to the specified S3 bucket.
- Restore
python barAsterOnAws.py restore --target_queen_instance_id <target_queen_instance_id> --s3_bucket_name <S3 Bucket Name> --backup_object_key_name <Backup Object Key>
Restores the backup copy <Backup Object Key> stored in the specified S3 bucket to the Aster cluster identified by <target_queen_instance_id>.
The target Aster cluster can be the same or different from the Aster cluster where the backup copy was taken. If different, additional steps are required after restoration. See Configuring the Target Cluster if Different from the Source Cluster. - List
python barAsterOnAws.py list --queen_instance_id <queen_instance_id> --s3_bucket_name <S3 Bucket Name>
Lists all the backup copies taken from the Aster cluster identified by <queen_instance_id> that are stored in the specific S3 bucket.
- Remove
python barAsterOnAws.py remove --s3_bucket_name <S3 Bucket Name> --object_key_name <object_key_name>
Removes the backup copy identified by the <object_key_name> from the specified S3 bucket.