snapshot

The Synapse snapshot tool can be used to freeze/resume service operations to allow system admins to generate a transactionally consistent volume snapshot using 3rd party tools.

Syntax

snapshot is executed using python -m synapse.tools.snapshot. The command usage is as follows:

python -m synapse.tools.snapshot -h

usage: synapse.tools.snapshot [-h] {freeze,resume} ...

Command line tool to freeze/resume service operations to allow
system admins to generate a transactionally consistent volume
snapshot using 3rd party tools.

The use pattern should be::

    python -m synapse.tools.snapshot freeze

    <generate volume snapshot using 3rd party tools>

    python -m synapse.tools.snapshot resume

The tool will set the process exit code to 0 on success.

options:
  -h, --help       show this help message and exit

commands:
  {freeze,resume}
    freeze         Suspend edits and sync changes to disk.
    resume         Resume edits and continue normal operation.