Migrating content between 1C-Bitrix sites

Our company is engaged in the development, support and maintenance of Bitrix and Bitrix24 solutions of any complexity. From simple one-page sites to complex online stores, CRM systems with 1C and telephony integration. The experience of developers is confirmed by certificates from the vendor.
Our competencies:
Development stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1173
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    811
  • image_bitrix-bitrix-24-1c_development_of_an_online_appointment_booking_widget_for_a_medical_center_594_0.webp
    Development based on Bitrix, Bitrix24, 1C for the company Development of an Online Appointment Booking Widget for a Medical Center
    564
  • image_bitrix-bitrix-24-1c_mirsanbel_458_0.webp
    Development based on 1C Enterprise for MIRSANBEL
    745
  • image_crm_dolbimby_434_0.webp
    Website development on CRM Bitrix24 for DOLBIMBY
    655
  • image_crm_technotorgcomplex_453_0.webp
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    976

Content Migration Between 1C-Bitrix Sites

Moving content between sites on the same platform seems trivial — until you discover that sections, infoblocks, and their types live in different tables, and relationships break when records are simply copied. In practice this is structural work involving the database and the file system simultaneously.

What Actually Gets Migrated and How It Is Stored

Content in 1C-Bitrix falls into several categories with fundamentally different storage mechanisms:

Infoblocks — the primary workhorse. Structure: the b_iblock table stores iblock type metadata, b_iblock_element stores elements, b_iblock_section stores sections, b_iblock_element_property stores property values. When transferring between sites (different SITE_ID), keep in mind:

  • The iblock type may not exist on the target site — it must be created first
  • IBLOCK_ID will differ between source and target; all internal references and links must be recalculated
  • Properties of type "Element binding" store element IDs that will change after the transfer

Pages and site structure (b_iblock of type 'S' — static pages are not always used; more often this is the file structure under /bitrix/templates/ and physical .php files in the document root). Page content may be:

  • Directly in .php files — transferred via rsync/FTP
  • In components that connect to infoblocks — transferred via the iblock
  • In the visual page editor (Landing) — a separate case, tables b_landing_*

Transfer Tools

Built-in iblock export/import — via the admin section "Import/Export Data" (XML format). Limitations: does not correctly transfer file-type properties when paths differ, and does not automatically handle related elements.

Bitrix Migrations — the bitrix.migrate module (included starting with the Business edition). Allows creating content snapshots and applying them to another site. Suitable for CMS content, but not for high-load infoblocks with tens of thousands of elements.

Direct database work — the most reliable method for large volumes:

-- Get all iblock elements with the required IBLOCK_ID
SELECT ie.*, ies.PROPERTY_1234
FROM b_iblock_element ie
LEFT JOIN b_iblock_element_property iep ON ie.ID = iep.IBLOCK_ELEMENT_ID
WHERE ie.IBLOCK_ID = 42 AND ie.ACTIVE = 'Y';

With direct SQL transfer, an ID recalculation script is required: create elements via API (CIBlockElement::Add()), save the mapping old_ID → new_ID, then a second pass updates all binding properties.

Transferring Files and Images

Properties of type "File" store a reference to a record in the b_file table. Physically, files reside in /upload/iblock/. During transfer:

  1. Copy files to the /upload/ folder on the target site
  2. Create records in b_file on the target site (or use CFile::SaveFile())
  3. Update property values with the new FILE_IDs

If both sites are on the same server and share a common /upload/ folder (possible in a multisite configuration), the file-copying step is simplified, but the risk of filename conflicts increases.

Preserving SEO During the Transfer

When migrating between sites, page addresses may change. You must:

  • Build a redirect map (old URL → new URL)
  • Configure 301 redirects via .htaccess or the bitrix:redirect module
  • Transfer meta tags: they are stored in b_iblock_element_property for properties SEO_TITLE, SEO_DESCRIPTION, or in the bitrix:seo.tags component

Typical Timelines

Content Type Volume Timeline
Static pages + 1–2 infoblocks Up to 500 elements 1–3 days
Catalog with sections and properties 500–10,000 elements 1–2 weeks
Multilingual site with bindings 10,000+ elements 3–6 weeks

A full backup of both sites is mandatory before work begins. When migrating between different Bitrix versions, table structure compatibility is additionally verified.