Re: List Contents of gnutar-list files
One way is to start a recover: root> amrecover setdisk /myDLE ls cd ls repeat until you are sure the contents you wanted is in there. Recover 1 or 2 of the files, (to a scratch area) to be sure you wholly trust the contents. Actually, another way, once you’ve done root> amrecover setdisk /myDLE is to go to your log directory, in another window, while that first window is STILL paused there, and has not exited am recover. The content listing will be sitting in the logs /index / name-of-DLE directory, unpacked, but only for as long as you are still inside the amrecover process. You can copy that file elsewhere, and your purloined copy will stick around. Deb Baddorf Fermilab > On Oct 24, 2017, at 9:33 PM, Jobst Schmalenbach wrote: > > Hi > How can I see the contents of gnutar-list files? > > I tried tar/gunzip, ckecked amadmin etc but it seems I cannot read the > content. > > Need to know whats in those files to see whether my inclusion/exclusion list > is correct and why it takes too much time to backup one particular host. > > > Jobst > > > > > -- > Computers run on smoke, once the smoke gets out they don't work anymore! > > | |0| | Jobst Schmalenbach, General Manager > | | |0| Barrett & Sales Essentials > |0|0|0| +61 3 9533 , POBox 277, Caulfield South, 3162, Australia
Re: List Contents of gnutar-list files
On Wed, Oct 25, 2017 at 01:33:53PM +1100, Jobst Schmalenbach wrote:
> Hi
> How can I see the contents of gnutar-list files?
>
> I tried tar/gunzip, ckecked amadmin etc but it seems I cannot read the
> content.
>
> Need to know whats in those files to see whether my inclusion/exclusion list
> is correct and why it takes too much time to backup one particular host.
>
gnutar has had several formats for the gnutar list incremental files.
Starting with about version 1.16 the format included null bytes.
It is not pretty, but this awk command can make the file readable.
awk 'BEGIN{RS="[\n\0]" ; ORS="\n"} {print}'
The output is grouped by directories, here are two examples.
0
1483174597
191920908
64768
2374981
./usr/share/doc/amanda-3.3.3 <= the directory path
YCOPYRIGHT <= ordinary files
YNEWS <= in the directory
YREADME
0
1471672919
831712838
64768
5505376
./usr/src/kernels/3.10.0-327.28.3.el7.x86_64/arch/mips/bcm63xx
YKconfig
YMakefile
Dboards<= a subdirectory
HTH
Jon
--
Jon H. LaBadie [email protected]
11226 South Shore Rd. (703) 787-0688 (H)
Reston, VA 20190 (703) 935-6720 (C)
Re: List Contents of gnutar-list files
On Wed, Oct 25, 2017 at 13:33:53 +1100, Jobst Schmalenbach wrote: > How can I see the contents of gnutar-list files? > > I tried tar/gunzip, ckecked amadmin etc but it seems I cannot read the > content. > > Need to know whats in those files to see whether my > inclusion/exclusion list is correct and why it takes too much time to > backup one particular host. The gnutar-list files are produced by GNU tar, and are called "incremental snapshot files" in the gtar documentation -- see: https://www.gnu.org/software/tar/manual/html_node/Snapshot-Files.html https://www.gnu.org/software/tar/manual/html_node/Fixing-Snapshot-Files.html If you are just trying to figure out what files are getting included in your backup, though, a better place to look is probably the index files that Amanda keeps. These are found under the "indexdir" directory, and the index itself is a plain-text (compressed) listing of the paths that were included in the given dump. Nathan Nathan Stratton Treadway - [email protected] - Mid-Atlantic region Ray Ontko & Co. - Software consulting services - http://www.ontko.com/ GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239 Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239
