feat(core): implement slice 1 tracer bullet end-to-end skeleton

This commit is contained in:
soda64 committed 2026-10-09 18:37:27 +02:00
1 parent 0aed5bb003
commit 2602b66a90
13 files changed
+882 -1

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
"""Constants and exit codes for linux-backuper."""
# Exit Codes
EXIT_SUCCESS = 0
EXIT_GENERIC_ERROR = 1
EXIT_PREFLIGHT_FAIL = 2
EXIT_CORRUPTED = 3
EXIT_PERM_DENIED = 4
EXIT_DRY_RUN = 5
# Default filesystem locations
DEFAULT_BACKUP_DIR = "/var/backups/linux-backuper"
DEFAULT_CONFIG_PATH = "/etc/linux-backuper.json"
DEFAULT_PID_PATH = "/var/run/linux-backuper.pid"
DEFAULT_LOG_DIR = "/var/log/linux-backuper"
# Minimum free disk space in megabytes for preflight check
MIN_FREE_DISK_MB = 1024