Support

Akeeba Backup for Joomla!

#9020 Backup failing

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 Monday, 22 August 2011 10:49 CDT

2babooblabla
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the forum before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: Joomla! 1.5.23 Stable
PHP version: 5.2.16
MySQL version: 5.0.68-percona-3-log
Host: webfusion
Akeeba Backup version: Akeeba Backup 3.3.3

EXTREMELY IMPORTANT: Please attach your Akeeba Backup log file in order for us to help you with any backup or restoration issue.

Description of my issue:

I have tried many different configurations, jpa archieve, zip but none work. I have also tried iframes instead of ajax.

I need to save db and files to a remote server.
I also want to use lazy plugin.

thanks

nicholas
Akeeba Staff
Manager
Hello!

The Lazy Scheduling plugin was deprecated in Akeeba Backup 3.2.5 and completely removed since Akeeba Backup 3.3.a1. It is no longer supported. Please use a CRON job as per [ur=https://www.akeebabackup.com/documentation/akeeba-backup-documentation/automating-your-backup.html#frontend-backup]these instructions[/url].

Regarding the backup issues, please try the following settings:
- Temporary directory: [DEFAULT_OUTPUT] (all caps, include the brackets)
- Minimum execution time: 1 second
- Maximum execution time: 10 seconds
- Runtime bias: 75%

If this still fails, please note that you have a directory (ebay/pictures) which seems to have several thousands of files. There is an objective issue here. Producing a list of each directory's files has to happen in one go. Having thousands of files means that it takes a lot of time and a lot of memory. While you have plenty of memory for this operation, you don't have a lot of available time as the PHP timeout limit is 30 seconds and the process seems to be taking around 43-44 seconds, which is probably why you get the "The process was aborted on user's request" error message in the log file. The only two ways to work around that are:
1. Use Files and Directories Exclusion to exclude this directory, therefore not backing it up.
2. Ask your host to raise the PHP max_execution_time to 60 seconds so that you can successfully backup this directory.

Please let me know which of those recommendations worked in your case.

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!

2babooblabla
Hello,

Got further but still gor an error; See log attached.

I bought the component thinking I could use Lazy Plugin since webfusion even though being one of the most expensive hosting provider on the market does not allow CRON.

Why is it deprecated?
Would it be possible to use an older version with lazy backup maybe?

please let me know,

Thanks

Paul

2babooblabla
log seems to be missing..
here again

nicholas
Akeeba Staff
Manager
Hello Paul,

No log file was attached. Can you please try placing your log file in a ZIP archive and attaching the ZIP file here? There is an upload limit of 2Mb per attachment.

Regarding the Lazy Scheduling plugin, it was discontinued for various reasons. For starters, it made use of AJAX and IFRAMEs which made your site appear to load much slower than usual. THis was killing your sites' SEO ranking. Sometimes -especially if your file permissions were a bit off- it would cause error messages to be printed out in the top of each front-end page. Sometimes it crashed the Javascript on the page. Some other times it went berserk and was continuously taking backups, filling up your hard disk and bringing down your site. Some people reported broken backups. And the list goes on and on. The root cause of all of those problems was the unreliability of several hosts. The only workaround was to use a better host, but this kinda beats the purpose as the better hosts allow CRON jobs which are more reliable.

My suggestion is to use a proper host which allows CRON jobs, like Rochen, CloudAccess.net or iRedHost.

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
The log is also missing from your second post :)

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!

2babooblabla
here we go in a zip

2babooblabla
I usually use OVH wich actually backs up files and db every day on shared hosting and the price is unbeatable.

I will have to think about all this. I would have liked to avoid changing hosting..

Any way, lets solve the problem for manual backups and i'll see what to do in the future.

thanks

nicholas
Akeeba Staff
Manager
Transferring the archive file by FTP takes a lot of time, so you get a timeout error. What you have to do is to go to Akeeba Backup, click the Configure button next to the Archiver Engine and set the Part Size for Split Archives to 15Mb (you have to use the Custom option to set that). This will split your archive to two files, one .zip and one .z01. Since each one of them is being transferred in less than 30 seconds, you don't have a timeout error and your backup works.

PS: Rochen backs up your site's files twice per day on a secondary disk on the same server and every second day on a remote NAS. Moreover, they offer a web interface to the last month's backups on the NAS, so if you screw up on a single file you can easily restore it. It works like Time Machine, only it's on the web. Having that protection as well as Akeeba Backup Pro is unbeatable. You have to really try very hard to lose data. Trust me, I know (I am hosted on Rochen and I have screwed up files on my sites many times) :)

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!

2babooblabla
thanks for the advise.
I need the hosting located in the UK for SEO. Rochen seems to be US.

It's baking up... i'll let you now

Thanks for the reactivity!

nicholas
Akeeba Staff
Manager
You're welcome!

Regarding Rochen, they have two datacentres. One of them is in US (Dallas), the other in UK (London). This site is on the US datacentre. My personal blog is on the UK datacentre. If you want more info about the UK offering, you can check out Rochen's UK site.

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!

2babooblabla
Backup Completed Successfully!

SantΓ©, bonheur et joie dans les coeurs!

nicholas
Akeeba Staff
Manager
Merci!

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!