mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2026-11-17 02:25:41 +00:00
Base backup method
This commit is contained in:
1 parent
948c73aa3f
commit
ff06c5c90f
1 file changed
+4
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user