Courseiva
DBS-C01Chapter 16 of 17Objective 2.2

Backup, Restore, and Point-in-Time Recovery Strategies

Backup, restore, and point-in-time recovery (PITR) are the safety nets that protect your database data from accidental deletion, corruption, or total infrastructure failure. For the DBS-C01 exam, you must understand how AWS databases like RDS, Aurora, and DynamoDB automate these processes, what the different recovery options cost, and how to design strategies that meet business continuity requirements even when everything goes wrong.

12 min read
Intermediate
Updated Jul 23, 2026
Editorial oversight: Johnson Ajibi· Security Systems Architect · MSc IT Security · IEEE Senior Member

A simple way to picture Backup, Restore, and Point-in-Time Recovery Strategies

The Family Photo Album Analogy

3 copies of your family photo album exist. One is on your phone, one is on a hard drive in your living room, and one is in a fireproof safe at your sister's house in another city. You take a new photo every day. If your phone gets stolen, you lose only the photos taken since the last time you synced to the living room drive. If a flood destroys the living room drive, the safe copy still holds every photo from the last month.

This is backup and recovery. The phone copy is your live database — every change happens there. The living room hard drive is an automated backup: a scheduled copy of everything up to the last backup window. The fireproof safe is a cross-region backup — stored in a different geographic location to survive local disasters. Point-in-time recovery is like being able to rewind time: if you accidentally deleted a photo from last Tuesday, you can restore the album to exactly how it looked last Tuesday at 3:47 PM. AWS databases do this by keeping a continuous log of every change, so you can go back to any second within the last 35 days. Without this strategy, losing one device means losing everything forever.

How It Actually Works

Database backup is the process of creating a copy of your database so you can restore it later if the original is lost or corrupted. AWS offers several ways to do this. The simplest is automated backups. When you enable automated backups on Amazon RDS or Amazon Aurora, the service automatically creates a daily snapshot of your entire database instance and also uploads transaction logs to Amazon S3. These logs record every single change made to the database — every INSERT, UPDATE, or DELETE statement. With these logs, you can perform point-in-time recovery (PITR), which lets you restore your database to any second within the backup retention period (typically between 1 and 35 days). This replaces older manual approaches where you had to schedule and store full backups yourself and could only restore to the moment of the last backup, losing any changes made between backups.

Another key concept is the database snapshot. A snapshot is a static, point-in-time copy of your whole database instance. Unlike automated backups, snapshots are user-initiated and persist until you delete them. They also include the entire storage volume, not just the database engine data. Snapshots are stored in Amazon S3, but you only pay for the storage they use. For Amazon RDS, automated backups are automatically deleted when you delete the database instance, but manual snapshots remain even after the instance is deleted. This is critical for exam questions about retention and compliance.

Cross-region backups are essential for disaster recovery. If an entire AWS region (like us-east-1) goes down, you lose all resources in that region. By copying automated backups or snapshots to a different AWS region, you ensure that even a full region outage cannot destroy your data. AWS RDS can automatically copy automated backups to another region if you configure cross-region backup. DynamoDB has global tables that replicate data across regions in near real time. Aurora offers cross-region read replicas and also cross-region snapshot copy.

For exam purposes, you need to understand the default settings. RDS automated backups are enabled by default with a retention period of 7 days. Snapshots are not automatic. PITR requires automated backups to be enabled. The retention period can be increased up to 35 days, but this costs more because you store more transaction logs. If you disable automated backups, you lose PITR capability entirely. Aurora has a special feature called backtrack, which allows you to rewind the database to a specific time without needing to restore from a snapshot, but it uses a different mechanism than standard PITR.

DynamoDB has on-demand backup and point-in-time recovery. On-demand backups are full snapshots you trigger manually. PITR for DynamoDB lets you restore your table to any point in time within the last 35 days. When you enable PITR on a DynamoDB table, AWS continuously records changes, so you can go back to any second. This is incredibly powerful because it means you can recover from accidental writes or deletes without having to restore an entire snapshot and replay logs.

Restoring from a backup creates a new database instance. You cannot overwrite an existing instance with a restored backup — you always get a fresh instance. This is important: restore creates a new DB instance with a new endpoint. You then need to update your application to point to the new instance, or use DNS tricks to swap the endpoint. This is called a restore operation.

Flowchart showing how an RDS primary instance generates daily snapshots and transaction logs, which feed into automated backups, manual snapshots, cross-region copies, and restore operations.

Walk-Through

1

Enable automated backups

When you create an RDS instance, automated backups are enabled by default with a 7-day retention period. You can modify this to up to 35 days. This step is essential because without automated backups, point-in-time recovery is impossible. The system will take a daily snapshot and upload transaction logs every 5 minutes.

2

Configure the backup retention window

Define the time window during which AWS takes the daily snapshot. Choose a time with low database activity to avoid performance impact. Also set the retention period based on your recovery point objective (RPO). For example, if you cannot lose more than 5 minutes of data, you need PITR enabled — which requires a retention period of at least 1 day.

3

Create manual snapshots for long-term retention

