Uploading Backups double disk usage?

elor

Active Member
Apr 20, 2003
32
0
156
Hi,

I moved to a new server and had to use the home backups to get everyone over. Worked great except for 2 things. First, it didn't bring over mySQL users but that was no big deal. The other one has me scratching whats left of my hair off my head.

If I upload a backup file from a 10 meg account, it has 10 meg in it, but CPanel reports 20 meg disk usage!

I'm thinking a couple things have caused this, 1. the tar file is left behind someplace., 2. cpanel is counting www and public_html as well. 3. bug in cpanel.

I've checked home and can't find the extra 10 meg.

This is easy for me to reproduce - does anyone else see this??

WHM 6.2.0
Cpanel 6.4.0-R2
RedHat 7.3 XSkin 1.6/1.7

Thanks,
Steve :confused:
 

elor

Active Member
Apr 20, 2003
32
0
156
Well,

I found it....

When you do a backup upload, cpanel puts the tar file in /tmp under the accounts user id. When Cpanel then scans for disk usage, it includes the contents of /tmp and therefore adds those backup files in the total.

So,

goto /tmp, rm -i cpanel3upload* and everything is fine.

:p