selfprivacy-rest-api/selfprivacy_api/backup/providers/local_file.py

12 lines
357 B
Python
Raw Normal View History

2023-02-20 11:32:25 +00:00
from .provider import AbstractBackupProvider
from selfprivacy_api.backup.backuppers.restic_backupper import ResticBackuper
2023-06-23 09:40:10 +00:00
from selfprivacy_api.graphql.queries.providers import (
BackupProvider as BackupProviderEnum,
)
2023-02-20 11:32:25 +00:00
class LocalFileBackup(AbstractBackupProvider):
backuper = ResticBackuper("", "", ":local:")
2023-06-23 09:40:10 +00:00
name = BackupProviderEnum.FILE