Using either the command line interface (CLI) or a Secure Copy Protocol (SCP) utility, copy the file to your local system. You can copy the file directly from one instance to another if your Network Security Group allows it. In this example, we will bring the file down locally and then SCP it to the new instance.
Specify details to connect to your instance, for example hostname, username, and SSH key:
Connect to the instance and download the file to the local system:
Wait for the download to complete.
Copy Backup File to Another Instance
SCP the backup file to another instance using the following CLI command (in this case the new server was provisioned with the user "ejbca" and a password instead of SSH key):