mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-13 22:23:16 +00:00
12 lines
362 B
Python
12 lines
362 B
Python
from .provider import AbstractBackupProvider
|
|
from selfprivacy_api.backup.backuppers.restic_backupper import ResticBackupper
|
|
from selfprivacy_api.graphql.queries.providers import (
|
|
BackupProvider as BackupProviderEnum,
|
|
)
|
|
|
|
|
|
class InMemoryBackup(AbstractBackupProvider):
|
|
backupper = ResticBackupper("", "", ":memory:")
|
|
|
|
name = BackupProviderEnum.MEMORY
|