mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-12-02 03:16:37 +00:00
14 lines
397 B
Python
14 lines
397 B
Python
from .provider import AbstractBackupProvider
|
|
from selfprivacy_api.backup.backuppers.restic_backupper import ResticBackuper
|
|
from selfprivacy_api.graphql.queries.providers import (
|
|
BackupProvider as BackupProviderEnum,
|
|
)
|
|
|
|
|
|
class InMemoryBackup(AbstractBackupProvider):
|
|
@property
|
|
def backuper(self):
|
|
return ResticBackuper("", "", ":memory:")
|
|
|
|
name = BackupProviderEnum.MEMORY
|