Restoring a backup to a new volume - FSx for ONTAP
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Restoring a backup to a new volume

The following procedures describe how to restore an FSx for ONTAP backup to a new volume using the Amazon Web Services Management Console and Amazon CLI.

To restore a volume backup to a new volume (Console)
  1. Open the Amazon FSx console at https://console.amazonaws.cn/fsx/.

  2. In the navigation pane, choose Backups, and then choose the FSx for ONTAP volume backup that you want to restore.

  3. In the upper right Actions menu, choose Restore backup. The Create volume from backup page appears.

  4. Choose the FSx for ONTAP File system and Storage virtual machine that you want to restore the backup to from the dropdown menus.

  5. Under Volume details, there are several selections. First, enter the Volume name. You can use a up to 203 alphanumeric or underscore (_) characters.

  6. For Volume size, enter any whole number in the range of 20–314572800 to specify the size in mebibytes (MiB).

  7. For Volume type, choose Read-Write (RW) to create a volume that is readable and writable or Data Protection (DP) to create a volume that is read-only and can be used as the destination of a NetApp SnapMirror or SnapVault relationship. For more information, see Volume types.

  8. For Junction path, enter a location within the file system to mount the volume. The name must have a leading forward slash, for example /vol3.

  9. For Storage efficiency, choose Enabled to enable the ONTAP storage-efficiency features (deduplication, compression, and compaction). For more information, see FSx for ONTAP storage efficiency.

  10. For Volume security style, choose either Unix (Linux), NTFS, or Mixed. A volume's security style determines whether preference is given to NTFS or UNIX ACLs for multi-protocol access. The MIXED mode is not required for multi-protocol access and is only recommended for advanced users.

  11. For Snapshot policy, choose a snapshot policy for the volume. For more information about snapshot policies, see Snapshot policies.

    If you choose Custom policy, you must specify the policy's name in the custom-policy field. The custom policy must already exist on the SVM or in the file system. You can create a custom snapshot policy with the ONTAP CLI or REST API. For more information, see Create a Snapshot Policy in the NetApp ONTAP Product Documentation.

  12. For Tiering policy cooling period, valid values are 2-183 days. A volume's tiering policy cooling period defines the number of days before data that has not been accessed is marked cold and moved to capacity pool storage. This setting only affects the Auto and Snapshot-only policies.

  13. In the Advanced section, for SnapLock Configuration, you can leave the default Disabled setting or choose Enabled to configure a SnapLock volume. For more information about configuring a SnapLock Compliance volume or a SnapLock Enterprise volume, see Creating a SnapLock Compliance volume and Creating a SnapLock Enterprise volume. For more information about SnapLock, see Protecting your data with SnapLock.

  14. Choose Confirm to create the volume.

To restore a volume backup to a new volume (CLI)

Use the create-volume-from-backup CLI command, or the equivalent CreateVolumeFromBackup API command to restore a volume backup to a new volume.

  • $ aws fsx create-volume-from-backup --backup-id backup-08e6fc1133fff3532 \ --name demo --ontap-configuration JunctionPath=/demo, SizeInMegabytes=100000, \ StorageVirtualMachineId=svm-0f04a9c7c27e1908b, TieringPolicy={Name=ALL}

    The system response for a successful request:

    { "Volume": { "CreationTime": 1692721488.428, "FileSystemId": "fs-07ab735385276ed60", "Lifecycle": "CREATING", "Name": "demo", "OntapConfiguration": { "FlexCacheEndpointType": "NONE", "JunctionPath": "/demo", "SizeInMegabytes": 100000, "StorageEfficiencyEnabled": true, "StorageVirtualMachineId": "svm-0f04a9c7c27e1908b", "StorageVirtualMachineRoot": false, "TieringPolicy": { "Name": "ALL" }, "OntapVolumeType": "DP", "SnapshotPolicy": "default", "CopyTagsToBackups": false, }, "ResourceARN": "arn:aws:fsx:us-east-1:752825163408:volume/fs-07ab735385276ed60/fsvol-0b6ec764c9c5f654a", "VolumeId": "fsvol-0b6ec764c9c5f654a", "VolumeType": "ONTAP", } }