According to w3techs.com WordPress is the most popular CMS in the world with 59% of market share. What’s more, 28% of the global web is built on Wordpress and the number is still rising.
With such significant numbers in play one would think the websites are respectively secured in case of possible data loss. Unfortunately, the majority of developers still think of WP backups as something extremely complicated and not worth the time invested. However, it all boils down to writing a couple of scripts or using a backup plug-in.
In this guide we’ll show you how to prepare a backup of your WordPress instance and turn it into an automatic daily process with BuddyWorks.
Why you should backup your WordPress site
- With WordPress you can use countless plug-ins and themes to configure your site + customize it with your own code. This means that you can introduce changes that will mess it up, too.
- If the plug-in that you used is broken, or you accidentally left a breach in code, there’s a risk your website gets hacked and will need immediate backup.
- There’s always a risk that the server with your website goes down, however minor it can be.
Preparing WordPress backup with WP-CLI
To prepare the backup we’ll use WP-CLI (http://wp-cli.org). It’s a very handy tool to run WP-related tasks, such as creating new WP instances, or updating and activating themes and plugins. Let’s configure it to backup and restore your CMS…
The full version of the guide is available for free on Buddy’s website: How to restore WordPress from backup.