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
09-16-2002 05:32 PM
09-16-2002 05:32 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 05:44 PM
09-16-2002 05:44 PM
Solutionwill give you a listing of all the filenames on the tape. tar is very primitive so the listing requires reading every record on the tape. If a bad spot is on the tape, then tar will report errno 5, or if a record is the wrong size, tar will complain.
tar is not only primitive but recommended only for casual data exchanges. Today, where 2,000 megs of disk is a trivial file size, tar is fading into the background as a useful program. You'll want to look at a more modern program such as fbackup or for production servers, look at HP's Omniback.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 05:44 PM
09-16-2002 05:44 PM
Re: Tar file
You can see the conent of the tape by using tar tv.
Also you can try to restore from tape in tmp space using tar xvf /dev/rmt/0m.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 06:03 PM
09-16-2002 06:03 PM
Re: Tar file
I would like to see what files was successfully backup to the tape, and whether the backup process was properly run, how can I get the backup result or error code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 07:01 PM
09-16-2002 07:01 PM
Re: Tar file
Generate simple backup of /usr
# fbackup -i /usr -f /dev/rmt/0m
To read the table of contents from the tape header
# frecover -I /tmp/tape_index -f /dev/rmt/0m
To get the actual files that are on the tape
# frecover -Nv /tmp/tape_out -f /dev/rmt/0m
Once the both lists have been produced, a 'diff' of both files can be done.
As mentioned by Bill 'tar' is very primitive.
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 07:42 PM
09-16-2002 07:42 PM
Re: Tar file
tar cvf /dev/rmt/0m >/tmp/tar.out 2>&1
It will redirect all std. output and err. to the file tar.ot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 07:43 PM
09-16-2002 07:43 PM
Re: Tar file
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 08:10 PM
09-16-2002 08:10 PM
Re: Tar file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 08:16 PM
09-16-2002 08:16 PM
Re: Tar file
# tar -tvf /dev/rmt/?m 2>&1 > /tmp/tapefile.contents.