A JetBackup database restore replaces or otherwise restores the selected database according to the available restore options. It must not be treated as an intelligent merge of ecommerce orders or application records created after the snapshot.
IN THIS ARTICLE
Prepare for the change
Export the current database and record the application version. Choose a recovery point matching the required code and data state. Put a write-heavy site into a suitable maintenance state and plan how newer transactions will be preserved.
01 Restore a database snapshot with JetBackup
- Open JetBackup and choose the Databases area. Select the correct full database name and recovery timestamp.
- Review whether the associated database-user item also needs restoration. Database data and database users are separate backup items, so selecting one does not automatically prove the other is included.
- Choose Restore and inspect the selected-items summary. Remove unrelated databases or account components.
- Read the restore conditions and options carefully, then queue the selected restoration and wait for a completed result.
- Check application connectivity, key records and recent data expectations before allowing new writes again.
02 Example: preserve orders newer than the recovery point
Imagine a store has a database snapshot from 08:00. A change at 11:00 breaks a setting, but orders arrived between 08:00 and 11:00. Restoring the entire 08:00 database can remove those newer orders from the store even though the broken setting is recovered.
- Preserve the current database and identify the orders or other records created after 08:00.
- Agree whether a focused application repair can recover the setting while retaining current data, or whether a broader restore and reconciliation is required.
- If restoration is needed, pause new writes through the appropriate maintenance process and agree the data-preservation procedure before confirming it.
- After recovery, verify both the repaired function and the expected recent orders before reopening normal processing.
The times are illustrative. A backup-tool merge option should not be treated as a substitute for an application-aware order reconciliation plan.
Check the backup or recovered data
The application should use the intended recovered database with the correct user grants. Verify data dates and business records explicitly, including anything created since the snapshot.
If the change does not work
If connectivity fails after restoring users, compare the application password and grants with the restored state. If the wrong snapshot was chosen, stop writes and use the pre-restore export or support-assisted recovery.
Does a merge option preserve every new order?
Do not assume so. Backup-level merge behaviour is not application-aware reconciliation. Discuss the exact database restore semantics and transaction-preservation plan before restoring an active store.