Support

Akeeba Backup for WordPress

#22382 Import Archives from s3

Posted in ‘Akeeba Backup for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Wednesday, 01 April 2015 08:31 CDT

user85950
Whenever I try to import an archive is says "Not enough information to connect to s3"

Is there a way to get my money back for my pro subscription?

nicholas
Akeeba Staff
Manager
Thank you for your bug report. I am looking into it right now. I will come back with a solution within a business day.

Regarding your refund request we have to decline it per the Refund Policy to which you explicitly and unreservedly agreed to when subscribing. Moreover, per the same Refund Policy, we only justify refunds after the software has been downloaded if we are unable to provide a bug fix in a reasonable amount of time (about 3 working days). As you will see we're usually much faster than that. Give me a couple of hours and I'll get back to you with a developer's release which will both address the problem you are experiencing and make the refund request void per the Refund Policy. Thank you for your patience.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

nicholas
Akeeba Staff
Manager
As promised, the fix is ready for download from https://www.akeebabackup.com/download/developer-releases/backupwp-dev/revebfee71.html (you need to log in first).

Instructions:
  • Download the ZIP file
  • Extract it on your computer
  • Upload the files into wp-content/plugins/akeebabackup (or whatever your plugin directory is), overwriting old files


If you are on a bandwidth-limited connection you only need to upload two files:
  • app/Solo/Model/S3import.php
  • app/Solo/View/S3import/tmpl/default.php


Please let me know how this solution works for you. The problem you reported seems to have been a single missing line.

I also fixed an issue with the breadcrumbs on the page not appearing correctly which prevented you from changing directories without going to the root of the bucket first.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user85950
This seemed to solve the problem importing the archives from s3 however when I tried to restore any of the backups I imported it always came up with "This is not a JPA Archive". I used Akeeba both to create the backup and extract the backup. It is clearly a JPA archive so I have no idea what the problem is???

nicholas
Akeeba Staff
Manager
I can think of several problems but I have no information to work with.

How big is the backup archive in S3 and how big is it on your server?

Did you see any error messages while the import was progressing?

Do you have a multipart backup archive (.jpa, .j01, .j02, etc)? If this is the case did all parts download and do they have the exact same size in bytes in both your server and S3? Please note that all parts are supposed to be downloaded automatically when you select the .jpa file in Import from S3.

How were these files uploaded to S3 in the first place? By Akeeba Backup itself or manually? If it's manually try a backup archive uploaded by Akeeba Backup itself. If it was uploaded by Akeeba Backup I need a copy of the backup log.

If you download the backup parts manually, e.g. from Amazon AWS console, can you extract them using Kickstart or Akeeba eXtract Wizard? If not I definitely need the backup log file as we'd be talking about a backup issue.

Thank you in advance for providing me all of the information above. It will give me a complete picture of what you're doing and let me better help you.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

nicholas
Akeeba Staff
Manager
I just realised you're several timezones apart from me so you can't reply when I'm at the office. In the interest of helping you more efficiently I made several tests and saw the problem myself. The download process is one byte off, hence the corrupt archive message. I have fixed this problem in dev release 2B93EC9. The same instructions for downloading and installing as before apply.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user85950
Hi,

Thanks for your quick response.

I deleted the previous akeeba backup version (and it associated files I thought) and installed the one from the link you sent. I went to manage backups and saw that previous versions of backups I made were still there. I tried to deleted them but it didn't seem to be working.

When i tired to Backup the site with the post processing connected to S3 it didn't work (stopped at the post processing phase). I then went to manage backup and suddenly I was able to delete previous backups including the failed one I just attempted. I then tried a backup with no post processing and it worked however the size of the file was roughly triple what previous versions were (9.3gb) leading me to believe that previous versions are still there somewhere. When I tried to delete this backup version (using manage backups) it didn't work.

This is taken up so many hours of my time and it is something I really need to get sorted. I have no idea why this is so complicated.

One thing I thought of is that when I configure the post processing I set it to "Upload to Amazon S3" not "Upload to Amazon S3 (Legacy API). Would that back a difference?

How can I be sure previous backups are completely deleted?

Help!

nicholas
Akeeba Staff
Manager
It depends on where you were storing your backup files. By default they are stored under wp-content/plugins/akeebabackup/app/backups but you can move the output directory anywhere you want. You need to go to where your backups were stored and remove them, e.g. by FTP. Please note that uninstalling and reinstalling the plugin DOES lose its settings. I have to also point out that you did not follow my instructions. The instructions I gave you were:

Instructions:

Download the ZIP file

Extract it on your computer

Upload the files into wp-content/plugins/akeebabackup (or whatever your plugin directory is), overwriting old files



As I see I never told you to uninstall the plugin. You did something I didn't tell you, that's why you are having problems now. Please do as I write, not as you think I've written. I try to be very precise in my instructions to avoid this kind of issues.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!