site
engine-dmo site: A site leaving the install: export it as a standalone install, then retire it here. Every subcommand, argument and flag.
A site leaving the install: export it as a standalone install, then retire it here.
| Command | What it does |
|---|---|
engine-dmo site export | Write a standalone install of one site: its database, media and configuration, verified by restoring it and serving its home page |
engine-dmo site retire | Remove a site from the install: its rows, analytics and search indexes, and the people and organisations connected only to it, erased |
engine-dmo site export
Write a standalone install of one site: its database, media and configuration, verified by restoring it and serving its home page.
engine-dmo site export [flags] | Flag | Type | Default | Meaning |
|---|---|---|---|
--out | string | the directory to write, created 0700; it must be empty or absent | |
--plan | bool | print what would be copied and stop | |
--scratch-database-url | string | a PostgreSQL server the export may create two databases on and drop them; its database is used to connect | |
--signing-key-env | string | an environment variable holding the receiving install’s signing key, to reseal second factors with; without it they are cleared | |
--site | string | the site’s key | |
--staff | strings | a staff user whose grants reach every site, by address, to copy as well; repeatable |
--json prints the command’s own JSON document. Runs in a project.
engine-dmo site retire
Remove a site from the install: its rows, analytics and search indexes, and the people and organisations connected only to it, erased.
engine-dmo site retire [flags] | Flag | Type | Default | Meaning |
|---|---|---|---|
--plan | bool | print what would be removed and erased, and stop | |
--site | string | the site’s key | |
--yes | bool | retire without asking |
--json prints the command’s own JSON document. Runs in a project.
See Backups and restore.
serve
engine-dmo serve: start the server (public sites, admin, portal, APIs, jobs and scheduled tasks in one process), its boot sequence, what it refuses, and its flags.
tags
engine-dmo tags: The tag vocabulary: import the seed, review candidates, promote, merge and reject. Every subcommand, argument and flag.