• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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