fix: restore script
This commit is contained in:
@@ -746,7 +746,8 @@ def restore_start():
|
||||
|
||||
if target == 'local':
|
||||
hostname = os.uname().nodename
|
||||
session_dir = f"/tmp/restore-session-{uuid.uuid4().hex[:8]}"
|
||||
os.makedirs('/root/tmp', exist_ok=True)
|
||||
session_dir = f"/root/tmp/restore-session-{uuid.uuid4().hex[:8]}"
|
||||
cmd = (
|
||||
f"set -e && "
|
||||
f"echo 'Restoring on this server ({hostname})...' && "
|
||||
|
||||
Reference in New Issue
Block a user