- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- copy of backup 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
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
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
тАО05-07-2002 06:33 AM
тАО05-07-2002 06:33 AM
copy of backup tape
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 06:38 AM
тАО05-07-2002 06:38 AM
Re: copy of backup tape
If it was written via cpio, fbackup, OmniBack then tar will not do you much good.
You probably should be looking instead at the 'dd' command (man dd for more info) to make a copy like they are requesting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 06:39 AM
тАО05-07-2002 06:39 AM
Re: copy of backup tape
When you say LARGE backup, do you mean a lot of files, or files that are HUGE, say over 2GB in size?
TO use tar: "man tar"
tar -cvf /dev/rmt/tapedrive ./directory2backup
Where /dev/rmt/tapedrive can be /dev/rmt/0m
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 06:42 AM
тАО05-07-2002 06:42 AM
Re: copy of backup tape
You question is not quite clear. Are you trying to make a copy of an existing backup or do you want to make a tar backup of software on disk?
If you want to copy an existing backup then your question has very little meaning. It would have to be in whatever format your existing backup is in. (You could resore your existing backup and then do a tar from the restored files. In that case, the answer is the same as making a normal tar backup.
1) cd to desired directory
2) tar cvf /dev/rmt/2m .
(Output to /dev/rmt/2m copying everying in the current working directory and below ('.').
Man tar for more details.
Because you mentioned this was a large backup, you should be aware of the 2GB filesize limit of the native version of tar. You might want to use the Gnu version of tar which is available from: http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 06:42 AM
тАО05-07-2002 06:42 AM
Re: copy of backup tape
After reading Patrick's response, if you are attempting to COPY a backup tape to another tape, then the FORMAT and SIZE of that ORIGINAL backup is critical. tar can NOT backup (copy) OBJECTS that are greater than 2GB - only gnu tar can!
What kind of ORIGINAL backup did you use, and how BIG is it?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 06:44 AM
тАО05-07-2002 06:44 AM
Re: copy of backup tape
tar cvf /dev/rmt/0m file_name
which /dev/rmt/0m is your default tape, you can change it if yours is a different one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 06:58 AM
тАО05-07-2002 06:58 AM
Re: copy of backup tape
Here is what you ahve to do.
1. Cd to a directory which has sufficient space in it .
2. tar xvf /dev/rmt/0m ( this will copy the tape on the disk )
3. Insert the new catridge on which you want to copy the software .
4. tar cvf /dev/rmt/0m * and all the files in the pwd will get copied on the tape.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 07:02 AM
тАО05-07-2002 07:02 AM
Re: copy of backup tape
I write small script which first reads tape put it on one directory and create graph file and then write back on same tape drive but this time on blanck tape then delete from hard-disk.
Here is that small script.
#!/bin/sh
cd /home/cmarshal/tapes
mt -t /dev/rmt/0m rew
/usr/sbin/frecover -f /dev/rmt/0m -xXov
echo "Enter Blank tape"
read ans
/usr/bin/mt -t /dev/rmt/0m rew
ls | grep -v tapecopy | sed 's/\s+/ /g' |sed 's/^/i /g' > graph.file
cat graph.file
echo "is this correct graph file"
read ans
/usr/sbin/fbackup -0vg /home/cmarshal/tapes/graph.file -f /dev/rmt/0m
for i in `ls | grep -v tapecopy | sed 's/\s+/ /g'`
do
echo $i
rm -r $i
done
exit 0
----------------
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 10:26 AM
тАО05-07-2002 10:26 AM
Re: copy of backup tape
thanks for the input so far
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 10:39 AM
тАО05-07-2002 10:39 AM
Re: copy of backup tape
As your backup is created with fbackup, you cannot use 'dd' command to duplicate the backup tape. You may have to consider other methods provided already.
Read this document too (TKB# KBRC00001049):
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=d47bdaf00e4ace5df6/screen=ckiDisplayDocument?docId=200000048086788
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 10:52 AM
тАО05-07-2002 10:52 AM
Re: copy of backup tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 11:03 AM
тАО05-07-2002 11:03 AM
Re: copy of backup tape
Believe me I spend a full week trying to find out any other way to make tape copy.
Finally I had to do frecover and fbackup again.
Use the script from my previous answer. You just have to change directory path and device name.
Sachin