Home > Help Center > Applications > WordPress > Backing Up Your WordPress Site

Backing Up Your WordPress Site

There is no webmaster who does not have to recover her/his site from archive at least once. We will not discus what happens if at this point, for some reason, an appropriate archive is not available.

In this article we will give you some ideas on how you can have a suitable copy from which you can quickly and easily restore your site and limit the damages to the minimum.

Restoring a WordPress site involves recovering both files and database.

Using the Hosting Company Backups

Each hosting provider offers a certain backup scheme with each hosting plan. Top-class hosting companies provide their clients archiving on remote storage and up to 30 copies of files, databases and emails.

We strongly recommend that you explore what backup service the hosting company offers and how to work with it. Do not be content with just a brief correspondence with the support department, but install a WordPress, create few pages and posts, wait two days, delete the files, and restore them from the archive.

Delete the database and restore it from the archive, delete only one database table, and restore it. You should have access to entire archive management without intervention from the support department.

Manually Backup Files and Databases

Although the hosting company provides a high level of security, these archives should be considered as the latest recovery tool. We recommend that you build a habit to create backups whenever you make changes to the site content and before every update either the WordPress core or its components (themes and plugins).

Backup with phpMyAdmin and FTP

The easiest way to back up is to log in to the FTP and download the WordPress site directory adding a timestamp to the directory name.

Upload Website through FTP with FileZilla

Then start phpMyAdmin and create a database archive adding the same timestamp to the .sql file name.

Backup MySQL Database using phpMyAdmin

Move (Cut / Paste) the .sql file in the site directory downloaded earlier through the FTP, and you already have a full site archive on your computer.

Backup via SSH

Creating a SSH archive is as quick and easy as possible, and involves executing of just two commands.

Create an archive of DATABASE in the WordPress directory SITE-DIRECTORY/:

mysqldump -u USERNAME -p DATABASE > SITE-DIRECTORY/backup.sql
Enter password:

Create an archive containing the entire directory of the site:

tar -czf SITE-DIRECTORY-2107.tar.gz SITE-DIRECTORY/

and download the archive file SITE-DIRECTORY-2107.tar.gz via FTP on your local computer.

WordPress Database Backup and Restore through SSH

Softaculous Backup on cPanel

The automatic installer Softaculous has its own system for creating rotary archives. But because this functionality duplicates the main archiving of cPanel, a large number of hosting companies deactivate this Softaculous option.

Keeping Archives on External Storage

We recommend you to keep one more archive (rotating 2-3 backup copies on weekly basis) on a portable SSD or cloud service such as GoogleDrive, DropBox or OneDrive.

We recommend you to secure the archives with strong password before uploading.

This way you will have at your disposal three copies of your site at any time on three different storages:

  • hosting company storage
  • local computer
  • external media

WordPress Backup Plugins

First decide do you really need a backup plugin. Enabling too many plugins in WordPress slows down the site's performance and increases the risk of possible incompatibilities and conflicts.

In the official WordPress Plugin Directory you can find a huge number of plugins. Do not base your choice solely on the number of installations or the number of stars.

Take the time and test at least three different plug-ins and choose the one that best suites your needs.

Still not finding what you're looking for?

Contact our support team with any additional questions or concerns.

Contact support