You just launched that awesome WordPress website and everything is running smoothly and BAM!!! You mistakenly deleted your files or your cute looking website has been hacked.
When a thing like this happens there are usually two types of people, the oh cool, I got a backup somewhere and the Noooo! Where do I start from?
I bet you don’t want to be the later as one of the best ways to have confidence in your website security is having a backup either locally or in the cloud. Apart from having a backup, making regular backups can also go a long way in making things easier when you have a problem with your website.
In this guide, I am going to show you two ways you can back up your WordPress website. The first one is backing up manually and the other one with the help of a plugin.
How to Manually Backup Your WordPress Website
This method is more on the techy side and it will require you to access your cPanel follow this instruction for FTP Clients.
The first thing to do is go into your installation folder and backup your WordPress files.
From the image above you’ll see your WordPress files and make to tick show hidden files, select all the folder and files and compress them into a zip archive. Now we can head over to backup our database, this is very important because without the database the WordPress files won’t be any good to you so make sure to back up the database.
If you’re not sure which database your WordPress installation is then you’ll have to edit the wp-config.php and look for the line below:
/** The name of the database for WordPress */ define('DB_NAME', 'database_name_here');
How to Backup WordPress Website Using UpdraftPlus
Now, this is one of my favorite parts as it’s one of the easiest ways to backup your WordPress website. There are other plugins that help back up your site but this one does the trick for me.
Backing your site up with UpdraftPlus has two options.
Web host backup (This is not recommended if you’re using a shared hosting)
External drive like Google Drive or One Drive backup.
Let’s get started by installing our plugin by going to Plugins ⇒ Add New
Click on install.
Wait until it’s done and then click on activate.
You will be redirected to the plugins page with a small pop up as shown below.
Click on the Press here to start! button
Click on Backup now to start backing up your website.
Click on settings If you want to back up to an external source like Google Drive
Before choosing an external source, the two backing up schedules are on manual. You can change these to how frequent you want to backup your files and database.
I will be backing up to Google Drive, you can select any drive of your choice and continue.
Backing up takes 15 minutes or longer depending on the size of your WordPress website. After the backup is finished go to Setting ⇒ UpdraftPlus Backups then scroll down to Existing backups as shown below.
Congratulations you have successfully backed up your WordPress website.