Transfer without the tmp folder

shimmy

Active Member
Nov 13, 2002
25
0
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.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,910
2,233
363
cPanel Access Level
DataCenter Provider
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.
 

shimmy

Active Member
Nov 13, 2002
25
0
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?