Thor Logo dbatools

Transfer

New-DbaDbTransfer

Kirill Kravtsov (@nvarscar)

New-DbaDbTransfer View Source Kirill Kravtsov (@nvarscar) Windows, Linux, macOS Synopsis Creates a configured SMO Transfer object for copying database objects between SQL Server instances Description Returns a configured SMO Transfer object that defines what database objects to copy and how to copy them between SQL Server instances. This function prepares the transfer configuration but does not execute the actual copy operation - you must call .TransferData() on the returned object or pipe it to Invoke-DbaDbTransfer to perform the transfer.

Read more