added snapshots back into the backup script

This commit is contained in:
John Lancaster
2024-05-27 00:54:08 -05:00
parent 1a3696fd62
commit 3e2c4ea5c9
2 changed files with 3 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ def run(loki_url: str = None):
line = result.stdout
data = json.loads(line)
console.print(data)
logger.info(f'Got {len(data)} snapshots')
if loki_url is not None:
send_to_loki(loki_url=loki_url, line=line, backup='snapshots')