Sql-server – Backup & restore to different servers different locations

backuprestoresql server

I need to back up hundreds of databases and restore them to 20 different servers, and different data file locations for destination servers.

Are there any tool that allows me to copy one database/all databases easily?

Best Answer

I agree with Kin dbatools you can either use Start-DbaMigration or Copy-DbaDatabase depending on your needs.

Update: Now, you can migrate from one server to many. This applies to both Start-DbaMigration and all of the Copy-Dba* commands, including Copy-DbaDatabase and Copy-DbaLogin - see https://dbatools.io/migration-enhancements/