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

Home > How to find the journal file that is being switched after Freeze?

Question
Raghuram Devarakonda · Mar 30, 2017

How to find the journal file that is being switched after Freeze?

Hi,

I am placing Cache instance in backup mode by using the command:

    csession <INST> -U%SYS "##Class(Backup.General).ExternalFreeze()"

and I see in the console log a message similar to follows:

"Journaling switched to: /cache/mgr/journal/20170330.002"

Now, is there a way to programmatically find out this journal file name? In fact, I am interested to find out the journal file that is switched. For example, in the above case, that would be "20170330.001".

Thanks,

Raghu

#Caché

Source URL:https://community.intersystems.com/post/how-find-journal-file-being-switched-after-freeze