Staging (of env staging)
Manage staging environments — ephemeral copies of production for testing.
of env staging new [env]
Create a staging environment from main (clones data, anonymizes sensitive info).
| Argument |
Default |
Description |
env |
— |
Staging environment name |
| Flag |
Default |
Description |
--domain, -d |
— |
Custom domain for staging |
--verbose, -v |
false |
Verbose output |
--yes, -y |
false |
Skip confirmation |
--json |
false |
JSON output |
of env staging refresh [env]
Refresh staging databases from source environment. Pipes pg_dump from source to psql in staging, runs odoo neutralize, and copies filestore.
| Argument |
Default |
Description |
env |
— |
Staging environment name |
| Flag |
Default |
Description |
--from, -f |
main |
Source environment |
--restart, -r |
false |
Restart staging after refresh |
--json |
false |
JSON output |