Skip to content

Copy-DbaLogin Permissions sync only Server Roles and Server securables #8312

@AlejandroPR

Description

@AlejandroPR

Summarize Functionality

We have a system where logins gets created regularly. We are using copy-dbalogin to sync logins between nodes in Availability groups.
With a large number of databases copy-dbalogin performs slower than we would like.
When using the -ExcludePermissionSync performance is great but server permissions are not carried over.

It would be helpful if the function has an option for Server Permissions only and avoids looping through all databases for database permissions.

Is there a command that is similiar or close to what you are looking for?

No

Technical Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurepending team feedbackWaiting for feedback from other maintainers/contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions