• Ruby
    • Ruby Dev Center
    • Ruby Versions
    • NGINX Ruby
    • Ruby App Server Configuration
    • Ruby App Specifications
      • Dependency Management
      • Post Deploy Configuration
    • Ruby Tutorials
      • Redmine
      • Diaspora*
  • Python
    • Python Dev Center
    • Python Versions
    • Python Tutorials
      • Mezzanine CMS
      • Wagtail CMS
  • Go Lang
    • Go Dev Center
    • Go Git Deploy
  • Getting Started
    • Quickstart
    • Dashboard Guide
    • Welcome Tutorial
    • Software Stack Versions
    • Hosters List & Info
  • Windows & .NET
    • .NET Core
    • Windows Server
      • Windows Server VM
      • Windows VPS
    • Windows RD Access
    • Managing Server Roles & Features
  • Databases
    • Create DB Server
    • Database Connection Strings
    • JDBC Connection Pool
    • Database Backups
    • Database Configuration Files
    • Access to PHPMyAdmin
    • MySQL/MariaDB
      • Java Connection
      • PHP Connection
      • Python Connection
      • Node.js Connection
      • Master-Slave Replication
      • Multi-Master Replication
      • Galera Cluster Recovery
      • Remote Access
      • Dump Import/Export
    • PostgreSQL
      • Java Connection to PostgreSQL
      • PHP Connection to PostgreSQL
      • SSL Connection to PostgreSQL
      • PostgreSQL Replication
      • Remote Access to PostgreSQL
      • Dump Import/Export to PostgreSQL
      • PostGIS Extension
      • Hasura GraphQL Installation
    • MongoDB
      • Percona Server for MongoDB
      • Java Connection to MongoDB
      • PHP Connection to MongoDB
      • Python Connection to MongoDB
      • Node.js Connection to MongoDB
      • MongoDB Auto-Clustering
      • MongoDB Replica Set Manual Setup
      • Remote Access to MongoDB
      • Dump Import/Export
    • CouchDB
      • Java Connection to CouchDB
    • Redis
      • Redis Overview
      • Diaspora* Tutorial
    • OpenSearch Cluster
    • Database Connection via JNDI
    • Database Connection via Hibernate
  • Load Balancers
    • Load Balancing
    • NGINX
      • NGINX Balancer
      • TCP Load Balancing
      • NGINX Balancer Configuration
      • Testing Load Balancing
      • Caching in NGINX Balancer
      • App Security with NGINX Balancer
      • NGINX ModSecurity
    • LiteSpeed Web ADC
    • HAProxy
    • Varnish
  • Kubernetes Hosting
    • Kubernetes Cluster
      • Kubernetes Overview
      • System Requirements
      • Cluster Installation
      • Cluster Versions
    • Managing Kubernetes
      • Cluster Access
      • Access Control
      • Cluster Troubleshooting
      • Cluster Upgrade
      • Velero Backups
    • Kubernetes Scalability
      • Vertical Scaling
      • Horizontal Scaling
    • Application Deployment
      • Helm Integration
      • YAML Deployments
      • Internal Networking
      • Exposing Services
      • Creating Ingresses
    • Persistent Data
      • Volume Provisioner
      • Persistent Volume Claim
      • Custom Storage
  • Platform Overview
    • Basics & Terminology
    • Release Notes
    • Application Containers
    • Isolated Containers
    • What is Auto-Clustering
    • What is a Cloudlet?
  • Elastic VPS
    • Elastic VPS Overview
      • General Information
      • CentOS VPS
      • Ubuntu VPS
      • Debian VPS
    • Elastic VPS Management
      • VPS Configuration
      • Linux VPS Access via SSH Gate
      • Linux VPS Access via Public IP
      • Windows VPS Access via RDP
    • Linux VPS Use Cases
      • Run Java Console Application
      • Setting Mail Server Inside VPS
  • Containers
    • Container Types
    • Container Deployment
    • Container Redeployment
    • Container Configuration
    • Supported OS Distributions
    • Connect to Custom Container
    • Custom Container SSH Access
    • Private Registry Repository
  • Data Storage
  • Environment Management
    • Setting Up Environment
    • Environment Collaboration
    • Cloning Environment
    • HTTP Headers
    • Environment Variables
    • Transferring Environment
    • Environment Aliases
    • Environment Export & Import
      • Environment Export
      • Environment Import
    • Environment Regions
      • Choosing a Region
      • Migration Between Regions
    • Environment Groups
      • Create Group
      • Navigate Groups
      • Manage Group
    • Environment Network Isolation
  • Memcached
    • Memcached System
    • Memcached Configuration
    • Memcached Memory Allocation
    • PHP Sessions in Memcached
    • Session Replication via Memcached
  • Deployment
    • Zero Code Change Deploy
    • Deployment Manager
    • Deployment Guide
    • GIT & SVN Auto-Deploy
      • Auto-Deploy Overview
      • Auto-Deploy for Multiple Containers
    • SSH Access to GIT Repository
    • Deploying Apps via Gitblit
    • Deployment Hooks
  • WordPress Edition
    • WordPress PaaS
    • WordPress Topologies
      • Standalone
      • Standalone Pro
      • WordPress WooCommerce
      • WordPress WooCommerce Pro
      • WordPress Cluster
      • WordPress WooCommerce Cluster
      • WordPress Multi-Region Standalone
    • WordPress Plugins
    • WordPress Backups
    • WordPress Billing
    • WordPress Security
    • WordPress PHP Optimization
    • WordPress CI/CD
  • Elastic VPS Edition
    • Virtuozzo Elastic Hosting
    • Elastic VPS Topologies
      • CentOS Elastic VPS
      • Ubuntu Elastic VPS
      • Debian Elastic VPS
      • VzLinux Elastic VPS
      • Windows Elastic VM
    • Elastic VPS Billing
  • Application Settings
    • Configuration File Manager
    • Scaling and Clustering
      • Automatic Vertical Scaling
      • Horizontal Scaling
      • Automatic Horizontal Scaling
      • Data Syncronization
      • File Synchronization in Cluster
      • Auto-Clustering of Instances
      • Session Replication for HA
    • Smart Auto-Configuration
      • Auto-Configuration Overview
      • Database Auto-Configuration
      • PHP Auto-Configuration
    • Domain Name Management
      • Custom Domain Name
      • Swap Domains
      • Multiple Domain for Tomcat
      • Multiple Domains for GlassFish
      • Multiple Domains for PHP
      • Multiple Domains with Public IP
      • gTLD + IDN Domain Names Support
      • Container DNS Hostnames
    • External Access to Aplications
      • Shared Load Balancer
      • Public IP
      • Multiple Public IP
      • Container Firewall
      • Endpoints
      • HTTP/3 Support
    • Traffic Distributor
      • Traffic Distributor Overview
      • Routing Methods
        • Round Robin
        • Sticky Sessions
        • Failover
      • Traffic Distributor Installation
      • Traffic Distributor Integration
      • Use Cases
        • Blue-Green Deploy
        • Failover Protection
        • A/B Testing
    • SSL
      • Secure Sockets Layer
      • Built-In SSl
      • Custom SSL
      • Custom SSL via SLB
      • Let's Encrypt SSL
      • Self-Signed Custom SSL
    • Scheduling Configurations
      • Setting Up Cronjob
      • Quartz Scheduling
    • Built-In Monitoring
      • Log Files
      • Statistics
      • Load Alerts
    • Monitoring with New Relic
      • New Relic Installation
      • New Relic Update
    • BitNinja Server Security Add-On
    • Managing Locale Settings
    • Custom Error Page Settings
    • Managing Timezone Settings
    • OOM Killer Troubleshooting
      • Overview
      • Common Cases
      • Memory Leak Processes
      • Non-Leaking Processes
    • Remote Debugging
    • Application Lifecycle Management
  • Development Tools
    • SSH
      • SSH Overview
      • Generate SSH Key
      • Add SSH Key
      • SSH Access
        • Overview
        • Web SSH
        • SSH Gate
      • SSH Management
      • SSH Protocols
      • Capistrano
    • API & CLI
      • API Overview
      • API Methods
      • Jelastic CLI
        • Jelastic CLI Overview
        • Environment Creation
        • Environment Start/Stop
        • Environment Cloning
        • Environment Migration
        • Server Scaling
        • Container Redeploy
        • Container Volumes
        • Mount Points
        • VCS Project Deployment
        • Swap Public IPs
        • Installing JPS
      • CreateEnv Params
    • Cloud Scripting & JPS
      • Cloud Scripting
      • JPS Overview
      • Application Manifest
      • Marketplace
    • FTP/FTPS Support
    • WebSockets
      • WebSockets Support
      • WebSockets Support for Java
      • WebSockets Support for PHP
    • Plugins
      • Ant Task
      • Eclipse Plugin
        • Eclipse Plugin Manual
        • Eclipse Plugin Installation
        • Environment Management
        • Application Deployment
      • IDEA Plugin
      • Maven Plugin
      • NetBeans Plugin
        • NetBeans Plugin Overview
        • NetBeans Plugin Installation
        • NetBeans Plugin Management
        • Application Deploy via NetBeans
    • Mailings
      • Email via External SMTP
      • Running Sendmail Service
    • Remote Acces via WebDAV
  • Java
    • Java Dev Center
    • Java Versions
    • Java App Servers
      • Tomcat and TomEE
        • Tomcat Server
        • TomEE Server
        • Tomcat/TomEE Variables
        • Tomcat Clustering
        • Tomcat Security
        • Multiple Domains for Tomcat
      • Jetty
        • Jetty Server
        • Jetty Custom Variables
        • Jetty Security
      • GlassFish
        • GlassFish Server
        • GlassFish Environment Variables
        • GlassFish Clustering
        • Multiple Domains for GlassFish
      • WildFly
        • WildFly Server
        • WildFly Managed Domain
        • Building WildFly Docker Image
      • Spring Boot
    • Java App Server Configuration
    • Java Garbage Collector
    • Build Node
      • Java VCS Deployment with Maven
      • Maven Configuration
    • Java Apps Specifications
      • Upload JAR Files
      • Java Agent
      • Remote Access to EJB on GlassFish
    • Java Tutorials
  • PHP
    • PHP Dev Center
    • PHP Versions
    • PHP App Servers
      • Apache PHP
        • Apache PHP
        • Apache Security Configurations
        • Apache Modules
        • Add Apache PHP
        • Apache WebDav Module
        • Apache Statistics Module
        • Name-Based Virtual Host in Apache
        • Apache as Frontend
      • NGINX PHP
        • NGINX PHP
        • NGINX Security Configurations
        • NGINX Modules
        • NGINX WebDav Module
        • Caching in NGINX App Server
      • LiteSpeed Web Server
      • LEMP & LLSMP
    • PHP App Server Configuration
    • ZDT Deployment for PHP
    • PHP Apps Specifications
      • PHP Extensions
      • PHP Accelerators
    • PHP.INI Security Settings
    • Composer Dependency Manager
    • PHP Sessions Clustering
    • PHP Tutorials
  • Node.js
    • Node.js Dev Center
    • Node.js Versions
    • Node.js Apps Specifications
      • Package Managers
      • Process Managers
    • Node.js Tutorials
  • Data Storage Container
    • Data Storage Overview
    • Shared Storage Container
    • Data Sharing
      • Mount Points
      • Exporting Data for Sharing
      • Mount Protocols
        • NFS
        • GlusterFS
    • Use Cases
      • Local Filesystem
      • Master Container
      • Compound Container
      • Dedicated Container
      • External Server
    • Migrating ro GlusterFS Cluster
    • External NFS Server Configuration
  • Account & Pricing
    • Account Registration
    • Account types
    • Account Statuses
    • Account Password Reset
    • Quotas System
    • Two-Factor Authentication
    • Personal Access Tokens
    • Accounts Collaboration (Deprecated)
      • Overview
      • Create Collaboration
      • Collaboration management
      • Environments in Collaboration
    • Accounts Collaboration
      • Collaboration Overview
      • Collaboration Roles & Policies
      • Create Collaboration
      • Collaboration User Experience
    • Upgrade & Refill Account
    • Resource Charging
      • Pricing FAQ
      • Charged Resources
      • Monitoring Consumed Resources
    • Pricing Model Overview
    • Automatic Discounts
    • Billing Systems
      • Billing Systems Overview
      • OBA Billing System
      • OBAS Billing System
      • WHMCS Billing System
    • Hosters Pricing

