# Time Travel with Serverless Postgres

DevFeed: [Time Travel with Serverless Postgres](<https://devfeed.tech/articles/time-travel-with-serverless-postgres-5832.md>)

Original publisher: [Read original article](<https://neon.com/blog/time-travel-with-postgres>)

Author: Mahmoud Abdelwahab

Published: 2022-12-07T17:11:02Z

Content type: tutorial

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [data](<https://devfeed.tech/topics/data.md>), [API keys](<https://devfeed.tech/topics/api-keys.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [community](<https://devfeed.tech/tags/community.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [disaster-recovery](<https://devfeed.tech/tags/disaster-recovery.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [sql](<https://devfeed.tech/tags/sql.md>)

## AI overview

A tutorial on using Neon database branches to restore data after accidental loss. It explains creating branches from the current state, a point in time, or an LSN, including creation through the console and API.

## Source excerpt

One unfortunate scenario you might run into is running a SQL query that accidentally results in data loss. To deal with this issue, you would typically need to have backups and then roll back your database to a previous state. Neon's database branching feature enables you to crea...