Discussion:
tar: Error exit delayed from previous errors
(too old to reply)
Mark Hobley
2006-10-30 02:05:01 UTC
Permalink
I am trying to backup a few thousand files as a normal user:

cd /bigdirectory
tar -cv -L 123264 -M -f /dev/hdd -exclude=suspiciousdirectory .

(Note: /dev/hdd is a laser servo diskette drive)

This works fine for several volumes, but suddenly the backup ends with an
error:

tar: Error exit delayed from previous errors

I try the tar again to the null device, and get the same error.

I guess that this may be something to do with access permissions on one of the
files or subdirectories (/bigdirectory is network mapped and the backup machine
does not have root access).

How can I tell where tar is failing? The verbose output is telling me the
name of the last file successfully backed up, but I need to know the name of
the current file that is causing the error.

Please advise.

Mark.
--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Telephone: (0121) 247 1596
International: 0044 121 247 1596

Email: markhobley at hotpop dot donottypethisbit com

http://markhobley.yi.org/
Bill Marcum
2006-11-08 05:31:40 UTC
Permalink
["Followup-To:" header set to alt.comp.os.linux.]
On Mon, 30 Oct 2006 02:05:01 GMT, Mark Hobley
Post by Mark Hobley
cd /bigdirectory
tar -cv -L 123264 -M -f /dev/hdd -exclude=suspiciousdirectory .
(Note: /dev/hdd is a laser servo diskette drive)
This works fine for several volumes, but suddenly the backup ends with an
tar: Error exit delayed from previous errors
I try the tar again to the null device, and get the same error.
I guess that this may be something to do with access permissions on
one of the files or subdirectories (/bigdirectory is network mapped
and the backup machine does not have root access).
You could use find to locate any files or directories for which you
don't have read permission.
--
A little inaccuracy saves a world of explanation.
-- C.E. Ayres
Loading...