• If some user restore database from a copy of backup and give a new name, this is also considered as a new database, then the stored procedure won't notify that.

    how can we deal this situation?

    Thanks