Back up an account in the panel

 

Overview

The panel backup option is a simple way to back up your entire account, including all users, databases, and mailboxes.

The following describes how to use this feature in the panel as well as how to download a backup file using various tools.

Panel backups

You can use the panel to make a back up and then view details about them.

Backing up your account

To back up your account in the panel:

  1. Visit the Manage Account page.
  2. Scroll down to the Back Up Your Account section.
  3. Click the Create a Backup button to open the panel backup page.
  4. Click the Back me up! button.

The backup process begins and takes some time to complete based on how much content there is to back up. You will be notified via email once this is completed.

Viewing your backups

The notification email you receive links you back to the Backup Your Account page in the panel, where you can view details like the following:

Each of the backups are listed as a .tar.gz or .sql.gz file and are temporarily hosted on DreamObjects for you to download locally. The Size column shows the size of each file.

  • Mail users: mail/user@example.com.tar.gz
  • Databases: mysql/databasename.sql.gz
  • Users: user/servername_username.tar.gz

You can click each file to download them one at a time to your computer. Unfortunately, it is not possible to download all the files at once.

Downloading your backup via the command line

You can download these files directly to your server or Mac OSX / Linux computer using either curl or wget commands. If you're running Windows, you'll need to install curl. You'll need to download the zip file from the Win64 - Generic section.

Using curl

Here is an example of how to download a single file using the curl command:

  1. Right-click on the backup link in the panel. In this example, it's the user/servername_username.tar.gz file.
  2. From the popout menu, choose Copy Link Location/Address. Paste this into a simple text editor to save for now. It will be a very long URL.
  3. Open a terminal (if you're using Mac or Linux) or command prompt (if using Windows).
  4. Run the curl or wget command to download the file.

For example, run the curl command with the following syntax:

curl --insecure --output filename.tar.gz "COPIED_LINK_LOCATION"

The filename.tar.gz is one of the file names in your panel on the Backup Your Account page. Make sure you DO NOT include the first part of the filename before the forward slash. If the link in the panel is user/servername_username.tar.gz, the filename would just be 'servername_username.tar.gz'.

The COPIED_LINK_LOCATION is the link you copied when you right-clicked the filename and saved the link.

Here is another curl example showing the full URL:

Make sure you put the full URL in double-quotes. If you do not, the command will not download the file.

[server]$ curl --insecure --output servername_username.tar.gz "https://objects-us-east-1.dream.io/accountbackup/1358572/2024-04-09-SLRG8WEQ57K6CQTE/user/server_username.tar.gz?AWSAccessKeyId=2XoecBOZcL8WQXo9DT9E&Signature=9HWxQE28LaYxxGXX6NsvcEELAwE%3D&Expires=1451659279"

Using wget

Run the wget command with the following syntax:

wget --no-check-certificate --output-document=filename.tar.gz "COPIED_LINK_LOCATION"

The filename.tar.gz is one of the file names in your panel on the Backup Your Account page. Make sure you DO NOT include the first part of the filename before the forward slash. If the link in the panel is user/servername_username.tar.gz, the filename would just be servername_username.tar.gz.

The COPIED_LINK_LOCATION is the link you copied when you right-clicked the filename and saved the link.

Here is a full wget example:

Make sure you put the full URL in double-quotes. If you do not, the command will not download the file.

[server]$ wget --no-check-certificate --output-document=servername_username.tar.gz "https://objects-us-east-1.dream.io/accountbackup/1358572/2024-04-09-SLRG8WEQ57K6CQTE/user/server_username.tar.gz?AWSAccessKeyId=2XoecBOZcL8WQXo9DT9E&Signature=9HWxQE28LaYxxGXX6NsvcEELAwE%3D&Expires=1451659279"

Decompressing the downloaded files

Once downloaded to your computer, it is in a compressed .tar.gz or .sql.gz file format.

  • If you're using a Windows computer, you'll need a program to decompress the file type, such as 7-Zip.
  • If you're using a Mac or Linux computer, you can run the following command to decompress the .tar.gz file:
    macbook$ tar -zxvf user\@example.com.tar.gz
    If the file has a .sql.gz extension, run the following to unzip:
    macbook$ gunzip databasename.sql.gz

Troubleshooting

If you believe the automated backup did not back up everything in your account, please contact support for further assistance.

See also

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?