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.

incremental backup to a remote server?

Discussion in 'General Discussion' started by pdstein, Oct 10, 2007.

  1. pdstein

    pdstein Active Member

    Joined:
    Apr 14, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    6
    I want to back-up accounts to a remote server. I want to be able to restore to any of the last 7 days. I believe doing an incremental back-up each night can accomplish this best, saving both bandwidth and disk space on the remote server.

    Using the back-up functionality built into WHM is appealing because WHM knows what files need to be backed up to do a full restore. However, WHM can't do exactly what I'm looking for either. I've been looking into using rsync as described in this document:

    http://www.mikerubel.org/computers/rsync_snapshots/#Incremental

    It looks becaue of the "hard link" capabilities of linux, rsync can be used to create what functions like a full back-up every night but requires a full backup the first day and then each day after that only the incremental changes have to be transfered. However, because I don't know what directories need to be backed up, I'm not sure how to implement an rsyc solution either. (BTW, I want to back-up everything necessary to be able to restore each account except the log files. So, that means MySQL, mail, config info, and whatever the user has uploaded)

    So, I'm thinking maybe there is some sort of hybrid solution? Does anyone know how to do this?

    Thanks,
    Paul
     
  2. pdstein

    pdstein Active Member

    Joined:
    Apr 14, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    6
    Is there anyone here who can help with this?

    Thanks,
    Paul
     
  3. ddcarnage

    ddcarnage Member

    Joined:
    Mar 1, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Not sure if this is going to help you but what I'm doing is using the backup feature in whm to do a local backup and then rsync that backup over to another server.
     
  4. pdstein

    pdstein Active Member

    Joined:
    Apr 14, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    6
    Have you set-up the cPanel back-up so that when you rsync to the other server it only transfers the parts of the files that have changed? I was reading about feature herr:
    http://forums.cpanel.net/showthread.php?t=47076

    If so, could you explain how to configure the cPanel back-up to do that? And can you explain how you set-up rsync?

    Thanks,
    Paul
     
Loading...

Share This Page