Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Add a function to transfer directory/files from one host to another at specific location #165

Closed
LadislavVasina1 opened this issue Sep 6, 2022 · 0 comments · Fixed by #221

Comments

@LadislavVasina1
Copy link

I know that there is a function remote_copy in Broker to move file between hosts but this function only allows user to copy one file to the exact same location to another host.
My suggestion is to make a function that allows users to transfer files or directory recursively from the source host to the target host to the specific location that would be user-defined.
As the function with these features does not exist yet I am forced to use something like this in my tests.
i. e.:
source_host.execute('sshpass -p "password" scp -o StrictHostKeyChecking=no -r /var/backup/satellite-backup target.hostname.com:/backup/')

JacobCallahan added a commit to JacobCallahan/broker that referenced this issue Jun 30, 2023
This change allows a user to supply a different destination path for
remote_copy.

Fixes SatelliteQE#165
@JacobCallahan JacobCallahan linked a pull request Jun 30, 2023 that will close this issue
JacobCallahan added a commit to JacobCallahan/broker that referenced this issue Jul 3, 2023
This change allows a user to supply a different destination path for
remote_copy.

I also ensured that awxkit logs won't be modified unless Broker is in
trace level logging mode.

Fixes SatelliteQE#165
JacobCallahan added a commit that referenced this issue Jul 3, 2023
This change allows a user to supply a different destination path for
remote_copy.

I also ensured that awxkit logs won't be modified unless Broker is in
trace level logging mode.

Fixes #165
JacobCallahan added a commit that referenced this issue Aug 30, 2023
This change allows a user to supply a different destination path for
remote_copy.

I also ensured that awxkit logs won't be modified unless Broker is in
trace level logging mode.

Fixes #165
JacobCallahan added a commit that referenced this issue Aug 30, 2023
This change allows a user to supply a different destination path for
remote_copy.

I also ensured that awxkit logs won't be modified unless Broker is in
trace level logging mode.

Fixes #165
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants