• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved Backup skip files with "Argument list too long" error

Pascal_Netenvie

Regular Pleskian
Hi,
On a Plesk 12.0.18u96 on Debian 7.11 i have this message in backup log every night for one vhost :

Not all the data was backed up into /var/lib/psa/dumps/domains/mydomain.com successfully. sh: 1: /bin/tar: Argument list too long

How to debug and solve that please ?

Regards !
 
This is happening when you have too many files in a folder, like 100000 or more. This is a tar (and not just) issue, cannot read all files. Try to see in which folder you have that many files and if I presume well it is a cache folder. Try to see how you can write a script to delete older files.
 
Hi Pascal_Netenvie,

such issues appear, when you reach server configuration limits. Use for example the command
Code:
echo $(( $(getconf ARG_MAX) - $(env | wc -c) ))
... to display your current setting on your server.

You might as well consider to EXCLUDE folders/files in your backup - settings.
 
Thx Ivalics, it was this.
A cron task was generating a file every 3 min at vhost root so we had hunders thousands of useless files ... this is fixed and backup run ok.
 
Back
Top