# replication.target_unmatched_snapshots

Check if target has any snapshots that do not exist on source. Returns these snapshots grouped by dataset.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: direction

#### direction

Type: enum (of string)

Direction of replication to check for unmatched snapshots.

##### Must be one of:

- "PUSH"
- "PULL"

##### Parameter 2: source_datasets

#### source_datasets

Type: array of string

Array of source dataset names.

Must contain a minimum of `1` items

No Additional Items

##### Each item of this array must be:

Type: string

##### Parameter 3: target_dataset

#### target_dataset

Type: string

Target dataset name to check for unmatched snapshots.

##### Parameter 4: transport

#### transport

Type: enum (of string)

Transport method to use for accessing snapshots.

##### Must be one of:

- "SSH"
- "SSH+NETCAT"
- "LOCAL"

##### Parameter 5: ssh_credentials

#### ssh_credentials

Default: null

Keychain credential ID for SSH access. `null` for local transport.

## Any of

Type: integer
Type: null

##

#### Result

Type: object

Object mapping dataset names to arrays of unmatched snapshot names on the target side.

Example:

    {
        "backup/games": [
            "auto-2019-10-15_13-00"
        ],
        "backup/work": [
            "auto-2019-10-15_13-00",
            "auto-2019-10-15_09-00"
        ]
    }

##

Each additional property must conform to the following schema

Type: string

Required roles: REPLICATION_TASK_WRITE