WPIntell

Source evidence

Log files are not created

WP Database Backup – Unlimited Database & Files Backup by Backup for WP · support · 2025-04-03T15:33:00+00:00

mixedsentiment
highseverity
0.95relevance
7replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 13 rows with source links

46.2% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

7 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Gerhard Stegemann resolved
Hello, I’m currently testing your plugin. Under Settings I have checked “Enable Log”. But upon completion no log files do exist in the applicable folder “uploads/db-backup/log”. In the list of available backups logs are listed under column “Log” including an URL like https://<web-site>/ wp-content/uploads/db-backup/log/<Backup Name.txt . Will the log files not created by the plugin? Or are they stored in a different folder? Hi, Thank you for reaching out to us. Yes, our plugin create log files in the following folder: /wp-content/uploads/db-backup/log/ but this will only happen if , “ Enable Log ” option is turned on in the settings and backup has actually started or completed. If the log file is missing, possible reasons could be: The folder does not have the necessary permissions to save files or The backup did not fully complete or Something is blocking the plugin like an antivirus from creating the file. Please try running a manual backup and check again. Also, ensure that the folder has the correct write permissions. Let us know if you need further assistance. Thanks for your suggestions. However, “Enable Log” is checked, and ‘log’ folder has the nescessary permissions, as the folder was created by the plugin itself. See the actual settings and content of the ‘db_backup’ and ‘log’ folder: Pi@gs-pi-02:/var/www/html/leckreco/wp-content/uploads/db-backup $ ls -alp total 2892 drwxr-xr-x 3 www-data www-data 4096 Apr 4 15:19 ./ drwxr-xr-x 13 www-data www-data 4096 Apr 2 22:51 ../ -rw-r--r-- 1 www-data www-data 583767 Apr 2 23:09 xxxxxxxxx_2025_04_02_1743628190_f1fba0395_wpdb.zip -rw-r--r-- 1 www-data www-data 584209 Apr 2 23:21 xxxxxxxxx_2025_04_02_1743628868_f1098025f_wpdb.zip -rw-r--r-- 1 www-data www-data 587477 Apr 3 21:47 xxxxxxxxx_2025_04_03_1743709670_4a89710fe_wpdb.zip -rw-r--r-- 1 www-data www-data 587521 Apr 3 21:50 xxxxxxxxx_2025_04_03_1743709844_9eda097fd_wpdb.zip -rw-r--r-- 1 www-data www-data 587534 Apr 4 15:19 xxxxxxxxx_2025_04_04_1743772792_c08ffea71_wpdb.zip -rw-r--r-- 1 www-data www-data 168 Apr 4 15:19 .htaccess -rw-r--r-- 1 www-data www-data 28 Apr 4 15:19 index.php drwxr-xr-x 2 www-data www-data 4096 Apr 2 23:09 log/ Pi@gs-pi-02:/var/www/html/leckreco/wp-content/uploads/db-backup $ ls -alp log total 12 drwxr-xr-x 2 www-data www-data 4096 Apr 2 23:09 ./ drwxr-xr-x 3 www-data www-data 4096 Apr 4 15:19 ../ -rw-r--r-- 1 www-data www-data 28 Apr 4 15:19 index.php As you can see about 4 local backups have been created, but there are no log files. The permissions of both folders are set to “0755”. The following data has been collected in table “wp_options”: (5172, 'wp_db_backup_backup_type', 'complete', 'off'), (5200, 'wp_db_backup_backups', 'a:4:{i:0;a:10:{s:4:\"date\";i:1743628193;s:8:\"filename\";s:59:\"xxxxxxxxxxxxx_2025_04_02_1743628190_f1fba0395_wpdb.zip\";s:3:\"url\";s:127:\"https://website.org/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_02_1743628190_f1fba0395_wpdb.zip\";s:3:\"dir\";s:111:\"/var/www/html/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_02_1743628190_f1fba0395_wpdb.zip\";s:3:\"log\";s:131:\"https://website.org/leckreco/wp-content/uploads/db-backup/log/xxxxxxxxxxxxx_2025_04_02_1743628190_f1fba0395_wpdb.txt\";s:14:\"search_replace\";i:0;s:7:\"sqlfile\";s:111:\"/var/www/html/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_02_1743628190_f1fba0395_wpdb.sql\";s:4:\"size\";i:583767;s:4:\"type\";s:8:\"database\";s:11:\"destination\";s:26:\"Local, Local Path, Email, \";}i:1;a:10:{s:4:\"date\";i:1743628871;s:8:\"filename\";s:59:\"xxxxxxxxxxxxx_2025_04_02_1743628868_f1098025f_wpdb.zip\";s:3:\"url\";s:127:\"https://website.org/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_02_1743628868_f1098025f_wpdb.zip\";s:3:\"dir\";s:111:\"/var/www/html/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_02_1743628868_f1098025f_wpdb.zip\";s:3:\"log\";s:131:\"https://website.org/leckreco/wp-content/uploads/db-backup/log/xxxxxxxxxxxxx_2025_04_02_1743628868_f1098025f_wpdb.txt\";s:14:\"search_replace\";i:0;s:7:\"sqlfile\";s:111:\"/var/www/html/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_02_1743628868_f1098025f_wpdb.sql\";s:4:\"size\";i:584209;s:4:\"type\";s:8:\"database\";s:11:\"destination\";s:26:\"Local, Local Path, Email, \";}i:2;a:10:{s:4:\"date\";i:1743709673;s:8:\"filename\";s:59:\"xxxxxxxxxxxxx_2025_04_03_1743709670_4a89710fe_wpdb.zip\";s:3:\"url\";s:127:\"https://website.org/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_03_1743709670_4a89710fe_wpdb.zip\";s:3:\"dir\";s:111:\"/var/www/html/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_03_1743709670_4a89710fe_wpdb.zip\";s:3:\"log\";s:131:\"https://website.org/leckreco/wp-content/uploads/db-backup/log/xxxxxxxxxxxxx_2025_04_03_1743709670_4a89710fe_wpdb.txt\";s:14:\"search_replace\";i:0;s:7:\"sqlfile\";s:111:\"/var/www/html/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_03_1743709670_4a89710fe_wpdb.sql\";s:4:\"size\";i:587477;s:4:\"type\";s:8:\"database\";s:11:\"destination\";s:26:\"Local, Local Path, Email, \";}i:3;a:10:{s:4:\"date\";i:1743772795;s:8:\"filename\";s:59:\"xxxxxxxxxxxxx_2025_04_04_1743772792_c08ffea71_wpdb.zip\";s:3:\"url\";s:127:\"https://website.org/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_04_1743772792_c08ffea71_wpdb.zip\";s:3:\"dir\";s:111:\"/var/www/html/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_04_1743772792_c08ffea71_wpdb.zip\";s:3:\"log\";s:131:\"https://website.org/leckreco/wp-content/uploads/db-backup/log/xxxxxxxxxxxxx_2025_04_04_1743772792_c08ffea71_wpdb.txt\";s:14:\"search_replace\";i:0;s:7:\"sqlfile\";s:111:\"/var/www/html/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_04_1743772792_c08ffea71_wpdb.sql\";s:4:\"size\";i:587534;s:4:\"type\";s:8:\"database\";s:11:\"destination\";s:26:\"Local, Local Path, Email, \";}}', 'off'), (5174, 'wp_db_backup_backups_dir', 'db-backup', 'off'), (5168, 'wp_db_backup_destination_Email', '1', 'off'), (5167, 'wp_db_backup_destination_FTP', '0', 'off'), (5169, 'wp_db_backup_destination_s3', '0', 'off'), (5166, 'wp_db_backup_destination_SFTP', '0', 'off'), (5188, 'wp_db_backup_email_attachment', 'no', 'auto'), (5187, 'wp_db_backup_email_id', 'Gerh.Stegemann@t-online.de', 'off'), (5181, 'wp_db_backup_enable_auto_upgrade', '0', 'off'), (5173, 'wp_db_backup_exclude_dir', 'wp-content/backupwordpress-728d36f682-backups|.git|db-backup', 'off'), (3431, 'wp_db_backup_excs', 'a:2:{s:9:\"revisions\";a:0:{}s:4:\"spam\";a:0:{}}', 'auto'), (5300, 'wp_db_backup_options', 'a:3:{s:18:\"enable_autobackups\";s:1:\"1\";s:15:\"autobackup_type\";s:2:\"db\";s:20:\"autobackup_frequency\";s:5:\"daily\";}', 'off'), (5176, 'wp_db_backup_sftp_details', '', 'off'); And there are no errors logged in the apache logfiles. What else can I check? Hi, We are currently checking this concern and will provide you an update shortly. We kindly request your patience in the meantime. Hi, We have checked on our end and are not experiencing the issue you mentioned. Backups are being generated successfully, as you can see in the screenshot. 1 || 2 It might be a plugin conflict or an incorrect path setting on your end, which is why you are experiencing this issue. Kindly check and try again. Hi, I have tried and checked everything again. Logging might work for full backups, but not for database backups. In my opinion the issue is not related to plugin conflicts or not adequate settings. It is an code issue due to an incomplete implementation in ‘class-wpdbbackuplog.php’. The code to perform logging is completely missing in function ‘wp_db_backup_completed’ as compared to the implementation in ‘class-wpdbfullbackuplog.php’, function ‘wpdbbkp_backup_completed’. My findings: missing code in ‘class-wpdbbackuplog.php’, parameter $args is only filled with 5 elements, but the 6th element, the logfile name, is not set in ‘class-wpdb-admin.php’, function ‘wp_db_backup_event_process’, or whereever, the call to ‘$wp_filesystem->put_contents’ is using an undefined constant “FS_APPEND”. However, using ‘put_contents’ to append files is probably not the correct method, according to the WordPress documentation. For testing I’ve implemented the missing code in ‘class-wpdbbackuplog.php’. It seems to work as a proof of concept. The generated logfile has the following content: <b>WordPress Version</b> : 6.8.1 <b>Database Version</b> : 10.11.11-MariaDB-0+deb12u1 <b>Active Theme Name</b> : Twenty Sixteen <b>Theme Version</b> : 3.5 <b>Plugin Count</b> : 25 <b>Active Plugins</b> : 20 <b>Exclude Table</b> : wp_cmplz_cookiebanners, wp_cmplz_cookies, wp_cmplz_dnsmpd, wp_cmplz_services Upload Database Backup on /tmp/ <b>Send Backup Mail to</b>:Gerh.Stegemann@t-online.de I’m not sure if the content is complete and fully correct. Please check my findings. Hi, Hope you are doing well. We have released an update version 7.7 in which we have addressed this concern. Kindly update the plugin to the latest version, clear the cache, and give it a try. This reply was modified 10 months, 1 week ago by Akshay A . Hello, many thanks. I installed version 7.7. Works as expected.

