Amanda-Users

Re: If most recent backup is not level 0, recovery fails to bring back all files when directories have been renamed

2006-03-08 10:26:21
Subject: Re: If most recent backup is not level 0, recovery fails to bring back all files when directories have been renamed
From: Ian Turner <ian AT zmanda DOT com>
To: Dave Ewart <davee AT ceu.ox.ac DOT uk>
Date: Wed, 8 Mar 2006 10:27:27 -0500
On Wednesday 08 March 2006 06:34, Dave Ewart wrote:
> In summary: when a directory is *renamed* the files underneath it are
> not considered to have changed

This does not appear to happen with CVS tar in listed-incremental mode. Please 
try upgrading your tar and check if you still see this behaviour.

For reference, this is the test I performed:

$ # Build CVS tar, chdir to src/.
$ mkdir -p test/foo
$ touch test/foo/bar
$ ./tar -cvf test1.tar --listed-incremental test1.incr test
./tar: test/foo: Directory is new
test/
test/foo/
test/foo/bar
$ mv test/foo test/baz
$ ./tar -cvf test2.tar --listed-incremental test1.incr test
./tar: test/baz: Directory is new
test/
test/baz/
test/baz/bar

Cheers,

--Ian
-- 
Forums for Amanda discussion: http://forums.zmanda.com/

<Prev in Thread] Current Thread [Next in Thread>