#!/usr/bin/env python3
from __future__ import annotations

import sys
from pathlib import Path

ROOT = Path(__file__).resolve().parents[1]
if str(ROOT) not in sys.path:
    sys.path.insert(0, str(ROOT))

from tools.backup_recovery_manager_v1 import BackupRecoveryManager


def main() -> int:
    manager = BackupRecoveryManager()
    manager.create_daily_backup()
    manager.cleanup_old_backups()
    manager.generate_backup_report()
    return 0


if __name__ == "__main__":
    raise SystemExit(main())
