Docs
English
Data Protection and Continuity

Disaster Recovery and Immutable Backup with S3 Object Lock

Last change: Created: ID: SDC-DP-1001

This document explains what SistemDC offers today to protect your data against deletion, modification and ransomware, where the disaster recovery (DR) service stands, and how to set up an immutable backup with S3 Object Lock. The two topics are kept apart on purpose: the protection you can use today and the second location that is not yet in service.

What is available today and what is planned

ServiceStatusWhat it providesLimit
S3 Object Storage + Object LockOffered todayAn immutable copy in Compliance mode, versioning, a TLS 1.2+ connection, a hard quotaDoes not provide a second geographic copy or an environment that restarts the service
Disaster Recovery (DR)Project-based; the second location in Istanbul is at the planning stage and not in servicePlanned: a target environment, data replication, a recovery test and written recovery stepsToday there is no replication, automatic failover, measured RTO/RPO or service-level commitment

Details: S3 Object Storage · Disaster Recovery (DR) service.

Setting up an immutable copy with S3 Object Lock

Object Lock prevents object versions from being deleted or modified during the retention period you define. SistemDC's S3 service offers Compliance mode: no user, the account owner included, can delete a locked version through the S3 API before the retention period ends, and the period cannot be shortened. Object Lock must be enabled when the bucket is created; it cannot be added afterwards.

Connection details

Endpointhttps://s3.sistemdc.com
AddressingPath-style: https://s3.sistemdc.com/bucket/object
SignatureAWS Signature V4 (SigV2 is rejected)
Region (signature)us-east-1: a fixed client value, not the data location
Data locationTurkey, SistemDC data center; not transferred abroad

Step by step (AWS CLI)

  1. Create the bucket with Object Lock. The option can only be given at creation.
aws --endpoint-url https://s3.sistemdc.com \
  s3api create-bucket --bucket yedek \
  --object-lock-enabled-for-bucket
  1. Define the default retention rule. The example below protects every written version for 30 days in Compliance mode. Because the period cannot be shortened in Compliance mode, choose a short period for the first test.
aws --endpoint-url https://s3.sistemdc.com \
  s3api put-object-lock-configuration --bucket yedek \
  --object-lock-configuration '{"ObjectLockEnabled":"Enabled","Rule":{"DefaultRetention":{"Mode":"COMPLIANCE","Days":30}}}'
  1. Connect your backup software. AWS CLI, rclone, restic, boto3 and backup software that supports S3 all work. If your software has an immutability option, enable it.
  2. Test the lock. Upload a test object and try to delete it by version ID; an access-denied error shows that the lock works.
Good to know: the quota is a hard limit; locked versions keep using storage for the retention period. When a service is cancelled, access closes immediately and data is deleted automatically after 7 days; objects locked with Object Lock are kept for the duration of the lock. See Article 16 of the Terms of Service for details.

What Object Lock protects and what it does not

CaseProtection
Deletion and modificationProtects: a locked version cannot be deleted or modified before the retention period ends.
A compromised account or keyCannot delete locked existing versions; however, new data can be written with a stolen key. Keep a separate key for each application and rotate it immediately if you suspect a leak.
Hardware failureDoes not protect: Object Lock does not create a second copy.
Loss of the locationDoes not protect: the copy is at the same location. A geographic second copy is not part of the service; Disaster Recovery (DR) is planned for a second location.
Soundness of the backupDoes not guarantee it: a restore test must be run.

How a disaster recovery project runs

Disaster recovery is a project-based service and the second location in Istanbul is not yet in service; the flow below is the planned way of working.

  1. Discovery and targets. The servers, data and services in scope and the RPO and RTO targets are set together.
  2. Second-location setup. Target server and network resources are reserved at the planned second location in Istanbul.
  3. Data replication. Data is copied to the second location at the agreed frequency; if needed an immutable copy is also kept on S3 with Object Lock.
  4. Recovery test. After setup the scenario is tried together and the measured times are reported.
  5. Documentation and maintenance. Recovery steps are delivered in writing and the replication is checked regularly.

For a quote, contact form or the quote form on the Disaster Recovery page.

RTO and RPO

RTO and RPO objectives are set from business impact and verified by measuring them in a recovery test. In depth: What are RTO and RPO? · What is an immutable backup?

Frequently asked questions

Is the disaster recovery service active today?

No. Disaster recovery is a project-based service and the second location in Istanbul is at the planning stage. What is offered today is an immutable data copy with Object Lock on S3 Object Storage.

Can I enable Object Lock on an existing bucket later?

No. Object Lock is enabled when the bucket is created. For an existing bucket you need to create a new locked bucket and move the data.

Can I delete a locked object before the retention period ends?

Not in Compliance mode: no user, the account owner included, can delete a locked version through the S3 API before the period ends, and the period cannot be shortened.

Does Object Lock replace a geographic backup?

No. Object Lock protects against deletion and modification; it does not create a second copy against hardware failure and does not mean a separate location.

What happens to locked data if I cancel the service?

On cancellation access closes immediately and data is deleted automatically after 7 days; objects locked with Object Lock are kept for the duration of the lock. Move your data before cancelling.