tar: How to solve long file name not backed up
-
Hello,
we have files with very long file names and I discovered, that they are not backed up in tar mode.
I know this is a phar tar problem – not backwpup! (https://www.php.net/manual/en/phar.fileformat.tar.php)Our installation is 27GB huge, so with zip it does not work, as the zip is copied every time and after 5 hours it was only 15 GB of 27GB. Tar is much faster.
So we need to use tar mode.
Any idea how we can solve this issue with long file names?
(line $filename = substr($filename, -100);)
Maybe add php functions to:
Copy all files with to long names to a shorter name. Then the shorter ones are backedup.
And create a php script that contains a list of renames with short, long name which the user then has to execute after recovery?Thank you.
- This topic was modified 1 year, 3 months ago by .
- The topic ‘tar: How to solve long file name not backed up’ is closed to new replies.