Aegisify Backup works in small batches so it survives shared-hosting limits. On a VPS or dedicated server, larger batches can make backups much faster.
The two settings
Add these lines to wp-config.php, above the line that says “That’s all, stop editing”:
define('AEGISBACKUP_FILES_BATCH', 500); // default 120
define('AEGISBACKUP_DB_EXPORT_LIMIT', 1000); // default 250- AEGISBACKUP_FILES_BATCH: how many files are processed per step (default 120).
- AEGISBACKUP_DB_EXPORT_LIMIT: how many database rows are read per batch during PHP export (default 250).
Choosing values
- Start by doubling the defaults and test a backup.
- Increase gradually while watching for memory or timeout errors.
- If backups start failing, lower the values or remove the lines to return to defaults.
Shared hosting
Keep the defaults. Larger batches can exceed memory or execution-time limits and cause failures.
Faster database exports
On servers with mysqldump available, the Fast DB export mode can also speed up large databases. See DB export modes.
Related: Full backup package.
