---
title: Moving your configuration and data to another deployment
description: How to move Hyperglance configuration between deployments - export and import cloud account connections (encrypted), dashboards and rules from the UI, or migrate all data to a new VM over SSH or with a backup bundle.
---

[Skip to content](https://support.hyperglance.com/knowledge/data-migration#main-content)

English

Show submenu for translations

[More support](https://support.hyperglance.com/knowledge/kb-tickets/new?hsLang=en)

![](https://support.hyperglance.com/hs-fs/hubfs/hyperglance.png?width=100&height=75&name=hyperglance.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [More support](https://support.hyperglance.com/knowledge/kb-tickets/new)
- [Contact Us](https://www.hyperglance.com/contact/)

[Contact Us](https://www.hyperglance.com/contact/)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Hyperglance Support](https://support.hyperglance.com/knowledge?hsLang=en)
2. [System Administration](https://support.hyperglance.com/knowledge/system-administration?hsLang=en)
3. [Updates & Maintenance](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#updates-maintenance)

# Moving your configuration and data to another deployment

## Export and import cloud accounts, dashboards and rules, or move everything to a new Hyperglance VM

You only need to move what you've set up: account connections, dashboards, rules, settings and your license. Hyperglance collects your inventory and cost data again on the new deployment.

- To copy **account connections, dashboards or rules**, export and import them in the UI. This works between any two deployments.
- To move **everything**, including settings, users and the license, to a new Hyperglance VM, use a [full migration over SSH](https://support.hyperglance.com/knowledge/data-migration#ssh) or [with a backup bundle](https://support.hyperglance.com/knowledge/data-migration#zipfile) from the terminal.

- [Account connections](https://support.hyperglance.com/knowledge/data-migration#connections)
- [Dashboards](https://support.hyperglance.com/knowledge/data-migration#dashboards)
- [Rules](https://support.hyperglance.com/knowledge/data-migration#rules)
- [Migrate everything over SSH](https://support.hyperglance.com/knowledge/data-migration#ssh)
- [Migrate everything with a backup bundle](https://support.hyperglance.com/knowledge/data-migration#zipfile)

### Account connections

To export, go to **Settings › Platforms** and click **Bulk Export**. Choose:

- **Encrypt with a passphrase** (recommended): the secrets in the file, such as access keys and client secrets, are encrypted. Other account details stay readable. Keep the passphrase safe: Hyperglance can't recover it, and you need it to import the file.
- **Export as plaintext**: the file includes your secrets in plain text, so store and delete it with care.

To import, go to **Settings › Platforms** on the other deployment, click **Bulk Upload** and choose the file. If it's encrypted, enter its passphrase. Hyperglance shows which accounts were imported and which failed.

### Dashboards

To export, open the dashboard and choose **Export to JSON** from its menu. To import, open the dashboard list, click the arrow beside **New**, and choose **Import Dashboard**. See [Dashboards](https://support.hyperglance.com/knowledge/dashboards?hsLang=en).

### Rules

To export, click **Export** on the Rules page. This downloads a zip of all your rules. To move only some, unzip it, delete the ones you don't want, and zip the rest.

To import, click **Import** on the Rules page of the other deployment and choose the zip. A rule that already exists there isn't imported. See [Rules](https://support.hyperglance.com/knowledge/rules?hsLang=en#export).

### Migrate everything over SSH

Prereqs:

- The source and target are both Hyperglance VMs, not Hyperglance running in your own Kubernetes cluster.
- Target instance has SSH access to the source instance to **pull** data across
- Note: Only suitable for direct licensed customers, not marketplace customers.

Process:

1. 1
   
   You will need to enable SSH access to allow the new instance to SSH into the legacy one.
   
   Copy the SSH keyfile onto the new instance and run the command below to test connectivity to the legacy instance. Just replace the UPPERCASE placeholders with your appropriate details:
   
   ```
   hg migrate from-remote test \--address LEGACY_INSTANCE_IP_ADDRESS \--key PATH_TO_SSH_KEY \--username SSH_USERNAME \--port SSH_PORT
   ```

   A successful connection example is shown below:
   
   ```
   ec2-user@ip-10-0-13-84:~$ hg migrate from-remote test \--address 192.168.1.68 \--key ~/.ssh/docker-ssh-key \--username ec2-user \--port 22[INFO] SSH Return Value: root[INFO] Successfully connected and elevated permissions!
   ```

   If the command fails, you will need to resolve the connectivity issue before continuing.
2. 2
   
   Import the config from the legacy instance.  
   Just replace the UPPERCASE placeholders with your appropriate details:
   
   ```
   sudo hg migrate from-remote run \--address LEGACY_INSTANCE_IP_ADDRESS \--key PATH_TO_SSH_KEY \--username SSH_USERNAME \--port SSH_PORT
   ```

   If the command completes successfully, you see:
   
   ```
   [INFO] The migration has completed successfully. It is highly recommended that you perform a reboot.[INFO] If you created any backups in the /tmp directory, it is recommended that you copy these to a safe location as they could be wiped on reboot.
   ```
3. 3
   
   Migrate the license key from the legacy instance. This will leave the legacy instance in an unlicensed state.  
   Just replace the UPPERCASE placeholders with your appropriate details:
   
   ```
   sudo hg migrate from-remote license \--address LEGACY_INSTANCE_IP_ADDRESS \--key PATH_TO_SSH_KEY \--username SSH_USERNAME \--port SSH_PORT \--accept
   ```
4. 4
   
   Perform a reboot:
   
   ```
   sudo reboot now
   ```
5. 5
   
   After reboot Hyperglance should come online as normal and be reachable in your browser after a short bootup period. You can also check on the status of the application using the CLI:
   
   ```
   hg status
   ```

### Migrate everything with a backup bundle

Prereqs:

- The source and target are both Hyperglance VMs, not Hyperglance running in your own Kubernetes cluster.
- The source is a Docker-based Hyperglance deployment: the commands for the source below use Docker.
- This doesn't move your license key. If you have a license key, contact Hyperglance support for a new one. Marketplace deployments don't need one.

Process:

1. 1
   
   SSH into the **legacy** instance:
     1. Update the Hyperglance application:
        
        ```
        sudo docker-compose -f /etc/docker-compose.yml pull && sudo docker-compose -f /etc/docker-compose.yml up -d --renew-anon-volumes
        ```
     2. Stop the running containers.
        
        ```
        sudo docker stop wildfly httpd postgresql
        ```
     3. Create the backup bundle:
        
        ```
        sudo tar czf ~/docker-backup.tar.gz /var/lib/data
        ```
     4. Download `~/docker-backup.tar.gz` to your local PC (e.g. using SCP, WinSCP, FileZilla, etc)
2. 2
   
   **\[This step is for Marketplace customers only\]:**  
   Stop your legacy instance/VM. You do not have to delete it. Just make sure it's not in a running state and this will free up your marketplace subscription.
3. 3
   
   **\[This step is for Marketplace customers only\]:**  
   Redeploy Hyperglance from the marketplace portal. It is important to make sure you launch the **same** product variant that you had subscribed to. **Do not enter into any new subscription contracts as this could have significant billing implications.** You should just redeploy your existing product's launch template. If in doubt, contact us first.
4. 4
   
   Copy `~/docker-backup.tar.gz` from your PC to the new Hyperglance deployment (e.g. using SCP, WinSCP, FileZilla, etc)
5. 5
   
   SSH into the **new** instance:
     1. Update the Hyperglance CLI to the latest version:
        
        ```
        sudo hg update-cli
        ```
     2. Update the Hyperglance application to the latest version:
        
        ```
        sudo hg upgrade
        ```
     3. Import the backup bundle:
        
        ```
        sudo hg migrate bundle import --bundlePath path/to/imported/bundle.tar.gz
        ```

        If the command completes successfully, you see:
        
        ```
        [INFO] The migration has completed successfully. It is highly recommended that you perform a reboot.[INFO] If you created any backups in the /tmp directory, it is recommended that you copy these to a safe location as they could be wiped on reboot.
        ```
     4. Perform a reboot:
        
        ```
        sudo reboot now
        ```
     5. After reboot Hyperglance should come online as normal and be reachable in your browser after a short bootup period. You can also check on the status of the application using the CLI:
        
        ```
        hg status
        ```

- [Getting Started](https://support.hyperglance.com/knowledge/getting-started?hsLang=en#main-content)

    - [Start Here](https://support.hyperglance.com/knowledge/getting-started?hsLang=en#start-here)
    - [Installation & Deployment Guides](https://support.hyperglance.com/knowledge/getting-started?hsLang=en#installation-deployment-guides)
    - [Cloud Marketplaces](https://support.hyperglance.com/knowledge/getting-started?hsLang=en#cloud-marketplaces)
- [Using Hyperglance](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#main-content)

    - [Dashboards & Reports](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#dashboards-reports)
    - [Cost Analysis](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#cost-analysis)
    - [Cost Optimization](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#cost-optimization)
    - [Cost Allocation & Budgets](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#cost-allocation-budgets)
    - [Infrastructure Diagrams](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#infrastructure-diagrams)
    - [Search & Rules](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#search-rules)
    - [AI & Agents](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#ai-agents)
    - [Automations](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#automations)
    - [Security & Compliance](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#security-compliance)
- [Integrations](https://support.hyperglance.com/knowledge/integrations?hsLang=en#main-content)

    - [AWS](https://support.hyperglance.com/knowledge/integrations?hsLang=en#aws)
    - [Azure](https://support.hyperglance.com/knowledge/integrations?hsLang=en#azure)
    - [GCP](https://support.hyperglance.com/knowledge/integrations?hsLang=en#gcp)
    - [Kubernetes](https://support.hyperglance.com/knowledge/integrations?hsLang=en#kubernetes)
    - [AI Providers](https://support.hyperglance.com/knowledge/integrations?hsLang=en#ai-providers)
    - [Notifications & Ticketing](https://support.hyperglance.com/knowledge/integrations?hsLang=en#notifications-ticketing)
    - [Automations Setup](https://support.hyperglance.com/knowledge/integrations?hsLang=en#automations-setup)
- [System Administration](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#main-content)

    - [Users, Roles & SSO](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#users-roles-sso)
    - [Security & Networking](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#security-networking)
    - [Updates & Maintenance](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#updates-maintenance)
    - [API Keys](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#api-keys)
    - [Legacy Docker-based deployments](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#legacy-docker-based-deployments)
- [Reference](https://support.hyperglance.com/knowledge/reference?hsLang=en#main-content)

    - [Release Notes](https://support.hyperglance.com/knowledge/reference?hsLang=en#release-notes)
    - [Architecture](https://support.hyperglance.com/knowledge/reference?hsLang=en#architecture)
    - [Supported Services](https://support.hyperglance.com/knowledge/reference?hsLang=en#supported-services)
    - [Rule Catalog](https://support.hyperglance.com/knowledge/reference?hsLang=en#rule-catalog)
    - [API Reference](https://support.hyperglance.com/knowledge/reference?hsLang=en#api-reference)
    - [Conformance & Trust](https://support.hyperglance.com/knowledge/reference?hsLang=en#conformance-trust)
- [Pricing & Licensing](https://support.hyperglance.com/knowledge/pricing-licensing?hsLang=en#main-content)

    - [Pricing & Purchasing](https://support.hyperglance.com/knowledge/pricing-licensing?hsLang=en#pricing-purchasing)
    - [Managing Your License](https://support.hyperglance.com/knowledge/pricing-licensing?hsLang=en#managing-your-license)

[![Chill listening crop-3](https://support.hyperglance.com/hs-fs/hubfs/hyperglance.png?width=134&height=24&name=hyperglance.png "Chill listening crop-3")](https://www.hyperglance.com/)

2880 Zanker Road, Suite 203, San Jose, CA 95134

<https://www.linkedin.com/company/hyperglance/>

Copyright © 2025 Hyperglance. All rights reserved.