- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Inquiry on tar command
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
01-03-2005 02:23 PM
01-03-2005 02:23 PM
Inquiry on tar command
Is there any way that we could do to stop the tar process continue to read through end of the tape and start rewinding after that particular file is being restored?
Please advice, thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 02:42 PM
01-03-2005 02:42 PM
Re: Inquiry on tar command
What device you use controls the behavior, you can choose a device /dev/rmt/ etetera that will not rewind at all.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 02:51 PM
01-03-2005 02:51 PM
Re: Inquiry on tar command
Thanks for your reply. However, I have gone through the man page of 'tar', but did not find any option if I want to do this:
- Stop the tar process once it restored the particular file I want to restore, and start rewinding back, instead of it reading through the end of the tape.
I used the normal device file: /dev/rmt/0m
Pls advice again. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 02:52 PM
01-03-2005 02:52 PM
Re: Inquiry on tar command
Happy new year.
I think tar can not extract only a file. Check attached file for detail.
You should use cpio command for your purpose.
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 02:55 PM
01-03-2005 02:55 PM
Re: Inquiry on tar command
Well I think 'tar' can restore a particular file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 03:39 PM
01-04-2005 03:39 PM
Re: Inquiry on tar command
I think tar can extract a single file..
lets try this (not much sure!!)
tar -xvf /dev/rmt/0m /homt/mel/
It will read till end of tape & rewind from there.
let us know
regards
ABHI K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 03:44 PM
01-04-2005 03:44 PM
Re: Inquiry on tar command
I've also tested on fbackup, after frecover restored the file it comes to the prompt much faster than 'tar'.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 03:58 PM
01-04-2005 03:58 PM
Re: Inquiry on tar command
tar, once find the required file on the tape and extracted it, it runs through the tape to find another such file in the tape if exist( in case of incremental backup the chnages will be extracted). Hence the reason tar will read through end of tape.
If the tape size is bigger (eg. 120GB ...)this process takes longer time. Hence the concept of (NAS) network attached storage. Wherein NAS maintains the database of backedup file, while restoring it check the database for the files to be restored and point to particular tape in the tape library and moves the header to particular block in the tape and read/extract it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2005 05:37 PM
01-04-2005 05:37 PM
Re: Inquiry on tar command
as you can update (read "append") a tar backup, I guess it's quite normal that tar reads the whole backup file to check for newer versions of the same file.
regards,
Thierry.