Copy files between environments

How to copy files between environments

Overview

This guide will help you getting started with moving files between environments using the Jelastic GUI.

Export directory

  1. Find the configuration wrench on the Application Servers source node.

Find-configuration-wrench

  1. Go to folder /var/www/webroot (via favorites to the left). Click the cogwheel on the ROOT folder as shown on the image below and choose Export

Go-to-folder

  1. Make sure to choose the correct target container where your target Application Server is at.

Choose-correct-target

  1. Here we use the path /var/www/webroot/FROM_SOURCE which will create and mount this folder on the source environments Application Server.

Use-path

Copy files

  1. Click the configuration wrench on the target environment’s Application Server.

Configuration-wrench-target

  1. To the left, click the cogwheel and click Copy Path, which will copy the full path location to your clipboard.

Copy-path

  1. Click on the terminal icon to engage the Web SSH terminal

Open-terminal

  1. In the terminal you should write cd then paste previously copied path /var/www/webroot and then enter. After that you should see the folder FROM_SOURCE executing ls -l as shown on the image below.

See-FROM-SOURCE

  1. Now you should be able to copy files as shown below. Using the --verbose flags gives you this output.

Copy-files

  1. You can confirm that the files been copied by browsing to that folder in the GUI.

Confirm-files

Clean up

  1. Unmount the exported directory on the target application server as shown below.

Clean-up

Last modified April 22, 2024: added useful options (#171) (7e11b10)