Skip to content

Commit

Permalink
Add Bacpac creation doc (#957)
Browse files Browse the repository at this point in the history
* Update registry-access-control.md

* Update README.md

* add logo

* Update README.md

* Add docs for how to create bacpac file

* Revert "Add docs for how to create bacpac file"

This reverts commit 2837926.

* Revert "Revert "Add docs for how to create bacpac file""

This reverts commit 90f8348.

* Update creating_bacpac_file.md
  • Loading branch information
xiaoyongzhu authored Jan 17, 2023
1 parent 290ceb3 commit 23a7cb1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/dev_guide/creating_bacpac_file.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
layout: default
title: Creating the BACPAC file
parent: Developer Guides
---

# Creating the BACPAC file

BACPAC is the SQL server backup format, the BACPAC file we used in the ARM template contains empty tables with predefined schemas, which are required by the registry service.

In case you need to re-create the BACPAC file, follow these steps:

1. Create a new, empty SQL database on Azure
![Create Empty Database](../images/bacpac-sql-database.png)

2. Connect to the database with a SQL client, such as Azure Data Studio, run the SQL script at https://github.com/linkedin/feathr/blob/main/registry/sql-registry/scripts/schema.sql

3. Now we created the tables required by the registry service, we can use “Export” function to create the BACPAC file
![Bacpac Export UI](../images/bacpac-export.png)

After this step, the database is not needed anymore.
Binary file added docs/images/bacpac-export.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/bacpac-sql-database.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 23a7cb1

Please sign in to comment.