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!

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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,468
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

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

    Exclude Files From Backup

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. luigidelgado

    luigidelgado Well-Known Member

    Joined:
    Nov 6, 2010
    Messages:
    119
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,468
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. luigidelgado

    luigidelgado Well-Known Member

    Joined:
    Nov 6, 2010
    Messages:
    119
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,468
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice