cPanel® Blog

Backup Improvements for cPanel & WHM

Screen Shot 2013-04-02 at 9.41.26 AM

Backups are a crucial part of any hosting plan. The panic and worry of a site crashing can keep a website owner up at night. For many people, a website is more than a digital presence, a website is means of survival. Whether their site sells widgets or is ad sponsored, losing data is unacceptable. cPanel strives to provide a solution for backups, but the current system is old and needed to be reworked.

I recently got a few minutes with the team and asked them some important questions about the new backup system and how it will make the entire backup process better.

Why did the backup system receive updates?
The main reason is the system has not been updated since 2004. We wanted to include support for things like SFTP, WebDav, and arbitrary custom destinations. We also wanted to streamline the amount of time spent on the page.

Screen shot 2013-02-26 at 2.15.11 PM

Does part of the arbitrary custom destinations cover Amazon S3 support?
Not out of the box, but you can easily write something for it. We have full documentation for the custom destination system and we even included an example.

Have you made improvements to how backups are scheduled?
We have made dramatic improvements to the scheduling system. You can now specify what day or days of the week a daily backup runs as well as how many retentions you wish to keep. You can also run monthly backups on either the 1st or 15th and again set how many to retain.

What changes were made to the Account Restorations UI?
The UI has been consolidated to a single page, and it is much easier to use. The restorations are selected and done with a handy calendar to ease the process.

Screen shot 2013-02-26 at 2.02.17 PM

Is pigz included?
Erin worked on pigz for the Package Accounts script and saw a dramatic increase in speed for compressed accounts. She saw a two-thirds improvement in time. Since the Package Account script is used by the backup system, we leverage it for streamlining the process.

How will this affect the users of the old backup system?
The Legacy system is still in place and can be used concurrently. We did a massive amount of testing to ensure that both systems work together fine. However, we do strongly recommend you use the new backup system.

Can local and remote backups be used at the same time?
Absolutely. We opted to provide the option for both. Restorations from remote backups need to be done manually, and we have some fine documentation for this process.

Are there any other cool things we should know?

Yes! We have a few extra cool things:

  • MySQL backups are included in all three backup selections.
  • System Backups can now be stored remotely.
  • Security is a concern as the backup is not encrypted.
  • A remote restoration can be done manually and we have documentation to walk you through this process.

The backup improvements project should be in 11.38. You can look forward to it coming to cPanel & WHM very soon.

  • Beh Film
  • Chris

    When you run remote backups on your server, does the backups needs to be completed first before the backups are ftp to its destination?

  • Awesome..Thanks 🙂

  • DaveH79

    So wait a minute… you update a vital component of your software for the first time in nearly a decade and you still don’t provide basic functionality modern users expect in a backup system?

    – No simple, direct backup to the cloud (e.g., Amazon S3)?

    – No rsync.

    – No specifying individual directories to restore (rather than restoring the whole darned account if you only need one directory).

    I don’t know what the issue is, but these are features your users have been clamoring for years to have built-in to WHM. It’s just sad you didn’t include these features in the new version.

    Maybe in another 10 years…

  • sweet good to hear pigz is making it’s way into the backup system !

  • I love how the restorations are selected and done with a handy calendar to ease the process.
    “To expect the unexpected show a thoroughly modern intellect.”

  • The restoration image shows 2014 date, FYI :p

  • So disappointed the restore options are still so lame. Why are we still forced to restore mailboxes when someone just needs their public_html dir restored?

    • I second this. There are many times when we just want to restore public_html for the user and not the whole account.

      • Guest
    • Jim

      I agree. The inability to selectively restore files/folders from a backup is rediculous.

    • Nobody is forced. Extract your backup file, create the account in cpanel, copy over the homedir, change ownership of the files if necessary…done.

  • Julian Flores

    Excellent !

  • locomapia

    Excellent move! Loved it..

  • Matt

    Finally! When will the example be posted?

    • Travis

      The Example should be posted when the release of 11.38 occurs.

  • Are there any other cool things we should know?:
    Security is a concern as the backup is not encrypted.

    I’m sure that’s a cool thing! =P

    • Engrudget

      LOL somebody didn’t clean up their meeting notes

  • bnabilos

    @facebook-611812762:disqus according to cPanel comment on FB, this will be coming out this summer 🙂

  • when..

  • E36

    ctrl + D

  • Patrick

    why no rsync ? is there a reason for that?