Recently I was asked to recover a corrupted instance from backups
I ran into some issues with corrupted devices and decided a rebuild would be much faster then a recovery
However, I needed to reload the master database anyway to get latest data from system tables like logins, roles, passwords, etc.
It would have been much faster if I would have been able to reload the master database backup into a regular user database to just get this data and then discard this database again. But this is not possible and raises error 3109.
I know, a copy of system tables from master using bcp provides this info. But it was too late for that.
Building a new instance just to reload the master db to get this info is also possible.
Of course the master database contains lots of system tables unique to master, which don't make sense in any other db
I'm wondering if there's a traceflag to avoid error 3109, just to save some time.