Help Center/ SAP Cloud/ Best Practices/ Best Practices for Uploading SAP Backups to the OBS Bucket/ FAQs/ How Can I Periodically Delete Backup Files from a Bucket or Change the Storage Class of Backup Files?
Updated on 2024-08-15 GMT+08:00

How Can I Periodically Delete Backup Files from a Bucket or Change the Storage Class of Backup Files?

This section applies to the following scenarios:

  • Some files uploaded periodically need only to be retained for only one week or one month. You need to delete the files after they expire.
  • Files are seldom accessed after a certain period of time. These files need to be transitioned to Infrequent Access or Archive storage or be deleted.

You can create lifecycle rules for objects in the preceding scenarios.

  • Use an independent bucket to store backup files to prevent important files from being deleted by mistake during the periodical deletion.
  • Apply the lifecycle rules to the entire bucket when configuring the lifecycle management function to manage the lifecycle of all objects in the bucket.

Procedure

  1. For details, see Configuring a Lifecycle Rule.