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!

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

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

    shimmy Active Member

    Joined:
    Nov 13, 2002
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    151
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,117
    Likes Received:
    1,932
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    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