- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to check the contents of a tape backup
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
06-07-2002 08:05 AM
06-07-2002 08:05 AM
I backedup around 20GB files to a tape. I used "frecover -vf /dev/rmt/1m -I /tmp/index" to verify the backup and read the index file from the tape. Since there are too many files backedup, it is difficult to go over each file. Does anyone know if there is a command that will list only directories instead of complete files in the index file.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2002 08:52 AM
06-07-2002 08:52 AM
Re: How to check the contents of a tape backup
Did you create a Index file with the -I option of fbackup ???
You can always view this Index file and browse thro the files which are backed up.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2002 08:59 AM
06-07-2002 08:59 AM
Re: How to check the contents of a tape backup
Yes, I created a index file in my /tmp directory. But the index will list thouand files which takes long time to go through those files. My question is that how we can create an index file that will only list major directories other than specific files.
Regards
Yalin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2002 09:08 AM
06-07-2002 09:08 AM
Re: How to check the contents of a tape backup
There is a way that work.. you can try this ..
# frecover -f /dev/rmt/0m -r -N -v
Basically perform a "preview" recovery with the verbose option so that you can capture the output from the above to a file and extract just the directories listing.
# cat fb-output | grep \^d
The only downside is it'll have to go through the whole tape. Not an elegant solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2002 11:46 AM
06-08-2002 11:46 AM
Solutionsince you already have the index file you can use a pipe as following. Assume your index file is named 'fbackup.index', then type, e.g.
awk '{print $3}' fbackup.index | cut -f -4 -d '/' | sort -u
In this way you get all backuped files or directories up to the 3rd level. Increase the argument (-4) of option -f to get more levels listed, or decrease it to get less levels listed.