Skip to main content
Print

Managing Staging Sites

This guide covers day-to-day management of your staging sites from Hera Backup > Staging Sites.

Before you start

  • You have at least one staging site.
  • You are signed in as an administrator on your live site.

The staging sites list

Go to Hera Backup > Staging Sites. Three counters at the top show Staging sites, In progress and Failed. Below them, the list shows each staging site's Name, Path, URL, Prefix, Size, Created, Last Access, Status and Actions, newest first.

  • Last Access is updated when someone visits the staging site, at most once an hour.
  • While a copy is being made, the list refreshes on its own every few seconds. Refresh reloads it at any time.
  • A badge such as 3 skipped beside the status means that many files could not be read during the copy and are missing from the staging site; hover over it to see the first of them.

The Actions menu

Click Actions in a row to open its menu:

  • Open: opens the staging site in a new tab.
  • Edit: changes the record's Name, URL, Path and Prefix, then Save.
  • Push to live (Pro): opens the push page for this staging site. See Pushing Changes to Live.
  • Cancel clone: shown while the copy is being made; it stops the copy.
  • Delete: removes the staging site.

Open, Edit and Push to live become available once the copy finishes. On a staging site whose copy was cancelled or failed, Open and Push to live stay unavailable; delete it and create it again.

Edit changes only what the record says. It does not move the staging folder or rename its tables, and Delete acts on the path and prefix the record holds, so change Path or Prefix only to match a change you made yourself. Renaming is safe.

Deleting a staging site

  1. Click Actions in the staging site's row and choose Delete.
  2. The row turns into a confirmation that names the folder to be removed and says the staging site's database tables will be dropped.
  3. Type the staging site's name exactly as shown, then click Delete forever. Cancel leaves everything as it was.

Deleting drops every database table whose name starts with the staging site's prefix, removes its folder, and removes it from the list. There is no undo, which is why you are asked to type the name first. Read the name in the confirmation before you type it.

Hera Backup removes the folder only when it carries the mark Hera Backup left there when it created it for this staging site. Otherwise the folder is left in place and the message names it, so you can check it and remove it yourself.

Anything that exists only on the staging site goes with it. If you still need the work you did there, push it to live (Pro) or copy it out before you delete, and create a new staging site from live whenever you want a fresh copy.

Deleting a staging site does not change your live site.

Disk space

Each staging site holds a copy of your site's files and of the tables you chose. Hera Backup's own backup folder is never copied into it. To keep usage down:

  • Untick Uploads (media library) when creating the staging site if you only need to test code.
  • Delete staging sites you no longer need.

Lifecycle

A staging site moves through Initializing, Cloning database, Cloning files, Adjusting URLs and Finalizing to Completed, when you can work in it and, on Pro, push it to live. A copy that stops early ends as Failed or Cancelled; delete it to remove what it had already copied.

Staging sites stay until you delete them, and they drift apart from the live site as each one changes on its own. Create a new staging site when you need a fresh copy of the live site as it is now.

Table of Contents