mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-12-12 16:18:48 +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
|