The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Better Backup

Discussion in 'Data Protection' started by stugster, Dec 16, 2009.

  1. stugster

    stugster Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Edinburgh, UK
    cPanel Access Level:
    Root Administrator
    Better Backup
    The current backup system is pretty naff. It works, don't get me wrong. But it's clunky and limited. I currently have it tunneling to another server and doing incremental backups.

    Something a bit more user friendly would be nice, but obviously workable too
     
  2. DjiXas

    DjiXas Well-Known Member

    Joined:
    Feb 10, 2007
    Messages:
    294
    Likes Received:
    0
    Trophy Points:
    16
    Define something.
     
  3. dwykofka

    dwykofka Well-Known Member

    Joined:
    Aug 6, 2003
    Messages:
    394
    Likes Received:
    3
    Trophy Points:
    18
    I agree and I think that this thread should head in the direction of brain storming.


    I was setting up a cPanelDNSonly vps for a customer the other day and it hit me.

    Why not have a cPanelBackupOnly build that people can toss on a server in their office that will go out and get backups from their cpanel boxes.

    1 benefit is that hackers wont be chasing down the backups from the public server.

    Another benefit is that we can have the cpanel server generate a list of changes and the backup server can just download the changes.

    Example: user acme
    /backups/acme/acme-weekly-sunday.tar.gz
    (contains full backup)

    /backups/acme/acme-monday.tar.gz
    (contains the new index.html the customer uploaded and a copy of the emails / db)

    /backups/acme/acme-tuesday.tar.gz
    (contains emails / db)

    Just thinking out-loud here
     
    cPanelDon likes this.
  4. Luke Carrier

    Luke Carrier Active Member

    Joined:
    May 27, 2009
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    To be honest, I think cPanel's backup system is appalling. Sure, it's a start and it definitely helps people who otherwise wouldn't bother making backups and would probably end up losing their clients' data when their system experienced hardware failures, but it's still not what it could be.

    I'd love to see some kind of CDP system implemented in a future release, but this seems unlikely (cPanel is partnered with R1Soft who produce CDP software...it's far too expensive for smaller hosts like ours, however).

    I plan to write some nice backup application in Python when I have the time. I've got exams coming up and a lot of projects on the go over at Refuge right now so it may have to wait a couple of months, but it's certainly a contribution I'd be willing to make. I guess I could write a plugin to integrate it with cPanel/WHM, too.

    If anyone's interested in helping me write/test this, a PM would go down nicely :)
     
  5. wshawn

    wshawn Registered

    Joined:
    Jan 8, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I program in almost every language except python....

    Could you guys have the backups have the domain name in the file instead of a users name?
     
  6. dwykofka

    dwykofka Well-Known Member

    Joined:
    Aug 6, 2003
    Messages:
    394
    Likes Received:
    3
    Trophy Points:
    18
    The problem with that is that you can have multiple domain names per cpanel account. Everything is really driven by the user not the domain.
     
  7. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Friendly Moderator Note

    Please do not cross-post the same request. The described feature request is now located in the following thread for dedicated discussion: Backups should be named by domain name - cPanel Forums
     
  8. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Friendly Moderator Note

    As there is no specific request detailed by the original poster I have moved this thread into the Data Protection discussion forum; I believe here the thread can be better served for "brainstorming" as was suggested by an earlier reply.

    If there is a specific feature request that arises please post one request per thread in the Feature Requests forum, taking into account posted guidelines. For reference, please see the following:
    Recommendations for posting to the Feature Requests forums - cPanel Forums
    Forum Best Practices, Rules and Guidelines - cPanel Forums

    Thank you for your understanding. :)
     
  9. dwykofka

    dwykofka Well-Known Member

    Joined:
    Aug 6, 2003
    Messages:
    394
    Likes Received:
    3
    Trophy Points:
    18
    So what does everyone think about a cpanel backup-only server?

    Hosting server generates a list of things to be backed up and some config options like compress on host server or backup server, etc.

    Backup server comes out to the hosting server and processes the list of changes provided by the hosting server.

    Then we need Key Access to the backup server so that customers can request a restore, the cpanel server has a list of the available restore points. Restores can be automated (using access key to get to the backup server). Or they can be manually processed by emailing support then posting a pending job on the hosting server. Maybe it makes sense to just have the backup server contact the hosting servers every 30 minutes or so to check for pending jobs instead of having the host server contact the backup server or having support manually process the pending que from the backup server.

    Replication option on the backup server for secondary archive?

    Tools on the backup server to view / retrieve specific items from backups / databases?

    Should we have a fully configurable backup schedule so that we can backup hourly during off peak times?

    The idea here is to move backups off of our premium hosting boxes onto cheap disks and bandwidth.
     
Loading...

Share This Page