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.

Uploading Backups double disk usage?

Discussion in 'General Discussion' started by elor, Apr 20, 2003.

  1. elor

    elor Active Member

    Joined:
    Apr 20, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    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:
     
  2. elor

    elor Active Member

    Joined:
    Apr 20, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    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
     
Loading...

Share This Page