Skip to content
uPress Knowledge base

Creating a staging environment and copying your site to it

Create an empty staging copy, choose the files and database to copy, and monitor progress without replacing the live site.

3 min read Updated

On this page
  1. Before you begin
  2. Creating the empty environment
  3. Copying from the site to staging
  4. Monitoring and testing the copy

The screenshots show the Hebrew interface. The instructions below use the English interface labels.

A staging environment is a separate copy of the site at a temporary address on the same server, used to test changes. Creating the environment and copying content into it are separate actions. Changes in staging are not automatically published to the live site.

Before you begin

Check that you have access to development tools and that the feature is available for your plan and server. A staging environment differs from development mode: development mode temporarily changes settings on the existing site, while staging creates a separate destination.

The staging copy may contain content and data copied from the site. Before testing a store, forms, or automations, check email, payment, and external-service connections to avoid triggering real actions from the copy.

Staging backups: A new staging environment is not included in nightly backups by default. Check available backup options and prepare a suitable backup before relying on it to preserve development work.

Creating the empty environment

1. Select the site in My sites, open Development, and open staging copies. If a side panel appears, you can open it as a full page.

2. In the new-staging section, click the button to create a staging copy.

The staging page before creating the first copy
The demonstration page before creation. The explanation states that the environment starts empty and content is copied afterward.

3. Check for a new address and a success message. An empty status is expected before copying content. Keep the staging address so you can distinguish it from the live site.

A newly created demonstration staging environment marked empty
A local environment created using a simulated agent. Its address and empty status do not prove that a site has been copied into it.

Copying from the site to staging

4. Open the action to copy from the site to the staging environment. Check that this is the intended direction.

5. Select files and the database as needed. This workflow copies the WordPress database and replaces its URLs with the destination address. To copy the WordPress database into an empty staging environment, the files must also be selected.

Before submitting: Selecting files first deletes the existing files in the destination environment. Copying again replaces the selected content and can erase previous development work. Blocking search engines is not access control and does not guarantee that the copy is private.

6. Leave search-engine blocking enabled for a test environment, then start copying to staging.

Selecting files, the database, and search-engine blocking
The copy form for the demonstration environment. Selecting files first deletes existing files at the destination.

Monitoring and testing the copy

7. Follow the copy status. An in-progress status means it has not finished; you can return later.

8. Only after completion is reported, open the staging address and test pages, images, and WordPress administration. Check the browser address to make sure you are working in staging, not on the live site.

A copy request to the demonstration environment in progress
The local test observed only the start of a request. Copy completion and the copied site’s operation were not verified.

If you see a failure, a missing server report, or an unavailable-action message, follow the message and contact support with the source and destination addresses and request time. If the page directs you to the existing panel, use that link. Do not copy from staging to the live site just to test the copy: that replaces live content and needs separate planning and backups.

Was this article helpful?