Backup · active infection
Restore a backup or clean the site: a decision based on the time of infection and the value of new data.
A backup isn’t automatically clean, and restoring the whole database can wipe out orders, users and content. Often you need to combine trusted code with verified data that is kept.
Next step
Give the backup dates, when the first symptoms appeared and the kind of data created since. Don’t overwrite production with your only backup.
01
What this symptom really means
A backup is a snapshot, not a security certificate. If it was made after the attacker got in, it may contain malware, an account, a cron job or a database change even though no symptoms were visible on the day it was made.
02
A safe first step
Keep the current site and all available backups without overwriting them. Record the dates, the backup source, the first symptoms, updates and the data created since.
03
The most common layers of the cause
The choice depends on the quality and completeness of the backup, the known time of infection, the value of new data, the ability to compare code, the presence of database changes and access to clean packages and a repository.
04
What data to keep before making changes
You need files and the database from several points in time, logs, a list of accounts, crons, system and add-on versions, new orders or content, and information about external data stores.
05
What a responsible diagnosis looks like
You build a timeline, compare sources and establish a trusted point for code and data. After restoring or cleaning, you check persistence, accounts, tasks, logs and the likely vector.
06
What not to do blind
Don’t restore a backup onto the same vulnerable environment, and don’t treat the absence of symptoms as proof of cleanliness. Don’t delete the store’s current database before exporting new orders.
07
When you need technical help
Help is needed when the time of infection is unknown, there are many backups, sales are active, the database has been changed, there’s no repository or the infection previously came back after cleaning.
Related materials and sources
Don't know which backup is clean or how much data you could lose?
We’ll build a timeline, compare sources and choose a restore, a clean-up or a controlled merge of data.
Only 3 required fields · reply within 1 business day · no obligation
