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

12 lines
360 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 ResticBackupper
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):
backupper = ResticBackupper("", "", ":local:")
2023-06-23 09:40:10 +00:00
name = BackupProviderEnum.FILE