• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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