Published on InterSystems Developer Community (https://community.intersystems.com)

Home > How to perform journal restore programmatically?

Question
Raghuram Devarakonda · Mar 30, 2017

How to perform journal restore programmatically?

Hi,

After restoring all the Cache related files on a machine, I am performing journal recovery using the command "^JRNRESTO". It works as described in the document and the recovery succeeds. However, the command is interactive. Is there a way I can run it in a programmatic way? I don't want to just supply a text file containing answers to all the prompts. I am wondering if there is way I can pass all the information upfront to the command.

Thanks,

Raghu

#Caché

Source URL:https://community.intersystems.com/post/how-perform-journal-restore-programmatically