genvid.toolbox.ConsulBackup
- class genvid.toolbox.ConsulBackup
Bases:
Backup
Logic to backup and restore Consul’s state.
- SNAPSHOT_FILENAME = 'consul.snapshot'
- backup(archive: ZipFile, obj: ConsulTool)
Overridden
backup()
method.
- restore(archive: ZipFile, obj: ConsulTool)
Overridden
restore()
method.Warning
Consul must already be started before trying to restore its state.
- class backup.ConsulBackup
Implementation of
genvid.toolbox.ConsulBackup