Pharmaceutical Computer System Validation: A Complete Guide to Data Backup and Restore Testing for 21 CFR Part 11 Compliance

Published on 2 November 2026 at 15:29

Introduction:

In the pharmaceutical industry, maintaining the integrity, availability, and security of electronic records is a critical regulatory requirement. Pharmaceutical companies use computerized systems to generate, process, store, review, and maintain GxP-related electronic records throughout their product lifecycle.

Examples include:

  • Laboratory Information Management Systems (LIMS).
  • Chromatography Data Systems (CDS).
  • Manufacturing Execution Systems (MES).
  • Electronic Batch Record Systems (EBR).
  • Enterprise Resource Planning (ERP) systems.
  • Environmental Monitoring Systems.
  • Stability Management Systems.

These computerized systems generate critical electronic records that must remain accurate, complete, accessible, and protected throughout their required retention periods.

One important activity within Computerized System Validation (CSV) is Data Backup and Restore Testing.

Backup testing demonstrates that required electronic records are successfully captured and protected. Restore testing demonstrates that backed-up information can be recovered and remains complete, accurate, and usable.

This article explains how to perform backup and restore testing in pharmaceutical computerized systems to support compliance with FDA 21 CFR Part 11 and applicable GxP requirements.

What is Data Backup and Restore Testing?

Data Backup Testing

Data backup testing is the documented verification that GxP-related electronic records and associated information are successfully copied to an approved and protected backup location.

The purpose is to ensure that important electronic records remain available in situations such as:

  • Server failure.
  • Hardware malfunction.
  • Software failure.
  • Accidental deletion.
  • Database corruption.
  • Cybersecurity incidents.
  • Unexpected system shutdown.

Data Restore Testing

Data restore testing is the documented verification that information stored in a backup can be successfully recovered and accessed in the intended computerized system or an appropriately configured recovery environment.

The restored information should retain its original content, associated metadata, audit trails, and electronic signature information, where applicable.

Important: A successful backup job does not automatically demonstrate that the data can be restored successfully. Therefore, restore testing is an essential part of the backup and recovery validation strategy.

Regulatory Requirements for Backup and Restore Testing

Pharmaceutical companies should consider the following regulatory requirements when developing their backup and restore procedures.

FDA 21 CFR Part 11:

21 CFR Part 11 establishes requirements for electronic records and electronic signatures.

The following sections are particularly relevant:

Regulation Requirement Relevance
21 CFR 11.10(a) System validation Demonstrate that the system performs as intended
21 CFR 11.10(c) Protection of records Protect records for accurate and ready retrieval throughout the retention period
21 CFR 11.10(d) Access controls Restrict system access to authorized individuals
21 CFR 11.10(e) Audit trails Maintain secure, computer-generated, time-stamped audit trails
21 CFR 11.10(g) Authority checks Ensure only authorized individuals perform permitted operations

Part 11 does not prescribe a specific backup frequency or mandatory restore-testing interval. These should be established using a documented risk assessment and approved procedures.

21 CFR 211.68(b):

This regulation addresses automatic, mechanical, and electronic equipment used in pharmaceutical manufacturing.

It requires appropriate controls over computerized equipment and backup file controls for computer-stored data.

This requirement is particularly important for pharmaceutical manufacturing and laboratory systems.

EU GMP Annex 11:

EU GMP Annex 11 provides requirements for computerized systems used in GMP-regulated activities.

Relevant areas include:

  • Data storage and protection.
  • Data accuracy checks.
  • Audit trails.
  • Security and access management.
  • Business continuity.
  • Archiving and retrieval.
  • Periodic evaluation.

Pharmaceutical organizations operating under EU GMP should consider Annex 11 alongside applicable FDA requirements.

What Data Should be Included in the Backup?

A common mistake is backing up only the original data files without considering associated metadata and other information necessary to reconstruct the original electronic records.

For example, in a chromatography data system, the backup scope should consider:

Data Category Examples
Raw data Chromatograms, instrument-generated data
Processed data Integration results, calculations
Metadata Sample ID, sequence ID, instrument ID
Audit trails User activities, modifications, deletions
Electronic signatures Approval and signature information
Reports Analytical reports and generated documents
Methods Processing methods and instrument methods
Configuration System configuration and relevant settings
User information User accounts, roles and permissions, where required

The backup strategy should cover all information required to preserve the complete and accurate electronic record.

FDA's guidance on Data Integrity and Compliance With Drug CGMP emphasizes that backup copies should preserve the original data and associated metadata.

Backup and Restore Validation Lifecycle

A structured validation approach should be followed.

