What This Guide Covers
This guide helps when:- A local site backup fails.
- A remote site backup fails.
- A manual backup fails.
- A scheduled backup does not run.
- Backup emails report failures even though backups look disabled.
- A backup fails with Database backup failed or MySQL database backup failed.
- A remote backup fails even though Google Drive, S3, R2, Backblaze, DigitalOcean Spaces, pCloud, or another provider has free space.
- Old backups are not deleted as expected.
- Incremental backups look missing or confusing.
- Global or bulk backup settings do not match the site-level settings.
Before You Retry
Before running the backup again, collect the details that explain where the backup stopped.- Open the failed backup entry.
- Copy the exact error message.
- Check whether the backup was Local or Remote.
- Check whether it was Manual or Scheduled.
- Note the failed backup date and time with your timezone.
- Check the server’s available disk space.
- Check whether you recently changed the backup schedule, storage provider, bucket, folder, retention, or exclude paths.
- Check whether the same remote provider works on another site.
Step 1: Find the Failed Backup Entry
Start from the backup history so you can identify what failed.- Log in to your ORIV Dashboard.
- Open the affected Site.
- Go to Backups.
- Open Previous Backups or the backup history area.
- Find the failed backup.
- Review the backup type, destination, trigger, date, and error message.
- Database backup failed
- MySQL database backup failed
- Not enough storage for backup
- Failed to fetch folder id
- Failed to add storage provider
- Missing database name or database password errors
- S3-compatible upload, bucket, endpoint, or permission errors
Step 2: Understand Local vs Remote Backup Failures
Local and remote backups can fail for different reasons, but both may still depend on server storage and database export.
A remote backup does not mean ORIV can skip local temporary files. ORIV must first create backup files on the server, then upload them to the remote provider.
Step 3: Check Server Temporary Disk Space
Many remote backup issues are actually server storage issues. Before ORIV uploads a backup to Google Drive, S3-compatible storage, Cloudflare R2, Backblaze, DigitalOcean Spaces, pCloud, or another provider, the server needs temporary space to create:- Database export files
- File archive files
- Compressed backup packages
- Backup metadata
- Temporary upload files
To check storage:
- Open the affected Server in ORIV.
- Review disk/storage usage.
- Check whether old backups, large uploads, cache files, logs, or temporary files are using space.
- Review backup retention settings.
- Free up space only when you know the files are safe to remove.
Step 4: Review Local Backup Settings and Retention
Local backups use server disk space. If retention is not working as expected, old backups can fill the server and cause new backups to fail.- Open the affected Site.
- Go to Backups → Backup Settings.
- Review the Local Backup section.
- Check whether local backup is enabled.
- Check the schedule.
- Check the retention or automatic delete setting.
- Check whether old backups are still listed in Previous Backups.
- Old backups are not removed by retention rules.
- Backup retention was changed but old files remain.
- Local backup is disabled in the dashboard but a stale job still runs.
- Orphaned backup files remain on the server.
- A legacy backup job still creates files after settings were changed.
- Large folders are included because exclude paths were not applied.
Step 5: Review Remote Backup Provider Settings
Remote backups can fail because the provider connection, folder, bucket, endpoint, or permissions changed.- Open the affected Site.
- Go to Backups → Backup Settings.
- Open the Remote Backup section.
- Confirm the selected provider.
- Confirm the destination folder, bucket, or path.
- Confirm the provider connection is still active.
- Confirm the provider account has enough storage quota.
- Confirm the provider credentials have read and write access.
- Save the settings, then run a manual backup test.
- Expired or revoked tokens
- Changed folder permissions
- Deleted or renamed destination folders
- Wrong bucket name
- Wrong region or endpoint URL
- Read-only credentials
- Missing write permission
- Provider account quota limits
- Provider-side API outage
- IP restrictions on the storage token
Step 6: Fix Failed to Fetch Folder ID
Failed to fetch folder id usually means ORIV could not access or identify the configured remote folder. This can happen when:- The remote folder was deleted, renamed, or moved.
- The connected account no longer has access to the folder.
- The provider authorization expired.
- The selected folder path is no longer valid.
- The provider API returned a temporary error.
- Open the remote backup settings.
- Reconnect the remote provider if needed.
- Re-select the destination folder or bucket.
- Confirm the connected account can open and write to that folder.
- Save the settings.
- Run a manual backup.
Step 7: Check S3-Compatible Storage Providers
S3-compatible storage includes providers such as Cloudflare R2, Backblaze, DigitalOcean Spaces, Wasabi, Hetzner Object Storage, OVH Object Storage, and other providers that use S3-style credentials. If ORIV cannot add or use an S3-compatible provider, check:- Access key
- Secret key
- Bucket name
- Region
- Endpoint URL
- Token permissions
- Bucket permissions
- Read/write access
- IP restrictions
- Provider account quota
- Provider status page
- The token has limited or read-only permission.
- The token is restricted to an IP address that does not match the request path.
- The endpoint URL was copied incorrectly.
- The bucket name is wrong.
- The bucket is in a different region.
- The bucket does not allow write access.
- The credentials belong to another provider account.
- Copy the endpoint URL directly from the provider dashboard.
- Confirm the bucket name exactly, including spelling and case.
- Make sure the token has read and write access.
- Remove unnecessary token IP restrictions while testing if your security policy allows it.
- Confirm the provider account has available storage.
- Try adding the provider again.
Step 8: Test a Manual Backup
Manual backup testing helps separate a one-time schedule issue from an active backup failure.- Open the affected Site.
- Go to Backups.
- Choose the same backup type that failed: Local or Remote.
- Start a manual backup.
- Wait for the process to complete.
- Open the failed entry if it fails again.
- Save the exact error message.
Step 9: Troubleshoot Database Backup Errors
A site backup usually includes both files and database data. If the database export fails, the whole backup may fail. Common database-related errors include:- Database backup failed
- MySQL database backup failed
- Missing database name
- Missing or null database password
- Database connection error
- MySQL export error
- Empty database tables
- Database exists but cannot be exported
If You See Database Backup Failed
- Retry the backup once after a short wait.
- Confirm the site is online.
- Check whether the site was recently migrated, cloned, restored, or edited.
- Check whether database credentials were changed.
- Contact ORIV Support if the error repeats.
If the Database Name Is Missing
A missing database name usually needs support review. Contact ORIV Support and include the site name, server name, exact error, and whether the site was recently migrated, restored, or cloned.If the Database Password Is Empty or Null
A null or missing database password can stop the backup process from finding or exporting the database. Do not manually change database credentials unless you understand the effect on the site. Contact ORIV Support for a safe review.If the Database Has No Tables
If a database is empty, the database backup may fail or be skipped depending on the site state. This can happen when:- WordPress installation did not complete.
- A new site has no database tables yet.
- A migration or restore did not finish.
- The site is connected to a different database than expected.
Step 10: Check Schedule, Global Settings, and Bulk Backup Updates
Backup settings may exist at more than one level. If scheduled backups do not match what you configured globally or in bulk, check the site-level settings.- Open the affected Site.
- Go to Backups → Backup Settings.
- Review the site-level schedule.
- Review the selected provider or local destination.
- Review retention settings.
- Review file backup exclude paths.
- Compare the site-level settings with the global or bulk settings you expected.
- Save the settings.
- Run a manual backup test.
- Exclude paths were not copied from global settings.
- The wrong bucket or provider is selected after a bulk update.
- Scheduled backups stopped after changing settings.
- No backup notification was received.
- A site still uses an old storage provider.
- The dashboard says backups are inactive but remote backup emails continue.
Step 11: Check Incremental Backup Entries
Incremental backups may appear under a parent full backup. If the child entries are collapsed, it can look like backups are missing.- Open the site’s Previous Backups.
- Find the latest full backup.
- Expand the full backup entry if an expand option is available.
- Review the incremental backup entries under it.
- Check the dates and times.
- The latest full backup is older than expected.
- Incremental backups are not listed.
- Backups are going to the wrong bucket or provider.
- The schedule does not match your settings.
- Manual backups work but scheduled backups do not.
Step 12: Compare Failed Sites With Working Sites
If the same remote storage credentials work on one site but fail on another, compare the affected site with a working site. Check:- Server free disk space
- Site size
- Database status
- Backup type
- Selected provider
- Bucket, folder, endpoint, and region
- Backup schedule
- Retention settings
- Exclude paths
- Whether the site was recently migrated, cloned, or restored
- Whether the sites are on the same server
Step 13: Avoid Risky Manual Cleanup
If storage is full, cleanup may be needed, but removing the wrong files can break a site or remove the only usable backup. Do not blindly delete:- WordPress uploads
- Site directories
- Database files
- Backup metadata
- Server configuration files
- Unknown folders
- Files owned by system services
Troubleshooting by Error or Symptom
What ORIV Support Can Check
ORIV Support can help review:- ORIV backup settings
- Site-level backup configuration
- Backup history and visible backup errors
- Server storage usage
- Backup logs and events
- Local backup retention behavior
- Remote storage configuration guidance
- Stale or old backup jobs where support access is needed
- Cron-related backup issues where support access is needed
- Database configuration issues
- Missing database name or database password issues
- Repeated database export failures
- Orphaned backup files or backup cleanup issues
- Confirmed backup bugs that need engineering review
What ORIV Support Cannot Guarantee
ORIV cannot guarantee recovery if no successful backup exists. Remote storage providers can also have their own issues, including:- API outages
- Quota limits
- Expired tokens
- Revoked credentials
- Bucket permission problems
- Endpoint or region changes
- Folder access changes
- Account restrictions
What to Send ORIV Support
To help Support investigate faster, include:- Site name
- Server name
- Whether the failed backup is Local or Remote
- Whether it is Manual or Scheduled
- Remote provider name, if used
- Exact error message
- Failed backup date and time
- Your timezone
- Screenshot of the failed backup
- Screenshot of backup settings
- Whether a manual backup also fails
- Whether the same provider works on other sites
- Recent changes to backup settings, schedule, provider, bucket, folder, or exclude paths
- Server free disk space, if visible
- Remote provider quota, if relevant
- Whether the site was recently migrated, cloned, restored, or changed
- Any database-related error text
Prevention Tips
- Keep enough free disk space on your server.
- Do not rely only on remote storage quota.
- Review backup retention settings regularly.
- Use exclude paths for large cache, temporary, or generated folders when appropriate.
- Test remote storage after changing credentials or tokens.
- Run a manual backup after changing backup settings.
- Check site-level settings after using global or bulk backup updates.
- Keep provider tokens active and correctly permissioned.
- Avoid read-only tokens for backup destinations.
- Monitor backup emails and dashboard backup history.
- Download critical backups before major cleanup.
- Contact Support before deleting unknown backup files from the server.
