Book Image

Learning Heroku Postgres

By : Patrick Rafael de Oliveira Espake
Book Image

Learning Heroku Postgres

By: Patrick Rafael de Oliveira Espake

Overview of this book

Table of Contents (17 chapters)
Learning Heroku Postgres
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Keyword List
Index

Heroku Postgres rollback


The most common use case of rollback is when your database breaks down with a problem after a new push to production. Through the rollback feature, you can roll your database back to before the issue occurred. Another use case is when data loss occurs accidentally in the database. This feature allows database data to be recovered for any given time period.

In Chapter 4, PG Backups you learned about PG Backups. It is a great solution for ensuring the security and integrity of your database. Sometimes, people get confused about PG Backups and Heroku Postgres rollback; in fact, they are complementary solutions. Through Heroku Postgres rollback, you have another way to recover your data and maintain the integrity of your database; you can specify the exact period to the rollback.

Checking the rollback feature

The first step for performing rollback is to check whether this feature is available in your plan. Currently, the rollback functionality is available only in standard...