From ff06c5c90f339cfdb7ddbd4179b9e38aa2a07d5a Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Tue, 3 Dec 2019 03:45:49 +0100 Subject: [PATCH] Base backup method --- restic_volume_backup/containers.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/restic_volume_backup/containers.py b/restic_volume_backup/containers.py index fc470f8..b80d02f 100644 --- a/restic_volume_backup/containers.py +++ b/restic_volume_backup/containers.py @@ -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")