Subject Checking whether a database restore is running as a client
Author robertgilland
Is there any way for a client application, to know whether the
database on the server in the middle of a database backup or more
importantly a database restore?

The other thing is how can you check if anyone is connected to the
server?

Regards,

Robert