Files
dagster/apps/backup/src/test.py
2025-10-29 10:15:57 +01:00

12 lines
273 B
Python

import structlog
from utils.borg import get_ssh_client, list_repos
logger = structlog.get_logger()
if __name__ == "__main__":
with get_ssh_client() as client:
parent = "/mnt/yotta/xenon/borg/"
repos = set(list_repos(client, parent))
print(repos)