-2

I have a SQL Server 2017 running on my Ubuntu 18.04 machine, and I was also provided with a database hosted on Azure.

What I'm trying to do is to get a local copy of that database so that I can work upon it without messing with the real/production database.

Most of the examples I run into are made through the SSMS such as this one.

I also tried this - without success so far.

I've been the whole day trying to figure this out. Any hand on how can I achieve this on a ubuntu machine?

-- EDIT --

When I tried to do what the docs says, I get this error:

Statement 'BACKUP DATABASE' is not supported in this version of SQL Server.

Apparently, it has to do with Azure itself: http://sqlazuretutorials.com/wordpress/sql-statements-not-supported-for-sql-azure/

germmand
  • 1,190
  • 7
  • 9

1 Answers1

2

Basically what I did was that I made use of Azure Data Studio along with its extension SQL Server Import which has this feature for exporting and importing .bacpac files as in SSMS as mentioned here.

germmand
  • 1,190
  • 7
  • 9