diff options
author | crupest <crupest@outlook.com> | 2022-11-27 10:04:03 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-27 10:04:03 +0800 |
commit | 20c453a1fb73f64cc6421d57b0853b6017bc93cf (patch) | |
tree | 4ad03aaf836c46c7479d9454223ca2ff059035d6 /tool | |
parent | ab1c2b9ef7f4ce2daa61a58efc5abc97bd5a89f9 (diff) | |
download | crupest-20c453a1fb73f64cc6421d57b0853b6017bc93cf.tar.gz crupest-20c453a1fb73f64cc6421d57b0853b6017bc93cf.tar.bz2 crupest-20c453a1fb73f64cc6421d57b0853b6017bc93cf.zip |
Add message for backup in aio.
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/aio.py | 2 |
1 files changed, 2 insertions, 0 deletions
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( |