New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start-DbaMigration xplat fixes #4771

merged 5 commits into from Dec 5, 2018


None yet
1 participant

potatoqualitee commented Dec 5, 2018

# Get images. First image has a bunch of sample objects, including databases (Northwind, pubs) and some db certs
docker pull dbatools/sqlinstance
# Second one is mostly empty but has an exposed endpoint and a matching certificate for auth with other image
docker pull dbatools/sqlinstance2

# Create network for nodes to talk to each other
docker network create localnet
# Expose engine and endpoint and a shared path in case you want to do a migration too
docker run -p 1433:1433 -p 5022:5022 --volume /tmp:/sharedpath --network localnet --hostname dockersql1 --name dockersql1 -d dbatools/sqlinstance
# Expose second engine and endpoint on different port
docker run -p 14333:1433 -p 5023:5023 --volume /tmp:/sharedpath --network localnet --hostname dockersql2 --name dockersql2 -d dbatools/sqlinstance2


# password is dbatools.IO
$cert = Get-Credential sqladmin
# Exclude unsupported features
Start-DbaMigration -Source localhost:1433 -Destination localhost:14333 -SourceSqlCredential $cert -DestinationSqlCredential $cert -BackupRestore -SharedPath /sharedpath -Exclude LinkedServers, Credentials, CentralManagementServer, BackupDevices



potatoqualitee added some commits Dec 5, 2018

@potatoqualitee potatoqualitee merged commit 55a8ef3 into development Dec 5, 2018

1 check passed

continuous-integration/appveyor/branch AppVeyor build succeeded

@potatoqualitee potatoqualitee deleted the migrationfixes branch Dec 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment