Highlighted
Valued Contributor.
Valued Contributor.
661 views

GUI have more functionality than CLI?

Jump to solution

Is there an HP-UX command line that I can run which will cause a file (not a filesystem) to get restored from tape? I've browsed the CLI reference, but haven't divined the appropriate command line.

 

In more general terms, are there any tasks performed using the Data Protector Manager (6.11, Windows), that cannot be performed using an HP-UX command line?

 

 

thanks,

Red

 

 

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

Hi Red.

     To restore data, you need to use omnir. This is quite a complicated command but this form of the command should come close to what you need -

 

omnir {-filesystem | -winfs | -netware} Client:MountPoint Label -session SessionID -tree TreeName

 

    For a HP-UX file, '-filesystem' is the option you'll need. Try these options and see what works for you.

Regards,

Shishir

View solution in original post

Tags (1)
3 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

Hi Red.

     To restore data, you need to use omnir. This is quite a complicated command but this form of the command should come close to what you need -

 

omnir {-filesystem | -winfs | -netware} Client:MountPoint Label -session SessionID -tree TreeName

 

    For a HP-UX file, '-filesystem' is the option you'll need. Try these options and see what works for you.

Regards,

Shishir

View solution in original post

Tags (1)
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Hi Red,

 

Omniback was written for HP-UX and even though its now Data Protector and (according to HP marketing stats)  the majority of cell manager licenses sold are for windows/linux OS it is still possible to do everything from command line (but getting the syntax right can sometimes be a total beeatch)

 

The are also a few maintenance (e.g. omnidbutil) and administive (e.g. omnikeytool) commands that can *only* be run via command line.

 

Check out the CLIR.pdf (WIN IS\<omnihome>\docs\MAN\) for a full list

 

cheers,

jenni

 

 

 

 

regards,
jenni

--------------------------------------------------------------------------------
If my post was useful, please click on KUDOS!
0 Likes
Highlighted
Valued Contributor.
Valued Contributor.

 

Thanks to Shishir, I finally determined (long ago) the command lines required. Here are a ocuple of examples:

 

 

omnir -filesystem foobar.example.com:/terafs 'foobar.example.com [/terafs]' \
     -session 2011/11/08-2 -tree /terfs/logs -into /tmp -target localhost \
     -only .Xauthority
omnir -filesystem foobar.example.com:/terafs 'foobar.example.com [/terafs]' \
     -session 2011/11/08-2 -tree /terafs/logs/foo/bar/baz  -into /tmp \
     -target localhost -only dummy.log dummy2.log
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.