- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- backup of 40 GB data on 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
07-04-2007 08:32 PM
07-04-2007 08:32 PM
I want to take backup of vg01 on tape. The size of VG01 is more then 40GB and it is not possible by using tar. Any one guide me how’s it possible.
And what is the Scenario when I restore data
Thanks in Advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 09:04 PM
07-04-2007 09:04 PM
Solutionif you want recovery too, SAM is a good possibility. Check the 'Backup and Recovery' menu of sam.
If you start backup interactively, you can also use more than one tape - the process is asking you to change tapes.
For recovering you tell the program the files you want to recover - choose if you want to replace or store at a different place.
It's very simple.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 09:35 PM
07-04-2007 09:35 PM
Re: backup of 40 GB data on Tape
# ioscan -funC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/1/1/1.1.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/0m /dev/rmt/c3t1d0BESTn
/dev/rmt/0mb /dev/rmt/c3t1d0BESTnb
/dev/rmt/0mn /dev/rmt/c3t1d0DDS
/dev/rmt/0mnb /dev/rmt/c3t1d0DDSb
/dev/rmt/c3t1d0BEST /dev/rmt/c3t1d0DDSn
/dev/rmt/c3t1d0BESTb /dev/rmt/c3t1d0DDSnb
If the volumegroup vg01 is one lvol let say it is /dev/vg01/lvol1 and it is mounted on lets say /oracle.
Manually go to the /oracle directory, then perform your tar using a relative pathname.
cd /oracle
tar cvf /dev/rmt/0m . # remember the period
Then lets say you want to restore the active into /oraclenew on a new lvol in anothor volumegrp.
pvcreate /dev/rdsk/cXtXdX
mkdir /dev/vg02
mknod /dev/vg02/group c 64 0x020000
vgcreate vg02 /dev/dsk/cXtXdX
lvcreate -L 40960 vg02
newfs -F vxfs -o largefiles /dev/vg02/rlvol1
mkdir /oraclenew
mount -F vxfs /dev/vg02/lvol1 /oraclenew
Now you are ready to retore your archive.
cd /oraclenew
tar cvf /dev/rmt/0m # no period required. tar uses the pathname saved during the tarball creation.
If you have more than one lvol in vg01 you need to use the "u" option for tar to append it to the allready created archive.
NOT TESTET:
#!/usr/bin/ksh
# creates one archive for multible lvols
# i hope :-)
RUN=0
for i in $(vgdisplay -v vg01 | awk '/LV Name/ {print $3}')
do
PATH=$(bdf $i | awk '/dev/{print $6}')
if [ $RUN -eq "0" ]
then
cd $PATH
tar cvf /dev/rmt/0m .
RUN=1
else
cd $PATH
tar cvuf /dev/rmt/0m .
fi
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 04:20 AM
07-05-2007 04:20 AM
Re: backup of 40 GB data on Tape
Which "tar"?
http://www.gnu.org/software/tar/
http://www.gnu.org/software/tar/manual/tar.html#Formats
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 06:24 PM
07-05-2007 06:24 PM
Re: backup of 40 GB data on Tape
Thanks