HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to copy different partitions on magnetic tape ...
Operating System - HP-UX
1832650
Members
2861
Online
110043
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
11-30-2000 08:44 AM
11-30-2000 08:44 AM
how to copy different partitions on magnetic tape with vxdump?
for example, you want to copy /users and /tmp
on one same tape. how assign these partitions to vxdump in one command?
it seems that vxdump is very different from fbackup which
does not aloow 'multi-tapes' copy.
on one same tape. how assign these partitions to vxdump in one command?
it seems that vxdump is very different from fbackup which
does not aloow 'multi-tapes' copy.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2000 08:53 AM
11-30-2000 08:53 AM
Re: how to copy different partitions on magnetic tape with vxdump?
You need to either use vxdump pointing to the no-rewind option on the tape, or pipe it into dd and again point it at the no-rewind option for the tape.
eg. /dev/rmt/0m will do a rewind once its written to
If you use vxdump -f /dev/rmt/0mn it wont rewind the tape, so once youve vxdump'ed /tmp you can then to the same for /users. (/users will be appened to the tape after /tmp was written) Then rewind the tape and eject it (mt -t /dev/rmt/0m rew then mt -t /dev/rmt/0m offl)
ive found vxdump not very good at estimating how much tape is available and if it needs more than 1 tape so I always pipe it into dd before writing to the tape.
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
11-30-2000 08:56 AM
11-30-2000 08:56 AM
Re: how to copy different partitions on magnetic tape with vxdump?
Hi,
You can't get vxdump do backup two volumes in one call. Instead you run vxdump twice specifying the non-rewind tape device for output.
For example:-
export TAPE=/dev/rmt/0mn
vxdump -0 -b 64 -d 62000 -f ${TAPE} -s 99999 /users
vxdump -0 -b 64 -d 62000 -f ${TAPE} -s 99999 /tmp
results in a tape which contains two vxsump files.
You would probably want to code this into a script which probably runs vxdump within a loop. It's also worth recording a log file so that you know at what tape position each vxdump has been written.
I use vxdump (and dump for /stand) for most of my backups. Let me know if you want any more information.
Regards,
John
You can't get vxdump do backup two volumes in one call. Instead you run vxdump twice specifying the non-rewind tape device for output.
For example:-
export TAPE=/dev/rmt/0mn
vxdump -0 -b 64 -d 62000 -f ${TAPE} -s 99999 /users
vxdump -0 -b 64 -d 62000 -f ${TAPE} -s 99999 /tmp
results in a tape which contains two vxsump files.
You would probably want to code this into a script which probably runs vxdump within a loop. It's also worth recording a log file so that you know at what tape position each vxdump has been written.
I use vxdump (and dump for /stand) for most of my backups. Let me know if you want any more information.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2000 10:13 AM
11-30-2000 10:13 AM
Re: how to copy different partitions on magnetic tape with vxdump?
Hi:
The use of graphs with 'fbackup' would easily allow including and excluding whole filesystems, directories, and/or files while creating a backup process that can be organized into one tape.
'fbackup' does support multiple tape changes. The "problem" is that it will prompt for operator intervention when a new tape is needed. If you are running fbackup as a cron job this can be addressed with a 'chgvol' script. Document #KBRC00001397 provides one such description. The 'chgvol' script uses the 'wall' announcment similarly to vxdump.
...JRF...
The use of graphs with 'fbackup' would easily allow including and excluding whole filesystems, directories, and/or files while creating a backup process that can be organized into one tape.
'fbackup' does support multiple tape changes. The "problem" is that it will prompt for operator intervention when a new tape is needed. If you are running fbackup as a cron job this can be addressed with a 'chgvol' script. Document #KBRC00001397 provides one such description. The 'chgvol' script uses the 'wall' announcment similarly to vxdump.
...JRF...
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