class genvid.toolbox.ConsulBackup

Bases: Backup

Logic to backup and restore Consul’s state.

SNAPSHOT_FILENAME = 'consul.snapshot'
property name: str

Overridden name() method.

backup(archive: ZipFile, obj: ConsulTool)

Overridden backup() method.

restore(archive: ZipFile, obj: ConsulTool)

Overridden restore() method.


Consul must already be started before trying to restore its state.

class backup.ConsulBackup

Implementation of genvid.toolbox.ConsulBackup