websauna.system.devop.scripts.dumpdb module

ws-dump-db script.

Wrapper for pgsql-dump.bash script. Extract database settings from registry and pass to Bash script.

websauna.system.devop.scripts.dumpdb.main(argv=['/Users/moo/code/websauna/websauna/venv/bin/sphinx-build', '-b', 'html', '-d', 'build/doctrees', 'source', 'build/html'])[source]

Wrapper for pgsql-dump.bash script.

Parameters

argv (List[str]) – Command line arguments, second one needs to be the uri to a configuration file.

Raises

sys.SystemExit