As a server administrator I would like the option to backup remotely to Backblaze B2.
Something I've been doing in the meantime is using the b2-backblaze command line interface. https://www.backblaze.com/b2/docs/quick_command_line.html
A quick script similar to:
While this isn't perfect using the cPanel Custom Storage provider API, it gets the job done very quickly and effortlessly.
Thanks, can you share your Backblaze B2 script (obviously redacting your API Key) so that I can test this out?
Are you just scheduling a cronjob for this to run every so often?
The issue I'm having is that S3 isn't allowing backups over 5gb to be uploaded. I checked
which states the file should be chunked, however, it doesn't seem to work.
Hey guys! Would you mind taking this conversation to a private email thread? We try to keep the conversation on the request site specific to the implementation of the request at hand. Thanks!
Please can someone on here include me in that private thread? I don't know how to find it, or even how to convert this to a private thread. I'm interested in that Backblaze B2 script too please.
I meant actually send an email between those two interested parties. Perhaps it would be better on the cPanel forums?
Oops... I didn't understand. Sorry about that.
No worries at all! Once the forum thread gets created I will remove all of this conversation, to keep the comments section here clean and relevant.
I would like to have this added, as a very cheap and great backup option for WHM/cPanel. I have accounts over 100GB and this would be beneificial to backup to.
I am system administrator and would love to see this feature added. I am already successfully using BE with hashback via CLI, but having it as part of the cpanel/whm environment with a GUI would be of benefit to many people.
"I am already successfully using B2 with hashback via CLI"
Also voting for this feature. Backblaze B2 will definitely be a cost-efficient and convenient remote backup solution for cPanel servers.
I agree - while cost shouldn't be the only deciding factor in adding a cloud storage provider, it would be nice to see Backblaze added as one of the options in the WHM Backup screen - along with other poplular cloud storage providers like Google Cloud and Microsoft Azure. Of course my vote is for Backblaze because that's what I would like to use!! But still, the point remains valid.
For those of you looking for a temporary solution to this, you can sync the cPanel default /backup folder to B2 using rclone. This is better than B2 cli in my opinion because it supports things like chunking and encryption. https://rclone.org/b2/
Here is a simple script you can run as cron. Make sure it runs after native cPanel backups are complete. We do something like 4:30 AM as a start time replacing "com-domain-sub" with your bucket name.
Keep in mind that OpenVZ VPS's are susceptible to OOM killer. Although this shouldn't trigger OOM, just be aware that there will be a "spike" of memory use (like +1gb?).
Comments have been locked on this page!