Documentation

Visit Our xCloud Knowledge Base

Here is your one-stop source for in-depth articles, FAQs, and tutorials for you to excel at hosting & managing your websites.


How to Create A Staging Environment In xCloud?

With xCloud, you can easily create a staging environment to push and pull site data between staging and production sites. This lets you test plugins, themes, or any site changes in a new environment and apply them as necessary to your production sites without the risk of breaking them.

Follow the step-by-step guidelines to learn how to create a staging environment to pull and push data between staging and production sites in xCloud.

Step 1: Create A Staging Environment In xCloud #

Log in to your xCloud dashboard, select a server, and create a new site. You need to have a live/production site to create a staging environment. So, if you are creating a new site from the dashboard, make sure you are going live.

staging environment

However, if you create a demo site with an xCloud-generated domain at the beginning, you can change it to production/live later by navigating to the ‘Domain’ โ†’ ‘Staging’ โ†’ ‘Go Live’ option.

staging environment

Step 2: Deploy Staging #

Once you are done creating a live site, you can quickly create a staging environment from the drop-down found beside the site name or by clicking on the โ€˜Deploy Stagingโ€™ button.

staging environment

A confirmation window will appear with the message of how staging works in xCloud. You need to confirm by clicking on the โ€˜Deploy Stagingโ€™ button, and it will be deployed in a while with a test domain.

staging environment

Step 3: Pull And Push Site Data #

Once you are done creating a staging environment for your production site, it is time to pull and push site data between them. On your staging site page, go to the โ€˜Staging Managementโ€™ tab from the left menu to find the pull and push data options. You will also find the deployment logs to know when your changes have been made.

staging environment

Now, if you need to pull any production site changes to the staging, press the โ€˜Pull Dataโ€™ button. You will have two options to pull: Files and Database. Plus, you can choose to overwrite all files or keep the most recent updates since the last pull with the โ€˜Incrementalโ€™ option.

staging environment

You can also select to pull the full database or select tables to pull specific data. Once you are done selecting, hit the โ€˜Pull Dataโ€™ button.

staging environment

Your data pull will initiate and will be completed in a few seconds. You can see the pull status and record in the โ€˜Deployment Logsโ€™.

You can also push data from the staging to the production site by clicking on the โ€˜Push Dataโ€™ button. Like pulling, you will also be shown a popup with the option to push files and databases. You can choose to overwrite all files or keep the most recent updates since the last push with the โ€˜Incrementalโ€™ option.

staging environment

On the other hand, you can push the full database or select specific tables to push data from staging to live. However, xCloud highly recommends you take a backup of the production site before pushing the data from the staging environment to restore your production website to prevent any data loss if any accident or error occurs.

Once you select your preferred options, hit the โ€˜Push to Productionโ€™ button. Your data push will initiate and will be completed in a few seconds. Once the push process starts, xCloud backs up your environments, the destination is overwritten, and the cache is cleared on the destination. You can see the push status with the option and push record in the โ€˜Deployment Logsโ€™.

staging environment

This is how easily you can create a staging environment to pull and push site data in xCloud between your production site and staging.

Still stuck? Contact our support team for any of your queries.

What are your feelings
Updated on July 15, 2024

Server Name

RAM

SSD

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Newcomer

1GB

25GB

$4.50

$5.00

$6.00

Basic

2GB

55GB

$9.00

$10

$12.00

Standard

4GB

80GB

$18.00

$20

$24.00

Professional

8GB

160GB

$36.00

$40

$48.00

Business

16GB

320GB

$72.00

$80

$96.00

Server Name

RAM

SSD/NVMe

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Lite

1GB

32GB

$5.40

$6.00

$8.00

Personal

2GB

88GB

$16.20

$18.00

$24.00

Growing

4GB

128GB

$21.60

$24.00

$32.00

Elite

8GB

256GB

$43.20

$48.00

$64.00

Titanium

8GB

384GB

$86.40

$96.00

$96.00

Ultimate

32GB

512GB

$172.80

$192.00

$192.00