[Gllug] multi tape backups
addw at phcomp.co.uk
Mon Jun 26 16:51:53 UTC 2006
On Mon, Jun 26, 2006 at 04:52:59PM +0100, Bruce Richardson wrote:
> On Mon, Jun 26, 2006 at 01:09:03PM +0100, Alain wrote:
> > On Mon, Jun 26, 2006 at 12:45:51PM +0100, Bruce Richardson wrote:
> > > On Mon, Jun 26, 2006 at 12:32:24PM +0100, Alain wrote:
> > > >
> > > > Anyone got any suggestions ?
> > >
> > > Amanda. It added multitape support with version 2.5. You could
> > > replicate your existing set-up quite easily and gain some nice extras.
> > AFIR Amanda uses tar to write the tape ....
> Or dump. Nevertheless, it can now split the images that it writes to
> tape across multiple media volumes (e.g. tapes). The downside is that
> you would need to use amanda's recovery/restore tools to get the data
> back. But the tools are good.
> Or you could try star.
I ended up fixing it as follows, tar has an option to read the files to
archive from a file (which cannot be stdin 'cos it reads from stdin
when prompting for a new tape :-) ), you need to give the --no-recursion
option to make this work nicely.
find XXX -depth -newer ./DateFile > /tmp/fifo &
tar cMf /dev/nst0 -T /tmp/fifo --no-recursion
I now need to play with mt ... on readback the tape doesn't stream (it
starts/stops even when tar is just listing & so has no disk i/o to do).
Parliament Hill Computers Ltd.
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Gllug mailing list - Gllug at gllug.org.uk
More information about the GLLUG