• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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