Restores a database instance to a previous state using a backup, enabling data recovery to a specific point in time.
The vultr-cli database backup restore command restores a managed database to a previous state using a specified backup. It helps recover data after accidental changes or corruption.
$ vultr-cli database backup restore <Database ID> [flags]
| Shorthand | Long Version | Description |
|---|---|---|
| - | --date | backup date to use for point-in-time recovery |
| - | --label | label for the new managed database restored from backup |
| - | --time | backup time to use for point-in-time recovery |
| - | --type | restoration type: pitr for point-in-time recovery or basebackup for latest backup (default) |