Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
We are trying to recover data from older VMS backups using the 4.1 release of the vmsbackup utility. The archives were sent to us in zip format, and an example of one is the following:
Quote:
170312_SAMPLES.zip
Using the unzip command, the contents of were extracted into the directories shown below:
Hello --
We are trying to recover data from older VMS backups using the 4.1 release of the vmsbackup utility. The archives were sent to us in zip format, and an example of one is the following:
Using the unzip command, the contents of were extracted into the directories shown below: A sample of the files in the extracted folders is as follows: An example of the syntax that is being used to extract from the bck files is the following:
Code:
/usr/local/bin/vmsbackup -x -d -f SFONGSP1_SL.BCK
The files do not get extracted, and the error message that we are getting is as follows:
Code:
Snark: Invalid block size
Does anyone have any ideas on this?
When dealing with backup files, the first and most obvious question is, "what was the program that created these files?" Secondly...you didn't post the whole error message, did you? Because typically after the "Snark" message, it will tell you something like " - expected: xxx got: yyy" after it.
The -f flag is for specifying the device, not the file. From the man page:
Code:
-f Use the next argument in the command line as the tape device to be used, rather
than the default.
If vmsbackup is compiled with the remote tape option and the file name has the
form system[.user]:/dev/??? vmsbackup will use the tape drive /dev/??? on the
remote system system, via rsh(1), and rmt(8). The optional user portion of the
pathname specifies the login name to use on the remote system. If it is not sup-
plied, the current user's login name will be used. In all the cases, the user
must have the appropriate permissions on the remote machine, in order to use this
facility. The default is /dev/rmt8 (drive 0, raw mode, 1600 bpi). This must be a
raw mode tape device.
Try it without the -f. Also, you may want to use the -t option alone first, to make sure you can actually read the file.
The program that created these files was an in-house application designed to run on a VAX/VMS server.
I can assure you the error message that I listed in my initial email was copied verbatum from the console window.
Per your instructions, I ran the following command syntaces:
Read the man page on that command, and try to play with the options. Omit the -d, but really it is up to you to try some different things on your own as well. The -d means to create the file/directory tree structure. If it can't (the path may be VERY different), then it may error out. And have you tried specifying the path to the file, as in "./<filename>", or "/some/path/filename.bck"?
Quote:
and in both instances the error message that I encountered is the following:
Then I have no idea. The -f explicitly says it is ONLY to be used for a tape device, coupled with the fact you're getting no block-size message, would indicate something is up with vmsbackup. Since you don't say what version/distro of Linux, where you got this program or how it got installed, we can't guess.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.