# MigrateVaultJob

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MigrateVaultJob/

Struct for a vault migration job.

- **Full name:** `MFiles.MigrateVaultJob`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-type"></a>`type` | [`VaultMigrationType`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.VaultMigrationType/index.md) | 1 | Vault migration type (e.g. full or file data only). Values: `VAULT_MIGRATION_TYPE_FULL` (0), `VAULT_MIGRATION_TYPE_FILE_DATA` (1). |
| <a id="f-target_vault"></a>`target_vault` | [`Vault`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Vault/index.md) | 2 | The vault to migrate. Holds information on the target database engine, for example. |

<a id="used-in-fields"></a>

## Used in fields

- [`JobDataUnion.migrate_vault`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.JobDataUnion/index.md#f-migrate_vault): Vault migration job.
