I'm migrating sql server 2017 to sql server 2019 on a separate machine.
I have backed up all the user databases, scripted all the sql jobs and logins.
On target server I will 1st run the logins script, then restore the user dbs and then the jobs.
How to migrate the permissions of logins - for example - grant/remove/deny permissions on system objects and server instance?