Backup Storage
What It Does
SecuPress stores backups in a parent folder. By default it picks a folder above the web root when the server allows it and the folder is writable. Otherwise it stays in wp-content/backups.
That folder can be set explicitly:
- with the
SECUPRESS_BACKUPS_PATHconstant, which wins; - otherwise with the
secupress.backups.pathfilter.
If the path is invalid, outside open_basedir, or not writable, SecuPress falls back to wp-content/backups and says so in the settings.
Why It Matters
A backup left in a folder reachable over HTTP can be downloaded. Placing it outside the site removes that exposure. Some hosts require a path the settings screen cannot select.
How to Use
Open the Backups module, Backup Storage section. The screen shows the folder in use, and whether it sits outside the web area or why the legacy folder is used.
To force a path, in wp-config.php:
define( 'SECUPRESS_BACKUPS_PATH', '/absolute/path/to/backups' );
Without that constant, a must-use plugin can return an absolute path through the secupress.backups.path filter. The folder must exist and be writable.