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

9 lines
242 B
Python

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