Create exclusion templates for migrations

Exclusion templates are sets of rules preventing certain file sizes or file names (defined using glob patterns) from being migrated to your target storage. You can create an exclusion template in the Azure Portal or with the CLI, which you can then apply to a migration as an exclusion. Exclusions are optional: you do not need to create any to create a migration.


Deleting an exclusion template will not cause exclusions based on it to be removed from current migrations.

  1. In the Azure Portal, navigate to the LiveData Migrator resource page.
  2. From the LiveData Migrator menu on the left, click Exclusion Templates.
  3. Click Add.
  4. Complete the Basic details:
    • Exclusion Name The name for the exclusion template.
    • Exclusion Type Pick one from the drop down menu:
      • File Size Exclusion = Value / Unit - The value and unit for the file size limit (for example: 100 GB).
      • Pattern = Pattern - The glob pattern to be used for excluding file names and directory names (for example: /**/test*).
      • Date Exclusion = Date - Any files that have been modified before the specified date will be excluded during migrations, in the format YYYY-MM-DD (for example: 2021-04-15).
    • Description A brief description of what the exclusion is doing.
  5. Click Review + create.
  6. Click Create.

Next steps#

Once you have successfully created exclusion templates, you can add them to a new migration as exclusions [through the Portal](/live-data-platform/docs/migration-ldm#migrate-data-with-the-azure-portal or through the CLI), or add them as exclusions to an existing migration through the CLI.


Adding an exclusion to an existing migration through the portal will be possible in the next release.


If you are having trouble creating exclusion templates, you can find solutions in the troubleshooting guide.