- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Backup, List, Restore
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
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
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
тАО01-13-2004 08:19 PM
тАО01-13-2004 08:19 PM
Consider the following conditions:
0- I have a "hp rp2470" server
1- HP-UX 11.0
2- "hp surestore dat 40" located in "/dev/rmt/c0t0d0DDS" (For example)
3- I use the following commands for making backup (Does It seems OK?!)
-----------------------------------------------
3-1- find /my-files -print | cpio -ovcdumB > /dev/rmt/c0t0d0DDS
3-2- tar cvf /dev/rmt/c0t0d0DDS ./my-files
-----------------------------------------------
-----------------------------------------------
4- As I said both of them work ok but I can not list the content of tape
Using these commands
-----------------------------------------------
4-1- cpio -itvc < /dev/rmt/c0t0d0DDS
4-2- tar tvf /dev/rmt/c0t0d0DDS
-----------------------------------------------
-----------------------------------------------
5- As I don't have any feeling of WHAT IS ON THE TAPE, I am afraid of
Restoring them using the following commands
-----------------------------------------------
5-1- cpio -ivcdumB < /dev/rmt/c0t0d0DDS
5-2- tar xvf /dev/rmt/c0t0d0DDS
-----------------------------------------------
-----------------------------------------------
6- OK FOLKS THATS ALL! , would you please help me?
What's wrong with me? Assume that you are talking with an idiot
7- BEST WISHES
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 08:26 PM
тАО01-13-2004 08:26 PM
Re: Backup, List, Restore
try
mt -t /dev/rmt/c0t0d0DDS rew
tar -tv /dev/rmt/c0t0d0DDS rew
the f option in tar is for a file not a device
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 08:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 09:04 PM
тАО01-13-2004 09:04 PM
Re: Backup, List, Restore
you take care with using absolute paths,
because tar is very strict (unless you use
gtar) and you do not have any flexibility
to restore your files.
The 'f' option is needed if you use a
different archive thahn /dev/rmt/0m.
Try the following command on your tapes.
#dd if=/dev/c0t0d0DDS of=/tmp/test.dd bs=1k count=1
#file /tmp/test.dd
In case you have a cpio or tar archive
the 'file' will tell you the same. On this
short 'test.dd' the tar and cpio list
command should work and give the beginning
of your archive.
Regards,
Matthias
Regards,
Matthias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 10:47 PM
тАО01-13-2004 10:47 PM
Re: Backup, List, Restore
tar cvf /dev/rmt/c0t1d0DDS
and that device does not actually exist with that special file, TAR will create a file with that name. This could cause the root disk to fill up, and you will have a major problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2004 12:59 AM
тАО01-14-2004 12:59 AM
Re: Backup, List, Restore
Thanks a lot for your help, I just used
Fbackup, but when I used freover as
Described below
frecover -I path -f /dev/rmt/c0d0t0DDS
It indicate that
--------------------------------------
frecover(5405) unable to open /dev/rmt/c0d0t0DDS
--------------------------------------
frecover(5406) do you wish to continue...
bla bla bla
--------------------------------------
Ooops! It does not seems good. Is is?
Would you please tell me that I am right or not?
1- We use frecover with the above /\ syntax
Just to see backup media content (True/False)
2- So, what could be the restore command looks like? Should I use Pipeline or something just like it?
Best Wishes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2004 11:42 PM
тАО01-18-2004 11:42 PM
Re: Backup, List, Restore
why do you use the device
'/dev/rmt/c0t0d0DDS'? This seems
to be a device for DDS1 tape cartridge
(check sam => peripheral => tape => devices).
In case you have a DDS2 or higher tape drive,
you should rather use the default device (/dev/rmt/0m).
---
BTW, you should assign points for the hints from the different people, even though they did not yet resolve your problem.
Regards,
Matthias