Support

Akeeba Backup for Joomla!

#8389 backing up to Amazon S3

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
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

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Thursday, 01 April 2010 04:41 CDT

user9422
Hello,
I was using Joomlapack for many of my Joomla works and now I'm very interested in the new cloud backup feature of Akeeba backup.

I would like to know if configuring Akeeba for backing up to Amazon S3 it needs to store temporary backup locally on my server or if it backup directly to our S3 account so without the need of additional local space on the original domain


Thanks and regard

dlb
That is a "Nicholas question". :D I'll flag this for his attention.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

nicholas
Akeeba Staff
Manager
Since S3 doesn't support appending to files, the only way it can be done is creating the backup on your server, then uploading to S3. Since we don't want the backup to timeout, we also have to create split archives. You get to decide the size of the split archive. Right now Akeeba Backup has to create all backup parts and upload them to S3 at the end of the backup. I am planning an upgrade (possibly on 3.0 stable) which will only require storing one part of the archive before uploading it to S3. So, for a realistic part size of 10-20Mb, you'll only need 10-20Mb on your server.

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!

user8463
Hello again,
I've tried to backup my site. The process completed immediately I pushed the button "backup Now". After this a screen appears with a warning:
Warning: Invalid argument supplied for foreach() in /home/dimarini/public_html/administrator/components/com_akeeba/views/backup/view.html.php on line 52
Under was a congratulation message:Congratulations! The backup process has completed successfully.
You can now navigate to another page.
and so on (see the attachment)
After I tried to "Administer Backup Files" there was nothing (see the attachment)
Best Regards
Nikola Meranzov

nicholas
Akeeba Staff
Manager
Please go to the component's Configuration and just click on Save. This will make the problem go away. It is the leftovers of a bug which was affecting previous versions, not allowing to store all required configuration options in the database. Clicking on Save refreshes the stored configuration data and permanently works around that issue.

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!

user8463
So I did and everything have happened. Now I will try to kickstart the archived content to another server.
Thank You

nicholas
Akeeba Staff
Manager
You're welcome :)

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!

user8463
Something wrong!
The result of kickstart procedure was:
"JError Unable to load Database Driver:"
Something wrong with dataBase?
Thank you

nicholas
Akeeba Staff
Manager
On some hosts ABI is unable to write the database connection information to configuration.php. In this case, you'll have to edit the file and fill in this information manually.

Can you tell me which PHP version your host has? I am trying to replicate this issue and resolve it.

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!

user8463
The php information

nicholas
Akeeba Staff
Manager
I can't spot anything wrong in the screenshot. Can you please verify that the session save path (not shown in the screenshot) is indeed writable?

Also, when you restored your site, was there a warning that the session write path and ABI's directory were both unwritable?

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!

user8463
Hello,
I will try the kickstart again. I think I 've done somthing wrong with the installation procedure.
One question - should be Joomla! installed before kickstart.
Thank you
Best Regards
Nikola Meranzov

nicholas
Akeeba Staff
Manager
Joomla! need not be installed when restoring backups. In fact, we discourage you from installing Joomla! beforehand. The backup archive contains everything you need in order to restore your site on an empty server ("bare metal restoration"): the files, the database dump and the restoration script (ABI). Kickstart is a facilitator in the restoration process, merely extracting the archive. The rest is handled by the embedded restoration script.

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!

user8463
I have done everything according to instructions. The final result is the same. I can't attache the docs or zip file with snapshots of the procedure. If you give me an e-mail or skype address I will send them to you.
Another chance is to give you an access to the cpanel, FTP or what is necessary. I can leave it in the present state or clean it up and to upload the backup file and kickstart.php. It is my experimental domain so no problems to do some invasion.
I really hope that this problem will be solved.
Thank you
Best Regards
Nikola Meranzov

user8463
No reply on my previous post. What is the problem?

nicholas
Akeeba Staff
Manager
Sorry, I have a backlog I am trying to clear through. I didn't forget about your post :)

You can email me access details to your site at nicholas -at- akeebabackup -dot- com and I can debug it on the spot. Having FTP access would also help, as I might have to upload patched files. Thanks!

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
OK, two restoration issues discovered and fixed :)

1. You were backing up kickstart.php inside your archive. During extraction this caused a problem and some files were restored with 0 length. I will have to address it in two fronts: a. not allow you to back up kickstart.php in your site's root and b. not allow kickstart.php to be extracted from the archive

2. There was a bug when your site off-line message contained a newline character, or \r\n appearing inside it, causing the database conenction information to disappear from the configuration.php. This fix will also make it into the next release.

Thank you for your help! It is most appreciated :)

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!

user8463
Thank you Nickolas,
So, now everything is alright? Because when I write the http://dimarini.info into the browser address bar it brings me to the installation procedure.
What to do? To accomplish it or what.
Or I have to wait for the next release?
Best Regards
Nikola Meranzov

nicholas
Akeeba Staff
Manager
Nikola,

I didn't finalize the restoration on your host. I only worked as far as to figure out the problem and create the patch. I will post a developer's preview release within the next 1-2 days. Since you are a Pro subscriber, you'll be able to download the Professional edition's developer preview release from http://www.akeebabackup.com/developer-releases/02-akeebapro.html. You should then be able to install it and use it to backup your sites. The reason you need to do that is that the actual installer is embedded in the archive during backup time.

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!