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

12 lines
376 B
Python
Raw Permalink Normal View History

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,
)
class Backblaze(AbstractBackupProvider):
backupper = ResticBackupper("--b2-account", "--b2-key", ":b2:")
2023-06-23 09:40:10 +00:00
name = BackupProviderEnum.BACKBLAZE