selfprivacy-rest-api/selfprivacy_api/backup/providers/memory.py

9 lines
230 B
Python

from .provider import AbstractBackupProvider
from selfprivacy_api.backup.restic_backuper import ResticBackuper
class InMemoryBackup(AbstractBackupProvider):
backuper = ResticBackuper("", "", ":memory:")
name = "MEMORY"