Menu

#16 Check if target database is shutted down during recovery

1.x
open
recovery (2)
2013-10-28
2012-11-08
No

To prevent wrong restores and also to prevent user failure there should be a check if the target database is shutted down.
As far as I can see it will never work if the DB would be running.

Discussion

  • Gabriele Bartolini

    to be added to the TODO list

     
  • Gabriele Bartolini

    • labels: --> recovery
    • assigned_to: Gabriele Bartolini
     
  • Gabriele Bartolini

    Until we improve the remote recovery facility (with a remote agent, for example), this kind of checks is difficult and cumbersome. With local recovery it is pretty straightforward.

    Theoretically, the recovery command should detect the PID file location and check if the process is up.

     

Log in to post a comment.