mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-08-30 06:56:56 +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
|