• 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 BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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