You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems br-cli assumed br-cli execution user to be root, otherwise, it failed during the phase of scp -r files_to_cluster_node.
I am not 100% sure if this is the root cause while when I was trying to reproduce the same scp call from the error(1), the only error I could reproduce is when I do it w/o root user and it complained permission was denied. And after I switch to the root user, it succeeded.
If this is the case, it could be improved by calling scp -r <backup> {user}@node:foo instead of the current scp -r <backup> node:foo, right as --user was specified already?
If this is not the case, please ignore it and close it, thanks :)
It seems br-cli assumed br-cli execution user to be root, otherwise, it failed during the phase of
scp -r files_to_cluster_node
.I am not 100% sure if this is the root cause while when I was trying to reproduce the same
scp
call from the error(1
), the only error I could reproduce is when I do it w/o root user and it complained permission was denied. And after I switch to the root user, it succeeded.If this is the case, it could be improved by calling
scp -r <backup> {user}@node:foo
instead of the currentscp -r <backup> node:foo
, right as --user was specified already?If this is not the case, please ignore it and close it, thanks :)
1
:2
:# ./bin/br restore full --meta "192.168.8.127:9559" --storage "local:///home/wei.gu/br-test" --name "BACKUP_2021_08_18_06_15_17" --user "root"
The text was updated successfully, but these errors were encountered: