- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Backing up - Segment ( More Than One Archives )
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
11-20-2000 11:23 PM
11-20-2000 11:23 PM
Backing up - Segment ( More Than One Archives )
I would like to have more than one archive in single DAT. What is the archive syntax using TAR. Similarly how to extract the same.
Hint : mt fsf,eof ...?
DKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2000 11:51 PM
11-20-2000 11:51 PM
Re: Backing up - Segment ( More Than One Archives )
Yous must use /dev/rmt/0mn special file instead of /dev/rmt/0m.
0mn does not rewind tape , so you can do more that one backup on a sigle tape.
try:
tar cvf /dev/rmt/0mn /tmp/1
tar cvf /dev/rmt/0mn /tmp/2
tar cvf /dev/rmt/0mn /tmp/3
mt -t /dev/rmt/0m rew
tar tvf /dev/rmt/0mn
tar tvf /dev/rmt/0mn
tar tvf /dev/rmt/0mn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2000 12:13 AM
11-21-2000 12:13 AM
Re: Backing up - Segment ( More Than One Archives )
tar cvf /dev/rmt/0mn ....
this writes multiple tar backups to one tape.
After rewind (mt rew) you can go to the end of tape with
mt -t /dev/rmt/0mn eod
mt -t /dev/rmt/0mn bsf 1
to add more tar backups.
To get the first backup use
mt rew
tar xvf /dev/rmt/0mn ....
to go to the second backup use
mt rew
mt -t /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0mn ....
to go to the third backup use
mt rew
mt -t /dev/rmt/0mn fsf 2
tar xvf /dev/rmt/0mn ....
an so on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2000 05:27 AM
11-21-2000 05:27 AM
Re: Backing up - Segment ( More Than One Archives )
Can you give me two typical examples. I tried your solutions, but it is not working. I don't know where I committ mistake.
So please give example with proper command set
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2000 06:25 AM
11-21-2000 06:25 AM
Re: Backing up - Segment ( More Than One Archives )
Make first tar archive with (using default tape device /dev/rmt/0m)
tar cv
Then add next archives with
tar rv
What you get is a single tar archive that has all archives on it.
To restore a file do
tar xv
The disadvantage of this procedure is that tar rv ... must read all the previous data written to tape before adding new data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2000 08:20 AM
11-21-2000 08:20 AM
Re: Backing up - Segment ( More Than One Archives )
There is no secret. Just use no rewind device
Begin rewinding tape:
mt -t /dev/rmt/xmn rew
write some tar session to tape ( always using no rewind device)
tar cvf /dev/xmn /tmp
tar cvf /var/adm/syslog
.....
then rewind tape
mt -t /dev/rmt/xmn rew
and verify
tar tvf /dev/rmt/xmn
rwx------ .................... /tmp/....
rwx------ .................... /tmp/....
...
tar tvf /dev/rmt/xmn
rwx------ .................... /var/adm/syslog
....
Read this thread too:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xb00a6d96588ad4118fef0090279cd0f9,00.html