https://github.com/cloudfy/datavoyager
Datamigration CLI tool for SQL server. Support exporting and imports databases from Azure SQL and SQL Standalone.
https://github.com/cloudfy/datavoyager
Last synced: about 1 year ago
JSON representation
Datamigration CLI tool for SQL server. Support exporting and imports databases from Azure SQL and SQL Standalone.
- Host: GitHub
- URL: https://github.com/cloudfy/datavoyager
- Owner: cloudfy
- License: mit
- Created: 2024-12-09T09:11:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-09T13:12:59.000Z (over 1 year ago)
- Last Synced: 2025-02-07T11:53:51.771Z (over 1 year ago)
- Language: C#
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DataVoyager
Datamigration CLI tool for SQL server. Support exporting and imports databases from Azure SQL and SQL Standalone.
## Usage
### Export
Exports a database to a DVO file.
```bash
dvcli export \
--output "c:\temp\export.dvo" \
--connection "Server=(azureserver).database.windows.net;Authentication=Active Directory Interactive;Encrypt=True;Database=(database)" \
--ignore "MyTable"
```
**Options**
| parameter | description |
| - | - |
| output | File name. |
| connection | Connection-string to the database. |
| ignore | Comma-seperated list of tables to ignore. |
### Import
Imports a DVO file to a database.
```bash
dvcli import \
--file "c:\temp\export.dvo" \
--connection "Server=.\SQLExpress;Trusted_Connection=True;TrustServerCertificate=true;Database=(database)" \
```
**Options**
| parameter | description |
| - | - |
| file | File name. |
| connection | Connection-string to the database. |
Get connection string from https://www.connectionstrings.com/.