Hi,
I'm using Ubuntu 14.04 with tar 1.27.1 to make daily backups.
I'm running a simple command like
Code:
tar -czf /tmp/webdev_backup.tgz *
That used to work fine, but since a few days, I'm suddenly getting many errors like
Code:
tar: bsa/wp-content/uploads/2014/09/copy-copy-cropped-copy-cropped-copy-cropped-cropped-header-musical1-1024x628.jpg: file name is too long (max 99); not dumped
So I learned that this is a limitation in the "gnu" format that this version of tar uses and using "ustar" or "posix" doesn't have this limitation.
So I tried all of the below:
Code:
tar --posix -czf /tmp/webdev_backup.tgz *
tar -czf --format=ustar /tmp/webdev_backup.tgz *
tar -czf --format=posix /tmp/webdev_backup.tgz *
tar -H posix -czf /tmp/webdev_backup.tgz *
But there's no change. I still get the errors. I couldn't find anyone having the same problem :-(.
I hope anyone has an idea for what might be wrong here... :-D
Thanks!