Do you know why we need backups and do you own a WordPress website? Then you must be aware of the fact that sometimes things may go wrong. You should always prepare yourself for the worst. You don’t know when your website is at risk of being attacked by intruders and sometimes the things might go wrong with daily tasks such as updates or themes, and plugins. So, Backup is necessary for everyone owning a website. Website backup is the process of copying the data of the WordPress website like theme, plugins and other files and this backup aims to protect your website from losing data and protects from data corruption as well. Let’s get started with how to backup your WordPress site. Basically, there are two ways to backup your WordPress site that are:
- Manual WordPress backup
- WordPress backup with a plugin
WordPress backup with a plugin is especially for those who are non-specialised in the technology area and without any hassle, the backup is done automatically. However, Manual WordPress backup has some hassles but it comes with the benefit of providing you full control over your website data and you don’t even have to worry about the budget.
Let’s get started!
Manual WordPress Backup
For restoring a WordPress website manually, you need to back up two things: backing up the MySQL database as well as the website files.
The process of manually backing up a website will require you to log into the server first and then export the two main components that are MYSQL database and site files as mentioned above from two different locations. The MYSQL database can be accessed through phpMyAdmin and site files are located within the File Manager console of your server. Without any further ado let’s start!
For the server reference we are using cPanel and before moving further, create a folder on your computer and rename it as either your name or Business name and follow the name with the date of the backup and also, create two subfolders called Database and Site files within this folder as shown below:
Step-1: For manually exporting the database login to the admin interface of your website’s cPanel.
As WordPress uses a MySQL database to operate and through the phpMyAdmin console Web developers can interact with the website’s database.
Then, you need to export the database.
Step-2: Click on the Databases dropdown and click on phpMyAdmin and the phpMyAdmin console will open in a new tab now.
Now, inside the phpMyAdmin > select Database > click on Export.
It’s not the same in other servers and before clicking on the “Export” tab you may need to scroll down to the bottom of the table list and select a checkbox that says ‘Select All’.
Step-3: Inside Export tab, you have few options and you need to select
- Quick as the Export method
- SQL as the Format option
- And click Go
The database file will automatically start downloading.
Step-4: After the download, move this file to the subfolder named “Database” that you have created earlier.
Note: if you have not created the folder, then create one and then transfer.
Now let’s move further to export the website files manually!
Step 5: Again, go to the CPanel dashboard and click over the File Manager option.
Step-6: Inside the File Manager, Select the option public_html. Then click once on the folder name public_html and then select Compress.
Step-7: Now, a pop-up screen appears in which you have to select the .zip Archive then click on the Compress File(s).
Step-8: click on the ‘public_html.zip’ folder and then click on Download, once the files have been compressed as shown below:
After download, don’t forget to delete the zip file as it has taken up space unnecessarily and for this, you need to click on the ‘public_html.zip’ folder and select Delete.
Step-9: Move the .zip file to the Site Files folder.
Finally! You’ve exported your website’s site files and let’s move further now!
WordPress Backup with a plugin
If you want to skip all the manual steps then the best option is to use a WordPress Backup plugin and the backup will be done automatically without any hassle.
So let’s get started!
It is one of the most popular backup plugins with over 2.5 million active installations and it simplifies backups and restoration and allows you to set up automatic backup schedules. It Backups your files and database into the cloud and restores immediately with a click and UpdraftPlus is very user-friendly, while It’s Pro version comes with best features like website cloning and migration, incremental backups, backup scheduling, Database encryption, Advanced reporting etc.
The Free UpdraftPlus version does not offer any advanced features but it gives you full control over where your backups are stored as shown in the figure below:
There are various services that are supported by UpdraftPlus like FTP and sFTP, Dropbox, Amazon S3, Google Drive, Google Cloud, Microsoft OneDrive, Backblaze, Email etc.
UpdraftPlus Premium Pricing: A personal license for UpdraftPlus Pro retails at $70 in the first year and $42 in subsequent years for 2 sites. Higher the prices of plan more access you have and 1GB of storage to Updraft Vault is included with all licenses as shown below:
If you don’t need any advanced features then better not to go for the premium version.
BackupBuddy is one of simplest plugins comes with a premium backup solution to duplicate, migrate and restore your WordPress sites and it comes with a total 1 year of Technical Support. It also supports remote WordPress backup storage like BackupBuddy Stash, Google Drive, Dropbox, Amazon S3, etc. and also, schedule automatic backups. There is ImportBuddy tool for the restoration process. Some features of BackupBuddy are:
- Migration of websites
- Replacement of URL
- WordPress security issues like hacks, malware, user errors, bad commands etc. are handled
- 1 G of Stash storage space (No need to use external storage locations)
- website staging and website cloning
Pricing: BackupBuddy pricing is as follows:
In the free version, you have an option to select between backing up your whole website or backing up some particular database tables or website files and these backups can be download directly to your computer or to Dropbox and can be scheduled to process anytime you like. Hence, you can restore them anytime.
There are additional features in the premium version of BackupGuard.
Pricing of BackupGuard Pro is as follows:
If you own a website, you must secure it and take precautions before something happens unexpectedly. So, the first step is to keep a backup of your website. We hope this article will help you understand how to backup your WordPress site. If you have any further queries, don’t hesitate to contact us.