GMP data backup and restore SOP: procedure, rationale, monitoring
A failed hard drive in the computer attached to an analytical instrument, warehouse software locked by malware, or an overwritten spreadsheet file can each wipe out the evidence for batches already released. A backup and restore SOP helps recover GMP data when an incident occurs.
Much of the GMP data in a cosmetic plant exists only as files: analytical instrument results, warehouse software records, spreadsheets, temperatures from data loggers. An electronic data backup and restore SOP specifies which data are backed up, how often, where the copies are kept, who has access, and how to demonstrate that the copies can be restored.
Data integrity and ALCOA+ are covered in the article GMP document management and data integrity (in Vietnamese); retention periods and how paper records are filled in are covered in the GMP record archiving and destruction SOP and the GMP record keeping SOP. All frequencies and figures below are examples.
1. Purpose, scope and basis
Purpose: electronic GMP data are not lost through equipment failure, accidental deletion, fire or malware infection, and remain readable throughout the retention period. Scope: computerized systems that store data used to make batch quality decisions.
| Requirement level | Source | Content |
|---|---|---|
| [Mandatory] | Decree 93/2016/ND-CP on cosmetic manufacturing conditions, Article 15, Clause 4 | During operation, cosmetic manufacturing facilities must apply a quality management system in line with CGMP-ASEAN. The decree contains no provisions on electronic data or backups. |
| [Standard] | CGMP-ASEAN | The documentation system should include the complete history of each batch, from starting materials to finished products (section 8.1); documents should be readily available to relevant parties (section 8.1.5); records for each testing, assay result and release or rejection of starting materials, intermediates, bulk and finished product should be maintained (section 8.3.3). CGMP-ASEAN has no specific section on electronic data. ISO 22716 also has a section on documentation. |
| [Common practice] | U.S. FDA draft guidance (2013), non-binding | Records should be retained in either paper or electronic format; the guidance does not go into how backups are made. |
| [Common practice] | EU GMP Annex 11, PIC/S PI 041-1, WHO TRS 1033 Annex 4 (pharmaceutical sector, reference only) | Regular back-ups of all relevant data should be done; integrity and accuracy of back-up data and the ability to restore the data should be checked during validation and monitored periodically (Annex 11, section 7.2). Routine backup copies should be stored in a remote location (physically separated) in the event of disasters (PIC/S, section 9.9). Backup and restoration processes should be validated; the backup should be done routinely and periodically be restored and verified for completeness and accuracy of data and metadata (WHO, section 11.19). |
2. Responsibilities
- Process owner (for example, the QC laboratory manager or the warehouse keeper): defines which data need to be backed up and confirms that restored data match the original.
- System administrator: configures backups, reviews the logs and performs restores.
- Users: save data in the designated folders and do not use personal USB drives.
- QA: approves the SOP and the system inventory, and reviews restore test reports.
3. System inventory and backup schedule
Annex 11 states that an up to date listing of all relevant systems and their GMP functionality (inventory) should be available (section 4.3). Examples:
| System | Data to back up | Example frequency |
|---|---|---|
| Computer controlling an analytical instrument | Raw data files, methods, audit trails, configuration | Automatic, daily |
| Warehouse management software | Receipt and issue database, batch status | Daily; full backup weekly |
The frequency follows from how much data the plant is prepared to re-enter if an incident occurs just before the next backup, and is determined by the plant itself (and validated if necessary). PIC/S defines a back-up as a copy of current data, metadata and system configuration settings (section 13).
4. Procedure
- Build the inventory: system, process owner, where the data are stored, frequency; update it whenever new equipment is added.
- Central storage: configure systems so that files are written directly to a server folder with access controls. PIC/S notes that temporary data storage on the instrument computer creates an opportunity for data to be deleted or manipulated, a particular risk for standalone (non-networked) systems (section 9.4).
- Configure backups: automatic where possible, covering data, metadata, audit trails and configuration.
- Keep copies separate: at least one copy in another building or with a storage service that has been assessed. PIC/S recommends that the backup and copies should also have the same appropriate levels of controls so as to prohibit unauthorized access to, changes to and deletion of data; for example, a firm that backs up data onto portable hard drives should prohibit the ability to delete data from the hard drive (section 9.9).
- Review the log after every backup: if it failed, run it again and record this.
- Check that copies are readable: periodically open a few files at random and compare their checksums with the originals.
- Periodic restore test: restore into a test folder without overwriting live data; the process owner compares the results and audit trails with the originals; QA reviews the report.
- Access management: only designated persons may restore or delete backups; creation, change, and cancellation of access authorizations should be recorded (Annex 11, section 12.3).
- Restore after an incident: on an approved request form; data created after the last backup are re-entered from paper records and clearly marked.
- When replacing software or computers: check that old data can still be opened before the old system is removed. In its section on archiving, Annex 11 states that if relevant changes are to be made to the system, the ability to retrieve the data should be ensured and tested (section 17).
5. Rationale for each step
| Step | Why it is needed | Risk if skipped |
|---|---|---|
| System inventory | Data the plant does not know it has cannot be backed up | A piece of equipment is overlooked; a drive failure means lost results |
| Central storage | Local data often fall outside the backup schedule | Loss of original results for batches already released |
| Backing up audit trails and configuration too | Without information on who did what and when, a result cannot be traced back to its origin | The figures exist but cannot be used as evidence |
| Separate copies | Fire, flooding and malware usually affect all equipment in the same room or on the same network | The original and the backup are lost at the same time |
| Log review | Automatic backups can stop without anyone noticing | Failures are discovered only when a restore is needed |
| Restore testing | A completed copy is not necessarily restorable: corrupted files, missing software, lost decryption keys | Reliance on backups that cannot be used |
| Access management | The right to restore is also the right to overwrite live data | Data are replaced by an older version without leaving a trace |
| Checks when replacing a system | Old files can often be read only by the software that created them | Data cannot be opened when a complaint is being investigated |
6. Monitoring
- QA record review: compares the inventory with the equipment actually in use, reviews backup logs and restore test reports; includes the SOP in internal audits.
- Witnessed restore test: QA picks a system at random, asks for the data of a specific batch to be restored and compares them with the batch record.
- Unannounced observation: looks for GMP data on local drives and USB drives.
Example indicators: percentage of successful backups; number of days from detecting a failure to fixing it; percentage of restore tests passed at the first attempt. Acceptance levels are set by the plant itself [Common practice].
7. Failures, SOP revision and records
Repeated consecutive backup failures, a failed restore test or data loss should be handled under the deviation and CAPA (in Vietnamese) procedure. WHO states that where any discrepancies are identified, they should be investigated and appropriate action taken (section 11.19); Annex 11 states that all incidents should be reported and assessed, and that the root cause of a critical incident should be identified and should form the basis of corrective and preventive actions (section 13). The first question: which batches' data were lost, and is there any other evidence?
The SOP is revised through change control (in Vietnamese) when a system is added or the backup software or storage location changes. Records to keep: system inventory, backup logs, restore test reports, restore request forms, access authorization list. When assessing a contract manufacturer, you can ask to see the most recent restore test report for the system that stores testing results.
Frequently asked questions
Does saving files to a cloud service count as a backup?
It can. Annex 11 states that when third parties (e.g. service providers) are used, for example to maintain or retain a computerized system or related service, or for data processing, formal agreements must exist between the manufacturer and any third parties, and these agreements should include clear statements of the responsibilities of the third party (section 3.1). [Common practice] An automatically synchronized folder does not replace a backup, because files deleted or encrypted on the source computer change in the synchronized copy as well.
How does backup differ from long-term archiving?
According to PIC/S, a back-up is maintained for the purpose of disaster recovery; archiving is the long-term retention of completed data and relevant metadata in their final form for the purposes of reconstruction of the activity (section 13).
How often should restores be tested?
CGMP-ASEAN and Decree 93/2016/ND-CP (the documents cited in this article) do not specify this. Annex 11 and WHO say periodically, without giving a figure. Example: once a year and after major software changes.
References
- ASEAN Cosmetic Directive (ACD), Appendix VI — ASEAN Guidelines for Cosmetic Good Manufacturing Practice. ASEAN Cosmetic Committee. PDF.
- ISO 22716:2007. Cosmetics — Good Manufacturing Practices (GMP) — Guidelines on Good Manufacturing Practices. International Organization for Standardization.
- Chính phủ. Nghị định 93/2016/NĐ-CP ngày 01/07/2016 quy định về điều kiện sản xuất mỹ phẩm. [Government of Vietnam. Decree 93/2016/ND-CP of 1 July 2016 on cosmetic manufacturing conditions.]
- U.S. FDA (2013). Draft Guidance for Industry: Cosmetic Good Manufacturing Practices. Guidance page.
- European Commission. EudraLex Volume 4, Annex 11: Computerised Systems (revision 1, deadline for coming into operation 30 June 2011). EU Guidelines for Good Manufacturing Practice for Medicinal Products for Human and Veterinary Use. health.ec.europa.eu (pharmaceutical guidance, reference only).
- PIC/S. PI 041-1 (1 July 2021). Good Practices for Data Management and Integrity in Regulated GMP/GDP Environments. picscheme.org (pharmaceutical guidance, reference only).
- WHO. Guideline on data integrity. WHO Technical Report Series No. 1033, 2021, Annex 4. who.int (pharmaceutical guidance, reference only).
BUTTER-C