How to save a WordPress site? How to restore an old version of his blog?

There are still and unfortunately several WordPress blogs that work without any backup. If only these bloggers knew what they were facing.

 The risks of attacks and hacks are real and every blogger should always have a way to back up and restore their site in the event of a problem.

In a previous article, we compared 7 Backup Plugins for You, in order to simplify your choice. Today, I will show you how to back up your database, a fragile and very sensitive resource of any WordPress blog.

The first thing to do is of course to install the plugin WP-DBManager, available at WordPress.org. You can therefore install it from your dashboard.

db-manager-installation

After activating the plugin, a new menu « Database Will appear on the left side menu of your WordPress dashboard, and a new error message will also appear.

How to Fix Mistakes

Installation error-db-manager

The first error means that there is no folder " backup-db " in the file " wp-content Of your installation. You must therefore access the directory " wp-content Of your installation using an FTP client (FileZilla) to manually create this folder. Right click and select the option " create a folder ».

how-create-a-file

Name this folder " backup-db ».

creation-of-a-file

By refreshing your blog, you will find that there is only one error missing to deal with.

error remaining

This error simply means that the backup folder must be accessible to the public. To do this, go to the folder "WP DB-Manager" located in the list of plugins Wp-content >>> Plugins.

You must then change the file name " htaccess.txt " in " ..htaccess » (remove the .txt then add a period. before the "htaccess"). Once it's done, move the file to the folder " backup-db You just created.

Hint: copy the file to your computer and send it to the folder " backup-db" page (in French).

rename-a-file-.htaccess

Once it's done, refresh your dashboard again and you will see that all the errors displayed after installing the plugin are gone.

How to configure WP-DBManager

Now that you have corrected the previous errors, it is now time to properly configure the plugin. To do this, go to the location " DataBase >> DB Options ».

Then set the limit on the number of backups to keep. To do this, you must modify the value " Maximum Backup Files ". By default, this field is worth 10 for 10 backup files to the maximum. Old backups will be deleted.

change ordering du-number-of backups

Then go to the " Automatic Scheduling », Because the other configurations, in principle do not need to be modified. From this section, you can program the automatic frequency:

  • Backup of the database
  • Database optimization
  • Repairing the database

You can choose to perform these tasks every XX minutes (really not advised), XX hours (acceptable), XX days (recommended), XX weeks (to avoid), XX months (Do not take it).

-Automatic actions

The section " Backup Email Options »Allows you to modify the options for sending activity reports. You can set an address other than that of the administrator.

change-of-options-for-address-mails

The section " Miscellaneous Options », Allows you to display or not the notifications.

Once it's done, save your changes " Save Changes ».

How to back up your blog database

This is the reason for this plugin. All you need to do is access the " Backup DB Of the plugin. You will see the different backups available there. You just have to identify the one you want to restore then click on " Backup ».

How restore-a-base-of-data

Once it's done, you will receive a notification similar to this one.

restoration-complete

How to manage and restore backups of your blog

The WP-DBManager plugin also gives you the ability to manage your various backups, including:

  • By downloading the selected backup
  • By restoring a specific backup
  • Deleting the selected backup

I will not tell you about the option " Cancel It simply does not serve anything (except to go back in the history). You can also save your database in your mailboxes. All you need to do is enter the email address to which the backup file should be sent. Then click on the " E-mail ».

Management des backups

To restore your database, nothing is easier. Choose the date you want to restore your site then simply click "Restore".

Before we leave

I prefer to warn you, this plugin is very sensitive, this is the reason why I did not tell you about the other options. Improper handling of these options can simply make your blog useless. Use these options if you know what you are doing.

That's it for this tutorial dedicated to backing up and restoring a WordPress site using the WP DB-Manager plugin.

Do not hesitate to leave a comment or to share the article on social networks.

4 shares
Share4
tweet
Save