My project need to restore the previous part of the log, and I use the rountine "^JRNRESTO" and filter. After recovery completed, the table structure is restored, but the table data is not restored, also unable to insert data into the table.
The filter is defined as follows:
ZJRNFILT(jid,dir,glo,type,restmode,addr,time)
New zdh
Set zdh=$zdatetimeh("11/14/2019 15:18:56")
If $p(time,",",1)>$p(zdh,",",1) Set restmode=0 Quit
If $p(time,",",1)<$p(zdh,",",1) Set restmode=1 Quit
If $p(time,",",2)<$p(zdh,",",2) {
Set restmode=1
} Else {
Set restmode=0
} Quitafter restore the :
.png)