On 16Jul2017 20:07, Patrick Dupre <pdupre@xxxxxxx> wrote:
Hello, Thank for the response. I do not know what is the previous error. I am checking the list, but is not going to tell what is the error. I cannot scroll back I was speaking about the logic of the order of the file are taken from the directory, Not alphabetic ordering not date ordering. Then, I cannot guess what is missing. It is an emergency archive, because the disk is failing.
Because tar files are assebled by appending things, you can "tar tvf your-tar-file" to see what is in it. Sort that. Diff against sorted listing from the disc you're rescuing.
This may not be enough if there were errors _during_ the save of the problem file(s), but it is a good start to just see what is missing, which lets you run another tar to go after those items (or to examine them if they won't tar).
If you run the tar again, send stderr to its own file; the error should be evident there. Or just run the create pass without the "v" option; you should see only the errors.
Got a network connection? You could untar the data to another machine (or locally if you have a spare drive with room) and run "rsync -n -ia" from the failing tree to the copy.
Cheers, Cameron Simpson <cs@xxxxxxxxxx> _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx