Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 13 days ago
JSON representation

Datamigration CLI tool for SQL server. Support exporting and imports databases from Azure SQL and SQL Standalone.

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/.