- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fbackup/frecover
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
03-09-2003 12:01 AM
03-09-2003 12:01 AM
Can we list tape files thru fbackup/frecover tools.As we can do it in tar -tvf to get the contents of the media?
We have a tape which has data stored via fbackup, i want to know the list of files stored on it.
Any idea how to do it?
rgds,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2003 12:29 AM
03-09-2003 12:29 AM
SolutionUse frecover with -I option to create an index file. Index file contains the list of all files backed up by fbackup in that archive.
#frecover -I /tmp/index -f /dev/rmt/0m
#pg /tmp/index
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2003 02:26 AM
03-09-2003 02:26 AM
Re: fbackup/frecover
But then there is no option for list files from media?.
Tar has it (tar -tvf)and fbackup doesnt have that facility?
Rgds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2003 02:31 AM
03-09-2003 02:31 AM
Re: fbackup/frecover
frecover -xNvf /dev/rmt/0m -i /
that will read the contents of the tape without attempting to restore them.
You can redirect this to a log file to make it easier to read
frecover -xNvf /dev/rmt/0m -i / > /tmp/fbackup_files 2>&1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2003 04:45 AM
03-09-2003 04:45 AM
Re: fbackup/frecover
If you want to see if a particular file is on the tape:
frecover -I - -f /dev/rmt/
As mentioned, you can use the -N option as a means to verify the contents of the tape--not a bit-by-bit compare to disk, but a checksum computation and sanity check of the structure of the tape. This is what frecover does during restore operations anyways, so the -N just turns off writing the file to disk.
The concept of a centralized index at the front of the tape is common in all commercial backup programs. Backups are measured in gigabytes today so spinning the tape all the way to the end to find all the filenames is not practical.
The fbackup/frecover pair is designed for high speed access on DDS and DLT media. Special search marks are written after several dozen files (config file controlled) and the position of the most recent search mark is stored in the index. Thus, a file at the end of the tape might take an hour or two to reach with tar, but with frecover, the last file can be restored in a few minutes.
And having an index at the front also allows everey file to have a tape identifier in case the backup requires more than one tape. To locate which tape to insert for some random file, you insert the last tape of the set, run frecover and it will return (after aseveral seconds reading the index) the tape number to insert to obtain the file.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2003 12:16 PM
03-09-2003 12:16 PM
Re: fbackup/frecover
If your you select the option "-N" you are simulating a recovery in real time without writing in disco,en other words; you will take the equivalent time to a real recovery. As they have already indicated you, a similar functionality doesn't exist to the option "tar -tvf", I recommend you that use the generation of the index in disk through the syntax:
#frecover -I /
Another possibility is that to the backup's event you redirect the standard output to a specific log file, this way you will always have an index of **real** events (Warnings)during the process of having copied to tape. Of course, in this case you need keep this log for future necessities.
#fbackup [your_fbackup_options] 2>/[your_specific_lof_file]
Rgds.