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.

Transfer without the tmp folder

Discussion in 'General Discussion' started by shimmy, Aug 6, 2013.

  1. shimmy

    shimmy Active Member

    Joined:
    Nov 13, 2002
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I'm going to transfer like a hundred accounts to a new server. A lot of the sites have stats going all the way back to the year 2002 that are taking a lot of space. I don't need stats from 2002. So, is there a way to to not include the $HOME/$USER/tmp for all the accounts during the WHM to WHM transfer, since that's where all the stats files are.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could exclude certain data from each account's tmp directory by utilizing the /etc/cpbackup-exclude.conf file. It's usage is documented at:

    Excluding Files from Backup

    This would require you to backup the accounts, then transfer the backup archives to the destination server for restoration.

    Thank you.
     
  3. shimmy

    shimmy Active Member

    Joined:
    Nov 13, 2002
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Great! is there a setting on the new server to make it only save stats for 1 or 2 years instead of 20 years?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    There are no native features with cPanel/WHM that will automatically delete aged data from your statistics applications, but you are welcome to open a feature request for this via:

    Submit A Feature Request

    Thank you.
     
Loading...

Share This Page