Appearance
database commands
Database management commands
Appearance
Database management commands
metaplay database Commands for managing and interacting with game server databases
--color <string>: Should the output be colored (yes/no/auto)? [env: METAPLAYCLI_COLOR] (default: auto)--project <string>: Path to the to project directory (where metaplay-project.yaml is located)--skip-version-check: Skip the check for a new CLI version being available--verbose: Enable verbose logging, useful for troubleshooting [env: METAPLAYCLI_VERBOSE]metaplay database export-snapshot [ENVIRONMENT] [OUTPUT_FILE] [flags] - Export database snapshot from an environmentmetaplay database import-snapshot [ENVIRONMENT] [INPUT_FILE] [flags] - Import database snapshot from a filemetaplay database reset [ENVIRONMENT] [flags] - Reset database by dropping all tables