The typical lifecycle includes:

  1. Preparation of the validation protocol.
  2. Identification of GxP-critical data.
  3. Review of the backup configuration.
  4. Execution of backup testing.
  5. Verification of backup logs.
  6. Execution of restore testing.
  7. Verification of restored data.
  8. Audit trail and electronic signature verification.
  9. Documentation of deviations.
  10. Preparation of the validation summary report.

Each activity should be documented according to the organization's approved CSV procedures.

Step-by-Step Backup Testing Procedure

Step 1: Verify System Information

Record the following details:

  • System name.
  • Application version.
  • Database version.
  • Server identification.
  • Operating system.
  • Backup location.
  • Backup schedule.

Step 2: Identify the data for backup

Select representative GxP records, including raw data, metadata, audit trails, reports, and other relevant information.

Step 3: Initiate the backup

Execute the backup using the approved backup procedure or configured backup solution.

Step 4: Verify backup completion

Review the backup logs and confirm that the backup process completed successfully without unexplained errors or warnings.

Step 5: Verify backup files

Confirm that the expected backup files are available in the approved backup location.

Step 6: Verify backup security

Confirm that access to backup files is restricted to authorized personnel.

Step 7: Document the results

Record backup date, start time, completion time, backup identifier, storage location, and execution evidence.

Step-by-Step Restore Testing Procedure

Step 1: Identify the backup file

Select the backup file generated during the approved backup procedure.

Step 2: Prepare the recovery environment

Use an approved test or recovery environment with appropriate software, database, and configuration compatibility.

Step 3: Initiate the restore process

Execute the restore operation according to the approved recovery SOP.

Step 4: Verify restore completion

Review restore logs and confirm that the operation completed successfully.

Step 5: Access the restored application

Log in to the restored application using an authorized test account.

Step 6: Retrieve selected records

Retrieve representative electronic records from the restored system.

Step 7: Verify data completeness

Compare the original and restored records to ensure that no unexplained information is missing.

Step 8: Verify data integrity

Check the restored data against the original source using suitable comparison methods.

Step 9: Verify audit trails

Confirm that original audit trail entries, user identification, timestamps, and activity information are retained.

Step 10: Verify electronic signatures

Confirm that electronic signatures remain associated with the correct records and that signature information is preserved.

Step 11: Document the results

Record the actual results, screenshots, logs, comparison results, and any deviations.

Important: Do not perform destructive restore testing directly on a production system. Use an approved recovery environment and ensure that the test does not compromise live GxP records.

Backup and Restore Validation Test Cases

The following sample test cases can be used as a starting point when preparing a CSV validation protocol.

Test ID Test description Expected result
BRT-001 Verify backup configuration Backup configuration matches approved requirements
BRT-002 Execute backup Backup completes successfully
BRT-003 Verify backup logs Successful completion is documented
BRT-004 Verify backup file availability Backup files are available in the approved location
BRT-005 Verify backup access permissions Unauthorized access is restricted
BRT-006 Execute restore operation Restore completes successfully
BRT-007 Verify raw data Original raw data is available and unchanged
BRT-008 Verify metadata Associated metadata is retained
BRT-009 Verify audit trails Original audit trail information is available
BRT-010 Verify electronic signatures Signature information and record associations are retained
BRT-011 Verify reports Restored reports are accessible and accurate
BRT-012 Verify record completeness No unexplained missing or additional records
BRT-013 Verify data integrity Original and restored files match where applicable
BRT-014 Verify date and time information Original timestamps are preserved and correctly interpreted
BRT-015 Verify application functionality Restored records can be accessed and reviewed

Additional tests should be included according to system architecture, data criticality, and the approved risk assessment.

Data Integrity Verification Using SHA-256 Checksum

One effective method for verifying file-level data integrity is the use of cryptographic checksums.

SHA-256 generates a unique hash value for a given file.

The original file and restored file can be compared to determine whether their contents are identical.

Example:

File name Original hash Restored hash Result
Sample_001.raw ABC123XYZ ABC123XYZ Pass
Sample_002.raw DEF456XYZ DEF456XYZ Pass
Sample_003.raw GHI789XYZ GHI789XYZ Pass

The values above are illustrative, not actual SHA-256 outputs.

Acceptance criteria:

The SHA-256 hash value of each corresponding original and restored file should match exactly.

However, checksum verification alone is not sufficient to demonstrate the integrity of a complete computerized system. Database relationships, metadata, audit trails, electronic signatures, and application functionality must also be evaluated.

Audit Trail Verification After Restore

Audit trails are important components of electronic records in regulated pharmaceutical environments.

