{"id":247243,"date":"2025-08-24T08:27:22","date_gmt":"2025-08-24T08:27:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/db-backup-by-fairshare-tech\/"},"modified":"2025-08-31T07:38:43","modified_gmt":"2025-08-31T07:38:43","slug":"db-backup-by-fairshare-tech","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/db-backup-by-fairshare-tech\/","author":23349066,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"6.8.5","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"DB Backup by Fairshare.tech","header_author":"Fair Share IT Services PVT. LTD.","header_description":"Automatically backs up the WordPress database once a week and emails it to the admin.","assets_banners_color":"","last_updated":"2025-08-31 07:38:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/fairshare.tech","rating":0,"author_block_rating":0,"active_installs":0,"downloads":293,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"keshavgrover","date":"2025-08-24 08:53:42"},"1.0.1":{"tag":"1.0.1","author":"keshavgrover","date":"2025-08-30 14:25:23"},"1.0.2":{"tag":"1.0.2","author":"keshavgrover","date":"2025-08-31 07:38:43"}},"upgrade_notice":{"1.0.2":"<p>CRITICAL UPDATE: Fixes backup failures after 24 hours. All users should update immediately.<\/p>","1.0.1":"<p>Added custom frequency settings and real cron job support.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Plugin settings page with backup frequency and email options.","2":"Example of cron job setup instructions.","3":"Backup files stored in <code>wp-content\/uploads\/db_backup\/<\/code>."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[247098,4688,10718,1627,58791],"plugin_category":[59],"plugin_contributors":[246713],"plugin_business_model":[],"class_list":["post-247243","plugin","type-plugin","status-publish","hentry","plugin_tags-automatic-backup","plugin_tags-cron-job","plugin_tags-database-backup","plugin_tags-mysql","plugin_tags-mysqldump","plugin_category-utilities-and-tools","plugin_contributors-keshavgrover","plugin_committers-keshavgrover"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/db-backup-by-fairshare-tech.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>DB Backup by Fairshare.tech<\/strong> lets you create automated WordPress database backups on your preferred schedule. It uses <code>mysqldump<\/code> if available for fast and reliable backups, and falls back to a PHP-based method if <code>mysqldump<\/code> is unavailable.<\/p>\n\n<p>Backups are stored securely in your <code>wp-content\/uploads\/db_backup\/<\/code> 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.<\/p>\n\n<h3><strong>Features<\/strong><\/h3>\n\n<ol>\n<li>Flexible backup frequency: Daily, Weekly, or Monthly.<\/li>\n<li>Backups saved in <code>wp-content\/uploads\/db_backup\/<\/code> with timestamped filenames.<\/li>\n<li>Option to email backups to the admin email address.<\/li>\n<li>Uses <code>mysqldump<\/code> if available, with PHP fallback.<\/li>\n<li>No dependency on WP-Cron\u2014supports real cron jobs via a secure endpoint.<\/li>\n<li>Secure authentication using unique access key for cron URL.<\/li>\n<li>Simple configuration via WordPress Settings page.<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>db-backup-by-fairshare<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Go to <strong>Settings \u2192 DB Backup<\/strong> to configure:\n\n<ul>\n<li>Backup frequency (Daily, Weekly, Monthly)<\/li>\n<li>Email backup option (Yes \/ No)<\/li>\n<\/ul><\/li>\n<li>If you want real cron jobs:\n\n<ul>\n<li>Copy the cron URL from the settings page.<\/li>\n<li>Add it to your hosting cron manager or an external service (e.g., EasyCron).<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<p><strong>Requirements:<\/strong>\n- <code>mysqldump<\/code> installed on the server (optional, for faster backups).\n- <code>exec()<\/code> function enabled in PHP (required for mysqldump method).\n- If <code>exec()<\/code> or <code>mysqldump<\/code> is not available, the plugin uses a PHP-based backup.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='where%20are%20backups%20stored%3F'><h3>Where are backups stored?<\/h3><\/dt>\n<dd><p>All backups are stored in <code>wp-content\/uploads\/db_backup\/<\/code> with a timestamped filename.<\/p><\/dd>\n<dt id='can%20i%20change%20the%20backup%20schedule%3F'><h3>Can I change the backup schedule?<\/h3><\/dt>\n<dd><p>Yes. Go to <strong>Settings \u2192 DB Backup<\/strong> and choose Daily, Weekly, or Monthly.<\/p><\/dd>\n<dt id='can%20i%20disable%20email%20notifications%3F'><h3>Can I disable email notifications?<\/h3><\/dt>\n<dd><p>Yes. On the settings page, select <strong>No<\/strong> for the \"Email Backup\" option.<\/p><\/dd>\n<dt id='does%20it%20work%20without%20mysqldump%3F'><h3>Does it work without mysqldump?<\/h3><\/dt>\n<dd><p>Yes. If <code>mysqldump<\/code> or <code>exec()<\/code> is not available, the plugin uses a PHP-based fallback to create the backup.<\/p><\/dd>\n<dt id='how%20do%20i%20set%20up%20a%20real%20cron%20job%3F'><h3>How do I set up a real cron job?<\/h3><\/dt>\n<dd><p>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 <a href=\"https:\/\/www.easycron.com\">EasyCron<\/a>.<\/p><\/dd>\n<dt id='is%20the%20cron%20url%20secure%3F'><h3>Is the cron URL secure?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>CRITICAL FIX: Removed nonce dependency to prevent backup failures after 24 hours.<\/li>\n<li>Simplified security model using only unique access key.<\/li>\n<li>Improved long-term reliability for scheduled backups.<\/li>\n<li>Updated documentation to reflect security changes.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added settings page for backup frequency and email options.<\/li>\n<li>Added support for real cron jobs via secure URL.<\/li>\n<li>Fallback to PHP-based backup if <code>mysqldump<\/code> is unavailable.<\/li>\n<li>Backups stored in <code>wp-content\/uploads\/db_backup\/<\/code>.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release with weekly backup and email delivery.<\/li>\n<\/ul>","raw_excerpt":"Automatic WordPress database backups with mysqldump or PHP fallback. Supports email and reliable real cron jobs.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/247243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=247243"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/keshavgrover"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=247243"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=247243"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=247243"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=247243"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=247243"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=247243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}