Skip to main content
Skip table of contents

Copying Backup Files to Other Systems

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.

Copy File to Local Workstation

  1. Using the CLI:
    CODE
    # scp azure-user@40.118.253.3:/home/azure-user/ejbca_db-40.118.253.3-1556223266.tar.gz ~/Downloads/ejbca_db-40.118.253.3-1556223266.tar.gz

  2. Using a SCP utility (in this case Cyberduck):
    1. Specify details to connect to your instance, for example hostname, username, and SSH key:
    2. Connect to the instance and download the file to the local system:
    3. Wait for the download to complete.

Copy Backup File to Another Instance

  1. 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):
    CODE
    # scp ~/Downloads/ejbca_db-40.118.253.3-1556223266.tar.gz ejbca@52.246.249.239:/home/ejbca/ejbca_db-40.118.253.3-1556223266.tar.gz

  2. Once the backup file is copied, SSH into the new host and verify that the file was copied correctly.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.