WordPress Backup (BackWPup) warning – File name is too long to be saved correctly…

Issue

WordPress website backups using the BackWPup plugin complete with following warnings:

WARNING: File name is too long to be saved correctly In Tar archive!

WARNING: File name “wp-content/pluglns/woocommerce/packages/woocommerce-blocks/build/very-very-long-file-name.js” is too long to be saved correctly In Tar archive!

Resolution

As the message suggests, the issue is caused by file name length exceeding the Tar archive limit. The same limitation affects Tar GZip archive format. The workaround was to change Archive Format to Zip in the BackWPup backup job settings. This may slow down backup jobs somewhat, but Zip format doesn’t have the same file/path length limitations.

BackWPup Archive Format

October 2023
WordPress 6.3.2
BackWPup 4.0.1


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *