Montagni, Giovanni wrote:
Using amrecover is it possible to view files attributes without reestore data?
using amrecover, no.
For example, is possible to know the creation date of a file backed
up 3 days ago? or if it was in read-only?
Once you have located the tape, and filenumber,
you can easily do something like:
amrestore -p -f 99 /dev/thetape hostname /disk/name | tar -tvf -
and see the permissions and modification time in full.
Note: unix does not have a "creation" date: ctime is the time the inode
was last changed (and when never changed, that is when the time
when created indeed; but changing permissions or forcing an atime,
would update ctime).
But, actually, this is a good question, because, it looks like
the mtime, ctime and atime are indeed stored inside a tar archive,
but there is no way you can list them, AFAIK.
--
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, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|