Recover Your Amazon S3 Buckets

After you protect your Amazon S3 buckets, you can recover them to their original location or a new location using Cohesity DataProtect as a Service.

Ensure to deploy the SaaS connector in the AWS region where the S3 bucket (target) on to which you want to recover is present.

Recover Amazon S3 to Original Location

To recover your protected Amazon S3 buckets to their original location:

  1. In DataProtect as a Service, navigate to Sources.

  2. Click the Source name.

  3. Select Protection Status > Protected.

  4. Use the filters, search box, and views to locate and select the S3 buckets you want to recover.

    You can also use Global Search to locate, filter, and select the objects you need. Click the Global Search box at the top or type slash (/) anywhere to start your search.

  5. Click the Recover icon at the top to open the New Recovery form. By default, the Latest snapshot is pre-selected for recovery. If you need to recover from an earlier snapshot, click the Edit (pencil) icon to choose the desired snapshot. You can also select any point from the green solid line on the slider if you want to restore to a specific point in time. Selecting an invalid time from the slider automatically selects the closest available snapshot.

  6. Under Recover To, select Original Location.

  7. Enable Overwrite Existing Bucket if you want to recover the S3 bucket by overwriting the original S3 bucket. By default, this option is disabled.

    If the data in the source S3 object and target S3 are the same, then the target S3 will not be updated even if the Overwrite Existing Bucket option is enabled. If the target bucket is versioned and the S3 object name of the target and the source match, then a new version of the S3 object will be created.

  8. In the Object Prefix field, add prefix value to the names of the S3 objects that are recovered by this task. For information about the S3 object naming convention, see AWS documentation.

  9. Select your Recovery Options:

    • S3 Prefixes to Recover: To perform granular recovery the AWS S3 bucket, enable the Turn ON to recover specific prefixes option and provide the prefix of the objects to be recovered.

      For example, Finance/statement/document

      You can click the add icon to provide multiple prefixes.

      The maximum number of prefixes that you can provide per recovery task is 100.

    • Continue on Error: Enable this option if you want to continue the recovery even if one of the S3 objects encounters an error. By default, this option is disabled and the recovery operation will fail if one of the objects encounters an error.

    • Task Name: Change the default name of the recovery task.

  10. Click Recover.

Cohesity DataProtect as a Service begins to restore the selected Amazon S3 bucket.

Recover Amazon S3 to New Location

To recover your protected Amazon S3 buckets to a new location:

  1. In DataProtect as a Service, navigate to Sources.

  2. Click the Source name.

  3. Select Protection Status > Protected.

  4. Use the filters, search box, and views to locate and select the Amazon S3 you want to recover.

    You can also use Global Search to locate, filter, and select the objects you need. Click the Global Search box at the top or type slash (/) anywhere to start your search.

  5. Click the Recover icon at the top to open the New Recovery form. By default, the Latest snapshot is pre-selected for recovery. If you need to recover from an earlier snapshot, click the Edit (pencil) icon to choose the desired snapshot. You can also select any point from the green solid line on the slider if you want to restore to a specific point in time. Selecting an invalid time from the slider automatically selects the closest available snapshot.

  6. Under Recover To, select New Location and provide the following information:

    • AWS Account: Select a registered AWS account as the new recovery destination.

    • Region: Select a destination AWS region.

    • S3 Bucket: Select the S3 bucket on to which you want to recover.

  7. Enable Overwrite Existing Bucket if you want to recover the S3 bucket by overwriting the original S3 bucket. By default, this option is disabled.

    If the data in the source S3 object and target S3 are the same, then the target S3 will not be updated even if the Overwrite Existing Bucket option is enabled. If the target bucket is versioned and the S3 object name of the target and the source match, then a new version of the S3 object will be created.

  8. In the Object Prefix field, add prefix value to the names of the S3 objects that are recovered by this task. For information about the S3 object naming convention, see AWS documentation.

  9. Select your Recovery Options:

    • S3 Prefixes to Recover: To perform granular recovery the AWS S3 bucket, enable the Turn ON to recover specific prefixes option and provide the prefix of the objects to be recovered.

      For example, Finance/statement/document

      You can click the add icon to provide multiple prefixes.

      The maximum number of prefixes that you can provide per recovery task is 100.

    • Continue on Error: Enable this option if you want to continue the recovery even if one of the S3 objects encounters an error. By default, this option is disabled and the recovery operation will fail if one of the objects encounters an error.

    • Task Name: Change the default name of the recovery task.

  10. Click Recover.

Cohesity DataProtect as a Service begins to restore the selected Amazon S3.