How do I backup my entire account? - Gregg Hosting

The affects of Web Hosts on Your Business Website

Here're ways your choice of web hosting service provider impacts the performance of your business:


check

Website loading speed

check

Uptime and availability

check

Customer support

check

Security

check

Server location

How do I backup my entire account?

How do I backup my entire account?

Overview

The ‘One-Click’ backup tool makes backing up your entire account, including all users, databases, and mailboxes, extremely simple.

Backing up your account

Go to the Account Management page.

To access the One-Click backup page, scroll down to the Back Up Your Account section and click the Create a Backup button:

Select the button that says “Back me up!”

The backup procedure begins and takes some time to finish, depending on the amount of data to be backed up. Once this is completed, you will receive an email notification.

Confirmation of your backup

The email you receive contains a link to the Backup Your Account page, where you may find the following information:

Viewing your backup

When the backup is finished, you’ll find all of your files with.tar.gz or.sql.gz extensions listed in your panel.

You’ll come across links like this:

Users of email appear as follows:

mail/[email protected]
The following is an example of a database:

mysql/databasename.sql.gz
This is how users appear:

user/servername username.tar.gz
Each file’s size is displayed in the Size column. All of the backups are given as.tar.gz or.sql.gz files that you can download locally from GreggObjects.

Downloading your backup via command line

Mac and Linux

You can use curl or wget to download these files directly to your server or Mac OSX/Linux machine.

Windows

You’ll need to install curl if you’re using Windows. To get started, go to the Win64 – Generic section and download the zip file.

Download using curl

Here’s an example of how to use the curl command to download a single file:

Right-click the backup link on your panel. It’s the user/servername username.tar.gz file in this case.
Copy Link Location/Address from the popout menu. To save for now, paste this into a simple text editor. It’ll be a lengthy URL.
Open a terminal on your Mac or Linux computer. Open the command prompt in Windows.
To download the file, use the curl or wget commands.
an example of curl
Use the following syntax to run the curl command:

—insecure — curl

“COPIED LINK LOCATION” output filename.tar.gz
One of the file names in your panel on the Backup Your Account page is filename.tar.gz. Make sure the first part of the filename is not included before the forward slash. The filename would simply be’servername username.tar.gz’ if the link in the panel was user/servername username.tar.gz.

When you right-clicked the filename and saved the link, the COPIED LINK LOCATION is the link you copied.

Here’s an example of a complete curl:

Make sure the entire URL is enclosed in double quotations. The command will not download the file if you do not do so.

curl —insecure —output servername username.tar.gz [server]$ “AWSAccessKeyId=2XoecBOZcL8WQXo9DT9E&Signature=9HWxQE28LaYxxGXX6NsvcEELAwE percent 3D&Expires=1451659279 https://objects-us-east-1.dream.io/accountbackup/1358572/2016-12-06-SLRG8WEQ57K6CQTE/user/server username.tar.

Download using wget

Use the following syntax to run the wget command:

“COPIED LINK LOCATION” wget —no-check-certificate —output-document=filename.tar.gz
One of the file names in your panel on the Backup Your Account page is filename.tar.gz. Make sure the first part of the filename is not included before the forward slash. The filename would be servername username.tar.gz if the link in the panel was user/servername username.tar.gz.

When you right-clicked the filename and saved the link, the COPIED LINK LOCATION is the link you copied.

Here’s a whole wget example:

Make sure the entire URL is enclosed in double quotations. The command will not download the file if you do not do so.

$ wget —no-check-certificate —output-document=servername username.tar.gz [server]$ wget —no-check-certificate —output-document=servername username.tar.gz “AWSAccessKeyId=2XoecBOZcL8WQXo9DT9E&Signature=9HWxQE28LaYxxGXX6NsvcEELAwE percent 3D&Expires=1451659279 https://objects-us-east-1.dream.io/accountbackup/1358572/2016-12-06-SLRG8WEQ57K6CQTE/user/server username.tar.

Clicking the file link to download

You may also click on each file to download it to your computer one at a time. Unfortunately, there is no way to download all of the files at once.

Decompressing the downloaded files

It will be in the compressed.tar.gz or.sql.gz file format once it has been downloaded to your PC.
If you’re using a Windows computer, you’ll need a tool like 7-Zip to decompress the file.
If you’re using a Mac or Linux computer, you can decompress the.tar.gz file using the following command:
tar -zxvf [email protected] macbook$
If the file’s extension is.sql.gz, use the following command to unzip it:
databasename.sql.gz databasename.sql.gz databasename.sql.gz databasename.sql.g
Troubleshooting
Please contact us for further assistance if you believe the automated backup did not backup everything in your account.