Title: Corrupted backup files
Last modified: October 9, 2018

---

# Corrupted backup files

 *  Resolved [u22](https://wordpress.org/support/users/u22/)
 * (@u22)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/corrupted-backup-files/)
 * I think this is an issue, when I made a backup some files names are changed, 
   example: name-of-file.js to name-of-file_.js for some reason a underscore is 
   added, so when I try to use the backups they are not working.
    I’m using the 
   last version.
    -  This topic was modified 7 years, 9 months ago by [u22](https://wordpress.org/support/users/u22/).

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/corrupted-backup-files/#post-10767211)
 * Hi [@u22](https://wordpress.org/support/users/u22/)
    hmm, could you please give
   me some screenshots of the issue? Also, before the latest 3.6.1, does the issue
   happens?
 *  [topgun200204](https://wordpress.org/support/users/topgun200204/)
 * (@topgun200204)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/corrupted-backup-files/#post-10768396)
 * I’ve encountered the same problem. I noticed that all my backup files since Oct
   8 had the same issue. An underscore was mysteriously added to some .css and some.
   js files. In my case, the following files were affected:
 *     ```
       /theme/theme_name/css/bootstrap.min.css  -> file name became bootstrap.min_.css
       /theme/theme_name/css/fontawesome-all.css  -> OK
       /theme/theme_name/js/bootstrap.min.js  -> file name became bootstrap.min_.js
       /theme/theme_name/js/popper.min_.js  -> file name became popper.min_.js
       ```
   
 * Not sure why the fontawesome-all.css was intact when there other files were affected.
   I hope this additional underscore was all this issue was about. It will be greatly
   appreciated if you can advise if there are other issues as I rely on BackWPup
   on a daily basis and if the issue is more extensive (i.e. affecting database,
   etc) I will have to stop using it until everything is fixed.
 * Many thanks!
 *  [topgun200204](https://wordpress.org/support/users/topgun200204/)
 * (@topgun200204)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/corrupted-backup-files/#post-10773403)
 * Hi [@duongcuong96](https://wordpress.org/support/users/duongcuong96/),
 * Any update on this particular issue? I noticed you have updated most other issues.
 * Thanks!
 *  [Christina Fuchs](https://wordpress.org/support/users/vanvox/)
 * (@vanvox)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/corrupted-backup-files/#post-10773900)
 * [@all](https://wordpress.org/support/users/all/) We are working on a fix now 
   and we will provide it to you as soon as it is available. You can contact us 
   at [support@backwpup.com](https://wordpress.org/support/topic/corrupted-backup-files/support@backwpup.com?output_format=md)
   if you need it urgently before we release.
 * Sorry for the troubles!
 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/corrupted-backup-files/#post-10774344)
 * Hi [@topgun200204](https://wordpress.org/support/users/topgun200204/), [@u22](https://wordpress.org/support/users/u22/)
   
   This is a known issue, we are going to give a hotfix for it next Monday 🙂 For
   now, if you want to fix this issue, please manually replace `class-create-archive.
   php` at `wp-content/plugins/backwpup/inc/` with fixed one here: [https://gist.github.com/duongcuong96/93100eb1e72225824244e18df8b2bde1](https://gist.github.com/duongcuong96/93100eb1e72225824244e18df8b2bde1)
 * We really sorry for any trouble you got :'(
 *  [topgun200204](https://wordpress.org/support/users/topgun200204/)
 * (@topgun200204)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/corrupted-backup-files/#post-10775601)
 * Thanks a lot for the update, [@vanvox](https://wordpress.org/support/users/vanvox/)
   and [@duongcuong96](https://wordpress.org/support/users/duongcuong96/)!
 * In your investigation, was it confirmed that this issue only affected the file
   names by adding an underscore? Or did the issue have other implications that 
   I need to be aware of?
 * Many thanks!
 *  [Christina Fuchs](https://wordpress.org/support/users/vanvox/)
 * (@vanvox)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/corrupted-backup-files/#post-10776034)
 * [@topgun200204](https://wordpress.org/support/users/topgun200204/)
 * Info form our devs:
    The problem affects only the file names by adding an underscore.
   That happens because files containing more than one dot are treated as to have
   more than one extention and WordPress adds an underscore before the real extension
   of the file, because sometimes OS tends to hide the extensions of the file. This
   is a practice used for security. This is why your files that end with .min.js
   obtains an underscore after the .min. The issue doesn’t have other implications
   that you need to be aware of.
 * Kind regards
    Christina
 *  [topgun200204](https://wordpress.org/support/users/topgun200204/)
 * (@topgun200204)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/corrupted-backup-files/#post-10776273)
 * Thanks a lot, [@vanvox](https://wordpress.org/support/users/vanvox/)!
 * Great to know that the issue only affected the file names!
 *  [sean10234](https://wordpress.org/support/users/sean10234/)
 * (@sean10234)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/corrupted-backup-files/#post-10787743)
 * I have been using the plugin for a while without this issue and suddenly now 
   it is changing filenames (by adding underscores to all min.css and min.js files)
   which effectively makes the backup useless.
 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/corrupted-backup-files/#post-10788431)
 * Hi [@sean10234](https://wordpress.org/support/users/sean10234/), [@all](https://wordpress.org/support/users/all/)
   
   The issue is fixed in latest 3.6.2, sorry for any trouble you got. Please update
   the plugin as soon as possible, thank you very much!
 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/corrupted-backup-files/#post-10806879)
 * [@sean10234](https://wordpress.org/support/users/sean10234/)
    since we haven’t
   heard back from you, I’m going to mark it as resolved. If you’re still having
   problems, feel free to let us know ;),
 * Btw, If you find BackWPUp is useful for you, we would really appreciate if you
   leave a positive review and rating.
    This would encourage us to develop new free
   features and provide free support 😀 [https://wordpress.org/support/plugin/backwpup/reviews/](https://wordpress.org/support/plugin/backwpup/reviews/)

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Corrupted backup files’ is closed to new replies.

 * ![](https://ps.w.org/backwpup/assets/icon-256x256.png?rev=3236141)
 * [BackWPup – WordPress Backup & Restore Plugin](https://wordpress.org/plugins/backwpup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/backwpup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/backwpup/)
 * [Active Topics](https://wordpress.org/support/plugin/backwpup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backwpup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backwpup/reviews/)

 * 11 replies
 * 5 participants
 * Last reply from: [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/corrupted-backup-files/#post-10806879)
 * Status: resolved