• Skip to primary navigation
  • Skip to main content
  • Skip to footer

WPJohnny

WordPress Performance Guides and Reviews

  • Start a WordPress site
  • Hosting
  • Themes
  • Plugins
  • Blogging
  • Marketing

How to Backup Your WordPress Site (using BackWPup plugin and Amazon AWS S3)

WordPress plugins Mar 21, 2019 by Johnny 9 Comments

Super simple guide to quickly backup your WordPress remotely to S3 using an awesome free backup plugin. Now you have backups ready in case something ever happens to your site or web-server!

STEP #1 – set up Amazon Web Services (AWS) account:

  1. Create AWS account (Amazon Web Services) if you don’t have one. We need this to store backups remotely here. (It’s VERY CHEAP and saves space on your webhosting account. Also much safer in case your webhosting account/server was damaged, the backups stored elsewhere.)
  2. Copy your security credentials – click your name from top-right of the AWS management console and click on “My Security Credentials”, then click on “Access Keys” and copy/save them to your computer somewhere. (You cannot view them again later!)
  3. Create S3 bucket – from menu top-left click on Services > Storage > S3. Then create bucket in the region closest to your server (although any will work). Use all the default settings for the bucket. You can have all backups go to one bucket or putting each one in their own.

STEP #2 – set up BackWPup plugin:

  1. Install BackWPup plugin (it’s free).
  2. You can also buy the paid version if you want the extra features. It’s not necessary, though.
  3. In case you’re wondering, I like BackWPup so much more than UpDraft Premium backup plugin.

STEP #3 – set up DATABASE backups:

  1. Go to WP-admin > BackWPup > Add new job.
  2. From General tab, check “Database backup”. Then scroll down to Job Destination and check “Backup to an S3 service.”
  3. From Schedule tab, choose “WordPress cron” and pick daily.
  4. From DB Backup tab, click “All” for Tables to backup.
  5. From “To: S3 Service” tab, select your bucket location (if you have one), then enter Access/Secret keys. Then select your bucket or create a new bucket.
  6. For file deletion, I suggest “30” to save thirty days worth of database backups.
  7. Click “Save changes” at the bottom. Then go to BackWPup > Jobs, and run the job to make sure that it works.

STEP #4 – set up FULL backups:

  1. Go to WP-admin > BackWPup > Add new job.
  2. From General tab, check “Database backup” and “File backup”. Then scroll down to Job Destination and check “Backup to an S3 service.”
  3. From Schedule tab, choose “WordPress cron” and pick weekly.
  4. From DB Backup tab, click “All” for Tables to backup.
  5. From “To: S3 Service” tab, select your bucket location (if you have one), then enter Access/Secret keys. Then select your bucket or create a new bucket.
  6. For file deletion, I suggest “8” to save eight weeks worth of full site backups.
  7. Click “Save changes” at the bottom. Then go to BackWPup > Jobs, and run the job to make sure that it works.

Tips on backing up:

  1. I recommend Amazon S3 for remote backups because they’re so cheap (several terabytes of space used is still only $1-2/month), compared to $10/month for 2TB with Google Drive. Not only that but Google Drive can be really annoying and limit/block you when you’re trying to download several files at once. Amazon AWS is more technical and less user-friendly but so much cheaper and more reliable!
  2. Yes, although full backups already include the database, I still recommend doing separate database backups in case you realize later that your full backups never ran or didn’t backup properly. (It happens!)
  3. I generally don’t recommend DAILY full backups for websites unless your site is small (1GB and below) AND you’re making changes often or having sales everyday. I wouldn’t save more than 7 days worth of daily backups.
  4. Big sites (over 2GB) can do full backups every week (Sunday or any day/time with low traffic would be the most logical idea). I wouldn’t save more than 8 recent instances (two months) worth of weekly backups. Big sites should never do do daily backups as that eats up too much server resources and can take forever if the server is especially big.
  5. EVERY site regardless of size (big or small) should save 6 months of FULL MONTHLY backups. WHY?! This is because your site may be hacked or something was broken or had so change and it actually happened months ago but you didn’t realize until recently. In this case, having an old enough backup would be a very helpful reference point to get back to.
  6. Really large sites (above 5GB) should really only be doing incremental backups anyway! Or least exclude some files/folders so you’re not unnecessarily wasting so much space saving stuff that never changes.
  7. If you have a ton of media files, use the “don’t include thumbnails” option. It’s a really clever feature that doesn’t backup all the thumbnails. It saves only the large original version of each image which can be used to regenerate all your thumbs later.

Share this post:

Share on FacebookShare on X (Twitter)Share on LinkedInShare on WhatsAppShare on EmailShare on SMS

Read all my posts on WordPress plugins

About Johnny

Right on the edge of WordPress development! 10+ years of WordPress design, development, hosting, speed optimization, product advisor, marketing, monetization. I do all that.

More WordPress Guides

99designs Graphics Design Contest Review

Gutenberg FIX – image gallery item on last row too big

Awesome Motive isn’t awesome

How to Write Your Web Design Proposal

Digital Access Pass (DAP) WordPress Membership Plugin Review – UPDATED 2019

Why You Should (almost) NEVER Use Lazy Load

Reader Interactions

9 Comments

  1. Frederico

    January 27, 2020 at 6:10 pm

    It worked perfectly! Thank you, Johnny!

    Reply
  2. Vadim Mialik

    July 20, 2020 at 1:43 pm

    Followed your steps, job is market as complete both for simple database backups and for 800mb full site backups as well. However I login to the Amazon S3 instance that was created but its empty? I I understand there might be upload delays, but even the database backups are not showing up?

    Reply
    • Johnny

      July 20, 2020 at 3:12 pm

      You put the right keys and everything? What do the backup job logs say?

      Reply
      • Vadim Mialik

        July 20, 2020 at 3:26 pm

        Says job complete with this being last line of the log:

        [20-Jul-2020 11:54:03] Starting upload to S3 Service …

        Reply
        • Johnny

          July 20, 2020 at 3:39 pm

          Ahhh, so the upload never happened. How long ago did you create this bucket? I notice sometimes S3 buckets take a few days before it allows transfers. I don’t know why; it could by my own noob mistake.

          Reply
  3. Vadim Mialik

    July 20, 2020 at 3:41 pm

    Had Backwpup create the bucket, I assume that would have the best settings. Ill give a few days and see how it goes

    Reply
    • Johnny

      July 20, 2020 at 4:31 pm

      Oh no!!! Go create the bucket in S3 first. Then enter in bucket name in BackWPup.

      Reply
      • Vadim Mialik

        July 20, 2020 at 4:44 pm

        Not the other way around? create in S3 first? and not via the plugin?

        Reply
        • Johnny

          July 20, 2020 at 5:32 pm

          Try it and let me know.

          Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Footer

More links

  • Gadget reviews
  • Try my free WPJ plugins
  • Join the WPJ FB Group
  • WPJ YouTube & newsletter
  • Become a WPJ Affiliate

Popular Reviews

  • Best WordPress Hosting
  • Best WordPress Themes
  • Best WordPress Plugins
  • Best WordPress Cache Plugins

Services

  • Speed optimization
  • Speed optimization courses
  • WordPress hosting
  • Hire me or other experts
  • Client login

About Johnny

10+ years of WordPress design, development, hosting, speed optimization, marketing.
Contact me.

newsletter block

Copyright 2025 | WordPress guides by Johnny Nguyen

Click to Copy