Affiliate Marketing & SEO Info for Making Money Online

How to Do the Most Secure WordPress Backup

Website owners who use WordPress are typically not familiar with technical procedures since the content management system is designed for use by people without this type of technical experience. As a result, performing a WordPress backup can be a confusing process for most of these site owners.

Even though this can be a confusing process for some people to learn, it is well worth the time and effort. Web server failures, hackers, and even acts of nature can cause a complete loss of information on any site. Precautions can be taken to try to prevent some of these things from happening, but having a complete backup of the WordPress site is the only thing that will allow it to be restored if something does go wrong.

WordPress Backup Plugins
There are some plugins that are designed to automate the backup procedures, but solely relying on these plugins can have major consequences. Some free plugins available through the WordPress repository will not be maintained as new versions of WordPress are released.How to Do the Most Secure WordPress Backup

When WordPress is updated to a new version, but plugins are not updated to account for changes to the system, the plugins can stop working properly. If this happens with a site run by someone who is not familiar with how to manually backup a site, they can easily find themselves lacking a working backup copy. Unfortunately, this type of situation is generally discovered once it is too late to be able to do something about it.

Understand the Process
There are two parts to backing up a WordPress site, which is something that a lot of people do not realize. First, there are the actual files for the site. This includes the base WordPress files that could be downloaded again, but it also contains the theme and plugins that have been added to the site. In some situations, these files can actually contain information that cannot be replaced by simply downloading the original files again.

In addition to the files, all WordPress sites have a database. This contains most of the settings and other customized information for a site, which includes the actual page content and blog posts. Many plugins that backup WordPress may only target the database tables. They are extremely important but alone they are not a complete backup of a site.

Backup Website Files
The actual process of obtaining a copy of the files for a site can vary because there are many different ways to do it. Some website hosts will offer an easy way to download a copy of an entire site, which can also be used to restore the site as well. These can be useful time savers, but they are still automated systems that can fail.

The most reliable way to backup all the files from a site is through FTP. To use this method, FTP software is needed to make a connection with the site. Then, all the files from the public folder of the website can be copied to the local computer. This copy can additionally be stored on a CD or some other type of external storage media, which provides two copies of the backup that could be used to restore the site.

While it is probably a good idea to simply back up all the files in the public_html folder, the wp-content, .htaccess and the wp-config.php files (along with the database explained below) are all that are absolutely necessary to fully backup a site.

Backup Database Tables
Completing a backup of the database tables is generally a more confusing process, but it is definitely the most important step to learn. The first step is to access the database. This is generally done through the website hosting cPanel using phpMyAdmin.

In phpMyAdmin, find the main database for the WordPress site in the drop-down menu in the top-left of the page. When multiple installations exist on the same hosting account, it can be confusing to tell which database belongs to which website. The easiest way to identify a site from here is to visit the “wp_options” database table. The initial options listed in this database table will identify the domain name and the blog name.

Once the database to backup is identified, make sure the page shows a full list of all the tables in that specific database, which was the view that was first seen when the database was selected. Then, click on the “Export” link along the top of the page.

From the Export page, just click on the “Go” button to export all the tables from that database. This should be set to be done in “SQL” format by default, which is the best format to use when restoring a database. After exporting the database, phpMyAdmin will present a file to download. This file should be treated just like the backup of the site files.

If you need visual instructions on how to do the above, click here.

Restoring a WordPress Site From Backups
The process to restore a WordPress site from backup files is basically done in the reverse order. It is a very good idea to try out this entire process on a test website for the first time. This will help to ensure it is done correctly, which will make a major difference if the backups are ever needed.

First, the database backup file should be uploaded through the “Import” link in phpMyAdmin. If the database does not already exist where the backup will be restored, it should be set up manually from the cPanel. This must be done using the database name, user name, and passwords found in the “wp-config.php” file from the WordPress site backup.

Some web hosts will have a limit on the file size that can be uploaded using this process. This is another good reason why the process should be manually tested by anyone who runs their own WordPress site, since backups may need to be made with custom settings or split into multiple pieces to ensure they will be able to be restored.

Next, upload all the files to the site through FTP. This should be quite a few files to upload, so it can take some time. If uploads fail to complete, they may need to be done in a few different pieces to ensure all the files are getting uploaded. If this is being done to repair an installation for a site, existing files should be overwritten when uploading the backup.

Fast and easy but not free
For those who would like a faster and painless way to backup and restore an entire WordPress site, there are paid programs that will simplify the process into a couple of clicks. WP Twin is currently the most reliable option on the market for site owners willing to invest in software to do the job.

Be Sociable, Share!
  • How to Do the Most Secure WordPress Backup

Leave a Reply

↑ Back to Top