# Get point in time recovery (PITR) window (/docs/rest-api/endpoints/database-backups/get-databases-by-database-id-backups-pitr) > For the complete Prisma documentation index, see [llms.txt](https://www.prisma.io/docs/llms.txt). A markdown version of any docs page is available by appending `.md` to its URL. Returns the oldest and newest time the database can be restored to. To restore, create a database with a `pitr` source. Location: REST API > Endpoints > Database Backups > Get point in time recovery (PITR) window ## Related pages - [Get list of backups](https://www.prisma.io/docs/rest-api/endpoints/database-backups/get-databases-by-database-id-backups): Returns backups for the specified database.