Title: Decrypt backup failure
Last modified: August 21, 2016

---

# Decrypt backup failure

 *  [ant999](https://wordpress.org/support/users/ant999/)
 * (@ant999)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/decrypt-backup-failure/)
 * I have uploaded my encrypted file to …/public_html/wp-content/plugins/wponlinebackup/
   tmp/decrypt as instructed because the file size is greater than 6MB so cannot
   upload via the web browser.
 * Steps
 * > Entered Encrypted password
    > Left encryption type as default AES128[Recommended]
   > Pressed Decrypt Backup
 * Result
    Get the following error:
 * The backup could not be decrypted; the following error was encountered during
   decryption: Partially read 4472788 of 8388608 bytes from encrypted data file 
   for decryption.
 * What can I do to fix this? Your help is much appreciated.
 * [http://wordpress.org/extend/plugins/wponlinebackup/](http://wordpress.org/extend/plugins/wponlinebackup/)

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

 *  Plugin Author [Online Backup](https://wordpress.org/support/users/driskell/)
 * (@driskell)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/decrypt-backup-failure/#post-3888356)
 * Hi ant999,
 * This usually means the file is incomplete and smaller than it should be. That
   is, it didn’t download properly when it was downloaded, or it didn’t finish uploading.
 * Jason
 *  Thread Starter [ant999](https://wordpress.org/support/users/ant999/)
 * (@ant999)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/decrypt-backup-failure/#post-3888484)
 * Thanks for your reply. I repeated the download of the backup. No errors were 
   reported. I then uploaded the encrypted file via FTP to the ../decrpyt location
   I specified above, there were no errors with this either and the number of bytes
   uploaded matched the number of bytes of the original file. The problem is with
   the decryption it seems. It only partially reads the file which is why get the
   error:
 *  The backup could not be decrypted; the following error was encountered during
   decryption: Partially read 286676 of 8388608 bytes from encrypted data file for
   decryption.
 * I’ve tried several times. Is there anything else I can do without having to disable
   encryption?
 *  Plugin Author [Online Backup](https://wordpress.org/support/users/driskell/)
 * (@driskell)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/decrypt-backup-failure/#post-3888491)
 * One way to check it is this issue, could you go to Activity Log, and check the
   size of the backup (Backup Size, not total size) and then compare it to the one
   that was downloaded? We’ve seen specific browsers report successful download 
   even though it wasn’t, and comparing file size is best way to check.
 * If you can, upgrade to 3.0.0 of the plugin – we re-wrote all the download stuff
   into a Local Backups feature. The way the downloads work is different in 3.0.0
   too to workaround the above issue with browsers only getting half the file and
   sometimes reporting successful.
 * If we still have issues in 3.0.0 it’ll be easier to diagnose and fix too.
 * Thanks,
 * Jason
 *  Thread Starter [ant999](https://wordpress.org/support/users/ant999/)
 * (@ant999)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/decrypt-backup-failure/#post-3888537)
 * Thanks Jason. I have just checked the Activity log. The backup size is 555.28
   KiB and total size is 423MB. I am not sure how to compare the backup size to 
   what was downloaded as the .enc file only shows the total size which is 416MB
   on disk. I have just upgraded to 3.0.1 so will repeat the process again and let
   you know.
 *  Plugin Author [Online Backup](https://wordpress.org/support/users/driskell/)
 * (@driskell)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/decrypt-backup-failure/#post-3888558)
 * Hi ant999,
 * You may be looking at an online backup and not a normal backup as it’s not normal
   for it to compress 423MiB into 555 KiB.
 * Let us know how 3.0.1 goes. It has new method of downloading backup files so 
   should give you the full one and then decryption should work perfectly when you
   upload it again.
 * Jason.
 *  Thread Starter [ant999](https://wordpress.org/support/users/ant999/)
 * (@ant999)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/decrypt-backup-failure/#post-3888564)
 * Hi, with version 3.0.1 if decrypt via Local Backups then choose one of the backups
   stored on the server, I get the following error:
 * “The activity failed: The file integrity check failed. The file may be corrupt
   or the encryption details validated but were actually incorrect (there is a small
   chance of this happening.)”
 * The good thing is I can backup locally without encryption with 3.0.1 so this 
   should work.
 * Oh and regarding
 * > You may be looking at an online backup and not a normal backup as it’s not 
   normal for it to compress 423MiB into 555 KiB.
 * You were quite right! I was looking at online backup not local. I am not sure
   if the backup size matched the downloaded .enc file size as the file has been
   overwritten since.
 *  Plugin Author [Online Backup](https://wordpress.org/support/users/driskell/)
 * (@driskell)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/decrypt-backup-failure/#post-3888575)
 * Hi ant999,
 * We’ll be releasing 3.0.2 shortly which should fix this issue for you. If not,
   just let us know.
 * Thanks,
 * Jason

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

The topic ‘Decrypt backup failure’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wponlinebackup_7192a1.svg)
 * [Online Backup for WordPress](https://wordpress.org/plugins/wponlinebackup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wponlinebackup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wponlinebackup/)
 * [Active Topics](https://wordpress.org/support/plugin/wponlinebackup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wponlinebackup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wponlinebackup/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Online Backup](https://wordpress.org/support/users/driskell/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/decrypt-backup-failure/#post-3888575)
 * Status: not resolved