Does anyone tried (successfully) to clone a virtual machine hosting both a Server and Portal (v10.4.1)?
I would like to know what changes needs to be done on the clone to make it work independently.
Unfortunately, there are no out of the box tools for cloning an ArcGIS Enterprise deployment. There are python scripts you can use:
clone_portal_users_groups_and_content | ArcGIS for Developers
These would get you most of the way, but services are not cloned so you have to republish those. You'll also need to then update any references in your webmaps to point to the correct services URLs, which can probably be done when you're copying the items.
What is your use case for cloning? Are you attempting to create a staging environment?
Retrieving data ...