Question Lawrence Williams · May 11, 2021

Is there a way to run a restore in the background ?

We are running a restore of a mirrored database on the secondary mirror member via the DBREST restore procedure.

Since it is run from an interactive session, if the session times out or the vpn is severed, the restore is affected..... is there a way to run the restore in a background process instead ?

Product version: IRIS 2020.1

Comments

Alexander Pettitt · May 11, 2021

If your session is text you might make a look at a tool like screen that is available for Unix based systems.

0
Lawrence Williams · May 11, 2021

I installed screen and it looks promising !   Gonna give it a try, thank you Alexander !

0
Vic Sun · May 11, 2021

Hello Lawrence,

Screen is certainly an option (and doesn't require more than installing and running ^DBREST per your normal steps), but there is also the built-in function of:

Unattended Restore Using ^DBREST

EXTALL^DBREST and EXTSELECT^DBREST.

0