Support

Akeeba Backup for Joomla!

#13343 Backup Issue

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 Wednesday, 22 August 2012 16:44 CDT

user67447
Mandatory information about my setup:

I have read the related troubleshooter articles which were applicable to this issue, also have tried with changing the Akeeba configuration in backend. I have tried almost all possible solutions, but not get success.

Joomla! version: 1.5.23 Stable
PHP version: 5.2.8
MySQL version: 5.1.30-community
Akeeba Backup version: Akeeba Backup Core 3.4.3
Site : http://www.nhcac.org


Description of my issue:

I have tried many time with Akeeba back-up. The process goes smooth up to 74%, & then show the error message.not getting why this happen every time.
I also have attached 2 screenshots with the log file.Plz. take a look on all attachment.

Will wait for your reply.

nicholas
Akeeba Staff
Manager
Well, the end of the log file is pretty self explanatory:
ERROR |120821 14:58:38|Akeeba Engine has timed out

ERROR |120821 14:58:38|Akeeba Backup has timed out. Please read the documentation.

In this case the documentation is here and asks you to try running the Configuration Wizard. So, the first step is to try clicking on Configuration Wizard, let it finish and retry taking a backup. If that fails please ZIP and attach the new log file.

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!

user67447
I have follow the instruction many times given at https://www.akeebabackup.com/documentation/troubleshooter/abbackup.html

But the same issue is there.
Resolve the respective issue as soon as possible.

nicholas
Akeeba Staff
Manager
Taking a look at your log file I see that the process halts when trying to backup the gtranslate/cache folder. What happens is that you're running your site on a Windows testing server and Windows is notoriously slow listing the contents of directories with hundreds of files (it needs several dozens of seconds). This causes a timeout in PHP which can't be worked around. The timeout happens inside PHP, when waiting for Windows to list the contents of the directory. I can't create a workaround to make Windows' file system management not suck so much or transform your slow hard drive into a blazing fast SSD. We can, however, do something to get your site backed up.

Judging by its name, this is a cache directory which means that the files in there should be skipped from the backup. You can use the Files and Directories Exclusion feature to exclude that directory.

If that is not desirable (even though I don't see why you'd want to back up unnecessary cache files) you will have to edit your php.ini file and set max_execution_time=600 and memory_limit=256M, save the file and restart your server environment. This allows PHP to wait the dead slow Windows file system code for up to 10 minutes to provide a list of the hundreds upon hundreds of files in that folder and give plenty of RAM to hold that list. Please note that I do not recommend this approach.

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!

user67447
i have folowed all the instructions in the last message, I have made changes in PHP.ini file. also remove some of the extra content from the server, But still facing the same error. Take a look on the log file, I have attached.

nicholas
Akeeba Staff
Manager
I see this:
INFO |120822 15:54:42|Scanning directories of <root>/gtranslate/cache


I wrote this as the recommended solution:
Judging by its name, this is a cache directory which means that the files in there should be skipped from the backup. You can use the Files and Directories Exclusion feature to exclude that directory.
The log file tells me that you didn't do that.

You only changed the PHP settings. Remember what I wrote about it?
Please note that I do not recommend this approach.
And I wrote that because I know that Windows sucks at filesystem I/O and would probably fail to list a folder with thousands of files in a timely manner.

So we go back to my previously suggested solution. You can use the Files and Directories Exclusion feature to exclude the gtranslate/cache directory.

Please note that the directory in question is a cache directory. By definition, caches contain redundant copies of information available elsewhere, with the only purpose of rapid access. Cache information is supposed to be transient and expendable. Backing it up is a waste of resources and, in your case, a source of unnecessary grief. Just skip the contents of that directory, you don't need them. As soon as your site is accessed in a different language, GTranslate will fill up its cache.

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!