Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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 Amazon S3

Discussion in 'Data Protection' started by lmathieu, Apr 22, 2014.

  1. lmathieu

    lmathieu Registered

    Joined:
    Apr 22, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi everyone,

    We're trying to use Amazon S3 for our daily backups, however, we don't want to send all the data everyday.

    Is there a way for cPanel to backup system configuration, accounts informations and databases, without backuping user's home directories. The home directories would be handled by an "s3cmd sync" script that would be launched by /scripts/postcpbackup.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,127
    Likes Received:
    1,366
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    This document explains how to exclude files or directories from your user backups:

    Exclude Files From Backup

    Thank you.
     
  3. luigidelgado

    luigidelgado Well-Known Member

    Joined:
    Nov 6, 2010
    Messages:
    117
    Likes Received:
    5
    Trophy Points:
    68
    Location:
    Mexico
    cPanel Access Level:
    Root Administrator
    Twitter:
    Link is broken. Not working anymore, can you help us to update it please? Im interested in the topic of how to make either an incremental or exclude of cache files.

    - - - Updated - - -

    Also, does anybody know about an incremental sync to S3?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,127
    Likes Received:
    1,366
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    The link has been updated to:

    Exclude Files From Backup

    If you use the Incremental backup type, you cannot add Additional Destinations.

    Thank you.
     
  5. luigidelgado

    luigidelgado Well-Known Member

    Joined:
    Nov 6, 2010
    Messages:
    117
    Likes Received:
    5
    Trophy Points:
    68
    Location:
    Mexico
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks Michael, one question...
    does this: */.wysiwygPro_* mean that anything called .wysiwygPro_[whatever] stored in [wherever] wont be saved?

    So If I need to exclude cache directories from accounts may I use: */cache/*

    would that be fine?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,127
    Likes Received:
    1,366
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Yes, however you should likely restrict it to your public_html directories. EX:

    Code:
    public_html/cache/*
    This would exclude the files within the cache directory, but not the directory itself.

    Thank you.
     
Loading...

Share This Page