Environment Export

Stack Harbor PaaS allows to easily export or re-import an environment. This procedure consists of 2 main stages – export of the already existing environment (we’ll consider this operation in details below) and its subsequent import at a later time. Both of these operations will take just a few minutes. As a result, you’ll receive an identical ready-to-work copy of your environment after import.

How to Get Environment Copy

During the export, all information about environment (i.e. its topology settings, deployed applications, links to the archives with configurations and private data it contains, etc) is packed into a single .json file. This compact JSON package can be simply downloaded to your local computer for being stored and/or deployed at a later time.

So in order to export a copy of your environment, log into your Stack Harbor PaaS dashboard and follow the instruction below:

1. Select Settings button for the environment you would like to export (named my-application in our case).

environment Settings button

Note: The environment should have the Running status for being exported.

2. In the opened Settings tab, navigate to the Export section and click on the same-named button.

Export environment section

3. Within the appeared Environment Export dialog, you can choose which data should be exported (tick all options to get the fully identical environment copy):

  • Topology Settings – environment configurations you’ve set through the Environment topology wizard (this point is obligatory and enabled by default)
  • Private Data – files in directories of your deployed application(s) and private data stored within your database server(s)
  • Configuration Files – all files, accessible via Configuration Manager at your dashboard, and settings of the deployed GIT/SVN projects (e.g. repositories links, access credentials, attached private SSH keys, etc)
