I've looked into the sources of bsdtar and libarchive and have also tested some cases. It seems that bsdtar handles such cases correctly, i.e. it continues with the next file and does not stop. Perhaps the problem is related to the very long file name. The port of bsdtar and libarchive use the MS-Windows C-runtime (msvcrt.dll), which has a limit of 256 characters for the full path name. In principle it would be possible to rewrite the input-output wihin bsdtar into using the MS-Windows kernel library (kernel32.dll), which allows for 32K long file names. But this would require a lot of work, which at present and in the near future I am not able to deliver; but again, I'm not even certain that this is the cause of the problem you reported. So, I'm sorry, but for now we will have to live with this limitation on file-name lengths.
Kees Zeelenberg -------------------------------------------------- Van: "Philipp Sternberg" Datum: vrijdag 26 september 2008 10:31 vm Aan: Onderwerp: [GnuWin32-Users] Option for bsdtar to continuing after file readingfailure > Hi folks, > > I'm using bsdtar.exe on several Win2k-Serve and Win2003Sever machine to do > the > daily backup buisness... > I encountered the following problem: > > while bsdtar tried to read a file from a mounted samba share with a very > long > filename it encoutered the following problem: > > bsdtar.exe: S:\/(3) Written Work and Documenttemplates/(3.1) > Thesispapers/(3.1.1) DA Docs/222_Student_123456789ABCD/DA > 123456789ABCD/Endnotes X1 Datarecords/Thesispaper_CC.Data/PDF/[Evermann > 2005]_Towards cognitive foundation of knowledge representation-3456672768: > Cannot stat: No such file or directory > > Well I'm not blaming bsdtar for that, as I'm not even able to get any > meta-information of the very by right clicking it in the explorer.... > shame > on that OS. > > The problem is, that bsdtar quits doing it's job rather then trying to > archive > the next file.... > > Although I've read through the man page about 5 times I didn't find a > fail-safe option which would allow bsdtar to continue after a reading > failure.... > > As there might be one day where my boss comes around and asks where all > the > backuped data would be gone I'm now asking you all for some adivce... Is > there such an option or do I have to look out for a different tool... > > By the way: I' Invkoing bsdtar form a perlscript in this way: > > "C:\programme\GnuWin32\bsdtar.exe" -cvvLpP --format pax -T > include_files.list -X exclude_files.list -f "D: > \backup\2008-08-07-Monthly.tar") > > > This doesn't do the trick either (note the additional l in cvvLlpP): > "C:\programme\GnuWin32\bsdtar.exe" -cvvLlpP --format pax -T > include_files.list -X exclude_files.list -f "D: > \backup\2008-08-07-Monthly.tar") > > Cheers > > Phil > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > GnuWin32-Users mailing list > GnuWin32-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnuwin32-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users