cPanel & WHM Version 94 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!
This object is in archive! 

Amazon S3 integrated into WHM as a backup option

spaceman shared this idea 8 years ago
Completed

As a hosting provider, I'd like to see Amazon S3 integrated into WHM as a backup option, so that I can backup my customer data to Amazon S3.


I think the subject line says it all.


Here also: http://forums.cpanel.net/f145/backup-aws-s3-146149.html (apparently "filed with developers")

Best Answer
photo

Using Amazon S3 as a backup destination is a feature of cPanel & WHM version 11.42. We released the production version of 11.42 on Jan 28, 2014. It is currently deployed to EDGE and CURRENT.

Comments (49)

photo
4

This would be very useful. Let's do it!

photo
2

Hugely important.


Currently, my host doesn't offer extra drives OR nas space. basically, in order to have backup, you need to off-load it somewhere.


I'm doing it manually now, when i can get to it. Automated would be FAR better.


The biggest issue is s3's 5gb put limit per file. The backup needs to be split if larger than 5gb into seperate tar archives, and then cpanel would need to cat 'em back together.

Or something, i'm no expert. I know amazon has an api to manage the file spit as it pushes, but i'm not sure the exact way to pull that off either.

photo
2

why can you not just FTP it using the existing option(s) in cpanel backup to wherever you want ?

photo
2

Not so easy. Amazon S3 is not allowing direct access via FTP:

https://forums.aws.amazon.com/thread.jspa?messageID=409668


You have to enable SOAP to push files into the buckets.

Yet, it would be interesting to have this feature.

photo
1

This is a huge important feature to have.


I bought one of the aftermarket scripts, but its useless for files over 2gb as it doesn't use the part separation concept that amazon uses.


I'm willing to pay money to have this made, either by cpanel or a 3rd party that can take a 100gb nightly backup to s3.

photo
2

moved to in progress. GREAT NEWS


thank you cpanel!!!!!!

photo
1

Moved to "in progress" yeeehaaaa :)

photo
1

Yees :-)

photo
1

Finally in progress! Thank you! ;)

photo
2

This feature can't be completed soon enough. Thank you for starting work on it.

photo
1

in progress! thank you.

photo
1

Please add this feature. That'll really change how cPanel work for me! Great help/

photo
1

please add this feature PLEASE PLEASE PLEASE!!!


We would then be able to offer guaranteed backups to our clients.

photo
1

There's a third party one here - s3backupwhm.com

photo
2

Not everybody can afford to pay for the script that Amazon S3 is selling. Price is too steep. A very useful and important feature that cPanel should seriously look into and add on to widen it's customer base.


I'd really like to see this feature available for cPanel users. With all the crazy hackers activities going on, at least this can help to ease our headache a lot. Backups and securities are the top most priorities to all webmasters.


Come on cPanel...let's do it!

photo
1

Very excited to see this is in progress!!!

photo
1

Loving to see this as an up and coming feature. So important!

photo
1

I'd love to see this released soon.

photo
2

Moderator: this thread is for discussion of Amazon S3 support in the native cPanel & WHM backup system. Comments about alternatives are off-topic.

photo
1

We hope this feature become available soon, IT would be a very welcome addition to cpanel

photo
1

The new backup system for cPanel is great! Using a Custom Destination, S3 is now possible without a complicated script. This script integrates with the new cPanel backup system released with cPanel 11.38.

https://github.com/benjy14/cpanel-to-s3

I've been using this and it has worked well with my cpanel server! I would hope a straightforward solution like this could make its way to be an official backup destination.

photo
1

Adam Wilson wrote:

There's a third party one here - s3backupwhm.com
That's the one I use that as above fails on larger files. doesn't support the amazon split/transaction protocol.

photo
1

truemedia wrote:

The new backup system for cPanel is great! Using a Custom Destination, S3 is now possible without a complicated script. This script integrates with the new cPanel backup system released with cPanel 11.38.

https://github.com/benjy14/cpanel-to-s3

I've been using this and it has worked well with my cpanel server! I would hope a straightforward solution like this could make its way to be an official backup destination.

This also fails for anything of size. works fine for basic sites, but for those of us with million + post forums and attachments, it doesn't cut it.

photo
1

cpanel, any info on when we might see this in a build?

photo
1

Using Amazon S3 as a backup destination is a feature of cPanel & WHM version 11.42. We released the production version of 11.42 on Jan 28, 2014. It is currently deployed to EDGE and CURRENT.

photo
3

briansol wrote:

This also fails for anything of size. works fine for basic sites, but for those of us with million + post forums and attachments, it doesn't cut it.


That shouldn't be a problem for our solution. We implemented support for Amazon's protocol for uploading files larger than a few GB. And verified it ;)

photo
1

Great news that we have a release where this is going to be available !

photo
1

Glad to hear this will become a feature. Cant wait to start using it :D

photo
1

Kenneth Power wrote:

That shouldn't be a problem for our solution. We implemented support for Amazon's protocol for uploading files larger than a few GB. And verified it ;)

Awesome. Can't wait for this. is it in the edge pipeline soon?

photo
1

When is 11.42 going to be released?

photo
2

Hopefully 11.42 brings support for Glacier as well.

photo
1

Juanzo wrote:

Hopefully 11.42 brings support for Glacier as well.
Glacier, to my knowledge, is a different service. It will require a separate feature request.

photo
2

@Kenneth, Juanzo:

