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

12 lines
373 B
Python

from .provider import AbstractBackupProvider
from selfprivacy_api.backup.backuppers.restic_backupper import ResticBackuper
from selfprivacy_api.graphql.queries.providers import (
BackupProvider as BackupProviderEnum,
)
class Backblaze(AbstractBackupProvider):
backuper = ResticBackuper("--b2-account", "--b2-key", ":b2:")
name = BackupProviderEnum.BACKBLAZE