12 lines
273 B
Python
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)
|