diff --git a/omv_backup_v3.py b/omv_backup_v3.py index 81d4e04..0fa2f04 100644 --- a/omv_backup_v3.py +++ b/omv_backup_v3.py @@ -7,6 +7,7 @@ import json import time import socket import subprocess +from subprocess import Popen, PIPE, CalledProcessError import sys import os import re @@ -299,6 +300,8 @@ if _RESTORE: ans = input("continue?") or "n" if ans == "y" and _EXECUTE: status, output = subprocess.getstatusoutput(cmnd) + + entries = ["Home Assistant","Nginx Proxy Manager","Portainer","Roundcube","Authentik","Kestra"] for e in entries: cmnd = f"sqlite3 /share/docker_data/heimdall/config/www/app.sqlite \"SELECT url FROM items WHERE title = '{e}'\""