Backup & Point-in-time Recovery

Even the best developers make mistakes. For safety, Oso Cloud offers a point-in-time recovery tool for paid organizations. You can use this tool to recover the policy and facts of an environment from any point in time in the past 30 days (or, if your environment is less than 30 days old, from any point in time since the environment was created). If you need to recover to a point more than 30 days in the past, reach out via your support channel.

Creating a recovery

This feature is only available for paid organizations.

To create a recovery, navigate to the "Settings" page for your paid organization. Click on the "Recovery" tab. You'll see a list of recent recoveries for environments in your organization.

Click the "Create a recovery" button. Next, select the environment whose facts and policy you want to recover and the point in time you want to recover them from. You'll have a choice of either copying the facts and policy into a new environment or rolling them back in place.

Screenshot of the recovery UI

If you choose to recover into a new environment, note that only the facts and policy from the point in time will be copied— your new environment won't have any API keys or logs. This option is most helpful if you need to investigate the state of an environment at some fixed point in time. (Note that you will not be able to select this option if your organization is at its environment limit.)

If you rollback an environment in place, the policy and facts of the environment will be overwritten. The environment's logs and API keys will not be affected by the rollback— any logs or API keys that existed before the rollback will remain. This option is most helpful if you're trying to undo a catastrophic change to a traffic-serving environment (for example, if you have an integration that runs awry).

Note: after you confirm an in-place rollback, you will experience a brief period of unavailability while the rollback is being applied, during which you will not be able to read from or write to your environment.

In either case, after you confirm your choice and the recovery completes, you will be redirected to the recovered environment, and you'll see your recovery in the list of recent recoveries in the "Recovery" settings tab.

Talk to an Oso engineer

If you are having trouble with back up and recovery in your environment, or you have additional questions regarding this guide, schedule a 1x1 with an Oso engineer. We're happy to help.

Get started with Oso Cloud →