• 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.

Question Very long backup time for one specific subscription despite low file count and low disk space usage

Bitpalast

Plesk addicted!
Plesk Guru
On one single subscription of one single server backup telemetry measures a very long gap of 3 h 30 m and/or duration for packing files.

1648818535194.png

However, the subscription has only 28,000 files in total and occupies only 9 GB of disk space uncompressed. 3 GB of that are .tar.gz files.

Question:
Why does this one subscription take so long to backup up despite the comparatively small number of files and small disk space usage? If I run a full backup on another subscription with the same size, it normally completes within less than an hour on the same server and on other servers. Only this very one subscription repeatedly causes very long delays.

Excerpt from backup log that shows the "gap":
Code:
backup.log:[2022-04-01 02:30:35.753|26500] INFO: backup-archiver started : /usr/local/psa/admin/sbin/backup-archiver --pack-incrementally --source=/var/www/vhosts/<subscription> --destination=clients/<user (owner)>/domains/<subscription>/backup_user-data_2204010202.tzst --listing-file=/tmp/bufoU0yOE --created-index-file=/tmp/bif7Jamw2 --incremental-dependencies=/tmp/bdfBlvOp8 --user=<username> --no-recursion --session-path=/usr/local/psa/PMM/sessions/2022-04-01-020026.389 --warnings=/tmp/bwstTwhje --compression-method=zstd --compression-level=normal

backup.log:[2022-04-01 02:30:36.145|26500] INFO: Repository '/home/dumps': Pack  from /var/www/vhosts/<subscription> to clients/<user (owner)>/domains/<subscription>/backup_user-data_2204010202.tzst. Additional files count: 0. Split size: -1

backup.log:[2022-04-01 06:03:24.599| 5195] INFO: backup-archiver started : /usr/local/psa/admin/sbin/backup-archiver --pack-incrementally --source=/var/www/vhosts/<subscription> --destination=clients/<user (owner)>/domains/<subscription>/backup_apache-files_2204010202.tzst --listing-file=/tmp/bafdT4IzO --created-index-file=/tmp/bifWVlYth --incremental-dependencies=/tmp/bdfrnZFEk --user=apache --no-recursion --session-path=/usr/local/psa/PMM/sessions/2022-04-01-020026.389 --warnings=/tmp/bwsNJMdJm --compression-method=zstd --compression-level=normal

The server has >330 subscriptions and none of the others are causing any notable delays in backups.

I just cannot figure out what is wrong with this specific subscription that it takes so long to complete. Anyone with any ideas?
 
I would narrow the issue down by excluding folders within the subscription and run another backup until you've found the one that causes the delay.
 
A manual full backup of the same, unchanged subscription finishes within 1' 35". Then I created a clone of the subscription into a new user and ran a manual backup there. That also finished fast.

The only remaining cause can be that while one backup is running, other backups start and the "Maximum number of simultaneously running scheduled backup processes" prevents an already started backup to continue when other backups are active and not finished yet. It should not be that way though. It should be a "first come, first serve" queue. What's happening here is that several customers have scheduled their backups somewhere between 2 am and 7 am. And these seem to break into a backup pause of the server backup that is running between 1 am and normally 9 am, forcing the pause onto it so that the backup that actually started first, the full server backup, finishes last, because it continues only after all the shorter customer subscription backups are completed.

I'll try to formulate this as a bug.
 
Back
Top