As a result of massive user interest and most upvoted feature requests, CyberPanel has added the option to save backups to Google Drive in version 2.0.2.
You can configure as many Google Drive accounts and configure each account with the different or same set of sites for backups.
1. Login to your Cyberpanel
Use your Cyberpanel credentials to log in
2. Go to Backup → Set up Google Drive
3. Click on “Setup new account”
4. In the pop-up box, enter any name you want to use
5. Allow CyberPanel to save backups to your Google Drive
You will have to log in to your Google account if you aren’t already logged in
That’s it. You have successfully set up periodic backups to your Google Drive. CyberPanel makes it easy for you to set up direct backups to Google drive in less than 5 minutes
Troubleshooting redirection from platform to cloud
We have recently shifted the support URL from platform.cyberpanel.net to cloud.cyberpanel.net. If you are being redirected and unable to setup, please upgrade Cyberpanel and try again
I’m really struggling with this feature. I have no idea how I can check if it’s working, as there is no feedback on when the next scheduled backup is run, when the last backup is run, if there’s a way to manually start a backup.
Confirmed! This seems to work to invoke the first backup. I used word “Weekly” in my command and got an immediate response in the View Logs (Git Logs) GUI.
Hello, I found this feature very successful, but I cannot start a backup at the time interval I want. e.g; It starts taking backups every day after 12 pm, but I want it to backup around 3 am. Where can I change this setting?
You are not required to connect your server to cyberpanel cloud. Its a paid service offered by the team to add some extra tools to the opensource cyberpanel. Some tools are outdated though (like the upgrade process tool).
You should be good with the cyberpanel installation itself without connecting to cyberpanel cloud.
And yes, this is not any scam. Cyberpanel is a project started by cyberpersons team which is started by Usman Nasir. You can proceed if you wish to connect to cyberpanel cloud tools.
I have found a few significant bugs with Google Drive backups (and perhaps all backups).
I just Deleted a website and then Restored the backup that was in Google Drive. But there’s a bunch of stuff missing.
SSH Access Public Key is gone
ALL custom changes that I had made to the vHost Conf are reset to the defaults now. Both for the parent and child domains.
This seems like a significant problem. I only wonder what else is not being backed up by the backup mechanism…
Having good, reliable backups might be the most important feature in a control panel and it seems like none of the mechanisms work properly right now. Combined with Incremental Backup Restore not working (because restic doesn’t do proper restores), I think it should be a top priority to fix these all at once. I would be happy to help with the rclone/restic incremental backup mechanism since I already have looked into it a lot - but my lack of skill and lack of time mean that you have to take the lead.
Edit:
I just did a normal backup on a new/empty Website and the same thing happened. No SSH saved, vHost changes not restored. Rewrite rules seem to have been restored.
Custom vHost configis were already being saved in case of LiteSpeed Enterprise. I’ve done this long time ago, I don’t remember exactly but earlier due to the way configs were designed I had to restore OLS configs to default.
Now vHost configs will be retained in both cases (LiteSpeed Enterprise and OpenLiteSpeed). I will run further test cases to see everything runs smoothly.
Regarding saving keys, I am not so sure about them, will look into that later.
Thanks! I’ve created a test site and will test it tomorrow since it seems that I can’t run a Google Drive backup On Demand and therefore have to wait until midnight for it to happen automatically.
Perhaps while you’re looking at this, you could add functionality for On Demand Google Drive backups? Surely it would just be one button that calls the Backup function…
@usmannasir I just restored the backup and it looks like the vhost settings were saved/restored correctly. I look forward to the ssh keys being saved as well, and hopefully a manual/on-demand Gdrive backup button.
Option to choose to Backup all created and future sites automatically.
OR
Option to backup the entire account, as cPanel does, the entire user is backed up, with all the sites inside.
Is this possible in the future?
Or is there already a script that every time you create a website, it already activates its backup on google drive too?
When I set up the gdrive backup, nothing is uploaded automatically
Do I have to pay attention to something or did I do something wrong?
I have followed the instructions here.
It seems, it only backup the files, it does not include the database! The feature should be improved, so it generates the backups of the databases too!