fbpx

When you have an active and working website you always have to take care of your data.

What happens if you suddenly see that your website is not working, or your data on the website is deleted or your website is hacked, or some update crashed the whole website. Oh, it’s a very critical and dangerous situation for you.

Now, to avoid this type of situation you need to set up a proper backup for your website. Backups are always proving as useful and important for you.

CyberPanel Cloud brings a new exclusive feature for you to set up your backups with CyberPanel Cloud.


Follow steps to setup Backup:

  1. Login to CyberPanel Cloud
  2. Manage Your server
  3. Setup backups for your website
  4. Restore Backup from Cloud

Login to CyberPanel Cloud:

To set up cloud backups you need to login to CyberPanel Cloud first.

Visit https://cloud.cyberpanel.net/ and log in by providing the login details.

 

 

If you do not have an account, please create an account and buy a suitable plan from the Cloud. Read more about plan and Cloud here https://cyberpanel.net/docs/what-is-cyberpanel-cloud/


Manage Your server

Once you logged in you can see the different options. On the top menu, you can see the first option Servers.

 

Click on this server button and you can see all your server you added to CyberPanel Cloud.

On your server, you can see three dots on the top as shown below. Click on this button.

 

You can see three options

  1. Manage
  2. CyberPanel Access
  3. Delete

Click on the manage button here.

 


Create Backup For your Website:

Here in this manage Dashboard, you can see the websites that you added below. There is a Launch button for each website as shown below. Click that launch button.

 

Once you get in the manage website option here you can see the Cloud Back option when you click on you can see a Create Backup option.

 

 

Here you can see the option for which you want to add backup. The most important thing you have to take care of that is what you want to include in a backup.

  1. Data
  2. Databases
  3. Emails

If you do not select any option nothing is included in the backup but a backup file will be created and a backup added.


Restore Backup From Cloud:

Here is another exciting and important feature that you can restore your backup from the backup page.

Below the create backup button you can see the restore button if you want to restore backup instantly you can restore the backup by just clicking the restore button.

 

 

 

 

CyberPanel version v1.9.1 added support for the incremental backups. However, you were not able to restore backups from remote servers. With the release of v1.9.2, you can now restore backups from remote destinations. For this to work, you need to follow these tutorials:

Before moving on with this tutorial, I assume that you already have incremental backups somewhere on an SFTP server or your AWS account. Let say you had a server where you added AWS S3 as a remote destination for remote backups and then you scheduled to run backups every day. You then set up a separate CyberPanel server where you want to use those backups to restore a site, in this article we will see how exactly we can do that.


Step 1: Install CyberPanel and Create a Site

On a new server, install CyberPanel and then create a site that you want to restore. Now using Add/Remove Destinations for Incremental Backups add the same destination to the new server that you just set up.

Please note that whenever you create an incremental backup a new password-protected repository is created where your backups are hosted, the password is emailed and saved on /home/domain.com/domain.com file. Make sure you have this password in a safe place, otherwise you can't use this feature to restore a site on the new server.


Step 2: Restore Website from Remote Destination

Go directly to  :8090/IncrementalBackups/restoreRemoteBackups or Incremental Backup -> Restore from Remote

  1. Select the site you want to restore.
  2. Select the destination you want to restore it from, make sure you add this destination as described in Step 1.
  3. Enter repository password, which you can find in your old server at /home/domain.com/domain.com this password is also emailed to you during the creationg of the repository, so make sure you have this password in case the email is not delivered (you can read it from server file and save locally).
  4. Finally, click Fetch Restore Points.

Restore Meta

On top, you will see a restore point with a path like /home/domain.com/meta.xml. Make sure this is the first thing you restore, this will help create any child-domains, email records or databases that you had in your old server.

Restore Data

After restoring meta, the next thing you need to do is to restore Data, its path will be like /home/domain.com. After restoring data, you can move on to restore databases and email in any order you like, if you don't need any database you can skip as well.

chevron-down