Skip to content
Sébastien Andreatta edited this page Apr 27, 2026 · 2 revisions

odev dump

dump demo

Backup a database and save its dump file on the local filesystem.

Usage

odev dump [-v {CRITICAL,ERROR,WARNING,INFO,DEBUG,DEBUG_SQL,NOTSET}] [-h] [-f] [-p {local,saas,paas,remote}] [-b BRANCH] [-F] database

Aliases

No aliases

Arguments

Positional Arguments:

Argument Description
database The database to target.

Optional Arguments:

Argument Description
-v, --log-level Set logging verbosity for the execution of odev.
-h, --help Show help for the current command.
-f, --force Bypass confirmation prompts and assume a default value to all, use with caution!
-p, --platform Force searching for the database on the specified platform, useful when different databases have the same name on different hosting (usually one local database being a copy of a remote one). One of local, saas, paas or remote.
-b, --branch The branch to target, only used with PaaS (Odoo SH) databases to force using a specific branch after project detection.
-F, --filestore Include the filestore when downloading the database.

Examples

Show help

odev dump --help

Backup a database and save its dump file (Metadata only)

odev dump demo_19

Include filestore

odev dump -F demo_19

Clone this wiki locally