Comments

7 shown
Akshay A 2025-04-04T07:55:00+00:00

Hi, Thank you for reaching out to us. Yes, our plugin create log files in the following folder: /wp-content/uploads/db-backup/log/ but this will only happen if , “ Enable Log ” option is turned on in the settings and backup has actually started or completed. If the log file is missing, possible reasons could be: The folder does not have the necessary permissions to save files or The backup did not fully complete or Something is blocking the plugin like an antivirus from creating the file. Please try running a manual backup and check again. Also, ensure that the folder has the correct write permissions. Let us know if you need further assistance.

Gerhard Stegemann 2025-04-04T14:40:00+00:00

Thanks for your suggestions. However, “Enable Log” is checked, and ‘log’ folder has the nescessary permissions, as the folder was created by the plugin itself. See the actual settings and content of the ‘db_backup’ and ‘log’ folder: Pi@gs-pi-02:/var/www/html/leckreco/wp-content/uploads/db-backup $ ls -alp total 2892 drwxr-xr-x 3 www-data www-data 4096 Apr 4 15:19 ./ drwxr-xr-x 13 www-data www-data 4096 Apr 2 22:51 ../ -rw-r--r-- 1 www-data www-data 583767 Apr 2 23:09 xxxxxxxxx_2025_04_02_1743628190_f1fba0395_wpdb.zip -rw-r--r-- 1 www-data www-data 584209 Apr 2 23:21 xxxxxxxxx_2025_04_02_1743628868_f1098025f_wpdb.zip -rw-r--r-- 1 www-data www-data 587477 Apr 3 21:47 xxxxxxxxx_2025_04_03_1743709670_4a89710fe_wpdb.zip -rw-r--r-- 1 www-data www-data 587521 Apr 3 21:50 xxxxxxxxx_2025_04_03_1743709844_9eda097fd_wpdb.zip -rw-r--r-- 1 www-data www-data 587534 Apr 4 15:19 xxxxxxxxx_2025_04_04_1743772792_c08ffea71_wpdb.zip -rw-r--r-- 1 www-data www-data 168 Apr 4 15:19 .htaccess -rw-r--r-- 1 www-data www-data 28 Apr 4 15:19 index.php drwxr-xr-x 2 www-data www-data 4096 Apr 2 23:09 log/ Pi@gs-pi-02:/var/www/html/leckreco/wp-content/uploads/db-backup $ ls -alp log total 12 drwxr-xr-x 2 www-data www-data 4096 Apr 2 23:09 ./ drwxr-xr-x 3 www-data www-data 4096 Apr 4 15:19 ../ -rw-r--r-- 1 www-data www-data 28 Apr 4 15:19 index.php As you can see about 4 local backups have been created, but there are no log files. The permissions of both folders are set to “0755”. The following data has been collected in table “wp_options”: (5172, 'wp_db_backup_backup_type', 'complete', 'off'), (5200, 'wp_db_backup_backups', 'a:4:{i:0;a:10:{s:4:\"date\";i:1743628193;s:8:\"filename\";s:59:\"xxxxxxxxxxxxx_2025_04_02_1743628190_f1fba0395_wpdb.zip\";s:3:\"url\";s:127:\"https://website.org/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_02_1743628190_f1fba0395_wpdb.zip\";s:3:\"dir\";s:111:\"/var/www/html/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_02_1743628190_f1fba0395_wpdb.zip\";s:3:\"log\";s:131:\"https://website.org/leckreco/wp-content/uploads/db-backup/log/xxxxxxxxxxxxx_2025_04_02_1743628190_f1fba0395_wpdb.txt\";s:14:\"search_replace\";i:0;s:7:\"sqlfile\";s:111:\"/var/www/html/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_02_1743628190_f1fba0395_wpdb.sql\";s:4:\"size\";i:583767;s:4:\"type\";s:8:\"database\";s:11:\"destination\";s:26:\"Local, Local Path, Email, \";}i:1;a:10:{s:4:\"date\";i:1743628871;s:8:\"filename\";s:59:\"xxxxxxxxxxxxx_2025_04_02_1743628868_f1098025f_wpdb.zip\";s:3:\"url\";s:127:\"https://website.org/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_02_1743628868_f1098025f_wpdb.zip\";s:3:\"dir\";s:111:\"/var/www/html/leckreco/wp-content/uploads/db-backup/xxxxxxxxxxxxx_2025_04_02_1743628868_f1098025f_wpdb.zip\";s:3:\"log\";s:131:\"https://website.org/leckreco/wp-content/uploads/db-backup/log/xxxxxxxxxxxxx_2025_04_02_1743628868_f1098025f_wpdb.txt\";s:14:\"search_replace\";i:0;s:7:\"sqlfile\";s:111:\"/var/ww...

Akshay A 2025-04-11T08:06:00+00:00

Hi, We are currently checking this concern and will provide you an update shortly. We kindly request your patience in the meantime.

Akshay A 2025-05-05T10:02:00+00:00

Hi, We have checked on our end and are not experiencing the issue you mentioned. Backups are being generated successfully, as you can see in the screenshot. 1 || 2 It might be a plugin conflict or an incorrect path setting on your end, which is why you are experiencing this issue. Kindly check and try again.

Gerhard Stegemann 2025-05-06T12:11:00+00:00

Hi, I have tried and checked everything again. Logging might work for full backups, but not for database backups. In my opinion the issue is not related to plugin conflicts or not adequate settings. It is an code issue due to an incomplete implementation in ‘class-wpdbbackuplog.php’. The code to perform logging is completely missing in function ‘wp_db_backup_completed’ as compared to the implementation in ‘class-wpdbfullbackuplog.php’, function ‘wpdbbkp_backup_completed’. My findings: missing code in ‘class-wpdbbackuplog.php’, parameter $args is only filled with 5 elements, but the 6th element, the logfile name, is not set in ‘class-wpdb-admin.php’, function ‘wp_db_backup_event_process’, or whereever, the call to ‘$wp_filesystem->put_contents’ is using an undefined constant “FS_APPEND”. However, using ‘put_contents’ to append files is probably not the correct method, according to the WordPress documentation. For testing I’ve implemented the missing code in ‘class-wpdbbackuplog.php’. It seems to work as a proof of concept. The generated logfile has the following content: <b>WordPress Version</b> : 6.8.1 <b>Database Version</b> : 10.11.11-MariaDB-0+deb12u1 <b>Active Theme Name</b> : Twenty Sixteen <b>Theme Version</b> : 3.5 <b>Plugin Count</b> : 25 <b>Active Plugins</b> : 20 <b>Exclude Table</b> : wp_cmplz_cookiebanners, wp_cmplz_cookies, wp_cmplz_dnsmpd, wp_cmplz_services Upload Database Backup on /tmp/ <b>Send Backup Mail to</b>:Gerh.Stegemann@t-online.de I’m not sure if the content is complete and fully correct. Please check my findings.

Akshay A 2025-07-24T13:37:00+00:00

Hi, Hope you are doing well. We have released an update version 7.7 in which we have addressed this concern. Kindly update the plugin to the latest version, clear the cache, and give it a try. This reply was modified 10 months, 1 week ago by Akshay A .

Gerhard Stegemann 2025-07-25T13:50:00+00:00

Hello, many thanks. I installed version 7.7. Works as expected.