From 20c453a1fb73f64cc6421d57b0853b6017bc93cf Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 27 Nov 2022 10:04:03 +0800 Subject: Add message for backup in aio. --- tool/aio.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tool/aio.py') diff --git a/tool/aio.py b/tool/aio.py index daf22c6..0abf581 100755 --- a/tool/aio.py +++ b/tool/aio.py @@ -126,6 +126,7 @@ if args.action == "backup": url = download_path subprocess.run( ["sudo", "tar", "-xJf", url, "-C", project_dir], check=True) + console.print("Succeeded to restore data.", style="green") exit(0) elif not args.backup is None: if args.backup[0] is None: @@ -146,6 +147,7 @@ if args.action == "backup": ["sudo", "tar", "-cJf", path, "data", "-C", project_dir], check=True ) + console.print("Succeeded to backup data.", style="green") exit(0) else: console.print( -- cgit v1.2.3