bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tar-1.13 is broken: Cannot exclude from backup


From: Keith Smith
Subject: tar-1.13 is broken: Cannot exclude from backup
Date: Tue, 04 Dec 2001 08:57:57 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010913

The following shell sequence demonstrates tar-1.13's inability to exclude files listed in a backup file. See below the first example for what I believe to be the correct behavior in the older 1.12 tar.

----------------------------------------------------------------------

address@hidden /tmp<479>tar --version
tar (GNU tar) 1.13

Copyright (C) 1988, 92,93,94,95,96,97,98, 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by John Gilmore and Jay Fenlason.
address@hidden /tmp<480>cat noback
/tmp/backmeup/dontbackup
tmp/backmeup/dontbackup
./tmp/backmeup/dontbackup
address@hidden /tmp<481>tar --create --verbose --exclude-from /tmp/noback --file backmeup.tar /tmp/backmeup
tar: Removing leading `/' from absolute path names in the archive
tmp/backmeup/
tmp/backmeup/fakefile
tmp/backmeup/backupthis/
tmp/backmeup/backupthis/fakefile2
tmp/backmeup/dontbackup/
tmp/backmeup/dontbackup/foo
address@hidden /tmp<482>tar tvf backmeup.tar
drwxrwxrwx root/root         0 2001-12-04 08:36 tmp/backmeup/
-rw-rw-rw- root/root        20 2001-12-04 08:36 tmp/backmeup/fakefile
drwxrwxrwx root/root         0 2001-12-04 08:36 tmp/backmeup/backupthis/
-rw-rw-rw- root/root 18 2001-12-04 08:36 tmp/backmeup/backupthis/fakefile2
drwxrwxrwx root/root         0 2001-12-04 08:35 tmp/backmeup/dontbackup/
-rw-rw-rw- root/root        34 2001-12-04 08:35 tmp/backmeup/dontbackup/foo

------------------------------------------------------------------------

address@hidden /tmp<487>tar-1.12 --version
tar (GNU tar) 1.12

Copyright (C) 1988, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by John Gilmore and Jay Fenlason.
address@hidden /tmp<488>cat noback
/tmp/backmeup/dontbackup
tmp/backmeup/dontbackup
./tmp/backmeup/dontbackup
address@hidden /tmp<489>tar-1.12 --create --verbose --exclude-from /tmp/noback --file backmeup.tar /tmp/backmeup
tar-1.12: Removing leading `/' from absolute path names in the archive
tmp/backmeup/
tmp/backmeup/fakefile
tmp/backmeup/backupthis/
tmp/backmeup/backupthis/fakefile2
address@hidden /tmp<490>tar tvf backmeup.tar
drwxrwxrwx root/root         0 2001-12-04 08:36 tmp/backmeup/
-rw-rw-rw- root/root        20 2001-12-04 08:36 tmp/backmeup/fakefile
drwxrwxrwx root/root         0 2001-12-04 08:36 tmp/backmeup/backupthis/
-rw-rw-rw- root/root 18 2001-12-04 08:36 tmp/backmeup/backupthis/fakefile2


------------------------------------------------------------------------


--
Keith Smith                 address@hidden
655 W Fremont Dr
Tempe AZ 85282              it's hot




reply via email to

[Prev in Thread] Current Thread [Next in Thread]