Skip to main content

Backup size bigger than the actual files

Comments

4 comments

  • cPRex Jurassic Moderator
    Hey there! That's definitely odd behavior, and we'll need more details to point you in the right direction. Can you run this command on the server to get the total size of the directory on the disk? du -sh /home/username/public_html/
    Just replace "username" with the cPanel user you are working with.
    0
  • DoubleUPh
    Thank you for your reply @cPRex. I already run the code on the terminal, and it showed me the total files I have in public_html, which is 7.6GB. But it is weird, if I check the file myself from the file manager, there is none of the file folder that is larger than 900KB (picture shown below).
    0
  • cPRex Jurassic Moderator
    That is normal behavior for a directory listing. Even directly in the Linux terminal, all directories will show the default size of the directory itself, not the directory and contents. Here's an example from a cPanel user on my personal system: drwx------. 4 username username 4.0K Mar 30 12:15 logs drwxr-x--x. 13 username username 4.0K Mar 8 18:08 mail drwxrwxr-x. 4 username username 4.0K Aug 10 2021 perl5 drwxrwx---. 3 username username 4.0K Mar 29 2021 public_ftp drwxr-xr-x. 21 username username 4.0K Mar 29 20:29 public_html drwxr-xr-x. 2 username username 4.0K Mar 29 15:43 .razor drwx------. 2 username username 4.0K Mar 21 21:15 .spamassassin
    However, there is a lot of data in public_html: # du -sh public_html/ 1.3G public_html/
    0
  • DoubleUPh
    I see. Thank you once again.
    0

Please sign in to leave a comment.