• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Native command line `site` command does not correctly report disk space usage of backups

Paul Larson

Basic Pleskian
Username:

TITLE

Native command line `site` command does not correctly report disk space usage of backups

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Ubuntu 22.04
Plesk version 18.0.47

PROBLEM DESCRIPTION

I'm not sure why the site command does not report the proper disk usage of a backup.

STEPS TO REPRODUCE

Example:

/usr/local/psa/bin/site -i example.com | grep "Total size of backup files in local storage"
Total size of backup files in local storage:0 B

ACTUAL RESULT

Whereas, a standard UNIX command reports the proper usage:

du -sh /var/lib/psa/dumps/domains/example.com/
.6.0G /var/lib/psa/dumps/domains/example.com/

EXPECTED RESULT

The site command should not report 0 for a backup, when a Linux du command plainly reports the proper size.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
@Paul Larson, could you check whether or not the option to include diskspace calculate "backup files created by the administrator" is enabled in Tools & Settings > Server Statistics Settings?

If not, enable the option and run plesk sbin statistics --calculate-one --domain-name=example.com to recalculate the diskspace usage for the domain. And try /usr/local/psa/bin/site -i example.com | grep "Total size of backup files in local storage" again.
 
Last edited:
Back
Top