## Point in time recovery
Stolon can do a point a time recovery starting from an existing backup.
* [This](pitr_wal-g.md) example shows how to do point in time recovery with stolon using [wal-g](https://github.com/wal-g/wal-g)
* [This](pitr_wal-e.md) example shows how to do point in time recovery with stolon using [wal-e](https://github.com/wal-e/wal-e)
### Backups
#### Base backups
stolon doesn't trigger base backups, you can run them at your preferred times and with your preferred scheduler.
#### Archive backups
With stolon you should instead enable `archive_mode` and set the `archive_command`, there's nothing different than a typical [postgresql backup](https://www.postgresql.org/docs/current/static/continuous-archiving.html).
```
stolonctl update --patch '{ "pgParameters" : { "archive_mode": "on", "archive_command": "/path/to/your/archive/command %p" } }'
This file has been truncated. show original