Backups are one of the best defense against any sort of security threat toward your site. Regular backups are one thing that every blogger/webmaster should have. In past we showed you how to keep your content safe with BackupBuddy, and how to manually create WordPress database backups. However, BackupBuddy costs money and manual backups take time. What if we told you that you can create complete WordPress backup for free? Not only that, you can also store them on the cloud, and schedule to do this automatically. In this article we will show you how to create a complete WordPress backup for free with BackWPup.
First thing you need to do is install and activate BackWPup plugin. Upon activation, the plugin will display a welcome page. It will also add a BackWPup menu item in your WordPress admin sidebar.
Creating Backup Jobs with BackWPup
Click on Add New Job to create an automated backup job for your WordPress website. Under General tab, provide a name for this job. This name will be used internally and will help you identify each backup instance. Under the Job Tasks section, select the type of tasks you want this to perform. Available tasks include database backup, file backup, WordPress XML export, Installed plugins list, optimize database tables and check database tables. If you just want to create backup of your website, then you can select all options except for optimize and check database tables.
Under backup file creation section, choose an archive type. The default option is tar.gz, however you can choose zip archive if you want. Below this, you will see Job Destination section. This is where your backups will be stored. BackWPup provides multiple options to store your backup files. It can store backup file on your server, send it via email, backup to FTP, backup to dropbox, amazon S3, Windows Azure, Rackspace, and Sugarsync. Whatever you do, DO NOT store the backups on your server. For the sake of this WordPress tutorial, we will be using DropBox.
Scheduling Automated Backup in WordPress using BackWPup
Click on Schedule tab and choose how often do you want to backup your site. You can schedule it to run monthly, weekly, or daily basis by choosing WordPress Cron option. Alternatively, you can choose to manually run the job, so that you can create on-demand backups of your site. For advance level users there are more choices like using a URL to start the job externally using some other software or starting the job using WP-CLI, a command line interface for WordPress. For beginner level users we would highly recommend scheduling a daily or weekly backup by choosing WordPres Cron option.
What to Backup?
Click on DB Backup tab to select which tables you want to be included in the backup. Sometimes WordPress plugins create their own tables into your database, most of the time this data is not crucial and you may not need it. Unchecking these tables will reduce your backup size. However if you don’t know what you are doing, then keep all tables selected.
Under the Files tab you can select which directories and files you want to include in the backup job. We would recommend that you do not backup core WordPress files. Instead, only backup your wp-content/uploads folder. Uncheck Backup root folder. Exclude any folders in wp-content folder that you don’t want. For example, sometimes plugins will create their own directories inside wp-content folder to store plugin data. You can exclude these folders if you want.
Saving WordPress Backups To Dropbox
Depending on what you chose as destination for your backup, you will see a tab for it. In this tutorial we will show you how to automatically upload your WordPress backup to Dropbox using BackupWP plugin. So click on Dropbox tab and then click on Reauthenticate (full Dropbox).
This will take you to the Dropbox website where you will be asked to provide your username and password. After signing in, DropBox will ask for your permission to grant BackWPup access to your DropBox account.
After that, the plugin will take care of the rest.
Creating Multiple WordPress Backup Jobs using BackWPup
You can create multiple backup jobs with BackWPup. For example, you can create a scheduled job to run on a daily or weekly basis to backup your WordPress Database and another job to run manually for backing up your WordPress files only. You can see all jobs created by you on BackWPup » Jobs page. You can run any of the backup jobs by clicking on Run Now link below the job, even for scheduled jobs. You can also edit settings for a job or delete it entirely.
Running a Backup Job
When you execute a Backup Job manually by clicking on Run Now link, BackWPup will display the backup progress. Clicking on display working log, you can see what is going on in the background. If for some reason the backup job fails, then this log will also display the reason. You can also abort a job during the progress by clicking on abort button.
Troubleshooting WordPress Backup Jobs in BackWPup
Running a backup job may cause extra load on your hosting server. This may result in unfinished backup jobs. Also on most shared hosting services, there is a limit on how much time or memory a script can consume. When your server stops BackWPup for crossing the time or memory limit, it waits for 5 minutes and then resumes the process. In this case, it would take a while for a backup job to finish.
The first thing you should do is increase your PHP memory limit, then go to BackWPup » Settings and click on the Jobs tab. Increase Maximum number of restries for job steps option. The default value is 3, you can increase it to 5 and see if this works for you. After that scroll down to Reduce server load option and select medium or minimum server load options.
Final Thoughts
You are probably wondering if a good free plugin like BackWPup exist, then why do people pay for plugins like BackupBuddy or VaultPress. One of the reason is support. When you pay for a product, then you are guaranteed to get support. Another thing that we notice with both BackupBuddy and VaultPress is that they offer malware scanning. We use VaultPress because it is a 100% managed service. The backup is stored in their cloud server, and it is a pretty fool-proof setup.
We can not stress this enough that you need to back up your site regularly. Do not wait for your WordPress site getting hacked or infected with malware, start backing up now, so that you can swiftly restore WordPress from backup when the time comes. We hope that this guide helped you automate your WordPress backups. Let us know which WordPress backup solution you use by leaving a comment below.
Note: Due to a lot of request, we wrote an article about how to restore WordPress from Backup. If you use BackWPup, then you would be following the manual back restore option in the article.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Eloise says
BackWPUp just changed the way the plugin accesses / stores backup files in Dropbox. The info they have given is pretty rubbish! Please can you update this article to reflect those changes, and advise users on how best to re-connect BackWPUp with Dropbox? Cheers!
WPBeginner Support says
We will certainly look into updating this article. If you reach out to BackWPUp they should be able to help and clarify on anything that is confusing in their documentation as well
Admin
Duncan McCormack says
Hey guys, I’ve just had a look at this backup plugin on its page.
You have to BUY the pro version to do a RESTORE!!!
That right??? Sure reads that way to me.
WPBeginner Support says
They created a method to restore the backup using the plugin rather than manually and that feature they are requiring pro, you can still restore your site manually without the pro version.
Admin
James says
In the dropbox tab, for me today 2/10/19, next to the Authentication it said ” not Authenticated “, and said create an account. but i already have an account so it would not give me the allow the plugin option. However, I clicked on the dropbox Authentication button, it then brought up my dropbox and it displayed a code. Copy and pasted that code into the box and it then went to the allow BackWPup. Just in case anyone else comes across that problem. But thanks for the tutorial, one of many that I use..
WPBeginner Support says
Thanks for sharing this solution should someone else run into this error
Admin
Monika says
Can this create a WooCommerce backup as well or do I need a specific plugin for that one?
Chris says
If you cant see the re-authenticate option in your drop box account then you need to just click on the button below this one in your backup plugin settings. It will then prompt you to allow access and grant a code.
I had the same issue and it worked for me.
Chris
Eloise says
Hi,
The layout on BackWPup seems to have changed bit since this article was written – the Jobs tab now seems to be called Schedule, and when I go in there I can’t find an option to set the number of server re-tries..?
Every other site I’m using BackWPup on works fine. But one site that I manage is having a few problems; the site is quite large, lots of plugins, and I keep getting error messages that ZIP files are not closing properly during execution. Any thoughts/revisions that might be helpful please?
Many thanks!
WPBeginner Support says
Hi Eloise,
We will update the article. Meanwahile, please contact plugin support and see if they can help you out.
Admin
john moses says
Nice writeup. Ihave done backup before but I wasn’t able to restore my Media Library images. When you bakup with this plugin, and you restore, will the will the media library images be restored too?
WPBeginner Support says
Hey John,
Yes they will be included. However, make sure that you create a complete WordPress backup and not just the Database backup.
Admin
Ravi Dixit says
A very helpful post.
Can you tell me how to save backups files to the local disk of the computer with BackWPup plugin?
moumita says
wpbeginner, you are my only destination whenever I face any wp issues. Really cant imagine using wordpress without your help
Olga says
Very useful! Thanks a lot ;-))
Pierre BLAZER says
Hi there ! I just installed BackWPup, and I can see there are several possibilities to archive the backup in the GENERAL tab: ZIP, TAR, TAR GZIP etc. Afterward, under the DATABASE tab for example, the choice to compress is only: GZIP or NOTHING, so I’m a bit confused. What should I do if I chose ZIP as an archive? Should I choose GZIP ?? Thanks.
WPBeginner Support says
Hi Pierre,
Yes, you should choose Gzip. It is a compression format just like zip.
Admin
anders says
Does this have support with Azure ARM Storage. I get this error:
400 Value: The value for one of the HTTP headers is not in the correct format.
Seems like there is a issue with the API this version is using. Anyone have managed to do this successfully with ARM Cold Storage account?
Don Saroos says
Thanks but one thing missing i cant actually connect to dropbox any little help will be highly welcomed
Aakarshit Choudhary says
hey bro!
I am a wordpress begineer!
Please tell me how I can use this backup on my website if my website crashes?
Jane Bonney says
I found the instructions fairly clear and helpful, although sometimes the phrasing could be a little better to make the instructions better.
When I backed up I got the following error mesages:
ERROR: Dropbox API: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
ERROR: Job has ended with errors in 5150 seconds. You must resolve the errors for correct execution.
So what do I do please?
JANE BONNEY says
I discovered this was because my dropbox was full. So the solution was simply to delete some of the media I had uploaded and not used or increase dropbox space allowance.
Rachel says
Hi! Thanks for this great post! When creating a job – I say to back up to Dropbox but it doesn’t say ‘Reauthenticate’….It just says Create account. I already have a Dropbox account, so when I click on Create Account it doesn’t request permission as shown in this post, it tells me how much available space I have and prompts me to get more. I’m stuck on what to do.
Chris says
same here for me too. I tried everything but not sure if its because you need to have a paid account that supports API integration.
Francis says
I use BackWPup on my site and it shows it has backed up correctly and the test mail has also arrived but I do not get the backups sent to my email. I tried different email accounts but it doesn’t send anything unless there is an error. How can I get the backups sent to email and how can I download them? Thanks very much.
WPBeginner Support says
Please contact the plugin support.
Admin
Nikhil Ganotra says
Earlier I was using backupWordPress and it was consuming too much bandwidth. This plugin is awesome!
Deja says
Hi, I have the same error: “Not expected HTTP response body: 429 Too many requests body { padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ } Error 429 Too many requests”
Does anyone know the solution for this? Many thanks in advance.
Gil Andrei says
Hi, on your past article you said that restoring WordPress from BackWPUp is simple, how would you do that? Thanks!
Sacha says
Thanks for the great post, BackWPup looks like a very good option for me. But how would you restore from a backup?
Tracey says
Another great post. I really don’t know what I’d do without your website. its he first thing I turn to if I get stuck with something on my blog! Many, many thanks.
Obidigwe Kenechukwu says
Thanks for this great article, I love what you people.
I just got one question: what is the role of wordpress default “Blog import and export” as regard backing up of site?
Please I need to know.
Thanks once again.
Karan says
Hello,
Does it really create a full backup including all the settings, posts, media etc? Will this backup enough to restore a completely formatted site?
Thanks
Karan
Melinda says
Thanks for the article! I tried using this plugin message, but I received an error message when backing up.
Not expected HTTP response body: 429 Too many requests body { padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ } Error 429 Too many requests
I’m not very knowledgeable about coding, can you help!
Anna says
I’m exploring this topic because I’m about to set up my first WP site. I’m wondering, however, if every site really needs so much attention paid to back-up? Our site will essentially be static, that is, it’s not a blog so there are no posts, nor are there comments: its content comprises text and photos which are ours and are backed-up elsewhere.
I will be using a purchased theme so those files, as well, are elsewhere. Of course the entire site once created will position the photos and text according to the theme and that will involve customization and work. That I can see the value of backing-up, but a one-time ought to do it, no?
I’d appreciate someone experienced helping me clarify this! Thanks.
Leonid says
If you have a static site, you don’t need WordPress for it. Just build HTML/CSS site.
Aniket says
Hey
Thanks for coming up with an important topic. I am already using backwpup on my site.
I am using the dropbox option. But, the dropbox comes with a limited space of 2GB.
What should I do after this?
Should I delete some of the previous files to generate space? If yes, which files should I delete?
WPBeginner Support says
You can download older backups to your computer.
Admin
Hasnain Abid Khanzada says
Hello Bro,I Have Done All The Things But I Am Getting The Error When Trying To Run The Backup..The Error Is ” The HTTP response test get an error “Failure when receiving data from the peer “…Hope That You Will Solve The Problem.
Thanks.
WPBeginner Support says
Please contact the plugin support. They will be able to help you better.
Admin
Andy Lawrence says
Hey, I’ve been trying this for a while but when I run the script to back up, it doesn’t ever finish. I’ve followed all the instructions but it’s not working.
Kenrick says
hi great summary! To bad i am getting this errorwhen I try to back up
ERROR: Signal 15 is sent to script!
How to fix this?
Thanks.
Ayesha says
Thanks, I just backed up my site using this method, before I was just using another free backup plugin and this works just as well
Michale says
Did you ever try to restore a site from a backup made using BackWPup? Since BackWPup doesn’t have a “Restore backup” option, that would be an interesting post..
Ziacinzia says
HI, thank you for this article. I have an issue though, my dropbox is almost full and as my site grows, it takes more and more space, so I wonder what i should do when I run out of space? Is there a similar alternative to dropbox to save the backup jobs? Many thanks
WPBeginner Staff says
You can purchase more space. Alternately you can try saving your backups to Google Drive.
Ziacinzia says
I read that Google Drive does not encrypt files and is not a safe option. May I please have your view on that? Thank you
WPBeginner Staff says
1. The backups on your hosting service provider are sometimes not available. Also these backups could get compromised. Sometimes web hosting companies may even terminate your account without giving you enough time to get your files. In all these scenarios, and there are many others too, the user looses the access to their backup files.
2. Saving backups on the same server as your website actually defeats the purpose of backing up in the first place. For example, if the security of your server is compromised then your backup files could get affected too. This would make it immensely difficult for you to restore your website.
Michael Einstein says
OK.. I understand and this makes sense.. So would the WordPress Backup to Dropbox be a good option as an alternate place to store the backups, or perhaps to my google drive? Although I do worry a bit that these sites aren’t totally secure either. Only other option is if I can configure a backup to go to an external drive I have on my home computer that gets backed up everynight to a cloud-based backup.. That way I would have it on my home computer AND on the cloud. But this won’t work if my home computer is turned-off, although it is “usually on”.
Michael
Michael Einstein says
A few Newbie questions here:
1) If I use Bluehost for a hosted WordPress site, that comes with daily backups of my entire site. Why would I also need a seperate wordpress backup solution? Couldn’t I always just restore my site if anything ever happened through my cPANEL in Bluehost?
2) In this article, it says: “Whatever you do, DO NOT store the backups on your server.” Why? Isn’t this a good/secure place to store your backup since it also will get backed-up? Where else would I store it? Dropbox?? That actually sounds less safe and secure then in a dedicated directory somewhere on my hosting server.
Thanks for the help!
Regards,
Michael
Duncan McCormack says
It’s redundancy surely.
I think it’s a good idea to either use another backup technology (plugins) as well as your hosted provider method.
I also think it’s a good idea to download your hosted provider backups and put ’em elswhere (on your work/home PC?) – but I’m happy to trust cloud technology providers, particularly Google and Microsoft. I reckon Dropbox are pretty trustworth too, eh? Surely.
WPBeginner Support says
Correct, it is mainly for redundancy and so you have control over your backups
Admin
tealady46 says
I’ve followed the tutorial and am being told that it’s all backed up but when I’ve checked in my dropbox folder, I can’t see it. Any ideas??
Eloise says
There will be a separate BackWPup folder in your Dropbox – it’s not immediately obvious, so have a look around. Took me a couple of mins to find it when I first started doing using BackWPup too!
Bala Chandar says
I got an error like “The HTTP response test get an error “connect() timed out!”
Vitaliy Kolos says
OK, I’ve backed up my files, database, list of plugins, but now I’m sort of stuck because I’m not sure what I’m supposed to do next. I mean I know I’m supposed to restore certain files, but I’m afraid that I’ll override something that I actually need. Do I just leave wp-config.php alone and update the rest or what am I supposed to do next?
harishchouhan says
I have been using BackWPup since a while, but the “This APP will have access to your entire DropBox” scares me. With so many security issues being exploited every now and then, one wrong step, and I hope my DropBox data is not compromised.
Cypherinfo says
I did another copy and this again only the home page was showed; the other pages are redirected to the xampp setting http://localhost/xampp/ I tried to delete the .htaccess and every web page different from the home one report 404 error object not found; any advice? I’ve posted in the wrong place sorry. My comment is for this: https://www.wpbeginner.com/wp-tutorials/how-to-move-live-wordpress-site-to-local-server/
AV says
Dropbox is not active.. something is missing.. i installed this in local site.
WhyBother says
Thank you for this very detailed tutorial.
Abhishek Jain says
This is a real article to read about the v=backup of wordpress site… Thanks to author….
Alan Santana says
Does this backup saves all options, configurations, seo, etc.?
Or is there anything lost?
Somesh says
it stuck at
trying to create backup archive
WPBeginner Support says
Somesh, make sure your web host meets the minimum requirements to run the plugin. You would need PHP 5.2.6 at least. Also check out plugin’s FAQs section.
Admin
Somesh says
Does it backup all the database files and all the stuff
Carole says
If you do a daily backups to Dropbox, do the files with changes replace the existing files or is a complete new backup added each day? My ecomm website seems to be 5GB so that could quickly blow through even 100GB of Dropbox storage.
Pali Madra says
As usual a great tutorial.
I did want to point out that in the first tab, which is called General, under the job details section the option to optimize database tables is not there anymore. Is this the case with me only or is it the same for everyone?
Thanks.
Aditya Shirodkar says
Thanks a lot for introducing me to this great plugin!… you guys are doing a great job!
E.D Gasçon says
Hey Syed, Thanks for sharing this info. This is a great article. I’m using Updraftplus backup/restore. I have a question please. This may sound silly… sending daily backups to the cloud (Dropbox) as opposed to weekly backups, would that take more storage space? If earlier versions of files are deleted then why am I running out of space so quickly? I’m not really adding much content to my sites (I’m not a blogger). I’m such a newb! Thanks