Files
zfs-backup/zfs_backup/messages.py
T
2022-12-06 14:59:55 +01:00

14 lines
662 B
Python

from __future__ import annotations
ALREADY_DECRYPTED = "Cannot decrypt, already decrypted"
ALREADY_IMPORTED = "Cannot import, already imported"
CANNOT_FIND_DEVICE_PATH = "Cannot find device path from output of `cryptsetup status`"
CANNOT_FIND_BACKUP_DRIVE = "Could not find a backup drive"
DELETE_IN_LOCAL_POOL = "ALERT! Tried to delete in local pool!"
MAPPER_ENTRY_ALREADY_EXISTS = "mapper entry already exists"
NOT_DECRYPTED = "Cannot encrypt, not decrypted"
NOT_IMPORTED = "Cannot export, not imported"
NOT_VALID_ZFS_PATH = "Not a valid ZFSPath"
SAME_DATASET = "Cannot send incremental snapshots if start and end snapshot are not based on the same dataset"