https://github.com/Wingloader/Auto-Azure-BACPAC-Download
Automatically extract Azure DB and restore it to a local SQL server with one step
https://github.com/Wingloader/Auto-Azure-BACPAC-Download
Last synced: 5 months ago
JSON representation
Automatically extract Azure DB and restore it to a local SQL server with one step
- Host: GitHub
- URL: https://github.com/Wingloader/Auto-Azure-BACPAC-Download
- Owner: Wingloader
- Created: 2017-12-11T18:26:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-11T19:43:42.000Z (over 7 years ago)
- Last Synced: 2024-05-23T00:30:40.421Z (11 months ago)
- Language: PowerShell
- Size: 5.86 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - Wingloader/Auto-Azure-BACPAC-Download - Automatically extract Azure DB and restore it to a local SQL server with one step (PowerShell)
README
# Auto-Azure-BACPAC-Download
Automatically extract Azure DB and restore it to a local SQL server with one stepThe purpose for this is to reduce the number of steps needed to extract a data tier database from Microsoft Azure SQL database and upload the database into a local SQL Server database.
WARNING: The attached ps1 file will store your SQL sa password in clear text.
If you don't want to do this, don't use this file.This code currently runs successfully on the following setup:
Local PC OS: Windows 10 Pro
Installed locally on PC
Microsoft SQL Server Developer (64-bit) v12.0.5207.0You will need to put the ps1 script file somewhere and make reference to it in the T-SQL script.
Running the SQL script will do the whole process in one step.