- 1 INTRODUCTION
- 2 What exactly is “backing up”?
- 3 Why Should You Perform a Website Backup?
- 4 How Frequently Should You Backup Your WordPress Site?
- 5 What Is the Best Way to Backup Your Website?
- 6 CONCLUSION
You understand how vital it is to have the ability how to backup WordPress Sites.
By routinely backing up your website, you ensure that you have a fail-safe in place in the event. Your site is hacked, or you need to restore it to a prior version.
You run the danger of losing all of your hard work if you don’t have a backup mechanism in place. This is not something you would wish on your worst enemy.
You may not want to backup your WordPress site using a plugin. There are other alternatives you may take. It includes utilizing a different sort of backup program or doing a manual backup.
What exactly is “backing up”?
Backing up means preserving a duplicate version of all your work. This contains your website theme and other site assets, and your database.
Backing up is comparable to saving an essential document to Google Drive, Dropbox, and your desktop.
It’s usually a good idea to store essential items more than once and in more than one location, often known as “medium.”
Why Should You Perform a Website Backup?
Consider a website backup to be an insurance policy. You’ll be protected if something goes wrong with your website.
Most people understand the necessity of backing up computer information. But it’s also a good idea to do the same for your website.
Various factors can bring your website down and damage all of your hard work, whether deliberate or unintentional.
Here are some of the most frequent reasons why you should back up your website regularly:
Have you ever spilled coffee on your keyboard by mistake? Or had your phone fallen out of your pocket and land on the floor? Accidents cannot be avoided.
This is especially true if you have additional users with backend access to your site. Changing a single line of code is often enough to knock your site offline.
You click the wrong button, delete a file by accident. And then you can’t connect to your site for a few seconds.
The best defense against these errors is having a backup of your website ready to go.
So, instead of hiring a costly third-party business to repair your site, you may just replace it with a working backup.
Hacking Is More Widespread Than You Might Think
On the internet, website hacking happens all the time. Just because you haven’t encountered it yet doesn’t mean you’re safe.
There are now actions you can do to assist increase your site’s security. Yet, no security system is entirely unbreakable.
This is especially true for website owners who use WordPress. WordPress is the most used CMS. Yet, it is also the most likely to be attacked by hackers.
Missing a core theme or plugin update might leave the gates open. And then expose your WordPress site.
So, it would help if you undoubtedly tightened your site’s security by adding a security plugin and adhering to safety best practices.
However, another critical step is to backup your website to several locations.
So, rather than trying to rescue your website after a hack, you can just wipe the slate clean. And then, you may restore it from a new backup.
This is a more cost-effective method of recovering from a hack than working with a team of professionals to try to restore your files and data.
Website Updates Can Destroy Your Website
Updates aren’t always as smooth as they should be. The majority of websites include several moving components.
And when you update one, it doesn’t necessarily play well with other parts of your site.
In some situations, it may take your entire website down. Then you must go through the time-consuming process of debugging your site. And determine what the problem was.
Website outages often seem to occur at inconvenient times. So, instead of spending hours investigating the problem while your site is down and losing money. You can rapidly restore to a working version.
This isn’t a solution to the problem, but it may save you a lot of trouble when earnings are at stake.
How Frequently Should You Backup Your WordPress Site?
The frequency with which you must backup WordPress is determined by how frequently your site updates.
For instance, if you have a static portfolio site that never updates. Then you don’t need to back up every day. You could even get away with monthly backups.
On the other hand, if you run a blog and publish a new blog post every day and your followers leave a lot of comments. Then you should probably back up every day.
And, if you run a popular WooCommerce business where orders are constantly pouring in.
You’ll undoubtedly want a real-time backup solution that saves changes immediately. So you never lose your vital order data.
To help you come up with a plan that works for your site, consider the following:
Would it be detrimental to my site if I lost data from the previous X days (or hours)?
If your site’s X equals one day, you should do daily backups.
However, remember to consider other material in addition to how frequently you generate new stuff. Backups include user-generated material, such as native WordPress comments.
For example, if you run a blog and only publish once a week. But your readers leave loads of helpful comments every day.
Then it would help if you still used a daily backup plan. So you don’t lose those comments if you ever need to restore your site.
Finally, if you have a site that receives a lot of traffic, such as a WooCommerce store, forum, or BuddyPress site. Then it would be best if you utilized a real-time incremental backup solution – more on this below.
Method 1: Backup WordPress Using Your Hosting Service
The most straightforward approach is to select a hosting provider that does comprehensive, daily backups of your WordPress site.
WP Engine Managed WordPress hosting provides automated daily backups of all of your core WordPress files. It includes themes and plugins, as well as your database. You may also start your backups at any time.
Log in from time to time and download your zip file copy to store on your hard drive. Suppose you want to take your hosting provider’s managed backups to the next level. You can never be too cautious.
Method 2: Manually backup WordPress
Your WordPress directory comprises subfolders such as wp-content and wp-includes. And it also includes files such as wp-config.php, theme and plugin files, and so on that are required for your WordPress site.
Among other things, the wp-content folder includes all of your themes, plugins, caching, and uploads. This is crucial information that you cannot afford to lose.
You can’t afford to lose the wp-admin, which contains all of the files necessary by your WordPress admin area.
WordPress core files are stored in the wp-includes subdirectory. This is the location of all of the significant WordPress code. You do not want to misplace this code.
Step 1: Make a manual backup of your WordPress files.
To duplicate your WordPress files, download the complete WordPress directory. How? You may access your server using cPanel or SFTP software.
Using cPanel, take a backup.
This is so simple that you can do it in the time it takes to prepare a cup of coffee. Here’s how it’s done:
- Navigate to cPanel after logging in to your web server. The cPanel is generally the first page you see when you log in to most web servers.
- Go to the File Manager and navigate to your public_html or Home directory.
- Simply navigate to your WordPress directory from here. This is the folder to which you wish to backup your data.
- You cannot download the WordPress folder without first compressing it in File Manager. But don’t worry, compressing a folder doesn’t have to be complicated.
- Select Compress from the navigation bar after clicking on your WordPress directory. Alternatively, right-click on the folder and select Compress from the menu that displays.
- From the dialog box that appears, select the compression type, such as ZIP, Tar, GZIP, and so on. I always use a ZIP archive.
- Then just click the Compress File(s) button and wait for the procedure to complete. Your compressed WordPress folder will be saved on your server.
- Click on the newly formed archive and select Download from the menu. You may right-click the library and choose Download.
- Select a safe spot on your hard drive to keep your backup.
That’s all there is to it!
Tip: Upload the backup to your Dropbox account, Google Drive, burn it to a DVD/CD, email it, or whatever method you want – just make sure you have several copies to guarantee you don’t lose your site if one of the backups fails.
Suppose your web server utilizes a different control panel, such as vDeck or Plesk. Then you need to identify your File Manager and continue the procedure.
That is as follows: Locate File Manager > Locate your WordPress directory > Compress > Download. Repeat regularly.
Backup using SFTP
Because they are lightweight and straightforward to use, we recommend utilizing a popular file manager such as FileZilla or Transmit.
You must first install the program on your PC. And you obtain your SFTP access credentials from your hosting account.
Next, open the file manager of your choice (in this case, Transmit) and input the data for your website. It includes a nickname, the URL of your website, your unique SFTP login, and password, and set the port number to 2222.
After logging in, you should be able to see all of your WordPress files. Simply pick all of your files, right-click, and choose “Download Selected Items.”
Once the files have been downloaded, make sure they are zipped and give the file a distinctive name, such as today’s date.
Step 2: Take a manual backup of your WordPress database.
Now that we have a fresh copy of your WordPress files. Let’s back up your WordPress database so we can have a complete backup for when the proverbial rainy day arrives.
This is also so simple that you’ll be backing up your site whenever you want without breaking a sweat.
Simply go to your hosting control panel and look for phpMyAdmin. It will be found under Database Tools for cPanel users:
However, depending on your hosting provider, it may be placed somewhere else.
WP Engine users, for example, can access phpMyAdmin from the main user dashboard by clicking on the chevron symbol next to your installation(s):
When you log into phpMyAdmin, you should see the following main administrative panel:
To see a list of your databases, go to the Databases tab. If you set up your WordPress site using a third-party platform like Softaculous or Mojo Marketplace. Then you may be unsure which database to use. What should I do?
Navigate to your WordPress directory and find the wp-config.php file in your File Manager.
Right-click the file and choose View. You want to look for the following line in the new window:
Your database name is the value included in the second set of single quotation marks, which in our example above is ‘database name.’
Locate your database in phpMyAdmin using this information. To open the database, click on it. You should see something like:
By checking the checkboxes, you may choose all of the tables you want to backup. To select everything at once, go to the bottom and click “Check All.”
After you’ve chosen the tables, go to the Export tab. Choose the export method and SQL as the format:
Click the Go button to store your database in a safe location on your computer. Remember to save copies of your WordPress files in the exact places.
That’s all there is to it; you now have a complete backup of your WordPress site!
Create regular backups based on the frequency with which you post to your WordPress site if you post 50 or more posts each day.
Then you’ll need to backup more frequently than the person who posts once a month.
Aside from that, see if your site provider has a dependable backup option.
Moving on, let’s look at how to automate WordPress backups with the help of a handful of useful WordPress backup plugins.
Regardless, here are a few fantastic backup WordPress plugins you can use to automate the process.
Method 3: Using Plugins to Backup WordPress Automatically
WordPress backup plugins make it easier to create reliable backups for your WordPress site.
All you have to do is install your preferred WordPress backup plugin. And then adjust a few settings, and you’re ready to go.
- WPvivid Pro Backup & Migrate
If you’re searching for a complete backup, migrate, staging, and restore plugin with cloud storage integration, look no further.
Then WPvivid is the place to be. This WordPress backup plugin offers solid capabilities for taking and scheduling backups.
And then sending backups to a cloud storage service of your choice. And quickly migrating your entire site or selected files.
WPvivid costs $199 (one-time charge) to access all of the plugin’s fantastic features.
However, they have a 14-day free trial and a lite edition on WordPress.org if you want to sample it before you pay.
- Jetpack Backup
The most acceptable real-time backup solution for WordPress websites is Jetpack Backup. It can assist you in taking both automated daily backups and real-time backups of your complete website.
Backups may be restored from your PC or mobile device with a simple click.
If you choose real-time backups, you will be able to restore your site from any backup point. This is particularly beneficial for e-commerce businesses.
Jetpack Backup also includes a 30-day backup archive and a history of site modifications. Jetpack Backup costs $8 per month when paid yearly.
BackupBuddy by iThemes is the second premium WordPress backup plugin on our list today.
You may use the plugin to simply backup your whole database and files. And then transfer your site to a different host.
You may backup your site to your hard drive as well as many external storage providers. It includes Amazon Web Services, email, FTP, Dropbox, and more.
BackupBuddy allows you to schedule WordPress backups while you’re on the move and experience a backup service unlike any other.
Pricing for a single site license begins at $80 per year. iThemes does offer a lifetime Gold plan for a one-time cost of $297.
- Duplicator Free WordPress Plugin
Duplicator is more than just a backup plugin, with over 1 million active installations. Duplicator allows you to clone or move your site to a new location effortlessly.
This primary feature makes it an effective backup option.
Although you cannot plan backups, it automatically dumps your database into a SQL file. And automatically stores it in a ZIP archive alongside your WordPress files.
Then it generates a unique PHP file that allows you to restore the backup simply. Simply upload the ZIP package and PHP code to your server, and the rest is simple.
Do you want more? Look into Duplicator Pro.
- BackWPup Free WordPress Plugin
BackWPup is a well-known WordPress backup plugin. It allows you to generate full backups of your WordPress site. This plugin also links to external storage services.
It provides you Dropbox, Amazon S3, FTP, RackSpace Cloud, and many others.
You can schedule complete backups, ensuring that your entire WordPress site, data and all, is always secure. You may also check/repair and improve your database.
And if you need more power, you can upgrade to the pro version.
- UpdraftPlus Backup and Restoration Free WordPress Plugin
One of the most popular WordPress backup plugins is UpdraftPlus. It makes backing up your WordPress site more enjoyable and straightforward.
You can’t go wrong with UpdraftPlus. It includes backups to Amazon S3, Google Drive, FTP, Dropbox, email, and other storage choices, rapid recovery, scheduling, a site duplicator.
It can break huge sites into several archives and much more.
In addition, if you want extra functionality, the creators provide a pro version.
Set up scheduled backups.
UpdraftPlus allows you to establish your automated backup schedule. And it spares you the bother of remembering to backup manually.
Select the Settings tab on the UpdraftPlus Backup/Restore page to configure scheduled backups.
You may specify how frequently your database and files should be backed up here. Among the options are.
- Every four, eight, or twelve hours
- Weekly, biweekly, or monthly
Your choice will be determined by how frequently you update your website.
For example, if you publish material every week, weekly backups would most likely suffice for your site. You may also choose how many prior backups you want to keep.
When you’re through configuring your backup schedule, remember to click the Save Changes button at the bottom of the page.
What Is the Best Way to Backup Your Website?
As you can see, there are several ways of backing up your website. The strategy you choose isn’t as important as really executing it.
If you find the procedure excessively time-consuming, you are unlikely to complete it.
For most website owners, it is employing a service like CodeGuard. It is the best course of action.
It provides enough customization options to let you design a backup plan. And that works for you without being excessively complicated.
Simply specify your chosen backup strategy once, and you’ll never have to bother about it again.
You should now have a better grasp of the many ways you may take to backup your website. And you have reduced your options.
If you find the entire backup procedure too time-consuming, try WordPress-managed to host. This type of hosting will manage, backup, optimize, and secure your WordPress site completely.
Again, the method you choose isn’t as critical as maintaining a regular backup routine. If an issue arises with your site, you should restore it to a prior version.
The only efficient way to accomplish this is through the use of a website backup.
Finally, having a dependable backup solution in place is the greatest thing you can do for your WordPress-based business.
Anything may happen at any time. But having backups in place will help you prevent unnecessary worry.
Simply click to restore a backup, and you’re back up and running.
We discussed our top backup options. You can use it to make backups of your WordPress sites and secure them.