During restore testing, verify the following:

  • Original user identification is available.
  • Original activity descriptions are retained.
  • Original timestamps are preserved.
  • Previous and modified values are available where applicable.
  • Audit trail entries remain readable.
  • Audit trail information has not been deleted or overwritten during restoration.

The objective is to demonstrate that the restored system preserves the historical information necessary to reconstruct relevant activities.

Electronic Signature Verification After Restore

For systems using electronic signatures, restoration testing should confirm that signature information remains associated with the correct electronic records.

Verify:

  1. Signer identification.
  2. Signature date and time.
  3. Meaning of the signature.
  4. Association between signature and electronic record.
  5. Continued accessibility of the signed record.

For example, if an analytical result was reviewed and approved before backup, the restored system should retain the corresponding approval information and its association with the original analytical record.

A restored PDF report alone does not demonstrate that the original electronic signature record has been preserved.

Backup and Restore Acceptance Criteria

The following acceptance criteria can be included in a validation protocol.

Parameter Acceptance criteria
Backup completion Backup completes successfully
Backup availability Required backup files are available
Backup security Access is restricted to authorized personnel
Restore completion Restore completes without unexplained errors
Raw data Required raw data is available and unchanged
Metadata Associated metadata is preserved
Audit trails Original audit trail information is retained
Electronic signatures Signature information and associations are preserved
Record completeness No unexplained missing or additional records
Data integrity Relevant comparison checks pass
Application access Restored records can be accessed and reviewed
Documentation All required test evidence is recorded

Acceptance criteria should be finalized based on the system's approved requirements and risk assessment.

Recommended Backup and Restore Testing Frequency

There is no single backup or restore-testing frequency mandated by 21 CFR Part 11.

The frequency should be defined through a risk-based approach and approved SOP.

An example schedule is shown below.

Activity Example frequency
Automated backup Daily or according to risk
Backup job monitoring Daily
Backup integrity verification Defined in approved SOP
Restore testing Annually or at a justified risk-based interval
Restore testing after major changes As required by change control
Disaster recovery testing According to business continuity requirements
Archive retrieval testing Periodically throughout the retention period

High-criticality systems may require more frequent verification based on their business and patient-safety impact.

Required Documentation for Backup and Restore Validation

A complete validation package should contain the following documents:

  1. Approved backup and restore SOP.
  2. Backup and restore validation protocol.
  3. Computerized system risk assessment.
  4. Backup configuration documentation.
  5. Backup execution logs.
  6. Restore execution logs.
  7. Test execution evidence.
  8. Data integrity comparison results.
  9. Deviation reports, if applicable.
  10. Backup and restore validation summary report.
  11. QA review and approval.

All test evidence should be attributable, legible, contemporaneous, original or true copies, and accurate.

Common Mistakes During Backup and Restore Validation

The following issues should be avoided:

Mistake 1: Verifying only backup completion

A successful backup does not demonstrate successful restoration.

Mistake 2: Backing up only raw data

Associated metadata, audit trails, and other information required to reconstruct the original record may be missing.

Mistake 3: Not performing application-level verification

A backup may restore successfully at the file level but fail when accessed through the original application.

Mistake 4: Not verifying electronic signatures

Signature information and its association with the original electronic record must be considered.

Mistake 5: Not documenting objective evidence

Backup and restore activities should be supported by appropriate logs, screenshots, and test execution records.

Mistake 6: Not defining a restore-testing strategy

Organizations should establish a documented, risk-based approach for demonstrating that backup information remains recoverable.

Mistake 7: Not considering long-term retention

Backup and disaster recovery arrangements should not be confused with long-term electronic record retention and archival requirements.

Best Practices for Pharmaceutical Backup and Restore Validation

To maintain a robust backup and recovery strategy, pharmaceutical organizations should:

  • Establish approved backup and restore SOPs.
  • Identify all GxP-critical information.
  • Define backup frequency based on risk.
  • Protect backups against unauthorized modification and deletion.
  • Use appropriate access controls.
  • Maintain secure backup copies.
  • Perform periodic restore testing.
  • Verify metadata and audit trail preservation.
  • Verify electronic signature associations.
  • Maintain objective validation evidence.
  • Manage changes through an approved change control process.
  • Periodically review backup and recovery effectiveness.

These activities support the ALCOA+ principles of data integrity and help maintain reliable electronic records throughout their lifecycle.

Conclusion

Data backup and restore testing is an essential component of computerized system lifecycle management in the pharmaceutical industry.

While backup procedures help protect critical electronic records, restore testing provides documented evidence that information can be recovered and remains complete, accurate, and usable.

