apps/docs/content/guides/platform/manage-your-usage/point-in-time-recovery.mdx
You can configure Point-in-Time Recovery (PITR) for a project by enabling the PITR add-on. 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.
</Admonition>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.
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 is shown as "Point-in-time recovery Hours" on your invoice.
<$Partial path="billing/pricing/pricing_pitr.mdx" />
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 | 744 | <Price price="15" /> |
| 7-day PITR Hours Project 1 | 744 | <Price price="100" /> |
| Subtotal | <Price price="140" /> | |
| Compute Credits | -<Price price="10" /> | |
| Total | <Price price="130" /> |
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 | 744 | <Price price="15" /> |
| 14-day PITR Hours Project 1 | 744 | <Price price="200" /> |
| Compute Hours Small Project 2 | 744 | <Price price="15" /> |
| 14-day PITR Hours Project 2 | 744 | <Price price="200" /> |
| Subtotal | <Price price="455" /> | |
| Compute Credits | -<Price price="10" /> | |
| Total | <Price price="445" /> |
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 Micro Project 1 | 744 | <Price price="10" /> |
| 7-day PITR Hours Project 1 | 24 | <Price price="3.23" /> |
| Subtotal | <Price price="38.23" /> | |
| Compute Credits | -<Price price="10" /> | |
| Total | <Price price="28.23" /> |