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

12 lines
362 B
Python
Raw 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 InMemoryBackup(AbstractBackupProvider):
backupper = ResticBackupper("", "", ":memory:")
2023-06-23 09:40:10 +00:00
name = BackupProviderEnum.MEMORY