- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Saving To File A Listing of the Contents of an FBa...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 06:41 AM
11-22-2005 06:41 AM
Saving To File A Listing of the Contents of an FBackup tape
Is there a way to do save to file a listing of the contents of an FBackup tape? Correct me if I am wrong, but aren't fbackup and tar the same?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 06:52 AM
11-22-2005 06:52 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
You can get the generated index file that is located at the front of the type by-
frecover -f /dev/rmt/0m -I /tmp/tapeindex
or you can read the entire tape with-
frecover -vN -f /dev/rmt/0m >/tmp/tapelist
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 06:53 AM
11-22-2005 06:53 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
See the man page for frecover for further details.
I think fbackup actually uses cpio and make_tape_recovery uses tar or cpio. I might be wrong on those. Someone will probably verify that for me in the next reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 06:54 AM
11-22-2005 06:54 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
fbackup -f /dev/rmt/0m -I /tmp/tapelist -i /somedirectory
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 06:56 AM
11-22-2005 06:56 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
fbackup is not like cpio. fbackup has its own tape format it creates.
make_tape_recovery uses pax (a tar like backup) to create the tape.
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 06:58 AM
11-22-2005 06:58 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
To add to Rodney's reply, 'fbackup' is HP-UX proprietary and therefore does not provide portability whereas (of course) 'tar' does.
However, 'fbackup' & 'frecover' allow high-speed tape searches and make file recovery times quicker. 'fbackup' also provides some very good checksum integrity checks.
The "index" for the contents of an 'fbackup' tape is generated as the 'fbackup' session begins, when the "graph" (files to include and/or exclude) is processed. It is possible for a file to be removed between the time the index is written to tape and the actual file is sought for transfer from disk to tape.
Thus, reading the tape for the actual files present is superior to merely reading the index if you absolutely want to guarantee the presence of a file.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 07:11 AM
11-22-2005 07:11 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
Thanks for your reply. The syntax that I am using is the following:
frecover -vrN -f /dev/rmt/5m > /tmp/datalist.txt
The contents of the tape are being displayed onscreen, and there is a 0-byte file named datalist.txt in the /tmp directory.
The only other question I have is, will the datalist.txt file become populated with the information being shown onscreen once the frecover command is completed? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 07:39 AM
11-22-2005 07:39 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
make_tape_recovery does use pax to package the ignite tape, but can use cpio or tar format to store the files (-m option).
Thanks again for the clarification.
Andrew, if the list doesn't come out you might like to try again without the -r option, just -vN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 07:42 AM
11-22-2005 07:42 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
frecover -vN -f /dev/rmt/5m >/tmp/datalist.txt 2>&1
Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 08:19 AM
11-22-2005 08:19 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
When I include the 2>&1 as part of the command syntax, I get an ambiguous output redirect error message. Also, the absense of the -r option causes the frecover to not run but simply list all options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 08:47 AM
11-22-2005 08:47 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
Full syntax:
frecover -vrN -f /dev/rmt/5m | tee -a /tmp/datalist.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 08:51 AM
11-22-2005 08:51 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
Can you show the command you are using.
Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2005 12:17 AM
11-28-2005 12:17 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
The command that I was using is shown below:
frecover -vrN -f /dev/rmt/5m >/tmp/datalist.txt 2>&1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2005 04:35 AM
11-28-2005 04:35 AM
Re: Saving To File A Listing of the Contents of an FBackup tape
Rod Hills