Pharmaceutical organizations should establish a risk-based backup and recovery strategy supported by approved procedures, validated processes, periodic testing, and appropriate documentation.

By implementing effective backup and restore testing, organizations can strengthen GxP data integrity, improve business continuity, and support compliance with FDA 21 CFR Part 11, applicable CGMP requirements, and EU GMP Annex 11.

Remember: A successful backup is important, but a successfully tested restore is what demonstrates recoverability.

Disclaimer: This article is intended for educational and professional knowledge-sharing purposes. Each pharmaceutical organization should assess applicable regulatory requirements and establish procedures appropriate to its computerized systems, intended use, and documented risk assessment.

References:

1. U.S. Food and Drug Administration (FDA). (1997).
21 CFR Part 11 – Electronic Records; Electronic Signatures.
Relevant sections: 11.10(a), 11.10(c), 11.10(d), and 11.10(e).
Official source: https://www.ecfr.gov/current/title-21/chapter-I/subchapter-A/part-11

2. U.S. Food and Drug Administration (FDA).
21 CFR 211.68 – Automatic, Mechanical, and Electronic Equipment.
Relevant section: 211.68(b), covering backup files, data accuracy, completeness, and protection against alteration, inadvertent erasure, or loss.
Official source: https://www.ecfr.gov/current/title-21/chapter-I/subchapter-C/part-211/section-211.68

3. U.S. Food and Drug Administration (FDA). (2018).
Data Integrity and Compliance With Drug CGMP: Questions and Answers – Guidance for Industry.
Relevant topic: Question 5(e), explaining FDA's expectations for backup data as a true copy of original records, including associated metadata.
Official source: https://www.fda.gov/regulatory-information/search-fda-guidance-documents/data-integrity-and-compliance-drug-cgmp-questions-and-answers

4. U.S. Food and Drug Administration (FDA). (2003).
Part 11, Electronic Records; Electronic Signatures – Scope and Application.
Relevant topics: Computer system validation, electronic records, audit trails, and electronic signatures.
Official source: https://www.fda.gov/regulatory-information/search-fda-guidance-documents/part-11-electronic-records-electronic-signatures-scope-and-application

5. European Commission. (2011).
EudraLex, Volume 4 – EU Guidelines for Good Manufacturing Practice for Medicinal Products for Human and Veterinary Use, Annex 11: Computerised Systems.
Relevant sections:

  • Section 4: Validation.

  • Section 7: Data Storage.

  • Section 16: Business Continuity.

  • Section 17: Archiving.

Official source: https://health.ec.europa.eu/document/download/8d305550-dd22-4dad-8463-2ddb4a1345f1_en?filename=annex11_01-2011_en.pdf

6. Medicines and Healthcare products Regulatory Agency (MHRA). (2018, updated 2021).
GxP Data Integrity Guidance and Definitions.
Relevant topics: Data integrity, metadata, electronic records, data governance, and record lifecycle management.
Official source: https://www.gov.uk/government/publications/guidance-on-gxp-data-integrity

7. Pharmaceutical Inspection Co-operation Scheme (PIC/S). (2021).
PI 041-1 – Good Practices for Data Management and Integrity in Regulated GMP/GDP Environments.
Relevant topics: Data lifecycle management, data integrity, backup, archiving, and computerized systems.
Official source: https://picscheme.org/layout/document.php?id=714

8. U.S. Food and Drug Administration (FDA).
21 CFR 211.180 – Records and Reports.
Relevant topics: Record retention and availability of required pharmaceutical records.
Official source: https://www.ecfr.gov/current/title-21/chapter-I/subchapter-C/part-211/section-211.180

9. U.S. Food and Drug Administration (FDA).
21 CFR 211.194 – Laboratory Records.
Relevant topics: Laboratory records, complete data, and documentation supporting laboratory results.
Official source: https://www.ecfr.gov/current/title-21/chapter-I/subchapter-C/part-211/section-211.194

10. International Society for Pharmaceutical Engineering (ISPE). (2022).
GAMP 5: A Risk-Based Approach to Compliant GxP Computerized Systems, Second Edition.
Relevant topics: Computerized system lifecycle management, risk-based validation, supplier assessment, and system verification.
Publisher: ISPE.
Official source: https://ispe.org/publications/guidance-documents/gamp-5-guide-2nd-edition

Note: Regulatory documents and guidance should always be consulted in their current applicable versions. The above references support the educational discussion and do not replace an organization's regulatory assessment or approved procedures.

Figure 1: Data Backup & Restore Testing in Pharmaceutical CSV

Add comment

Comments

There are no comments yet.