UpdraftPlus Home › Forums › Paid support forum – UpdraftPlus backup plugin › WP-Config Missing from Back-up
Tagged: wp-config
- This topic has 8 replies, 2 voices, and was last updated 4 years, 9 months ago by David Gaffney.
-
AuthorPosts
-
January 20, 2020 at 9:11 pm #498333David GaffneyParticipant
I recently had a minor scare on one of my sites as I was saving a page edit. I received a DB error, indicating WP could not connect to my wp-config file or the server was down. When I went to check my core back-ups, I notice the wp-config file was not there for the subdomain I was editing, even though it’s in the subdirectory backed up. I believe I have all the right options selected for the backup, including other files. Any idea why the majority of the files would be missing?
January 21, 2020 at 3:54 pm #498812Bryle CroduaModeratorHi,
By default wp-config.php file is not included in the backup.
Please see FAQ: https://updraftplus.com/faqs/when-i-restore-wordpress-core-should-i-include-wp-config-php-in-the-restoration/Regards,
BryleJanuary 22, 2020 at 12:03 am #499104David GaffneyParticipantHi, Bryle. I use UpdraftPlus Premium, and have chosen the following backup options: Plugins, Themes, Uploads, WP core, Any other directories found inside wp-content, and Backup non-WP tables… What else should I do to include the wp-config file in future backups? For the potential disaster I faced the other day when my site stopped working, it would be nice to be able to restore the file that tells the site how to function properly.
January 22, 2020 at 6:04 pm #499621Bryle CroduaModeratorHi,
The wp-config.php is included in the WP core backup zip file. Just make sure that the wp-config.php file is not in the exclusion list.
Regards,
BryleJanuary 22, 2020 at 7:45 pm #499681David GaffneyParticipantThat goes back to my original comment in this thread, Bryle. When I opened the zip file in an attempt to copy wp-config, it wasn’t there. Does it only include wp-config on a full backup or does it also include it on the incremental backups when I do an update? I was checking the most recent incrementally updated core files.
January 23, 2020 at 3:39 pm #500194Bryle CroduaModeratorHi,
Apologies for the late reply.
The wp-config.php will be included on a full backup.
I just want to confirm, that the file is not listed in the exclusion list?Regards,
BryleJanuary 23, 2020 at 4:23 pm #500226David GaffneyParticipantThird Try… Hi, Bryle. No, wp-config is not on the exclusion list. I have tried to send you links to Lightshot screen captures to show you my settings, but my responses are not posting with the links. Hopefully, this will be enough. Thanks for clarifying wp-config is included in a full backup. However, I’m still wondering why it’s not included in my incremental backup, since the options I selected do not seem to preclude it.
Thanks for your ongoing support in trying to resolve this issue.
Dave
March 3, 2020 at 2:06 pm #500211David GaffneyParticipantHi, Bryle. No, it’s not listed on the exclusion list. If you follow the links below, you can see the options I have chosen, including the exclusions.
https://prntscr.com/qrv880
https://prntscr.com/qrv9diThanks for clarifying that wp-config will be in the full backup, but what about the incremental backups? It appears it should be included from the options I selected, but it absolutely was not included with the rest of the core files when I checked.
Thanks for your continued help in getting tot he bottom of this for me.
Dave
March 3, 2020 at 2:06 pm #500224David GaffneyParticipantHi, Bryle. I’m sorry if this seems like a duplicate response, but I can’t see the response I just submitted. Maybe it would not accept the links I included. No, wp-config is not on the exclusion list, as you can see from the links below.
https://prntscr.com/qrvdru
https://prntscr.com/qrvek4Thanks for clarifying wp-config is included in a full backup. However, I’m still wondering why it’s not included in my incremental backup, since the options I selected do not seem to preclude it.
Thanks for your ongoing support in trying to resolve this issue.
Dave
-
AuthorPosts
- The topic ‘WP-Config Missing from Back-up’ is closed to new replies.