Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

unable to export users with domain on MacOS #254

Open
TomPett opened this issue Mar 5, 2021 · 0 comments
Open

unable to export users with domain on MacOS #254

TomPett opened this issue Mar 5, 2021 · 0 comments

Comments

@TomPett
Copy link

TomPett commented Mar 5, 2021

Exporting domain-users on MacOS results in broken file.

user is exported as DOMAIN\USERNAME.

On windows the "\" in the username is replaced with a space, but on Mac it's not replaced which leads to an apparent error where the file is either empty or broken.

Results:
Windows: DOMAIN USER.User.sql - Works and file has data!
Mac: DOMAIN\USER.user.sql - corrupted or empty file.

Is there an existing workaround for this?

The executing command is:
mssql-scripter -U [user] -P [password] -S [server] -d [database] --file-per-object --object-permission --exclude-headers --display-progress --file-path [filepath]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant