dbos-inc / dbos-transact

The TypeScript framework for backends that scale
https://docs.dbos.dev
MIT License
335 stars 22 forks source link

DB restore command #409

Closed qianl15 closed 3 months ago

qianl15 commented 3 months ago

This PR implements a new Cloud command to restore a DB instance to a past point in time.

Usage: dbos-cloud database restore [options] <name>

Restore a Postgres database instance to a specified time

Arguments:
  name                         database instance name

Options:
  -t, --restore-time <string>  Specify the timestamp to restore from, must be in RFC3339 format. Example: 2009-09-07T23:45:00Z
  -n, --target-name <string>   Specify the new database instance name
  -h, --help                   display help for command