Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • API, CLI, and SDK Documentation
  • REST API Documentation
  • Jobs Using REST API
  • Job Policies (REST API)

Duplicate Name Policy Using REST API

Learn how to configure the duplicate name policy for a migration job using the REST API.

Written by Andrea Harvey

Updated at May 2nd, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Insights
    Prebuilt Insights Custom Insights
  • Content
  • Accounts
  • Activity Log
  • Content Scans
  • Migrations
    Migration Jobs Migration Reports Maps Flagged Items Migration Tools
  • Connections
    Supported Platform Connections Creating Connections Connection Maintenance Connection Pools
  • Entity Types
    DryvIQ Available Entity Types Custom Entity Types Entity Type Maintenance
  • Action Sets
    Creating Action Sets Action Sets Maintenance
  • Settings
    License Performance Notifications Extensions Entity Types Settings Display Settings Configuration
  • API, CLI, and SDK Documentation
    REST API Documentation Command-line Interface SDK Development
  • POC Offering
  • Release Notes
+ More

Table of Contents

Overview Duplicate Folder Names Job JSON Example

Overview

This policy determines what DryvIQ should do when it encounters duplicate content names. 

Option Behavior
"duplicate_names": "rename" Rename duplicate content. The file name will be appended with (1) to indicate it is the renamed file. This is the default option. 
"duplicate_names": "warn" Log a warning for duplicate names. 

Ensure to configure this policy when using Batch mode for bulk migration. 

 

Duplicate Folder Names

If there are duplicate folder names, DryvIQ will only create the child job for the first folder it encounters and skip the duplicate folder, even if the "duplicate_names" policy is set to "rename." Therefore, it is essential to verify that there are no duplicate folder names before creating your folder mapping job. 

Job JSON Example

{
    "name":"Simple Transfer Job with Duplicate Name Policy",
    "kind": "transfer",
    "transfer": {
        "duplicate_names": "rename",
        "transfer_type": "copy",
        "source": {
            "connection": { "id": "{{nfs_connection}}" },
            "target": {
                "path": "/SourcePath"
            }
        },
        "destination": {
            "connection": { "id": "{{cloud_connection}}" },
            "target": {
                "path": "/DestinationPath"
            }
        }
    },
    "schedule": {
        "mode": "manual"
    }
}

 

rest api api policy migration job name duplicate

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Connection Management Using REST API
  • Connection Pools Using REST API
  • LDAP Account and Group Maps Using REST API
  • Empty Container Policy Using REST API

Copyright 2025 – DryvIQ, Inc.

Knowledge Base Software powered by Helpjuice

Expand