Protecting Your Site (Premium)
The plugin has two layers of protection: automatic backups before every file and settings fix, plus manual quick and full backups.
Automatic Fix Backups
When you apply a file or settings fix:
- Plugin records the current state
- Change is applied
- Backup is stored securely
No action needed - it is automatic. Note that database cleanups (spam, trash, revisions, transients) permanently remove data and are not covered by the undo feature.
Quick Backup
A fast backup of the essentials:
- The database
- wp-config.php
- .htaccess
- The active theme's style.css and functions.php
Full Backup
A complete backup of the site. Large sites are processed in chunks to avoid timeouts.
Storage
Backups are stored in:
wp-content/tsa-backups/
Protected by:
- Randomized, unguessable file names
- Protection against direct access on Apache, nginx and IIS
- Directory listing prevention
Fix backups are automatically cleaned up after 90 days.
Restoring
Database restores are atomic: the dump is first imported into temporary tables and the live tables are swapped out in a single operation. If anything fails before the swap, your database is left completely untouched. A restore point of the current state is also created before a restore runs.
Undoing a Single Fix
- Go to Site Auditor > Fixes
- Find the fix in the list
- Click the Undo button
The original state is restored instantly.