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
: