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.
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.
Go directly to :8090/IncrementalBackups/restoreRemoteBackups or Incremental Backup -> Restore from Remote
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.
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.
CyberPanel supports one click back/restore for your accounts.
Taking complete backup of a website account is simple.
Main » Backup » Create Backup
It will take some time depending on the amount of space the account is using.
Backup location is:
Note: You can close the window and come back later to check the status of backup creation.
Backup restore only works with backups generated through backup generation tool in CyberPanel.
Main » Backup » Restore Backup
Place your backup files under
This will detect all files under
/home/backup/. It may take some time, you can also leave the window and come back later to check.