Mar 162014
 

Last Updated: March 16, 2014

Backup and Restore WordPress tutorial will guide you and help you create a WordPress backup and restore your website using BackWpup plugin on the same server.

Revision Update: I have changed the menu structure and split the tutorial into three steps. I have also updated some of the images.

Finally: I have updated this tutorial with new images from the current version BackWPup 3.1.2.

Please read the latest release information below:

BackWPup 3.1.2

  • Added: .donotbackup file. Folders and sub folders containing this file in will not be included in backups.
  • Fixed: New multisite installs did not save jobs.
  • Fixed: New multisite installs did not save installed version.
  • Fixed: Fatal error when attempting to clean up inactive jobs from cron
  • Fixed: Exclude uploads not working
  • Fixed: Message “file not readable” of an excluded folder
  • Fixed: WP-CLI deprecated and unknown parameter message
  • Fixed: Bugs in pagination on logs and backups page
  • Removed: Banner from plugins page
  • Improved: Memory usage during XML export
  • Improved: Mime type detection
  • Improved: Dropbox SSL handling
  • Improved: Certificate bundle file can now be filtered
  • Improved: Auto-loading vendor classes
  • Improved: Performance when saving other database tables than MyISAM
  • Updated: AWS SDK to Version 2.5.2 (PHP 5.3.3+)
  • Updated: RSC SDK to Version 1.9.1
  • Updated: Guzzle SDK to Version 3.8.1
  • Added: S3 Service: Amazon China (Beijing) region
  • Added: Rackspace: Hong Kong (HKG) region
  • PRO: Fixed: Duplicating synced files on S3
  • PRO: Update: Google SDK to 0.6.7
  • PRO: Added: Amazon Glacier China (Beijing) region

Important: Please remember to review the new version and post any issues with your website. This is important for the developers.

I created a backup and after I created the backup I deleted all the website files on my server to test this plugin. I was able to restore my website without any problems. This proves that it does work. However even though it worked for me there are many different server settings. I suggest that you always test on a testing environment on your server and test your backups. It is always better to be safe than sorry.

What you need:

Backup Restore WordPress Steps.

  1. Backup Restore WordPress
  2. Restore WordPress BackWPup Extra Settings
  3. Restore WordPress Using BackWPup

The following image is what you will see when you first install or upgrade to the latest version.

backwpup-welcome-screen

Create A Full Backup including the Database

1 ) Click on BackWPup >> Jobs >> Edit >> General tab to set up the following settings. See image below.

  • Name
  • Tasks
  • Archive name

The new version has tabs and it is much easier to follow. Give your job a name and select what you want and don’t want from the following images.

backwpup-add-new-job-general

The following image Archive Format allows you to select from one of the following.

  • Zip
  • Tar
  • Tar GZip
  • Tar BZip2

Important: Some archive formats might not work well with your server settings. So choose the one that works best with your server. 

backwpup-archive-format

The following image Job Destination allows you to select from one of the following.

  • Backup to Folder
  • Backup sent via email
  • Backup to FTP
  • Backup to Dropbox
  • Backup to an S3 Service
  • Backup to Microsoft Azure (Blob)
  • Backup to Rackspace Cloud Files
  • Backup to SugarSync

For this tutorial I have selected Backup to Folder and Backup to SugarSync. (You will probably choose other options)

backwpup-add-new-job-destination

The following image Log Files allows you to set up the following.

  • Send log to email address
  • Email FROM field
  • Errors only
  • Click on Save changes button

backwpup-log-files

2 ) Click on BackWPup >> Jobs >> Edit >> Schedule tab to set up the following settings. See image below.

  • Sart job = manually only, with WordPress cron or with a link
  • Sart job with CLI
  • Click on Save changes button

If you want to Start a job with CLI then click on WP-CLI or click on get the start script.

backwpup-schedule-new-job

3 ) Click on BackWPup >> Jobs >> Edit >> DB Backup tab to set up the following settings. See image below.

  • Tables to backup = all, none or wp_

Important: Always change your data base prefix from WordPress default wp_ to something else. This is important for security.

backwpup-db-backup

The following image allows you to set up the following.

  • Backup file name
  • Backup file compression = none or GZip
  • Click on Save changes button

Important: Remember to test your compression. Many report issues with different type of compression. If you are experiencing issues with GZip select none.

backwpup-file-name

You have now completed Part 1 Backup Restore WordPress. Click on the following link Part 2 Restore WordPress BackWPup Extra Settings to complete the Second Part of the tutorial.

I will be updating this post from time to time. So keep coming back for more. If you have any questions please send me an e-mail or leave a comment.

Enjoy

Manuel Ballesta RuizManuel Ballesta Ruiz has written 298 posts. He can be followed on Twitter.

  17 Responses to “Backup Restore WordPress”

  1. Thank you for your comment and tutorial. I am sure that many will find this tutorial helpful.

    Kind regards

  2. Hi
    I did use this plugin and thought that it was fabulous but the update to ver 3.0 appears to have caused lots of problems so I’ve not updated.

    The plugin is up to version 3.08, which doesn’t inspire confidence!

    I am now no longer using the plugin but I keep having a look at the comments on the plugin site and if problems get resolved I may go back to it.

    • Hello Keith, thank you for your comment.

      I agree with you and your decision not to upgrade and changing to another backup plugin. However I am still using version 2.1.17, which was the most stable version that was released in the past and has worked for me up to now. I did mention a couple of times in some support threads in wordpress.org that what they should have done was to release it as a beta version, a release candidate and finally a working version. This method would have allowed the community to report all the knowing issues that they are reporting now.

      I feel that they have learned a lesson and perhaps in the future if they decide to release an overhaul version again, they will release it as a beta version first.

      Kind regards

      • I was also disappointed with the changes introduced in the new release, do you know where is it possible to get the previous one, considering as you say that it still works with latest WP versions? Thanks!

        • Webmaster

          Hello Webmaster con WordPress, thank you for your question. You can download the old working version from here. Have you tried the latest version 3.0.11?

          Kind regards

  3. I was able to find good info from your blog posts.

  4. Hi,

    Using 3.0.11 and it does not work for anything else than backing up the database. If I try to backup files, or XML it never finishes.
    the compressed files are sometimes created on the TEMP folder but not uploaded. I do not get an error message – the process simply never finishes.
    Blaise

    • Webmaster

      Hello Blaise, thank you for your question. Can you let me know what settings you have added for your backups? Is this the first time you install BackWPup?

      Kind regards

  5. Are there any negatives to just keep on using 2.1.17 for ever ?

    Thanks

    • Hello Nic thank you for your question. You can still use version 2.1.17 however because it has not being updated for a while you might run the risk of a security issue. If version 2.1.17 is patched correctly then there is no problem. If you are not happy with the latest version there is another plugin that I highly recommend updraftplus. If you have any more questions please let me know.

      Kind regards

  6. Thanks for the article.
    As many hostings limit the cron job usage, and some other newbies may have problems on setting up cron job due to lack of crontab knowledge. An easy-to-use webcron service is a quick alternative solution for them. P. S. EasyCron.com offers a free forever plan.

    • Hi Jim, thank you for your nice comment and your information. You are correct about the cron jogs. I see too many having lots of issues with cron jobs, mainly because they don’t know how to set it up correctly as you stated above.

      Kind regards

  7. Your guide very helpful… thanks so much!

  8. Thanks for the update sir and good to know that both backup and restore are working well.

    • Thank you Keith Davis for your comment. Yes, both backup and restore did work for me on my server.

      Kind regards

 Leave a Reply

(required)

(required)

nineteen − seventeen =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>