Hi,
How can I copy folder and inner files from a virtual machine to my orchestrator appliance?
Thanks!
What I usually do in these cases is first archive the folder with tar or zip etc, copy the file over, uncompress. You can do this all with the guest tools in most cases. You can even upload the utility if you need it.
Paul
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Hi,
You can use the methods in VcGuestFileManager scripting class (check them in vRO API Explorer or in vCenter documentation).
vRO comes with several workflows that utilize this class. Check them under Library > vCenter > Guest operations > Files. The most helpful for your case is probably the workflow 'Copy file from guest to vCO'.
Note that these workflows allow you to copy a single file at a time. If you want to copy multiple files / folders, then you should write the scripting code yourself (eg. you need to enumerate the entries in the source folder, then copy items one by one, recursively handling the case when the current item is not a file but a subfolder which could contain other files / subfolders).
hi,
I'm familiar with this workflow.
However, my root folder has subfolders and files, and it becomes to be a big mass...
Is there a workflow which can handle this situation?
Thanks!
As far as I know, there is no such workflow as part of default setup.
Maybe someone can share his workflow.
l'm sure I'm not the first one try to do this...
Thank!
What I usually do in these cases is first archive the folder with tar or zip etc, copy the file over, uncompress. You can do this all with the guest tools in most cases. You can even upload the utility if you need it.
Paul
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.