Best practices: restoring from backups or snapshots directly on your Amazon FSx file system - Amazon Storage Gateway
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).

Amazon S3 File Gateway documentation has been moved to What is Amazon S3 File Gateway?

Volume Gateway documentation has been moved to What is Volume Gateway?

Tape Gateway documentation has been moved to What is Tape Gateway?

Best practices: restoring from backups or snapshots directly on your Amazon FSx file system

In some cases, you might need to restore data on your Amazon FSx file system directly, using a backup or snapshot from an earlier point in time. In these instances, there is a risk of creating a dual-writer scenario between the backup application and the FSx File Gateway, which can result in stuck or mis-matched files. To avoid problems when restoring your Amazon FSx file system from backups or snapshots, use the following procedure.

Note

Any cached data currently stored on your FSx File Gateway will not be valid after you restore your Amazon FSx file system from a backup or snapshot using this procedure.

To avoid problems when restoring your Amazon FSx file system from backups or snapshots
  1. Detach the Amazon FSx file system from the FSx File Gateway using the Storage Gateway console.

  2. Restore the backup or snapshot directly on your Amazon FSx file system.

  3. Reattach the Amazon FSx file system to the FSx File Gateway using the Storage Gateway console.