fbpx

CyberPanel

1 – Automated Backups to AWS S3

< All Topics

CyberPanel is currently on version v2.0.3. This is the stable version of CyberPanel. CyberPanel v2.0.3 and above supports automated backups to AWS S3. S3 backups are configured through a cloud platform. Register your self on the cloud platform if you haven’t already, once registered you need to connect your server from here (subscription plan is required to connect servers, you can read more here).


How to Setup AWS S3 Backups on CyberPanel Cloud?

  1. Sign in to the AWS platform
  2. Sign to CyberPanel CLoud
  3. Manage Server
  4. Create Remote Backup
  5. Setup user in AWS IAM Console
  6. Configure AWS Account on Cloud Platform
  7. Create Backup
  8. Run Backup
  9. Backup Logs

Step 1: Sign in to the AWS platform

In order to setup S3 backups on CyberPanel Cloud. First of all need to login into your AWS Account click here to do so. If you don’t have an AWS account create one.

web vitals hero

 


Step 2: Sign to CyberPanel Cloud

Its import to log in on CyberPanel Cloud to initiate the backup process. Visit here and use your account details to log in to your account.

 

Screenshot 1

 

CyberPanel Cloud has many more features that you can avail of according to the Plan. You can get

  1. 1-Click email Fix
  2. 1-Click FTP Fix
  3. 1-Click DNS Fix
  4. SSL Fix
  5. And many more

 


Step 3: Manage Server

Once you logged in to your CyberPanel Cloud you can see the Servers option in the first place in your top menu.

Screenshot 3

 

Click on this Server Button you can see the servers you added to your CyberPanel Cloud account. On this page you can see three dots with every server you added by clicking these you can see three options.

  1. Manage
  2. Access CyberPanel
  3. Delete

 

Screenshot 4

Click on the Manage button and here the actual process begins. Here I added the Manage dashboard view.

 

Screenshot 5


Step 4: Create Remote Backup (S3 Backups)

On the Manage Dashboard, you can see the Remote Backup option in the top menu. Once you go on this option you can see the S3 option.

 

6

 

Click on this S3 option and navigate to the screen to setup S3 backup.

 

Screenshot 6

 

Here you can see that you need some information to connect AWS account. on this page, you can see IAM Console lets follow the next steps and setup all these.


Step 5: Setup user in AWS IAM Console

Once you are done with all steps. Go to AWS IAM Console you can see the screen.

 

Screenshot 7

 

Now you need to create a new user, in order to do this click on the user and new user. it is recommended that you only give this user access to AWS API (S3 related operations).

Screenshot 8

 

Add the name of the new user to any username you want to add and select Programmatic access that Enables an access key ID and secret access key for the AWS API, CLI, SDK, and other development tools.

 

Screenshot 9

 

Make sure this user has correct permissions otherwise CyberPanel will fail to upload backups to your buckets.

Select the Existing permissions and then search S3 in the search box and select all give below.

 

 

Screenshot 10

In the next step, you can see the tags that are optional if you want to add you can otherwise you can skip it.

Screenshot 11

 

At last, you have to review all information and then you can see the process completed. At last, you can see your keys on the screen.

12

 

Also, create at least one bucket, buckets will be used to store backups. One account is configured note down its Access key ID and Secret Access Key.


Step 2: Configure AWS Account

To configure AWS Account on platform visit:

https://cloud.cyberpanel.net/s3/<Server Name>/

Here you got all information by following the process stated above. You can get endpoints from here.

Screenshot 13 1

 

Here you can see that your server is connected you AWS.

Screenshot 14

 


Step 3: Create Backup Plan

It time to create a backup plan for your connected AWS account.

Backup plans are the starting point for your backups to S3. The backup plan defines the following things:

  1. Bucket: AWS Bucket to use for this backup plan.
  2. Frequency: How often this backup should run (Daily | Weekly)
  3. Retention Days: How many days a backup should be kept.
  4. Domain: Websites on your CyberPanel that should be included in this backup plan.

You need to create a bucket from your AWS account.

Click Here to create a bucket. You can see the create bucket button here.

 

Screenshot 15

 

On the next page please fill the required information and press the create bucket button.

Screenshot 16

 

To create a backup plan visit:

https://cloud.cyberpanel.net/s3/<Server Name>/manage/createBackupPlan

Now its time to add all information to the page

 

Screenshot 17

 

Replace the server name with the name of your server in Cloud Platform. Configure your plan and click Create Plan. Now depending upon your backup frequency backups will be scheduled to send to S3 storage. You can also force run backup at any point in time.


Force Run Backups

Backups are usually scheduled to run daily or weekly, but you can force run them at any point in time. To force run a backup visit:

https://platform.cyberpanel.net/s3/<Server Name>/manage/listBackupPlans

From there you can force backup to run at current point in time.


Backup Logs

The backup job runs in the background, for any backup plan you can view logs at:

https://platform.cyberpanel.net/s3/<Server Name>/plans/<Plan Name>

Replace Server and Plan name with Server and Backup plan name respectively.

Next 2 – Automated Backups to DigitalOcean Spaces
Table of Contents