Base backup method
This commit is contained in:
parent
948c73aa3f
commit
ff06c5c90f
|
@ -201,6 +201,10 @@ class Container:
|
|||
"""Check the availability of the service"""
|
||||
raise NotImplementedError("Base container class don't implement this")
|
||||
|
||||
def backup(self):
|
||||
"""Back up this service"""
|
||||
raise NotImplementedError("Base container class don't implement this")
|
||||
|
||||
def dump_command(self) -> list:
|
||||
"""list: create a dump command restic and use to send data through stdin"""
|
||||
raise NotImplementedError("Base container class don't implement this")
|
||||
|
|
Loading…
Reference in New Issue