To create the Cloud Staging Area:
- Run the command create_cloud_staging to open createCloudStaging.xml.
?xml version='1.0' encoding='UTF-8'?> <dmCreateCloudStaging xmlns="http://schemas.teradata.com/dataMover/v2009" xsi:schemaLocation="http://schemas.teradata.com/unity/DataMover.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <name>csa1</name> <storage_type>S3</storage_type> <s3_properties> <access_key_id>ACCESSKEYID</access_key_id> <secret_access_key>SecretAccessKey</secret_access_key> <buckets_by_regions> <buckets_by_region> <region>us-west-2</region> <buckets> <bucket> <bucket_name>my-s3-bucket</bucket_name> <prefix_list> <prefix> <prefix_name>backup</prefix_name> <storage_devices>100</storage_devices> </prefix> </prefix_list> </bucket> </buckets> </buckets_by_region> </buckets_by_regions> </s3_properties> <source_target_pairs> <source_target_pair> <source_system>sourceSystem1</source_system> <target_system>targetSystem1</target_system> </source_target_pair> </source_target_pairs> </dmCreateCloudStaging>
- Provide your AWS account and S3 bucket information in the createCloudStaging.xml file and save.
- Run the command: datamove create_cloud_staging -f createCloudStaging.xml.If you have not specify the secret_access_key in the xml, the command line interface prompts you to enter the secret access key.
At the end of the script, the command prompts the completion message or reports any errors if occurred.
For further information on the Cloud Staging Area, refer to the Teradata® Data Mover User Guide, B035-4101