Redgate SQL Data Compare command line
500K+
SQL Data Compare is the industry-standard tool for comparing and deploying SQL Server database contents.
You can work with live databases, backups, or SQL scripts in source control. Damaged or missing data can be restored to a single row, without the need for a full database recovery.
SQL Data Compare helps you compare and deploy changes quickly, simply, and with zero errors.
This image contains the SQL Data Compare command line interface and all the requisite dependencies.
docker run --rm \
redgate/sqldatacompare \
/token:"<personal-access-token>" \
/email:"<email>" \
/s1:my-server\\sql2019 \
/db1:database1 \
/u1:sa \
/p1:my-password \
/s2:my-server\\sql2019 \
/db2:database2 \
/u2:sa \
/p2:my-password
Replace the following:
<personal-access-token> and <email> with your personal access token and associated email address. View our documentation on personal access tokens to get started.The filesystem in a container is isolated from the rest of the system so you should use --mount to pass directories through to SQL Data Compare, for example when working with scripts folders and project files.
You can find more information at our documentation site and specifically the "Using the command line on Linux" page.
You need a SQL Data Compare Professional license to use the command line. If you don't have a license, you can use the command line on a trial license for 14 days.
Content type
Image
Digest
sha256:fcc6daa30…
Size
51.8 MB
Last updated
1 day ago
docker pull redgate/sqldatacompare