Portal Home > Knowledgebase > Backup > How to Backup Website and Databases?


How to Backup Website and Databases?




First, access the site backup menu by clicking on the "Site Backup" icon in the main control panel screen.  As you can see, there are many things to backup.

 

 

Website Data

 

Domains Directory

 

This will backup all the files in your domain directory.  If you have more than one domain, then all your domains will be backed up.  Backed up folders include: logs, private_html, public_ftp, public_html, and stats.  Because subdomains are in your public_html folder, they are backed up also.  Choose this option if you are only concerned about the content of your web site, and not the settings.

 

Subdomain Lists

 

This will backup the subdomain names that you have created.  It will not backup the files inside the subdomains.  Use this option if you have many subdomains.  If you fail to backup the subdomain lists, you will have to manually recreate each subdomain in the event of a system failure. 

 

E-mail

 

POP Accounts:  This will backup the account settings for all of your POP mail addresses.

Forwarders:  This will backup all the forwarders created by you.

Autoresponders:  This will backup all autoresponder accounts and the message content of the autoresponders.

Vacation Messages:  This will backup all vacation message settings and the vacation message itself.

E-mail Settings:  This will backup all filters and the catch-all e-mail address.

 

FTP

 

FTP Accounts

 

This will backup all FTP accounts created by you.  Please note that it does not backup any files in the FTP directories.  If you need to backup the content of the FTP directories, please select "Domains Directory" from the main backup screen.

 

FTP Settings

 

This will backup your FTP preferences, such as whether anonymous FTP is enabled and if an anonymous user can upload.

 

Databases

 

Back up all User Databases

 

This will backup all MySQL databases associated with your account.  You should backup your databases often, especially if your site depends on them (for example, forums). 

 

Creating Backups

 

Creating a backup is very simple:

 

1.  Place a check box next to the items you wish to backup (see above section).

2.  Click the "Create Backup" button.

 

At the bottom of the screen you will see a link to the backup you just created.  It will look like:

 

Click Here to Download the Latest Backup - backup-May-15-2010-1.tar.gz

 

At this point you may exit the menu or download the backup to your computer by clicking on the link.

 

Additional Information

 

The backup file takes the form of:

[backup]-[Month]-[Day]-[Year]-[Backup Number].

 

If you created several backups on the same day, they would look like:

 

backup-May-15.2010-1.tar.gz

backup-May-15.2010-2.tar.gz

backup-May-15.2010-3.tar.gz

 

This feature prevents you from accidentally overwriting a backup file.

Storing Backups

 

Although backups are stored in the /backups directory, we suggest that you download backup files to your computer.  This is the safest method because backups stored on the server may be lost in the event of a system failure. 

 

To view all saved backups, click the link called "Click here for a list of your current backups" (this link is near the bottom of the page).  You will be taken to the /backups directory in the file manager.  

 

 

From here you may download backups to your computer (click on the file name to begin download), move backups to a different directory, or delete backups you no longer need.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
How to Restore Backups? (Views: 1617)

Powered by WHMCompleteSolution