# Using Neon branching for instant Point in time recovery

DevFeed: [Using Neon branching for instant Point in time recovery](<https://devfeed.tech/articles/using-neon-branching-for-instant-point-in-time-recovery-5722.md>)

Original publisher: [Read original article](<https://neon.com/blog/point-in-time-recovery>)

Author: Mahmoud Abdelwahab

Published: 2023-07-28T12:36:00Z

Content type: tutorial

Language: en

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

Topics: [Serverless](<https://devfeed.tech/topics/serverless.md>), [Database](<https://devfeed.tech/topics/database.md>), [API](<https://devfeed.tech/topics/api.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [backup](<https://devfeed.tech/tags/backup.md>), [cli](<https://devfeed.tech/tags/cli.md>), [community](<https://devfeed.tech/tags/community.md>), [data](<https://devfeed.tech/tags/data.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [product](<https://devfeed.tech/tags/product.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [storage](<https://devfeed.tech/tags/storage.md>), [time](<https://devfeed.tech/tags/time.md>)

## AI overview

This guide explains how to use Neon branching to restore a fully managed serverless Postgres database to a previous point in time. It covers copy-on-write branches, WAL-based data history, restoration through the Neon console or CLI, and using the Neon API when the same connection string must be preserved.

## Source excerpt

In this guide, you'll learn how to leverage Neon branching to programmatically restore your data to a previous state. What's Neon? Neon is a fully managed serverless Postgres. This means you do not have to pick a size for your database upfront, and it will automatically allocate...