After you enable the ignore deletions feature for a file gateway, the data stored in the associated Object Storage Service (OSS) bucket is retained when you delete a file from the file gateway.

Scenario

You need to delete data from a file gateway without changing the data in the associated OSS bucket.
Note If the ignore deletions feature and the reverse synchronization feature are enabled for a file gateway at the same time, the deleted files may be synchronized. Therefore, we recommend that you do not enable these features at the same time.

Configure ignore deletions

You can enable the ignore deletions feature when you create a share for a file gateway. For more information, see Create a share.