Add missing forget NPBacupRunner property

This commit is contained in:
Orsiris de Jong 2023-01-27 11:34:31 +01:00
parent be5603ab6a
commit 3651049d3a

View file

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