Operating System - HP-UX
1827870 Members
884 Online
109969 Solutions
New Discussion

Re: Restore from command line

 
Alex Ferreira
Frequent Advisor

Restore from command line

G'day all,

I dont have access to the omniback GUI and am required to do a restore. Can you please let me know how to do a restore from the command line.

Currently using Hp 11i..

Thank you,

Alex
4 REPLIES 4
Rajeev  Shukla
Honored Contributor

Re: Restore from command line

here is the command
first get the session ID you want to restore using omnidb -sess -datalist
then run omnidb -sess
will give you all the objects in that session and then you can run the restore command using
omnir -no_preview -filesystem -sess -tree -as
Indira Aramandla
Honored Contributor

Re: Restore from command line

Hi Alex,

To restore from command line use omnir .

The omnir command restores objects backed up using Data Protector. Refer to man pages of omnir for more details.



Indira A
Never give up, Keep Trying
Raj D.
Honored Contributor

Re: Restore from command line

Alex,

You can use omnir to restore from command line.

--
ex: To perform a full restore of tree "/ac" on filesystem "bb:/", with
no label, from the session "1994/07/12-2":

# omnir -filesystem bb:/ -full -session 1994/07/12-2 -tree /ac
---


For details:
# man omnir


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Raj D.
Honored Contributor

Re: Restore from command line