How to Automatically Backup Websites Using the UpdraftPlus Plugin-Google.com – We don’t know what will happen to the websites we manage, whether a few seconds later the website suddenly crashes or attacks hackers or viruses.
How to Automatically Backup Websites Using the UpdraftPlus Plugin 2021
If that’s the case, what’s more, you didn’t back up files and databases. The results of the hard work you put into the website will just disappear. Of course, you don’t want that to happen.
- How to Create Your Own Blog Easily and Easy Way to bloggers
- What is a blog and what differentiates it from a web page?
Therefore you must diligently backup. Backups are not as complicated as you think, i.e. having to open cPanel or ssh, set this and that. Or think that scheduled automatic backups are costly and expensive.
No, none of that is true. If you are a WordPress CMS user, you can use a plugin called UpdraftPlus. The plugin has a lot of users with pretty good reviews.
Key features found on UpdraftPlus and it’s free:
- Schedule Backup: Back up data according to a schedule
- Remote Storage: Store files outside the hosting storage. There are several options including Google Drive, Dropbox, and others. Storing outside of hosting is a good option because if the server you rent has a problem, the backup file is still safe because it is stored in another storage.
- Migrate / Clone: Feature to migrate from old hosting to new hosting, or to clone from domain A to domain B.
1. Install Plugins
First click the Plugin menu then select Add New, after in the search field write UpdraftPlus, the UpdraftPlus plugin will appear then click Install and Activate.
Now you can just go to UpdraftPlus settings, click Settings. To start setting, at the top there is a setting for Schedule
File backup schedule: To back up Files and Folders stored in Public Html on a scheduled basis
- Database: To back up the database (MySQL) on a scheduled basis
A. Set Schedule
Schedule Suggestion For File Backup
There are several scheduling that you can choose, starting from every 1 Hour (Hours) , 4 Hours (4 Hours), 8 Hours (8 Hours), 12 Hours (12 Hours) and Daily (Daily), Weekly (Weekly), every 2 Week (Fourgnightly) to Month (Monthly)
For your own schedule, you can set it yourself according to your website activities. Our advice, if the production is a lot of content and also every day made by several Authors, you can set it between 1 – 12 Hours.
Meanwhile, if you only update one content a day, my advice is to choose Daily, then if you only update once a week, choose Weekly.
Schedule Suggestion For Database
In addition, for database backups, my suggestion is to choose Daily, why does it have to be every day? the article is like comments will go into the database, so even if you update content only weekly, there are comments every day.
It turns out that at any time bad things happen, the website suddenly crashes. If the file has entered the backup schedule, the content is still saved. However, if the latest database containing new comments has not been backed up, the new comments will be lost.
For retain settings, you can set them from 2 to unlimited, according to the storage capacity you are using.
The purpose of retain is to hold how many files will be stored on storage. If the schedule is set to Daily and the retain setting is set to 2, it means that there will be two backup files that will be stored between the first day and the second day, after the third day the backup files from the first day will be deleted automatically.
There is also another example if the schedule is weekly and the retain setting is entered 4, it means that it will store four backup files from the first to the fourth week. After the fifth week, the first one will be erased.
C. Remote Storage
Now on Remote Storage, you have to choose which storage media will be used to hold the backup file.
If I myself choose Google Drive. But you can also choose registered remote storage including Dropbox, Google Drive, Amazon S3, UpdraftVault, Rackspace Cloud, FTP, DreamObjects, Openstack Swift, Email, Microsoft OneDrive, Microsoft Azure, Google Cloud Storage, Backblaze B2, SFTP, SCP, and WebDAV.
For authentication between the website and Google Drive, click Save Changes at the bottom, a button will appear to go to your Google account login.
Sign in with your Google account, then Allow UpdraftPlus to manage your Google Drive account, in order to upload backup files.
Finally click Continue, to confirm Google Drive Authentication with the UpdraftPlus plugin plugin
D. Include in files backup
For settings in which files will be backed up, I do not interfere with this setting. All checked, so all folders are saved including the folders
Meanwhile, the Exclusive section is also checked, which is where the settings will not back up in the folder: (*backups, backup* wp-clone, snapshots) and also from the wp-content directory will not backup (upgrade, cache, updraft backup* ,*backupsmysql.sql, debug.log)
The point is that you can ignore this setting because it’s already a good recommendation.
Check the e-mail to get a notification of what happened to the UpdraftPlus plugin.
Click Save Change to save all settings, and also most importantly check Google Drive Authentication whether it is connected or not. Because if it is not authenticated, the backup file will not be stored in Google Drive but will be stored on the host storage that you are using.
Then the last step, go to the Backup / Restore menu, click the Backup button to start backing up files and databases, and also start the schedule you have set.
Oh yes, pay attention when you click Backup, if you start the backup at 13:00 WIB, later the next backup will also be at 13:00 WIB. So my advice, start clicking Backup when the hours are quiet, for example at 02:00 WIB, which is Morning.
Because when the backup will use the hosting/server performance resources that you use, especially the CPU.
3. In order not to burden the CPU.
If you choose a daily backup schedule, it will certainly burden hosting/server resources. Now to lighten hosting performance, my advice is to use the Incremental Backups feature, this feature is Premium so you have to pay for the license.
How Incremental Backups work, first the backup will be done in Full Backup, then the next backup only saves and adds new files. As a result, it won’t be resource-heavy and you won’t be backing up from scratch like the built-in schedule backup feature, which will take a long time.
Moreover, the files being backed up are large enough up to Giga-Bytes or up to a dozen Giga-Bytes, of course, it will take a long time and resources will continue to be boosted according to the length of the backup process.
For detailed information, check this page: Incremental Backups
If the resources are not sufficient, the website will be down or the message ‘503 Service Unavailable’ will appear.
But if the backup file size is still hundreds of megabytes, just use the free version.
Well, that’s how to automatically backup CMS WordPress, it’s free and powerful! If you have any questions, you can write them in the comments column below.