On Tue, Oct 25, 2005 at 04:47:47PM +1300, Lloyd Weehuizen wrote: > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Guy Dallaire >> Sent: Tuesday, 25 October 2005 2:28 a.m. >> To: Amanda (E-mail) >> Subject: Listing a tape content ? >> >> >> Is there an easy way to list the content of an amanda tape ? >> >> I'd like to have the file / directory names and the last modification >> dates of the files. > > It depends on how you backed up your disk. Assuming you're using GNU > tar, you'd want to do something like this: > > amrestore -p /dev/nst0 <server-name> <disk> | tar -tvf - > > That pipes the output of amrestore through tar which just displays the > contents. However this will not give you the modification dates of the > files and I'm not exactly sure how you'd do that :( >
You already did it. The "v" option of tar. For a file listing, the index files show what was backed up on what date. But not their mod times. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road (609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)