Hello Raghu --

I think you are interested in doing an unattended restore with ^DBREST. See the documentation for modifying the jrnopt and jrnfile parameters:

http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...

Also an additional doc that may be helpful:

https://community.intersystems.com/product-documentation/cach%C3%A9-data...

HTH, Evan