Backup Plugin Fails or Times Out on a Large Website: What to Change
Backups stop halfway because of time, memory or size limits. Split the job or use server-level backups.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Backups of big sites can exceed PHP time or memory limits.
Options
- Exclude folders you do not need, such as cache folders and old backups. Backups of backups are huge.
- Split files and database into separate jobs.
- Turn on the plugin's chunked or incremental mode if it has one.
- Raise
max_execution_timeand memory limits. See our execution time guide and our memory guide. - Use server-level backups from your host, which are not limited by PHP.
- Make sure there is enough disk space for the backup itself. See our update guide.
Send backups away
Store a copy in cloud storage. See our strategy guide.
Related guides
- Lost Your WordPress Site and Have No Backup: Ways to Recover Content
- How to Create a WordPress Staging Site and Test Updates Safely
- How to Back Up and Restore a WordPress Site (Simple Method)
- A 30-Minute Update Day Routine That Prevents Most Website Emergencies
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.