1835071 Members
2617 Online
110073 Solutions
New Discussion

frecover index details

 
SOLVED
Go to solution
Randall Kreider
New Member

frecover index details

I'm looking to get the full details of files from a backup tape without performing a restore.

using...

frecover -I [-f device]

...I can get an index. What I'm in need of is getting the attributes similar to the results from a directory listing such as...

ls -las

...even more specifically, I'm most interested in the user and group information.

thanks in advance

rgk
5 REPLIES 5
Armin Feller
Honored Contributor

Re: frecover index details

Hi,

you can do an PSEUDO restore, that will list all files which are on the tape:

# frecover -xvN -f

Regards ...
Armin
Randall Kreider
New Member

Re: frecover index details

Armin,

Thanks for the help...

Any thoughts on redirecting that output so that I can look at it at a later time.

rgk
Paul Sperry
Honored Contributor

Re: frecover index details

to get a tapelist with permissions etc use:

frecover -xvN -f /dev/rmt0 > tapelist
Randall Kreider
New Member

Re: frecover index details

having difficulty with redirection...

frecover -x -vN -i /path > file

...doesn't appear to work...output still displays on screen and file is empty.

rgk
Jochen Heuer
Respected Contributor
Solution

Re: frecover index details

Use

frecover -x -vN -i /path >file 2>&1

then (this redirects STDERR also into the same file).
Well, yeah ... I suppose there's no point in getting greedy, is there?