I have a SQL 2016 server that has its Server 2012 R2 OS in very bad shape.
A rebuild of the OS is on the cards.
The DB's are on other volumes and I still have control though the Mgmt Studio to be able to make backups as well, before I push the button.
This server also has Analysis services installed.
Is there a T-SQL or similar script that I can use to backup configuration data so that I can restore it again?
Items such as Users under Security, Maintenance plans etc.
Thank you.