I need to copy a database from a remote server to a local one. I tried to use SQL Server Management Studio, but it only backs up to a drive on the remote server.
Som
There is the 99% solution to get bak file from remote sql server to your local pc. I described it there in my post http://www.ok.unsode.com/post/2015/06/27/remote-sql-backup-to-local-pc
In general it will look like this:
execute sql script to generate bak files
execute sql script to insert each bak file into temp table with varbinary field type and select this row and download data
repeat prev. step as many time as you have bak files
execute sql script to remove all temporary resources
that's it, you have your bak files on your local pc.