Configuring bucket backup options

Before you start protecting data in buckets, you can adjust bucket protection to the needs of your data protection environment by using bucket backup options.

Backup option Description
Specifying the temporary instance location and subnet You can specify the location and the subnet where you want HYCU for AWS to create a temporary instance during the backup. By default, the temporary instance is created in the original account of the bucket.
Running pre/post scripts You can specify the pre-backup and post-backup scripts to perform necessary actions before and after the backup of the bucket is performed.

Prerequisite

Only if you plan to specify pre-backup and post-backup scripts. The #!/usr/bin/env python3 header must be specified in the script.

Limitations

Only if you plan to specify pre-backup and post-backup scripts.

  • Currently only Python scripts are supported.
  • The pre-backup and post-backup scripts must be located in the same account and in the same region as the bucket.

Consideration

Only when specifying the location or the subnet for a temporary instance. If not specified otherwise, the temporary instance will be created in the same region as the bucket (for example, US-EAST-1).

Procedure

  1. In the Buckets panel, select the bucket for which you want to configure backup options.

  2. Click  Configuration. The Bucket Configuration dialog box opens.

  3. Depending on what you want to do, provide the required information:

    • Specify the region and the subnet where you want HYCU for AWS to create a temporary instance:

      1. From the Region drop-down menu, select the preferred region.

        n Note  It is recommended that you select the same region as the one where the bucket resides. Otherwise, you will be charged for outbound data transfer. For details, see Amazon S3 pricing.

      2. From the Subnet drop-down menu, select the preferred subnet. By default, the temporary instance is created in the default subnet of the preferred region and zone.

        i Important  A policy cannot be assigned to a bucket on which HYCU for AWS could not detect the subnet.

    • Specify the scripts to perform necessary actions before and/or after the backup of the bucket is performed:

      • In the Pre‑backup script field, enter the path to the script that HYCU for AWS will run just before it performs the backup of the bucket.
      • In the Post‑backup script field, enter the path to the script that HYCU for AWS will run immediately after it performs the backup of the bucket.

      i Important  When entering the path to the script, make sure to enter it correctly, including lowercase and uppercase letters, as the path is case sensitive. You must specify the path in the following format:

      s3://bucket-name/script.py parameter1 parameter2 ...

  4. Click Save.