mirror of
https://github.com/netinvent/npbackup.git
synced 2025-02-24 06:25:17 +08:00
Add missing forget NPBacupRunner property
This commit is contained in:
parent
be5603ab6a
commit
3651049d3a
1 changed files with 6 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue