Ubuntu 22.04 Backup using Amazon S3 and rclone

From Notes_Wiki

Home > Ubuntu > Ubuntu 22.04 > Ubuntu 22.04 Backup using Amazon S3 and rclone

1. Creating 7 Daily Buckets with 6-Day Immutability

  • Log in to your AWS account and open the S3 console.
  • Click Create Bucket, enter a unique name, and confirm creation.
  • Open the newly created bucket and go to the Properties tab.
  • Under Bucket Versioning, click Enable (required for object lock).
  • Scroll to Object Lock, click Edit, and enable it.
  • Enable Default Retention:
  • Choose Compliance mode.
  • Set retention period to 6 days.
  • Save changes.

2. Enabling Retention Lock for Backup Tools (QNAP, Veeam, Veritas)

  • Navigate to the target S3 bucket.
  • In Properties, scroll to Object Lock and click Edit.
  • Enable Object Lock (ensure versioning is enabled).
  • Do not enable Default Retention (backup tool will handle it).
  • Save changes.