How to Create CyberPanel Backups

How to Create CyberPanel Backups

CyberPanel free and enterprise editions have the ability to manage website and system backups. The CyberPanel backup features also allow sysadmins to automatically create and transfer archives.

Some of the features explained below are not stable.

Manually Create CyberPanel Backups

This section covers how to create a full website and server backup now.

  1. Log into CyberPanel.
  2. Select Backup > Create Backup.
  3. Choose the website from the drop-down menu.
    Manually create CyberPanel backups
  4. Select a destination from the second drop-down list. “Home” stores backups in the website’s backup directory (e.g. /home/example.com/backup/).
  5. Select Create Backup.
  6. You can delete backups from the list at the bottom with the red “X” button.

Remote Backup Migration

CyberPanel makes it easy to transfer data to another CyberPanel server and a Google account.

Backup > Remote Backups – From here you can import sites from another CyberPanel server. Once you type the server IP address and admin user credentials for that external server, you’ll be able to list sites available to import.

Import remote CyberPanel server backups

Backup > Setup Google Drive – CyberPanel Google Drive backups can be configured once you create an account with the developer company site, Cyberpersons.com.

Connect Google Drive to CyberPanel

Schedule CyberPanel Server Backups

This section covers automating full system backups.

Manage Server Backup Destinations

First, create any custom local or SFTP storage locations necessary.   

  1. Select Backup > Add/Delete Destination.
  2. Select local or SFTP from the drop-down menu.
    Configure a CyberPanel backup destination
  3. Configure the backup destination.
  4. Select Add Destination.
  5. You can delete backups from the list at the bottom with the red “X” button.

Create a Server Backup Schedule

Ensure rsync is installed before automating backups.

  1. Select Backup > Schedule Backup.
  2. Select a destination created during the “Add/Delete Destination” steps above.
    Create a CyberPanel backup schedule
  3. Add a name for the backup schedule.
  4. Select Never, Daily, or Weekly from the frequency drop-down list.
  5. Specify the number of backups to retain (“0” means no backups are deleted automatically).
  6. Click Add Schedule.
  7. Refresh (F5) the page.
  8. At the bottom, under “Manage Existing Backup Schedules,” select the destination.
    Select CyberPanel backup destination
  9. Select the job, or backup schedule, you just created. This is also where you can delete a backup schedule.
  10. Select individual sites from the list to backup, then Add Site. Or, select Add All.
    CyberPanel backup schedules

These steps did not work properly when we tested CyberPanel 2.3. If you have issues, we recommend instead creating manual backups or creating a backup cron job until this function is fixed.

Restore a Server Backup

This feature restores scheduled backups. Note that these steps did not work properly during our CyberPanel 2.3 testing.

  1. Select Backup > Restore Backup.
  2. Select a backup from the drop-down menu.
  3. Make changes as needed.

CyberPanel Incremental Backups

Unlike a full backup, an incremental backup only stores changes since the last full or incremental backup. Incremental backups cover you between a full backup schedule set to weekly or longer.

Note that differential backups (not an available feature in CyberPanel) include data that changed since the last full backup.

Manage Incremental Backup Destinations

First, create a destination.

  1. Select Incremental Backup > Create/Restore Backup.
  2. Select a website from the drop-down menu.
    Run a CyberPanel incremental backup
  3. Select a destination from the list.
  4. Check the boxes for what you wish to backup (data, databases, and emails).
  5. Select Create Backup.
  6. At the bottom, select Restore Points to restore the data types or delete the backup.

Schedule Incremental Backups

Ensure rsync is installed first.

  1. Select Incremental Backup > Schedule Backups.
  2. Select a destination created earlier.
  3. Select a frequency (daily or weekly) that fits how often you make changes to your data.
  4. Set the backup retention amount (“0” means no backups are deleted automatically).
  5. Check boxes for what you want backed up (data, databases, and emails).
  6. Select Add Destination.
    Schedule Incremental CyberPanel backups
  7. As the account search bar doesn’t work, you’ll need to select Edit at the bottom.
  8. Click the Add Sites tab.
    Edit CyberPanel incremental backup job
  9. Choose a website from the drop-down list and select Add.
  10. Repeat the previous step until you’ve added all necessary websites.
  11. Click the Sites tab to review or remove any sites.

Manage Incremental Destinations

Follow these steps to add remote SFTP and AWS backup locations.

  1. Select Incremental Backup > Add/Remove Destinations.
  2. Select a type from the list (AWS is added by default).
  3. Add the AWS_ACCESS_KEY_ID.
  4. Add the AWS_SECRET_ACCESS_KEY.
  5. Select Add Destination.
Integrate CyberPanel with AWS

Restore Incremental Backup from Remote Destination

Follow this after restoring a full backup, if you’ve created incremental backups.

  1. Select Incremental Backup > Restore from Remote.
  2. Select a website to restore.
  3. Choose a destination.
  4. Type the backup password.
  5. Fetch Restore Points.
  6. Make changes as needed.

Continue learning about how to get the most out of your CyberPanel server.

With our Cloud VPS plans, you can deploy a lightning-fast, reliable cloud platform with built-in redundancy – ensuring the availability of your environment!
IC
InMotion Hosting Contributor

More Articles by InMotion Hosting

Comments

It looks like this article doesn't have any comments yet - you can be the first. If you have any comments or questions, start the conversation!

Was this article helpful? Let us know!