Amanda-Users

Re: Move disk without loosing backup history?

2008-08-28 10:58:49
Subject: Re: Move disk without loosing backup history?
From: Toralf Lund <toralf AT procaptura DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 28 Aug 2008 16:48:44 +0200
Dustin J. Mitchell wrote:
On Thu, Aug 28, 2008 at 7:48 AM, Gene Heskett <gene.heskett AT verizon DOT net> 
wrote:
The tar folks at gnu do not consider that a bug, but as a part of the
security.

To be fair, the tar developers did fix this -- in 1.21, IIRC.

As to the original question, no, I don't think that there is any way
to "pretend" that one host/disk is the same as another.  When we have
a more expressive catalog, it might be interesting to have some kind
of "redirect" that amrecover could follow when browsing the history of
a DLE -- similar to Subversion's "copy-from".
Yes. This is exactly what I think I need.

It would also help when setting up new configs if amanda would compare IP addresses rather than hostnames when determining if different DLEs are on the same host. You might then keep disklist containing

the_server_for_disk1 /disk1 full-tar
the_server_for_disk2 /disk2 full-tar

and so on, where "the_server_for_disk1" and "the_server_for_disk2" are hostname aliases that are moved along with the disk, if you know what I mean. Actually, our hosts database is set up like this already, except there isn't one alias for each disk, but one per disk cabinet and/or logical group of volumes.

This already works if "the_server_for_disk1" and "the_server_for_disk2" point to different hosts, and there are no other DLEs for that host, of course, but the idea is that they *might* be different aliases for the same host at a certain point in time.


- Toralf