Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimmygchen/mssql-csv-export
Scripts to restore a mssql backup and export all tables to csv.
https://github.com/jimmygchen/mssql-csv-export
csv csv-export mssql
Last synced: 2 days ago
JSON representation
Scripts to restore a mssql backup and export all tables to csv.
- Host: GitHub
- URL: https://github.com/jimmygchen/mssql-csv-export
- Owner: jimmygchen
- Created: 2018-05-24T01:10:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-24T01:10:54.000Z (over 6 years ago)
- Last Synced: 2024-11-19T07:34:56.437Z (2 months ago)
- Topics: csv, csv-export, mssql
- Language: Shell
- Size: 1.95 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# export-mssql-backup-to-csv
Scripts for exporting a SQL Server backup to csv files.## Prerequisites
- Docker
- Node.js## Steps
1. Run mssql in a container and load your backup file into the container.
```
$ ./1_start.sh
```
2. Copy the logical names of the files and update the restore db command in `2_export.sh`
3. Run `./2_export.sh`.## References
https://docs.microsoft.com/en-au/sql/linux/tutorial-restore-backup-in-sql-server-container?view=sql-server-linux-2017#restore-the-database@jchen86