When it comes to WordPress websites, your backup is your saviour. WordPress itself is extremely stable, however we tend to join so many plugins made by so many different programmers, that inevitably some time someone will make a mistake. When they do, you will need an extremely good backup platform.
I am a web design expert based in Port Macquarie Australia and I use UpdraftPlus on all my WordPress websites, because it is easy, its fast and it works without any 3rd party intervention or additional payments. If the site is still functioning, its a simple press of a button in the dashboard. If the site no longer functions then it is a simple ftp fo the files and database to your cpanel.
Backup Using cPanel
The simplest way to backup is in the installatron section of your web host’s cPanel. Here you can set a backup cycle which is basically set and forget. Use the spanner icon to enter settings and then set the backup cycle as required.
The backup cycle will depend on how often your website is updated and whether you are currently making regular changes. Note if you choose to use this method to backup, as well as Google Drive or Dropbox via a backup plugin, then you must exclude this folder in the plugin backups, otherwise you will bloat your storage, by backing up copies of websites and backups.
Plugin Backup Using Google Drive And UpdraftPlus
Since Im a web designer an I am responsible for many of my clients web sites, I prefer to have my websites backup not on my hosting companies server. My reasoning for this, is if my website crashes, there is a possibility it is due to my hosting server. so I dont want to lose both my website and my backup in any potential disaster or failure. Aside from that, its just best practice to have backups held in another location.
So for my offsite backups I use a perfect free combination, WordPress for your website, UpdraftPlus for your plugin and Google Drive for free storage. I have been eternally frustrated with so many backup plugins, till I found UpdraftPlus.
Here is how to setup your WordPress backups using Updraft and Google Drive
- In WordPress go to Plugins > Add New , then search for UpdraftPlus
- Install the plugin then go to UpdraftPlus Backups > Settings
- Set your backup schedule for the files and the database
- Choose a remote storage, in this case select Google Drive (how to get started with google drive)
- Below your choice will be a list of instructions, choose the “For Longer help” option and follow the instructions which are very clear.
- When you have setup your API and credentials on google drive in step 3, insert the Client Id: and Client Secret into the form on your UpdraftPlus settings page.
- UpdraftPlus should automatically pre fill these, but if it doesnt, here is the settings:
- Select folders to include and exclude, I select all the checkboxes
- In the exclude these: backup*,*backups,backwpup*,wp-clone,snapshots
- And in the “Any other directories found inside wp-content Exclude these:upgrade,cache,updraft,backup*,*backups,mysql.sql,debug.log
- Choose if you want to be emailed about backup success or failure. Initially this is great, it does get annoying, but it is important to know when backups fail, generally due to full storage.
- Save changes
- IMPORTANT – halfway down the page click the link to “Authenticate with Google”,if you do not do this step it will fail.
- It will ask you to associate your google account and to allow the app to access your google drive, click allow.
- Go to the Current status tab and you should see that your first backup has been scheduled
- If you wish to check everything works, select “Backup Now” This may take 5-20 minutes depending on your site size and hosting speed. Make sure you initially backup with all 3 checkboxes ticked and to remote storage. If you want to speed up a test, don’t tick the box to include the database.
We are available as web designers in Port Macquarie or via remote access. For all your WordPress needs please contact us.