livebackup
The Synapse livebackup
tool can be used to generate a new backup of a running Synapse service.
Syntax
livebackup
is executed using python -m synapse.tools.livebackup
. The command usage is as follows:
python -m synapse.tools.livebackup -h
usage: synapse.tools.livebackup [-h] [--url URL] [--name NAME]
Generate a new backup of a running Synapse service.
Examples:
# Generate a backup from inside a Synapse service container
python -m synapse.tools.livebackup
options:
-h, --help show this help message and exit
--url URL The telepath URL of the Synapse service.
--name NAME Specify a name for the backup. Defaults to an automatically
generated timestamp.