- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to use tar cmd backup files into tape
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-06-2003 10:15 PM
03-06-2003 10:15 PM
how to use tar cmd backup files into tape
i wanna backup a.tar and b.tar into the same tape ,how can i do that ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 10:22 PM
03-06-2003 10:22 PM
Re: how to use tar cmd backup files into tape
To read table of contents use:
cpio -itumvB < file
To extract:
cpio -idumvB < file
This also might work:
find . -name "*pattern*" | xargs tar -cvf file
To read table of contents:
tar -tvf file
To extract:
tar -xvf file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 10:23 PM
03-06-2003 10:23 PM
Re: how to use tar cmd backup files into tape
the comaand is
tar -cvf /dev/rmt/Xmn a.tar b.tar
X is number , u need to get that number using command ioscan -kfnC tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 10:24 PM
03-06-2003 10:24 PM
Re: how to use tar cmd backup files into tape
use 'bdf' to determine.
e.g.
# cd /mydir1
# tar cvf /tmp/a.tar
# cd /mydir2
# tar cvf /tmp/b.tar
# cd /tmp
# tar cvf /dev/rmt/0m *.tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 11:12 PM
03-06-2003 11:12 PM
Re: how to use tar cmd backup files into tape
tar cvf a.tar /dev/rmt/Xmn (Do not eject the tape)
tar cvf b.tar /dev/rmt/Xmn
Now if u need to retrieve a.tar Do as following ,
Insert the tape
mt rew
tar xvf /dev/rmt/Xmn
To retrieve b.tar
mt fsf 1
tar xvf /dev/rmt/Xmn
Where X = a unique number notifying the device number.
/dev/rmt/Xm(n) does not rewind the tape. It simply adds another session on the same tape.
Regds,
kaps