From b27370ea4102548497e572e71b37e1e6759177f1 Mon Sep 17 00:00:00 2001 From: 0x7FFFFFFFFFFFFFFF <39968+0x7FFFFFFFFFFFFFFF@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:33:46 -0800 Subject: [PATCH] Copy-DbaDatabase - doc update (#9200) Co-authored-by: Chrissy LeMaire Co-authored-by: Shawn Melton <11204251+wsmelton@users.noreply.github.com> --- public/Copy-DbaDatabase.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/Copy-DbaDatabase.ps1 b/public/Copy-DbaDatabase.ps1 index d62450d843..99bcad3222 100644 --- a/public/Copy-DbaDatabase.ps1 +++ b/public/Copy-DbaDatabase.ps1 @@ -172,7 +172,7 @@ function Copy-DbaDatabase { .EXAMPLE PS C:\> Copy-DbaDatabase -Source sql2012 -Destination sql2014, sql2016 -DetachAttach -Reattach - Databases will be migrated from sql2012 to both sql2014 and sql2016 using the detach/copy files/attach method.The following will be performed: kick all users out of the database, detach all data/log files, move files across the network over an admin share (\\SqlSERVER\M$\MSSql...), attach file on destination server, reattach at source. If the database files (*.mdf, *.ndf, *.ldf) on *destination* exist and aren't in use, they will be overwritten. + Databases will be migrated from sql2012 to both sql2014 and sql2016 using the detach/copy files/attach method. The following will be performed: kick all users out of the database, detach all data/log files, files copied to the admin share (\\SqlSERVER\M$\MSSql...) of destination server, attach file on destination server, reattach at source. If the database files (*.mdf, *.ndf, *.ldf) on *destination* exist and aren't in use, they will be overwritten. .EXAMPLE PS C:\> Copy-DbaDatabase -Source sql2014a -Destination sqlcluster, sql2016 -BackupRestore -UseLastBackup -Force @@ -1486,4 +1486,4 @@ function Copy-DbaDatabase { Write-Message -Level Verbose -Message "No work was done, as we stopped during setup phase" } } -} \ No newline at end of file +}