Black Friday Black FridayUp to 85% off all WP Ghost plans.48 months from $49, or pay once for lifetime. SHOP NOW

What Is WP Ghost Backup and Restore? How Does It Work?

Moved

This tutorial has moved to the new WP Ghost Knowledge Base where each feature is presented in detail.

View on new site

Backup/Restore saves all WP Ghost settings to a text file and loads them back on the same site or another one. The file holds only WP Ghost’s configuration, not your content or database, and the feature is free.

How it works

Go to WP Ghost > Backup/Restore and click Backup Settings. WP Ghost downloads a text file named yourdomain_settings_backup.txt with every WP Ghost option: paths, firewall, brute force, 2FA, security headers, text mapping and the rest.

WP Ghost Backup Restore Options

To restore, open the same page, click Restore Settings, choose the backup file and confirm. WP Ghost replaces all current settings with the ones in the file and applies them right away. Clear your cache after restoring so the new paths show across your site.

Common use cases

Replicate settings across multiple sites. This is the most popular use case, especially for agencies and freelancers. Configure WP Ghost on one site, fine-tune all the paths, firewall rules, brute force settings, and security headers until everything is perfect. Create a backup. Then import that backup on every other site you manage. Instead of configuring each site from scratch, you apply a proven setup in seconds. This works across hosting providers and server types, although you should run a Security Check after restoring on a new server to confirm everything works correctly.

Save a known-good configuration before testing changes. Before experimenting with new path configurations, firewall rules, or security settings, create a backup of your current working setup. If the changes cause issues, restore the backup and you are back to your proven configuration instantly.

Migrate settings during site moves. When migrating a WordPress site to a new host or domain, you can export your WP Ghost settings, complete the migration, then import the backup on the new server. The paths and security rules are restored without manual reconfiguration. Verify server compatibility after restoring since different server types (Apache vs Nginx) may need different configurations.

What the backup includes (and what it doesn’t)

The backup file contains only WP Ghost’s own configuration data stored in the WordPress options table. This includes all path settings, firewall configuration, brute force rules, 2FA settings, text and URL mapping rules, security header values, and every toggle and field in the plugin. It does not include WordPress content, database tables, media files, theme or plugin files, or any data outside of WP Ghost’s settings. It is not a replacement for a full WordPress backup.

For the recommended security configuration to use as your backup baseline, see the Best Practice guide. For emergency access if a restored configuration causes issues, see the Emergency Disable tutorial.

Frequently asked questions

Can I restore a backup from one server type on a different server type?

Yes, but verify the configuration after restoring. Some WP Ghost features like .htaccess-based rules work differently on Nginx. Run a Security Check at WP Ghost > Security Check after restoring to confirm everything works on the target server.

Will restoring a backup overwrite my current login path?

Yes. Restoring replaces all WP Ghost settings, including the custom login path. After restoring, your login path will match whatever was saved in the backup file. Bookmark the new login URL immediately after restoring.

Is Backup and Restore a free feature?

Yes. Backup and Restore is available in the free version of WP Ghost.

Does WP Ghost modify WordPress core files?

No. Backup and Restore reads and writes WP Ghost’s own configuration data stored in the WordPress options table. No core files are modified during backup or restore.