Questions tagged [bacpac]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
182 views

SQL72014 error importing bacpac with multiple columns using a UDT bound to a rule

Apology First off, apologies for length - this is a weird issue so I'm trying to give enough detail to make it reproducible. tl;dr So I've think found an issue while exporting a *.bacpac Data Tier ...
mclayton's user avatar
  • 143
3 votes
0 answers
425 views

Find SQL version of Azure server

I have been restoring bacpacs provided by a third party on my on prem sql server via powershell. I copy over the bacpac from an SFTP site on to my local drive. This time I have been getting errors ...
mail_sady's user avatar
0 votes
1 answer
280 views

Change the schema of table while restoring the database from bacpac file?

I have a bacpac file which I generated from SQL Server. And now, I am restoring the database using this bacpac file into the Azure Managed Instance. Here, I am trying to change the schema of the table ...
Robin's user avatar
  • 1
0 votes
1 answer
399 views

The store schema does not contain the Element class SqlXmlCompressionOption

I hope you are all good I am doing or importing a bacpac file from azure SQL to SQL on-premisse with SSMS and I am receiving this error. Somebody get me help or give me a north Details Could not ...
Wesley Neves's user avatar
4 votes
1 answer
1k views

What are the .BCP files inside a .bacpak file?

Diving on dba.stackexchange.com I found a nice answer that teach me how to open a .bacpac file with File Explorer. I gave it a try with the database AdventureWorks2008R2 and all I did was: Save the ...
Francesco Mantovani's user avatar
0 votes
1 answer
396 views

importing bacpac file using sql package

How can I specify Database maximum size when importing bacpac file using sql package? The maximum size of 32GB is auto-sizing, but my actual DB size is over 35GB. Can I get to use DatabaseMaximumSize=(...
Cho Wai Tun's user avatar
3 votes
2 answers
623 views

Free some space on a full Express Edition instance

Using Microsoft SQL Server 2016 (RTM) - 13.0.1601.5 (X64) Express Edition (64-bit) I have a database that reaches the maximum space (10Gb) every month. In order to free up some space I do a bacpac, ...
Pedro Adão's user avatar
0 votes
1 answer
594 views

Is the BACPAC from a TDE encrypted DB also encrypted?

If you create a BACPAC of an encrypted database, will the data in the BACPAC be encrypted? We're currently using on-prem SQL Server and use TDE to encrypt our customer databases. We also have a ...
SqlNightOwl's user avatar
1 vote
1 answer
2k views

What is the best way to include a large amount of configuration data in a SQL project?

I have a BIDS SQL Server Database Project with a database that I publish dynamically to various servers (SQL2016). It initially starts blank and everything is parameterized. Everything is in Azure ...
Alex K's user avatar
  • 175
2 votes
1 answer
416 views

Importing a single large table in Azure

I have an existing DB called MyDb in Azure SQL Server. I have a bacpac of another DB with several tables in it. I'm interested in importing one single table (that table has no FK, it makes things ...
Askolein's user avatar
  • 131
4 votes
1 answer
1k views

MS Azure remote back up with SqlPackage

I wanted to do an export of a .bacpac file from MS Azure database, from local machine, with command like this: sqlpackage.exe /Action:Export /ssn:tcp:<ServerName>.database.windows.net,1433 /sdn:...
userfuser's user avatar
  • 149
1 vote
0 answers
700 views

Import bacpac containing security policies and temporal-tables with schemabinding

I've created a bacpac backup of my database (both Azure and local with SSMS). Trying to import the bacpac to same or another machine (again both Azure and local) the import always fails with this ...
AKL's user avatar
  • 11
2 votes
1 answer
4k views

Importing BACPAC file from azure to SQL creating an empty database

Exported Data-Tier_application from an Azure database to create a BACPAC of it. SQL editions I'm trying to use to import the BACPAC: SQL Server 2016 express. SQL Server 2017 Developer ...
Racer SQL's user avatar
  • 7,386
2 votes
0 answers
360 views

Is there a way to programmatically get the version of a .bacpac file without unzipping and inspecting the xml?

The situation is that we get a copy of the latest production bacpac, then restore it locally when setting up our dev environment. During the setup, we do an explicit check for the DacFX dll but target ...
Doc Rinehart's user avatar
7 votes
3 answers
14k views

Bacpac Import fails with error 'The Element or Annotation class SqlDatabaseOptions does not contain the Property class CatalogCollation'

I want to restore some production azure database on my local machine for development purposes. So I exported the production database to a .bacpack file & downloaded that file on local. Now I am ...
Ketan's user avatar
  • 477
4 votes
1 answer
473 views

SQL Server on linux unable to export to bacpac [closed]

I'm trying to export my database to a .bacpac file. I get the following error: (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) The command I'm using is: /...
Jake Smith's user avatar
2 votes
2 answers
4k views

Create bacpac from SQL Server 2008

Is it possible to export bacpac file from SQL SERVER 2008 (running 10.50.6220)? I can only see option for dacpac.
JS_Diver's user avatar
  • 165
8 votes
1 answer
4k views

SQLPackage : Import or Export SQL Azure BACPAC without users

I know how to use SQLpackage.exe. I can export from SQL Azure and create a bacpac. I can also Import to SQL Server via SQLPackage.exe. I want to export or import without the users in the database. The ...
Peter PitLock's user avatar