I have a small (few hundred MB) SQL Server database running on RDS. I've spent several hours trying to get a copy of it onto my local SQL Server 2014 instance. All of the following fail. Any ideas what might work?
Task -> Backup
fails because it doesn't give my admin account permission to backup to a local drive.Copy Database
fails during create package withWhile trying to find a folder on SQL an OLE DB error was encountered with error code 0x80040E4D
From SSMS, while connected to the RDS server, running
BACKUP DATABASE
. This fails with messageBACKUP DATABASE permission denied in database 'MyDB'
. Even after runningEXEC sp_addrolemember 'db_backupoperator'
for the connected user.General scripts
generates a 700MB.sql
file. Running that withsqlcmd -i
fails at some point after producing plausible.mdf
and.ldf
files that can't be mounted on the local server (probably because the sqlcmd failed to complete and unlock them).