HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar and cpio in one tape
Operating System - HP-UX
1833137
Members
3584
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-31-2001 08:18 AM
08-31-2001 08:18 AM
tar and cpio in one tape
Is it possible to take both tar and cpio archieves in one tape..
First TAR it then use mt to position and then use cpio..
Will it work ?
I cannot really test it out as I dont have access to Tape Drive..
Has anybody done it or sure it will work or not ?
Please let me also know
Sundar
Learn What to do ,How to do and more importantly When to do ?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 08:20 AM
08-31-2001 08:20 AM
Re: tar and cpio in one tape
Yes it will work, just dont forget to use the non rewind option when accessing the drive.
Im from Palmerston North, New Zealand, but somehow ended up in London...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 08:22 AM
08-31-2001 08:22 AM
Re: tar and cpio in one tape
Hi Sandara,
I would say yes you can. You do not need a mt command after tar since you use the no-rewind in "#mn" :
1. tar /dev/rmt/#mn
2. cpio
But don't forget to restaure in the same order
1. tar /dev/rmt/#mn
2. cpio
Magdi
I would say yes you can. You do not need a mt command after tar since you use the no-rewind in "#mn" :
1. tar /dev/rmt/#mn
2. cpio
But don't forget to restaure in the same order
1. tar /dev/rmt/#mn
2. cpio
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2001 11:19 AM
09-01-2001 11:19 AM
Re: tar and cpio in one tape
I would caution you very strongly not to try to save tapes by appending backup sets onto a single tape. There are no tools to prevent you (or another user) from destroying all the backups. Also, it is quite tricky to document exactly what is on the tape and when it was stored.
In fact, just using the wrong device file will destroy all appended data. The command to use for positioning a tape is mt but be sure to read the WARNINGS. Also, read the man page for mt(7) with:
man 7 mt
You must use a Berkeley, no-rewind device and I would write some test scripts to verify that the data on the tape is what you expect.
Because a backup is insurance against a future problem, using one tape for multiple backups is like purchasing cheap insurance...it doesn't payoff when it is needed most.
Bill Hassell, sysadmin
In fact, just using the wrong device file will destroy all appended data. The command to use for positioning a tape is mt but be sure to read the WARNINGS. Also, read the man page for mt(7) with:
man 7 mt
You must use a Berkeley, no-rewind device and I would write some test scripts to verify that the data on the tape is what you expect.
Because a backup is insurance against a future problem, using one tape for multiple backups is like purchasing cheap insurance...it doesn't payoff when it is needed most.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP