π― Whatβs the goal? To successfully enable a backup solution for your WordPress Website and allow you to always restore your website from it. | β οΈ Why does it matter? Critical issues can arise either through a mistake by your web hosting company, a faulty plugin or theme, a corrupted upgrade and many more (hacking). Having a solution that allows you to recover your hard work and get your website up & running from a backup in less than an hour is critical. |
π Whatβs the result? Your WordPress creates backups of your website to selected cloud services, on a regular basis, and you are able to restore your website from those files. | β When do you do this? A backup solution should be installed as soon as possible. Restoring from a backup should only be used if necessary as the process may cause data loss itself. |
β
Any special requirements? This SOP only works for WordPress websites. | πββοΈWho should do it? The person responsible for managing your website. |
π Where this is done: IIn your WordPress Admin panel.
β³ How long will this take? 20 – 45 minutes
Now letβs secure and store files of your website
Environment setup
- Make sure you use Google Chrome browser to navigate the web,
- Access to your WordPress Admin Panel.
Installing UpdraftPlus WordPress Plugin
- βLog Inβ to your WordPress Admin Panel.
- On the left-side menu navigate to βPluginsβ, then click on βAdd Newβ.
- Type in βUpdraftβ in the Search Box.
- In the search results, you should find UpdraftPlus WordPress Backup Plugin by UpdraftPlus.com and DavidAnderson
- Click on βInstall Nowβ.
- Then, on βActivateβ.
Configuring UpdraftPlus WordPress Plugin storage
- Once you log in to your WordPress Admin Panel,
click on βSettingsβ on the left side menu.
- From there navigate to βUpdraftPlus Backupsβ.
- Choose the βSettingsβ tab.
- The first option you can adjust to your preferences is βFiles backup scheduleβ.
Your files do not include your website content, it only includes files and folders on your server (e.g: Your plugin files, your theme files, your uploaded images, etc)
- You can set if you want the backup to take place in predefined time intervals ( e.g: if you set this option to βDailyβ, your site Files backup will be performed automatically every day) or you can leave it to βManualβ so you will have to do it manually.
- Then there is an option that allows you to set how many backup files you want to store at one time (e.g: if you set this to β3β, every 4th backup will overwrite the oldest one).
- The second option that you can adjust is βDatabase backup scheduleβ.
Your database does not include your entire WordPress website, instead, it will include, for instance, your Blog Posts, Pages, Comments and some settings.
- For this option, you can adjust the same parameters as the previous one.
- Finally, you should choose your βRemote Storageβ for your backup files.
You can choose more than one storage. For this SOP we will choose βGoogle Driveβ.
- Select the desired storage option by clicking on it. In this case, this will be βGoogle Driveβ.
- You can rename Google Drive folder that will be created for storing your backup files.
- Then scroll down and click on βSave Changesβ.
- βRemote storage authenticationβ pop up window will appear. Click on the provided link.
- Sign In with your storage provider account (In this case Google).
- Click on βAllowβ.
- You will be redirected to the last step of verification. Simply click on βComplete Setupβ.
- You should see the βSuccessβ notification.
Creating a backup file with UpdraftPlus WordPress Plugin
- On the left side menu of your WordPress Admin Panel choose βSettingsβ.
- Then click on βUpdraftPlus Backupsβ.
- Choose the βBackup / Restoreβ tab.
- Click on βBackup Nowβ.
- A pop-up window will appear. You should leave the first three options βselectedβ.
You can enable the last option if you want to allow this backup to be deleted ONLY manually (e.g: if you create βthe main backupβ as a last resort option).
- Then click on βBackup Nowβ.
- Wait for the backup process to end.
- Now your newly created backup should be visible on the βExisting backupsβ list. You can even download it directly from here (βclick to downloadβ).
You can always download your backup files directly from selected cloud storage.
Restoring your WordPress site from the backup file
- Once you log in to your WordPress Admin Panel, click on βSettingsβ on the left side menu.
- Click on βUpdraftPlus Backupsβ.
- Choose the βBackup / Restoreβ tab.
- Scroll down to βExisting backupsβ list.
- Find the backup file you want to use and click on βRestoreβ next to it.
- Now choose the components to restore on your site.
- For example, if you want to restore your βDatabaseβ, select it.
You can choose multiple components.
- Click on βNextβ.
- Your backup file will be downloaded.
- After downloading, click on βRestoreβ.
- Wait till the end of the restoration process.
- Once βFinishedβ your site should be restored!
There you have it! Now if something goes wrong with your website you can always try to restore it to the previous state. Trying new features is always easier when you donβt have to worry about losing your content.