I am planning for sql server 2019 migration to new hardware.
For the server level logins, roles I can either restore the master db or script these out.
Similarly, for sql agent jobs I can either restore the msdb db or script these out.
When migrating SQL server (same version) to new hardware, are both options feasible? (that is restore of msdb vs scripting)?