Base backup method

This commit is contained in:
Einar Forselv 2019-12-03 03:45:49 +01:00
parent 948c73aa3f
commit ff06c5c90f
1 changed files with 4 additions and 0 deletions

View File

@ -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")