Skip to content
ERP Migration

Legacy ERP Data Archiving: What to Keep and What to Discard

A practical guide for CIOs and IT leaders on defining retention policies, identifying critical historical data, and safely archiving or purging legacy ERP records before migration.

6 min readSysGenPro Editorial
Legacy ERP Data Archiving: What to Keep and What to Discard

Defining the Scope: What to Keep and What to Discard

Determining which legacy ERP data to keep, archive, or discard is a critical strategic decision that directly impacts migration costs, system performance, and regulatory compliance. The recommended approach is to adopt a tiered retention strategy based on business value, legal requirements, and technical feasibility. You should retain active master data and recent transactional history in the new system, archive older transactional data in a separate, queryable repository, and permanently discard obsolete or duplicate records. This process matters because migrating excessive historical data increases storage costs, slows down query performance, and complicates data cleansing. The main risks to control include accidental deletion of legally required audit trails, loss of historical context for financial analysis, and failure to meet data sovereignty regulations. By establishing clear criteria before extraction begins, you ensure that the new ERP environment is optimized for current operations while preserving necessary historical integrity.

Establishing Data Retention Policies

Before touching any data, you must define a formal data retention policy. This policy should be a collaborative effort involving IT, Finance, Legal, and Operations. Each department must identify the minimum and maximum retention periods for different data types. For example, financial transactions may need to be kept for seven to ten years depending on local tax laws, while customer contact information might only need to be retained for the duration of the active relationship plus a statutory cooling-off period. It is essential to document these decisions in a data dictionary that maps each ERP table or object to its retention rule. This documentation serves as the single source of truth for the migration team and provides an audit trail for compliance officers. Without this policy, the migration team may make ad-hoc decisions that lead to inconsistent data handling and potential legal exposure.

Categorizing Data by Business Value

Data should be categorized into three tiers: Active, Historical, and Obsolete. Active data includes current customers, vendors, open orders, and recent financial entries that are needed for daily operations. Historical data includes closed transactions, past invoices, and archived customer records that are no longer used in daily workflows but are required for reporting or audits. Obsolete data includes duplicate records, test data, and entries that have exceeded their legal retention period. This categorization helps in determining the destination for each data set. Active data is migrated to the new ERP. Historical data is typically archived in a data warehouse or a separate archival database. Obsolete data is purged from the source system before migration to reduce volume and improve data quality.

Data Profiling and Analysis

Once the retention policy is defined, the next step is to profile the existing legacy data. Data profiling involves analyzing the volume, quality, and structure of the data in the source system. You need to identify the total number of records for each entity, such as customers, products, and transactions. You should also assess data quality issues, such as missing fields, inconsistent formats, and duplicate entries. This analysis provides a baseline for estimating the effort required for data cleansing and transformation. It also helps in identifying data that is likely to be obsolete or irrelevant. For instance, if you find that 40% of customer records have not had any activity in the last five years, you can propose archiving or purging these records based on the retention policy. Data profiling tools can automate much of this process, but manual review is often necessary for complex or unstructured data.

Identifying Dependencies and Relationships

Data in an ERP system is rarely isolated. Transactions are linked to master data, and master data is linked to other entities. When deciding to discard or archive data, you must consider these dependencies. For example, you cannot delete a customer record if there are open invoices associated with it. Similarly, you cannot archive a product record if it is still being used in active sales orders. A dependency analysis is required to map these relationships. This analysis helps in determining the order of operations for data migration and archiving. It also helps in identifying potential data integrity issues that could arise if dependencies are not preserved. For instance, if you archive a vendor record but leave the associated purchase orders in the active system, you may break the link between the order and the vendor, leading to reporting errors.

Data retention is heavily influenced by legal and regulatory requirements. Different industries and jurisdictions have different rules regarding how long certain types of data must be kept. For example, financial services companies may be required to keep transaction records for a specific number of years, while healthcare organizations may have strict rules about patient data. It is crucial to consult with legal counsel to ensure that your retention policy complies with all applicable laws. This includes data protection regulations such as GDPR, which may require the deletion of personal data after a certain period. Failure to comply with these regulations can result in significant fines and reputational damage. Therefore, the legal review of the retention policy should be a mandatory step in the migration planning process.

Archiving Strategy and Technical Implementation

Archiving data involves moving it from the active ERP system to a separate storage location. This can be a data warehouse, a separate database, or a cloud storage solution. The choice of archival solution depends on the volume of data, the frequency of access, and the cost constraints. A data warehouse is suitable for large volumes of historical data that need to be analyzed for reporting purposes. A separate database is suitable for data that needs to be accessed occasionally for specific queries. Cloud storage is a cost-effective option for data that is rarely accessed. The archival process should be automated to ensure consistency and reduce manual errors. It should also include validation steps to ensure that the data is transferred accurately and completely. The archival system should be designed to be scalable and secure, with appropriate access controls and encryption.

Ensuring Data Integrity During Archiving

Written by
SysGenPro Editorial

SysGenPro Editorial

Platform & solutions team

Practical guidance on ERP, AI automation, cloud deployment and enterprise transformation from the SysGenPro team.

Share this article
Continue learning
View all articles
Explore the platform

Where to go next

Browse the knowledge hub

See how SysGenPro fits your business

Discuss your workflows, modules and deployment options with our team.

Back to resources