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.

Exclude file/folder from pkgacct

Discussion in 'Data Protection' started by PatrickVeenstra, May 15, 2016.

  1. PatrickVeenstra

    PatrickVeenstra Well-Known Member

    Joined:
    Feb 12, 2012
    Messages:
    85
    Likes Received:
    3
    Trophy Points:
    58
    Location:
    Barcelona
    cPanel Access Level:
    Root Administrator
    I want to automatically create cpmove files (cron job). I want to keep always one complete backup (just in case something goes terribly wrong during the backup process), but the new one should not include that one. So I have to exclude the existing cpmove file (home/mydomain/backups/cpmove-mydomain.tar.gz) from the new backup. How can I do that?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,308
    Likes Received:
    45
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Regarding the previous response, that is the correct method of excluding files from backups. However, keep the following points in mind:

    Thank you.
     
Loading...

Share This Page