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:
    75
    Likes Received:
    2
    Trophy Points:
    8
    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,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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