Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

4.6 KB
Raw Blame
---
id: 'manage-usage-point-in-time-recovery'
title: 'Manage Point-in-Time Recovery usage'
---

## What you are charged for

You can configure [Point-in-Time Recovery (PITR)](/docs/guides/platform/backups#point-in-time-recovery) for a project by enabling the [PITR add-on](/dashboard/project/_/settings/addons?panel=pitr). You are charged for every enabled PITR add-on across your projects.

<Admonition type="note">

Point-In-Time Recovery add-on is **not** covered by the [Spend Cap](/docs/guides/platform/cost-control#spend-cap).

</Admonition>

## How charges are calculated

PITR is charged by the hour, meaning you are charged for the exact number of hours that PITR is active for a project. If PITR is active for part of an hour, you are still charged for the full hour.

### Example

Your billing cycle runs from January 1 to January 31. On January 10 at 4:30 PM, you activate PITR for your project. At the end of the billing cycle you are billed for 512 hours.

| Time Window                                 | PITR Activated | Hours Billed | Description         |
| ------------------------------------------- | -------------- | ------------ | ------------------- |
| January 1, 00:00 AM - January 10, 4:00 PM   | No             | 0            |                     |
| January 10, 04:00 PM - January 10, 4:30 PM  | No             | 0            |                     |
| January 10, 04:30 PM - January 10, 5:00 PM  | Yes            | 1            | full hour is billed |
| January 10, 05:00 PM - January 31, 23:59 PM | Yes            | 511          |                     |

### Usage on your invoice

Usage is shown as "Point-in-time recovery Hours" on your invoice.

## Pricing

<$Partial path="billing/pricing/pricing_pitr.mdx" />

## Billing examples

### One project

The project has PITR with a recovery retention period of 7 days activated throughout the entire billing cycle.

| Line Item                     | Hours | Costs                     |
| ----------------------------- | ----- | ------------------------- |
| Pro Plan                      | -     | <Price price="25" />      |
| Compute Hours Small Project 1 | 730   | <Price price="15" />      |
| 7-day PITR Hours Project 1    | 730   | <Price price="100" />     |
| **Subtotal**                  |       | **<Price price="140" />** |
| Compute Credits               |       | -<Price price="10" />     |
| **Total**                     |       | **<Price price="130" />** |

### Multiple projects

All projects have PITR with a recovery retention period of 14 days activated throughout the entire billing cycle.

| Line Item                     | Hours | Costs                     |
| ----------------------------- | ----- | ------------------------- |
| Pro Plan                      | -     | <Price price="25" />      |
|                               |       |                           |
| Compute Hours Small Project 1 | 730   | <Price price="15" />      |
| 14-day PITR Hours Project 1   | 730   | <Price price="200" />     |
|                               |       |                           |
| Compute Hours Small Project 2 | 730   | <Price price="15" />      |
| 14-day PITR Hours Project 2   | 730   | <Price price="200" />     |
|                               |       |                           |
| **Subtotal**                  |       | **<Price price="455" />** |
| Compute Credits               |       | -<Price price="10" />     |
| **Total**                     |       | **<Price price="445" />** |

### Add-on disabled after a day

Project add-ons are billed in arrears based on how many hours you used them.
If you remove the PITR add-on, you are no longer billed from the time of removal onward.

| Line Item                     | Hours | Costs                       |
| ----------------------------- | ----- | --------------------------- |
| Pro Plan                      | -     | <Price price="25" />        |
|                               |       |                             |
| Compute Hours Small Project 1 | 730   | <Price price="15" />        |
| 7-day PITR Hours Project 1    | 24    | <Price price="3.29" />      |
|                               |       |                             |
| **Subtotal**                  |       | **<Price price="43.29" />** |
| Compute Credits               |       | -<Price price="10" />       |
| **Total**                     |       | **<Price price="33.29" />** |

## Optimize usage

- Review your [backup frequency](/docs/guides/platform/backups#frequency-of-backups) needs to determine whether you require PITR or free Daily Backups are sufficient
- Regularly check your projects and disable PITR where no longer needed
- Consider disabling PITR for non-production databases