pll+amanda AT permabit DOT com wrote:
Is there some way of getting an index of what's on a given tape?
I'm using the long DLE format to break down my file system into
smaller "disks" and am using 'exclude append' to exclude certain
things. The mail report obviously tells me which "disks" were backed
up, but since these are pseudo-disks anyway, I'd like to see what
under each of them was backed up.
Is there a way to get the file listing for each disk?
If you have "index yes" for the DLE's, you can find out from the
index files:
~amanda/TheConfig/index/HostName/_disk_list_entry/20040401_0.gz
(the filename is the date + underscore + backup level)
use a command like: gzip -dc < the-file-above | less
If you don't have indexing turned on, you may read the backup images
on tape with amrestore -p (see manpage) and generate a TOC using
"gtar -tvf -" or "restore -tvf -" , depending on how it was created).
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|