Using Remote Hash to copy a website or directory from a different cluster
If you are moving a website from another cluster, there are a few extra steps we need to do.
First, we need to make sure we have a Profile with a password on the source account in the source cluster.
We also need to make sure that profile has the AdminViewer and Content Viewer Roles applied to their Primary Group.
The group should then look something like this.
You'll then want to navigate to the destination account (in this case, the QA account). Click on Website Manager > Websites and then select the destination website. We recommend creating a new version of the website if you are on production.
Next, click on History which will take you to the commits page for this website.
You should then be presented with this screen which will list all the recent commits and their hash. For now, we want to click on the Set hash manually button.
You should now be presented with further options. Click on Set remote hash.
This will bring up a modal where you can now enter details about the source account you are copying from.
For our first step, we'll want to login to the source account. Start by entering in the admin domain URL, then clicking on the Log into remote server button. If you aren't already logged in, you will be prompted to enter your username and password as well as 2FA if you have it enabled. Login to the profile that we set up earlier.
The next step is to enter in the Hash for the commit you want to copy over. On the source account, navigate over to the commits page for the website you want to copy over following the same steps as before: Website Manager > Websites > Select the website you want to copy > History. Then copy the hash for the commit you wish to copy over.
Paste the hash that you copied into the Hash field and then click on Set Remote Hash. This should start up a background task that will copy over the website.
And that's it. You should now have a copy of the website from the source in the destination account.