Descripción
DB Backup by Fairshare.tech lets you create automated WordPress database backups on your preferred schedule. It uses mysqldump if available for fast and reliable backups, and falls back to a PHP-based method if mysqldump is unavailable.
Backups are stored securely in your wp-content/uploads/db_backup/ directory, and you can choose to have them emailed to your admin email address. The plugin provides a settings page for configuration and supports triggering backups via a real cron job for reliability.
Features
- Flexible backup frequency: Daily, Weekly, or Monthly.
- Backups saved in
wp-content/uploads/db_backup/with timestamped filenames. - Option to email backups to the admin email address.
- Uses
mysqldumpif available, with PHP fallback. - No dependency on WP-Cron—supports real cron jobs via a secure endpoint.
- Secure authentication using unique access key for cron URL.
- Simple configuration via WordPress Settings page.
Instalación
- Upload the
db-backup-by-fairsharefolder to the/wp-content/plugins/directory. - Activate the plugin through the Plugins menu in WordPress.
- Go to Settings DB Backup to configure:
- Backup frequency (Daily, Weekly, Monthly)
- Email backup option (Yes / No)
- If you want real cron jobs:
- Copy the cron URL from the settings page.
- Add it to your hosting cron manager or an external service (e.g., EasyCron).
Requirements:
– mysqldump installed on the server (optional, for faster backups).
– exec() function enabled in PHP (required for mysqldump method).
– If exec() or mysqldump is not available, the plugin uses a PHP-based backup.
Preguntas frecuentes
-
Where are backups stored?
-
All backups are stored in
wp-content/uploads/db_backup/with a timestamped filename. -
Can I change the backup schedule?
-
Yes. Go to Settings DB Backup and choose Daily, Weekly, or Monthly.
-
Can I disable email notifications?
-
Yes. On the settings page, select No for the “Email Backup” option.
-
Does it work without mysqldump?
-
Yes. If
mysqldumporexec()is not available, the plugin uses a PHP-based fallback to create the backup. -
How do I set up a real cron job?
-
On the settings page, copy the provided URL and add it to your hosting control panel’s cron job scheduler or use an external service like EasyCron.
-
Is the cron URL secure?
-
Yes. The URL contains a unique 32-character access key that’s generated during plugin activation. This key doesn’t expire and provides excellent security for your backup endpoint.
Reseñas
No hay reseñas para este plugin.
Colaboradores y desarrolladores
Este software es de código abierto. Las siguientes personas han contribuido a este plugin.
ColaboradoresTraduce “DB Backup by Fairshare.tech” a tu idioma.
¿Interesado en el desarrollo?
Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.0.2
- CRITICAL FIX: Removed nonce dependency to prevent backup failures after 24 hours.
- Simplified security model using only unique access key.
- Improved long-term reliability for scheduled backups.
- Updated documentation to reflect security changes.
1.0.1
- Added settings page for backup frequency and email options.
- Added support for real cron jobs via secure URL.
- Fallback to PHP-based backup if
mysqldumpis unavailable. - Backups stored in
wp-content/uploads/db_backup/.
1.0.0
- Initial release with weekly backup and email delivery.