mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-05 02:53:11 +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
|