Indeed, Glacier is a parent service useful for those using S3, BUT IT'S UP TO EACH USER to enable it, and decide to use it, and configure a rule to move files from S3 to Glacier. Glacier is a low availability, low price, huge capacity, archiving service, used to move your very old S3 files to keep backups of very very very old and unused, yet important, contents. It's very cheap to keep it but they (Amazon) will charge you to download archived files. In fact, you cannot directly download anything from Glacier whenever you want: your files are archived in the deep core of low response Amazon servers, so you have to ask for a specific set of files and they will prepare the files in a couple hours, and they will charge you EVEN if you DONT download those files. I personally use it to store my 70 GB of family photos & videos older than 2 years, just in case, you cant trust commercial hard drives, you know.

photo
1

@kenneth - are you able to give any details on how the S3 backup will work?


For example:


* whether local cpanel backups can be automatically deleted after backup to S3?


* whether the cpanel backups can be done one account at a time (backup account, transfer to s3, delete the local account backup)? This is extremely useful for cpanel environments with limited disk space.


Thanks!

photo
1

Does anyone know when 11.42 is available?


The option of backup in Amazon S3 is to important, it will be incremental as well?


What are you thinking can you tell us what option or none, it will have?


Best Regards

photo
2

@Kent Brockman: thank you for the additional information on the Glacier service.


@others: cPanel & WHM version 11.42 is due to appear in the EDGE tier sometime this month. We have an alpha release available now. If you wish to check it out, please join our edge-users mailing list for more information.


The way the cPanel & WHM backup system operates has not changed. The main process creates the backup tarballs and another process copies them to the remote destination(s). After copying to all remote destinations the backup file is deleted or retained depending upon your configuration.


As with the other remote destinations, we only support sending tarballs to the Amazon S3 service at this time.

photo
1

Kenneth Power wrote:

@Kent Brockman: thank you for the additional information on the Glacier service.


@others: cPanel & WHM version 11.42 is due to appear in the EDGE tier sometime this month. We have an alpha release available now. If you wish to check it out, please join our edge-users mailing list for more information.


The way the cPanel & WHM backup system operates has not changed. The main process creates the backup tarballs and another process copies them to the remote destination(s). After copying to all remote destinations the backup file is deleted or retained depending upon your configuration.


As with the other remote destinations, we only support sending tarballs to the Amazon S3 service at this time.

Hi,


First at all thank you for provide us this platform.


My question is...will cPanel allow us to clean old backups on Amazon S3 or select if we want to keep weekly backups only?


Thank you!

photo
1

Kenneth Power wrote:

That shouldn't be a problem for our solution. We implemented support for Amazon's protocol for uploading files larger than a few GB. And verified it ;)
Yeehaaa.. Can't wait to start using it

Thanks Cpanel!

photo
1

Thank you!


It would be great if SYSTEM backup files would be uploaded to S3 as well, not just USER files (or at least make it an option)?


For deleting old files from S3 you can make lifecycle rules in AWS control panel (delete files more than X days old).


A Lifecycle tag could also be sent by WHM depending on how many days the backup files are set to be saved.

photo
3

Uhm, doesn't do incremental backups?

photo
1

Would be useful to be able to do incremental backups from cpanel to amazon.

photo
1

Can someone provide step by step instructions on how to use backup in WHM/cPanel with Amazon S3 destination

photo
7

So near, yet so far...

We've recently upgraded one of our servers to WHM 11.42 and have started using the option to backup to Amazon S3.


BUT.... and it's a pretty big but... backups to Amazon S3 are bound to occur with exactly the same frequency as the local backup schedule. There is no option to have one schedule for the local backups, and a different schedule for the remote backups.


So what I was hoping for was a solution that would allow me to backup daily to a local resource, and less frequently, e.g. weekly, to Amazon S3.


The BIG problem now is that my data transfer costs (to the remote location) are going to go through the roof. It pains me to say this, but it makes the currently implemented Amazon S3 backup option in WHM 11.42 unworkable for me because it's unaffordable.


IMHO a quick fix solution would be to have two rows in the "Scheduling and Retention" section of the Backup Configuration page:


Row 1: Local Backups (i.e. as it is now)

Row 2: Additional Destinations


So in our case we'd have every day checked in Row 1, and probably just 1 of the days checked in Row 2.


No doubt other would like finer-grain options than this.... but for now this would probably work well for most.


Please, pls don't leave it too long to fix this IMHO glaring oversight.

photo
4

someone said this


**What we really need is to have one schedule for local backups (e.g.

daily), and a different schedule for remote backups (e.g. weekly).**


exactly what we need TOO!

photo
1

I thought all data transfer to AWS S3 is free?


http://aws.amazon.com/s3/pricing/

photo
2

inbound BW is free, storage space is not free and expensive

photo
1

The pricing of Amazon S3 is indeed something I worry about.


An option where you can choose how often certain backup methods are used would be nice.

photo
2

Will it be possible to add a custom auth url / s3 url in the future? Swift openstack is S3 compatible so it should be trivial to allow such a change to support s3 compatible systems that are not amazon.

photo
10

The new cPanel Amazon S3 remote backup option is very welcome, thanks cPanel.


There is however one item we'd like to see addressed.


We would prefer to manage the Amazon S3 backup retention rate on Amazon S3 rather than from WHM.


Currently the retention rate for backups stored locally and remotely is the same. We would like to be able to control the retention rate of locally stored backups independently from remotely stored backups.


As an example, we would like to be able to retain 3 daily backups locally but retain an unlimited number of backups on Amazon S3. On Amazon S3 the retention rate can be managed with "Lifecycle rules".


Having the ability to store backups remotely is of great value. Including the ability to

control remote backup retention rate would make it even better.

Replies have been locked on this page!