mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-08-19 15:02:58 +00:00
10 lines
318 B
Python
10 lines
318 B
Python
![]() |
from .provider import AbstractBackupProvider
|
||
|
from selfprivacy_api.backup.restic_backuper import ResticBackuper
|
||
|
|
||
|
|
||
|
class LocalFileBackup(AbstractBackupProvider):
|
||
|
backuper = ResticBackuper("", "", "memory")
|
||
|
|
||
|
def __init__(self, filename: str):
|
||
|
self.backuper = ResticBackuper("", "", f":local:{filename}/")
|