CLI reference/Server and administration/admin
clavis admin restore
Restore an encrypted database backup
sh
clavis admin restore FILE [flags]Restore an encrypted backup while the server is stopped. The previous SQLite database is kept with a timestamp suffix.
Examples
sh
clavis admin restore clavis-backup.enc --yesFlags
--config string- configuration file
--yes- confirm replacing the database
Global flags
These work with every command.
--debug- enable debug logging
--env string- environment slug
--json- output machine-readable JSON
--org string- organization slug
--overlay string- tenant/region overlay slug
--path string- folder path (default /)
--project string- project slug
--server string- Clavis server URL (default: from .clavis.yaml or saved login)
-h, --help- help for any command