diff --git a/compare_checksums.py b/compare_checksums.py index ece1196..1d53eca 100644 --- a/compare_checksums.py +++ b/compare_checksums.py @@ -27,7 +27,7 @@ def get_local_backup_members(): def get_remote_checksums(): result = {} for member in get_local_backup_members(): - remote_path = f"{REMOTE_PATH}/{member}/\*" + remote_path = f"~/{REMOTE_PATH}/{member}/\*" cmd_result = remote_call(["sha256sum", remote_path]) print(cmd_result) diff --git a/create_snapshot_backup.py b/create_snapshot_backup.py index 1befc1a..fdbb0b1 100755 --- a/create_snapshot_backup.py +++ b/create_snapshot_backup.py @@ -49,6 +49,7 @@ def remote_call(arguments): try: result = call(cmd, as_text=True) except subprocess.CalledProcessError as e: + print("CMD:", e.cmd) print("STDERR:", e.stderr) raise