Use the AWS Console, CLI, or API to create a manual snapshot. This is useful for archiving purposes (e.g., before a major software upgrade) because manual snapshots persist even after you delete the database instance. Store these snapshots in a lifecycle-managed S3 bucket for compliance.

4

Copy backups to another AWS region

To protect against a full region outage, manually copy your automated backups or manual snapshots to a different AWS region. You can also configure cross-region automated backup copying using the RDS console. This step ensures you can restore in a different geographic area if the primary region fails.

5

Test the restore process regularly

Practice restoring a snapshot or performing a point-in-time recovery to a new instance. Verify the data integrity and measure the time it takes. Update your runbook (documentation of procedures) with the exact steps. Regular testing ensures you meet your recovery time objective (RTO) in a real disaster.

6

Set up monitoring and alerts

Configure Amazon CloudWatch alarms to notify you if a backup fails, if the backup storage exceeds a threshold, or if the database instance is deleted. Enable deletion protection on production instances. This proactive step catches problems before they become data loss events.

What This Looks Like on the Job

Imagine you are the database administrator for an e-commerce platform that processes 10,000 orders per hour. The company has a compliance requirement to keep seven years of order data, but also must be able to recover from any data loss within 15 minutes. You design the backup strategy as follows.

First, you enable automated backups on the production Amazon RDS for PostgreSQL instance with a retention period of 35 days. This gives you PITR capability for the last 35 days. Every day at 2:00 AM, AWS takes a snapshot. Transaction logs are uploaded every five minutes. If a developer accidentally runs a DELETE without a WHERE clause at 3:47 PM on Tuesday, you can restore the database to exactly 3:46:59 PM Tuesday, losing at most five minutes of data.

Second, you create a manual snapshot once per week and copy it to a different AWS region (us-west-2). You also copy the automated backup to another region. If the primary region (us-east-1) experiences a natural disaster and is completely unavailable, you can restore that cross-region snapshot in the secondary region and point your users there. You test this recovery process quarterly.

Third, you enable deletion protection on the database instance. This prevents anyone from accidentally deleting the production database. Even if an administrator tries to delete it, the operation fails unless deletion protection is turned off first. This is a simple but crucial safety net.

Fourth, you set up AWS Backup — a centralised backup service that automates backup policies across multiple AWS services. You create a backup plan that says: 'take a daily backup, retain for 35 days, copy to us-west-2, and notify the ops team if a backup fails.' AWS Backup manages the lifecycle, retention, and cross-region copying automatically.

One day, the worst happens: a ransomware attack encrypts the production database. You immediately stop all application traffic, then use the AWS Management Console to restore the most recent automated backup to a new RDS instance. Since PITR is enabled, you restore to the point in time just before the attack started — say 11:45 AM, when the last clean transaction log was written. The new instance is up and serving data within 10 minutes. You then remove the infected instance and update your application’s connection string to point to the new clean instance. The company loses less than 15 minutes of data, meeting the recovery point objective (RPO) of 15 minutes. The recovery time objective (RTO) is also met because the restore completed within the required time.

How DBS-C01 Actually Tests This

DBS-C01 tests backup and recovery heavily. Expect at least eight to ten questions on this topic across the exam. The exam focuses on the differences between automated backups, manual snapshots, and PITR, and on cross-region considerations. You must memorise the default retention period (7 days for RDS, 35 days max).

Common exam traps include: - 'PITR works with manual snapshots' — False. PITR requires automated backups to be enabled (which upload transaction logs). A manual snapshot is just a static point and does not include logs, so you cannot PITR from it. - 'Restoring a snapshot overwrites the existing instance' — False. Restoring always creates a new instance, because the original instance's storage is immutable. - 'You can delete automated backups manually' — False. Automated backups are deleted automatically when you delete the DB instance, or when they age beyond the retention period. You cannot delete individual automated backup files; you control retention via the retention period setting. - 'Cross-region backup is enabled by default' — False. You must explicitly configure cross-region backup copying (either for automated backups or manual snapshots). - 'DynamoDB PITR is free' — False. It incurs storage costs for the change logs.

Key definitions to memorise:

Automated backup: includes daily snapshot + transaction logs; enables PITR; retained for 1–35 days.

Manual snapshot: user-initiated; persists until deleted; stored in S3; does not support PITR.

Cross-region backup: copying a snapshot or automated backup to another AWS region for disaster recovery.

Point-in-time recovery (PITR): ability to restore a database to any second within the retention window by replaying transaction logs.

Recovery point objective (RPO): the maximum amount of data you are willing to lose (e.g., 5 minutes).

Recovery time objective (RTO): the maximum time you can afford for recovery (e.g., 1 hour).

Backup retention period: the number of days AWS keeps your automated backups. RDS: 1–35 days (default 7). Aurora: 1–35 days (default 1). DynamoDB PITR: up to 35 days.

Backtrack (Aurora only): rewind to a previous point in time without a full restore; uses a configurable backtrack window.

