Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am going through our tapes to extract data from several years ago. At that time we used a mini-computer running the HP-UX 11.00 operating system. Archives were done periodically to DLT and SDLT tapes.
The system in question has since been decommissioned, and I have been tasked with extracting the data from the tapes. The system that I am using to extract the data is an Ubuntu Linux 14.04 LTS server running as a virtual machine. To determine what is on a given tape, the following command is run:
Quote:
tar -tvf /dev/st2 .
The output that is shown on screen is the following:
Quote:
drwxrwxrwx OWNER:GROUP <date> <time> ./
As far as I know, gnu tar was used in these backups, but it is also possible the HP-UX specific tar utility was used for these operations.
Is there a specific command argument or option that I can use to successfully extract the data? If not, what are my options? Thanks.
Hello --
I am going through our tapes to extract data from several years ago. At that time we used a mini-computer running the HP-UX 11.00 operating system. Archives were done periodically to DLT and SDLT tapes.
The system in question has since been decommissioned, and I have been tasked with extracting the data from the tapes. The system that I am using to extract the data is an Ubuntu Linux 14.04 LTS server running as a virtual machine. To determine what is on a given tape, the following command is run:
Code:
tar -tvf /dev/st2 .
The output that is shown on screen is the following:
Code:
drwxrwxrwx OWNER:GROUP <date> <time> ./
As far as I know, gnu tar was used in these backups, but it is also possible the HP-UX specific tar utility was used for these operations. Is there a specific command argument or option that I can use to successfully extract the data? If not, what are my options? Thanks.
Without knowing what was used, there's not much to suggest. You can try tar first, but CPIO could have also been used on HP/UX. Without knowing, it's almost impossible to guess, you're just going to have to try the different utilities, or ask whoever created the tape what they used. Did you try to redirect the tape command to a file to see what you got?
Recommend you make a tar file, not a compressed one, just a tar file, and look at it.
Not too complicated, it is pure concatenation with a minor amount of added extra information.
Perhaps whatever lay on these tapes is merely that. I would believe that tar should also just be capable of extracting the information.
Another test would be to see if you can see files on that device and copy them over somewhere, or use the dd command to get an image of what's on the tape drive and then try to extract the data from the image file.
Thank-you both for responding to my posting. I went with the suggestion of outputting the tar -tvf /dev/st2 command to a file, and the contents of the file listed the data.
Following that, I ran the command listed below:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.