How to Backup & Restore WordPress with Updraftplus?

dailydose

#1

Imagine

  • Last night your site was hacked! :fearful:
  • Or, went down after updating your favourite plugin!
  • Or, hosting team suspended your site!

In such difficult moment, having no backup is a feeling of insecurity.

If you are not taking regular backup of your WordPress, a costly mistake you are doing. Hope for best, be prepared for the worst! :sunglasses:


Let’s focus on solution. The good part is taking backup in WordPress is simple.

Introducing UpdraftPlus WordPress Backup Plugin


UpdraftPlus simplifies backups and restoration. It is the world’s highest ranking and most popular scheduled backup plugin, with over a million currently-active installs. Backup your files and database backups into the cloud and restore with a single click!

Follow the below steps to learn how to take backup using Updraft plugin

  1. Login to WordPress Dashboard
    image

  2. Go to Plugins menu > Add New
    image

  3. Search for UpdraftPlus WordPress Backup Plugin
    updraft-search

  4. Install and Activate the plugin.
    activate-updraft

  5. Go to Settings

  6. So, now you are at Settings page. Don’t click Backup now in hurry up.



    Overview
    Current status: Live update of running backup, button for tacking backup, restore
    Existing Backup: See backup information with date/time
    Settings: Configuration
    Advanced Settings: Useful for Wiping data

  7. By default this plugin store backup locally, as well as provide option to store backup directly on Cloud storage - Google Drive, Dropbox, etc. In this tutorial, I will guide about using Updraft with ‘Google Drive’. The process is much simpler in the latest version.

  8. Go to Settings tab

  9. Set Files backup schedule: Daily

  10. Database backup schedule: Daily

  11. Choose your remote storage: Google Drive

  12. Scroll down, Save changes.

  13. You will see a pop-up asking to authenticate Updraft to your Google Accounts.

  14. Follow the given link, it will redirect you to Google Account Login page

  15. Choose a Google Account, or create a separate new one for linking Drive to Updraft.

  16. Click on Allow button to authenticate Updraft to Google
    allow-access

  17. Click on Complete Setup

  18. You will see a message: Success: you have authenticated your Google Drive account.

  19. To take backup, Click on ‘Backup Now’ button.

  20. You will see a pop-up asking for Perform a one-time backup. Keep all option checked by default as it is.

  21. Click on Backup Now button to request backup.

  22. Depending on your website size, it may take some time. Feel free to close Browser tab if you don’t want to keep eye. It can finish taking Backup work in the background.

  23. Once done, you will see a message “The backup apparently succeeded and is now complete”.

That’s all, you learned how to Take backup of your Update.

Restoring Backup

  1. Go to “Existing Backups” tab in Updraft. Interesting, Updraft store backup in 5 specific files separately that allow user to restore with same plugin as per their need.

  2. From the list, Choose to restore as per Date/time.

  3. You will see a Pop-up asking for what particular files you want to restore. Check each checkbox.

  4. Click on Restore, soon it will start retrieving backup information. Have patience!

  5. Now, the backup archive files have been successfully processed.

  6. Press Restore button again to proceed. Don’t close browser.
    restore-operation-has-begun

  7. You will see a page like this with live restore-processing reporting, just scroll down to see the restore status.

  8. Restore successful

  9. Now, Click on Return to UpdraftPlus Configuration at same page to return to Updraft UI.

  10. We are 99.9% done. Click on Delete Old Directories to remove junks files.

  11. Check your website, Enjoy!


How you can leverage this article?

  • You can use UpdraftPlus plugin for restoring from a particular date/time
  • You can also use this method for migrating from one host to another or making a staging site.

FAQs
How can I change the remote storage?

  • Go to Advanced Settings > Wipe Data
  • Choose Remote storage again.

Can I take local backup with Updraft?

  • Sorry! I won’t recommend. It can massively increase Disk size. Instead choose a Remote Storage.

My site is very big, should I use Updraft?

  • No. This is good for small site up to 1 GB. For a large site, I won’t recommend using free version of Updraft plugin.

I hope this helps. Feel free to ask below if you have any queries.

Also learn :arrow_right: How to Setup Yoast SEO Plugin in WordPress?

If you liked this, please let me know, which next tutorial you want me to write?
#DailyDose

Thanks & Regards,
Gulshan


Use Two Factor Auth in WordPress with Magical Wave of Keyy
Getting Error with UpDraftPlus BackUp?
Using Updraft plus for migration?
Theme update
How to Resolve High CPU Usage?
The most awaited tutorial is here: Learn Installing LEMP
Migrate WordPress from Cloudways to Vultr with ServerPilot (In 1 hour)
Not updating WordPress plugins? Your site may get hacked!
How to delete these pages...?
Wordpress Security
How to Optimize and Serve Scaled Images?
Best WordPress Backup plugin for Multiple Sites?
How to Fix Mixed Content/Insecure Content Warning in WordPress
How to reconnect server in serverpilot?
Website migration from shared to cloud
Should I reset wp database?
Migrate Heavy wp-content Folder From One Host to Another Easily
How to migrate domain please suggest
Common Mistakes of WordPress users
All in One Migration Plugin (Premium) Review
Speed Up WordPress (Top 5 High Priority Tips)
Using HTTPS in WordPress without Really Simple SSL Plugin
#3

Yes, my site hacked last month. Thank you for simple and easy to understand step-by-step guide.


#4

This happened to me after updating code snippet. I used SFTP to delete the plugin folder.
This is very comprehensive tutorial. I’m already using Updraft Plus. I even used it to transfer my website from CW to DO.
But if you own multiple sites all with Updraft Plus, keeping track of backups on a single Google Drive could be pain.


#5

What is this?


#6

Its worth a blog post.


#7

CloudWays to DigitalOcean


#8

How to check this??


#9

Great question! We can check website size using My Simple Space plugin. It will display size information directly inside WordPress dashboard. For detailed information, you can use Disk Usage Sunburst plugin. These two plugins are best in my humble opinion. :slight_smile:


#10

Okay, and is there any way to check directly from cpanel as now I try not to install unnecessary plugins. :sweat_smile:


#11

For cPanel, you can look at right sidebar in the new version.
disk-size-cpanel

Alternatively, Plugin is a simple way to check disk size. Just install, Activate My Simple Space and visit your Dashboard.


#12

Does the Updraftplus plugin backup htaccess or any other file available in the base directory?


#13

@Pramod Unfortunately, no.

With updraft I have experience that custom code of .htaccess and wp-config.php may get ignored.
This is harmless in most cases. However, I would strongly recommend one thing in below condition.

  • If you ever used own redirection rule via .htaccess, make sure to export it later.

#14

Thanks, I’m moving my site to another host, So thinking to use updrafts for migration. Now I’ll manually upload all these files.


#17

Thanks :slight_smile:


#18

Would definitely like to try this. What happens when site becomes very heavy with images. Is this still a good option?


#19

Thanks for sharing this useful tutorial.


pinned #21

#23

After installing WordPress on LEMP and trying to install UpdraftPlus showing this
– Giving correct details
– Still saying wrong details
@GulshanKumar

How to Fix sir?


#24
  1. Login to SSH as root
  2. Run below command
  3. Fixed.
chown -R www-data:www-data /var/www/
sudo chmod -R 755 /var/www

#25

Fixed Sir.

that means after creating new Wordpress
Every time we need run that command?