Exam questions often present a scenario: 'A company has a 15-minute RPO and a 1-hour RTO. Which backup strategy meets these requirements?' The answer usually involves PITR enabled with automated backups and cross-region snapshot copying. Another question might ask: 'After restoring a snapshot, what is the next step?' The answer: update the application to point to the new endpoint.

You should also understand cost implications. Keeping a 35-day retention period for automated backups costs more than 7 days because you store more logs. Manual snapshots cost for the storage they occupy in S3. Cross-region backup copying incurs data transfer costs between regions.

Key Takeaways

Automated backups include daily snapshots and transaction logs, enabling point-in-time recovery within a 1–35 day window.

Manual snapshots are user-initiated, persist after instance deletion, and do not support point-in-time recovery.

Restoring a snapshot always creates a new database instance with a new endpoint; you must update your application manually.

Cross-region backup copying must be explicitly enabled and protects against a full regional AWS outage.

The default automated backup retention period for RDS is 7 days, but you can increase it to 35 days at additional cost.

DynamoDB PITR is a separate feature from on-demand backups and allows restoring a table to any second in the last 35 days.

Deletion protection on an RDS instance prevents accidental deletion; it is a separate setting from backups.

Backtrack in Amazon Aurora allows rewinding to a previous point without a full restore, using a configurable backtrack window.

Easy to Mix Up

These come up on the exam all the time. Here's how to tell them apart.

Automated Backup

AWS schedules and manages the backup automatically

Includes daily snapshot and transaction logs (enables PITR)

Deleted automatically when the DB instance is deleted or retention expires

Manual Snapshot

User manually triggers the backup via console/CLI

Only a static snapshot without transaction logs (no PITR)

Persists after DB instance deletion until user deletes it

Watch Out for These

Mistake

I can restore a manual snapshot and then use PITR to go to a different time within the retention window.

Correct

PITR requires automated backups (which include transaction logs). A manual snapshot alone has no logs, so you can only restore to the exact time the snapshot was taken.

Beginners confuse 'snapshot' with 'backup'. They think a snapshot is a full backup that includes logs, but snapshots are just static images of the storage volume.

Mistake

Deleting an RDS instance deletes all its automated backups and manual snapshots automatically.

Correct

Automated backups are deleted with the instance, but manual snapshots persist until you manually delete them.

People assume 'delete instance' means 'delete everything' — AWS intentionally keeps manual snapshots separate because they are user-managed assets.

Mistake

PITR is only available for Amazon RDS and not for DynamoDB.

Correct

DynamoDB has its own PITR feature that allows restoring a table to any point in the last 35 days.

DynamoDB is a NoSQL service, and many learners assume only relational databases support point-in-time recovery.

Mistake

When I restore from a snapshot, AWS automatically points my application to the new instance.

Correct

Restoring creates a new instance with a new endpoint. You must manually update your application connection string or use a DNS CNAME change.

People expect full automation. AWS deliberately does not automate the switchover because it requires application-level coordination.

Mistake

The default backup retention period for RDS is 35 days.

Correct

The default is 7 days. You can increase it up to 35 days, but this increases storage costs.

35 days is the maximum, so beginners often assume it is the default. AWS sets a conservative default to keep costs low for new users.

Mistake

Cross-region backups are automatically enabled for all RDS instances.

Correct

Cross-region backup copying must be explicitly configured in the AWS Console or CLI.

Beginners think 'AWS handles everything by default'. But cross-region copies incur inter-region data transfer fees, so AWS leaves it off by default.

Do You Actually Know This?

Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.

Frequently Asked Questions

What is the difference between an automated backup and a manual snapshot in RDS?

Automated backups are scheduled and managed by AWS; they include daily snapshots and transaction logs, enabling point-in-time recovery. Manual snapshots are user-initiated, persist after instance deletion, and do not include logs, so they cannot support point-in-time recovery.

How do I restore a database to a specific time in the past?

Use the 'Restore to point in time' option in the RDS console. You must have automated backups enabled. Select the target date and time (down to the second). AWS will restore the database to a new instance at that exact moment using the transaction logs.

Can I overwrite my existing RDS instance by restoring a backup?

No. Restoring a snapshot or performing a point-in-time recovery always creates a new RDS instance with a new endpoint. You cannot overwrite the original instance. You must then redirect your application to the new instance.

How long are automated backups retained if I delete the database instance?

Automated backups are deleted when the database instance is deleted. Manual snapshots are retained even after instance deletion. You must manually delete them to avoid ongoing storage costs.

Is point-in-time recovery available for Amazon DynamoDB?

Yes. DynamoDB offers point-in-time recovery (PITR) for tables. You enable it per table, and it allows restoring the table to any point in time within the last 35 days. On-demand backups are separate and do not support PITR.

What is the maximum retention period for RDS automated backups?

The maximum is 35 days. The default is 7 days. You can change the retention period at any time via the RDS console or API, but longer retention periods incur higher storage costs for transaction logs.

Terms Worth Knowing

Keep going

You've finished Backup, Restore, and Point-in-Time Recovery Strategies. Continue through the DBS-C01 study guide to build a complete picture of the exam.

Done with this chapter?