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

14 lines
411 B
Python
Raw Normal View History

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,
)
class Backblaze(AbstractBackupProvider):
2023-06-23 09:40:10 +00:00
@property
def backuper(self):
return ResticBackuper("--b2-account", "--b2-key", ":b2:")
2023-06-23 09:40:10 +00:00
name = BackupProviderEnum.BACKBLAZE