Step by step guidelines for creating local incremental backups in CyberPanel
Backups are the primary concern of any website owner because they carry all of the information and the hard work of the many years you have put into your website. You can lose your website’s data in a moment due to uncertainty on the web. Nowadays, Cyber attacks are widespread, and hackers find loopholes to access your personal and professional information and benefit from it. It is essential to have a reliable backup system that secures your website’s data as a priority.
After reading this guide, you will understand the difference between a conventional backup system and an incremental backup system in CyberPanel, and how feasible it is for you to use incremental backups rather than a conventional backup.
At the end of the article, you will know the steps necessary to create local incremental backups in CyberPanel.
How to Create Local Incremental Backups in CyberPanel to Secure Your WordPress and Ecommerce Store
Table of Contents
If you want to create a local incremental backup system in CyberPanel, here is the step by step guide to do it.
- What Is CyberPanel?
- What is the difference between a conventional backup system and an incremental backup system in CyberPanel?
- Steps to create an incremental backup and restore your site in CyberPanel
- Example: Delete and restore a file with incremental backup
- Example: Restore your WordPress site from the incremental backup
What Is CyberPanel
CyberPanel is a web hosting control panel that allows you to install WordPress, Joomla, PrestaShop, and Magento with one-click. It is the best hosting control panel that you can install with one command on your CentOS server. Many professionals use CyberPanel to manage their sites by themselves, and in the same way, you can manage your sites from its simple GUI (Graphical User Interface).
If you have the technical knowledge, then you must understand the complexity of hosting a website by yourself without a web hosting control panel. It requires expertise on the Linux command line terminal to install the necessary prerequisites for running your WordPress website. Further, managing your site is also a proper job. Luckily, if you don’t have the technical knowledge, then you don’t need to learn it because CyberPanel provides pre-installed applications to install on your private or shared server with one-click. In the same way, you can create a local incremental backup in CyberPanel with one click.
There are two backup systems in CyberPanel that provide backups of your data, databases, and emails. Both backup systems allow you to take the backup of your website manually, or you can configure backups to run automatically on a daily or weekly basis.
The Conventional Backup System in CyberPanel
The conventional backup system takes a backup of your websites without knowing the repetition of your data, databases, and emails. For example, you have set a conventional backup system to take backup daily it will take a backup of your website without knowing the fact that today’s backup is similar to yesterday’s backup, and it takes the full backup of your website again that already exists. Ultimately, backup is consuming more disk space and bandwidth (if you are storing them remotely, more bandwidth will be used to transfer them),
The Incremental Backup System in CyberPanel
To resolve the problem of consuming more disk space by the conventional backup system, CyberPanel has recently launched an incremental backup system that takes a backup of only new data, databases, and emails. For example, if you have set an incremental backup system to a daily backup schedule, it will take a backup of only new data, databases, and emails that were added in the last 24 hours. Ultimately, the backup of your website consumes less disk space and bandwidth than a conventional backup system.
Steps to create an incremental backup and restore your site in CyberPanel
CyberPanel allows you to create an incremental backup of your website with few clicks. Let’s discuss the following in detail:
- How to create a website
- How to access the file manager of your site
- How to create a new file/folder in the file manager
- How to create an Incremental Backup
- How to restore your website through incremental backup in CyberPanel
How to create a website in CyberPanel
From the main dashboard of your website, you can create a website with one click. Navigate to Website > Create Website from the left menu bar and fill out the following information:
- Set the default package of your website from the scroll down menu.
- Set the owner of your website to the admin from the scroll down menu.
- Enter the domain name of your website.
- Enter the email address of your website. Later on, you can make a new email in CyberPanel for official use.
- Select the PHP version of your website from 5.6 to 7.3.
- You can choose any additional features that are available for your sites such as SSL (Secure Socket Layer), DKIM Support, and Open_basedir Protection.
- Click the Create Website button for the instant creation of your site.
Access Your Site’s File Manager in CyberPanel
Your site is successfully created. Next, we are going to access the file manager of your site, in which we make a new file in the public_html folder, and test the incremental backup of this site. For that, you need to go to Websites > List Websites > Manage:
Also, you can create a new folder or file in the public_html folder to make changes to your site from the graphical user interface with one-click. The File Manager is straightforward and carries prominent settings to make changes such as Delete, Add a new folder or file, and much more.
How to Create a New File/Folder in File Manager
- Navigate to the public_html folder of your site in File Manager.
- To create a file, click New File from the main menu bar on the top of the screen.
- Enter the file name. In this guide, we are going to create a file with the name of CyberPanel.txt. Once you enter the file name and click Create File, the file will be displayed instantly in your File Manager.
- Select the file and click Edit from the menu bar on the top of the screen. Add content to the file, just like in Microsoft Word, and click Save Changes.
How to Create an Incremental Backup
- Navigate to the main dashboard of CyberPanel, and click Incremental Backup > Create/Restore Backup from the left menu bar.
- Select your website from the scroll down menu bar.
- Select local in the Destination section.
- CyberPanel offers you the ability to take a backup of your site’s data, databases, and emails. You can select all of them at once, or you can select any of these three while taking an incremental backup of your site based on your requirements. But, the CyberPanel team recommends taking a full backup of your site, i.e. (Data, Databases, and Email), to avoid any problem in case of an emergency.
- Click Create Backup.
The incremental backup of your site based on Data, Databases, and Emails is stored, and the result looks like this:
How to restore your website through Incremental backup in CyberPanel
Click Restore Point in the Output section to restore your site. When you click it, the results look like this:
You can restore your website instantly with one click, or according to your requirements. For example, you can restore data that is on Job ID 19, emails that are on Job ID 20, and databases that are showing on Job ID 21.
Example: Delete and restore a file with incremental backup
Let’s take a look at how a Restore of your website works if we delete a bunch of files, including CyberPanel.txt, from the file manager. We can restore them from the local incremental backup that we just created.
Navigate to Incremental Backup > Create/Restore backup, and select the website. The last backup that has been taken either manually or automatically per your settings is going to be aligned at the top. Click Restore and restore your site’s data as seen in the following screenshot:
Visit File Manager for your site, and you will see the restored files:
Example: Restore your WordPress site from the incremental backup
Let’s discuss the real example of taking an incremental backup of your WordPress site and how it works. First, you need to set up WordPress on your site in CyberPanel. Navigate to Websites > List Websites > Manage > Application Installer > WordPress + LSCache and install it with one click. You can get help from this article on how to set up a self-hosted WordPress site for free in less than 10 minutes, if necessary.
Now, we are going to apply the theme on our WordPress and take an incremental backup. Afterward, we are going to delete WordPress from CyberPanel and restore it to demonstrate the functionality of incremental backup. You will understand that if a hacker tries to make changes to your site, that an incremental backup is available to restore your site with one click. It gives a clear process to use the incremental backup as the most reliable backup system for your websites.
Take an incremental backup of the WordPress site in CyberPanel to save the changes to the theme. You can see in the following screenshot that the backup is stored:
Like in the previous example, go to your site’s File Manager and into the public_html folder that carries all of the files of your WordPress as seen in the following screenshot, and delete all of them:
Navigate to Incremental Backup in CyberPanel and restore Job ID 22, 23, 24 of your site’s data and databases in the same way as before. You can see in the following screenshot that shows the restoration:
Also, the WordPress site is live again after restoration from local incremental backups stored in CyberPanel:
In this guide, we have successfully demonstrated the functionality and difference between conventional and incremental backup systems in CyberPanel. You must have learned the simple functionality of our backup system that is available to use with a few clicks. Most of the professionals in the world use CyberPanel to secure their websites with an incremental backup system that consumes less storage and bandwidth of your server. We have covered two examples that practically showed you the results by deleting all the files in the public_html folder in File Manager. Similarly, you can restore your site data, databases, and emails with one click from our latest feature of Incremental backup.
Moreover, you can easily install CyberPanel with one command with the help of a professional setup guide on the Cyberpanel website.
You already know, backups are very essential to small or large scale business growth and sustainability and this guide simplifies the process of creating local incremental backups in CyberPanel as against conventional backups.
With this guide, I’m convinced you should be able to create local incremental backups in cyberpanel without hassle to secure your WordPress and e-commerce store. If you have comments or additional tips, kindly share below.