From 40679cefca79c4a79e1fe62837c14f151b855f95 Mon Sep 17 00:00:00 2001 From: Christian Capeans Date: Wed, 8 Mar 2023 14:31:36 +0100 Subject: [PATCH] Exclude default ignored entities --- packages/core/strapi/lib/commands/transfer/transfer.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core/strapi/lib/commands/transfer/transfer.js b/packages/core/strapi/lib/commands/transfer/transfer.js index 0be4a64603..de13c5c60c 100644 --- a/packages/core/strapi/lib/commands/transfer/transfer.js +++ b/packages/core/strapi/lib/commands/transfer/transfer.js @@ -79,6 +79,9 @@ module.exports = async (opts) => { destination = createLocalStrapiDestinationProvider({ getStrapi: () => strapi, strategy: 'restore', + restore: { + entities: { exclude: DEFAULT_IGNORED_CONTENT_TYPES }, + }, }); } // if URL provided, set up a remote destination provider