Note: For ensuring your application and data safety, it is highly recommended not to delete original of the exported environment until its copy is successfully imported to another platform.

setup environment export

Once the required for export data is defined, click the Export button to proceed.

Depending on the type of containers your environment contains, you should take into account the following points:

  • Data from Elastic VPS, Maven, Docker and Windows-based containers won’t be exported, though they will be still included to the topology of your imported environment (i.e. created from scratch), so you’ll be able to reconfigure these servers manually afterwards.
  • When exporting an NGINX server (of both load balancer or application server node types), the appropriate node will be briefly stopped and automatically started again to fetch a server dump.
  • Private SSH key, exported alongside with the rest of GIT repository settings, can’t be deleted from the imported environment and is not shown at the dashboard, though it will still be used for connection. Nevertheless, it will be substituted if choosing a new one within the GIT project’s settings window.

4. Once the export is successfully finished, a new clickable string (named due to the export time/date) will appear in the Exported Environment Copies list. Select it to download the compiled .json file with exported environment data to your local machine, or just right click on it to copy direct URL to this manifest (which can be also used during import).

exported environment copies list

In addition, you’ll receive the appropriate email notification with link to the list of your exported environments.

You can create as many exported environments’ archives as you need, but note that all of them will be stored in your disc space, which is charged according to your hosting service provider’s tariffs. If a particular file is no longer needed, you can delete it by means of clicking the red cross button right before the corresponding string.

That’s all! You have successfully exported your environment copy. Now, you can proceed to its importing to the target platform in order to complete the migration.

What’s next?

  • Import Environment
  • Environment Transferring
  • Account Collaboration
  • Share Environment

Didn't find your answer? Contact Us

Previously
Environment Export & Import
Up Next
Environment Import

Didn't Find an Answer?

Get in touch with us for details on setup and additional custom services pricing

Contact Us

  • Privacy Policy
  • Terms of Use
  • Stack Harbor © 2022