Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

How to retain backups longer than 35 days in AWS RDS

There's a service for everything

Joel Clermont
Joel Clermont
2025-06-24

From our daily Laravel tips email. Get the next one in your inbox.

Amazon RDS is used to host the database for a few of the projects I work with regularly. I like having Amazon manage this key service for me, and one of the things I really like is the automated point-in-time backups.

But one problem I frequently run into is that these RDS-managed backups have a limit of 35 days of history. And I'm not okay with just hoping we never need something older than that.

In the past, I had a complicated solution to handle it, but recently I discovered there is a service that makes this even easier to manage. It has the catchy name: AWS Backup.

Not only does it make a longer retention strategy possible, they even have common templates like a rolling year of weekly backups. Also, this isn't RDS-specific; RDS is just one of the many services it supports. You can use it for EC2 volumes and many other AWS services.

If you have a homegrown solution, like I did, this is much easier to set up and maintain.

Here to help,

Joel

P.S. As you can tell, we really pay attention detail when we work on a project. Could your project use some of that? Give us a call.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.