diff --git a/npbackup/core/runner.py b/npbackup/core/runner.py index 103c0f4..929aee0 100644 --- a/npbackup/core/runner.py +++ b/npbackup/core/runner.py @@ -487,6 +487,12 @@ class NPBackupRunner: ) return result + @exec_timer + def forget(self, snapshot: str) -> bool: + logger.info("Forgetting snapshot {}"format(snapshot)) + result = self.restic_runner.forget(snapshot) + return result + @exec_timer def raw(self, command: str) -> bool: logger.info("Running raw command: {}".format(command))