Support

Akeeba Backup for Joomla!

#41380 Failed to process file

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
4.4.9
PHP version
8.3.14
Akeeba Backup version
9.9.11

Latest post by csgis on Friday, 29 November 2024 03:13 CST

csgis

Hi,

my problem is that i have some websites that are no longer being processed to an external ftp server anymore.
Currently it worked like this:

- weekly backup with Akeeba Pro of round about 60 sites (Frontend configuration for the cronjob, Manage Schedule backups, ..)- for every site was defined an own time slot
- the cronjob is being called through PHP in admin panel of our provider
- update from Akeeba 9.9.8 > 9.9.10 and after that to 9.9.11 (only some days between the last two updates)
- monitoring of jpa-backup files show me that around 40 sites has been transferred to our backup server via FTP but as empty files (0MB).

The warning i get when trying to do the backup manually in Joomla is attached (Bildschirmfoto vom 2024-11-26 11-44-42.png)

Logfiles are attached.
The strange thing is: not all of the sites show this error..
Thank you in advance.
Ruth

 

Link to Logfile: https://e.pcloud.link/publink/show?code=XZdXtxZc9elDMjWN6LIwTU7gbgdu8zQxmK7

nicholas
Akeeba Staff
Manager

The FTP upload code hasn't been changed for well over a year, and definitely not between the last three versions.

Your log file shows that Akeeba Backup was connected just fine to your FTP server, but after exactly 90 seconds the upload failed. 90 seconds is the default timeout for FTP uploads in PHP, so this tells me something important.

Your backup archive is 127341973 bytes, i.e. 121.44 MB big. To upload such a big file within 90 seconds you'd need a transfer speed to the remote host of at least 1.4 MB/sec which, taking into account overhead and packet losses, would require an at least 15 Mbps connection. In our experience, FTP uploads usually top out at around 10 Mbps on most server combinations, with some being significantly lower than that. This would indeed cause a timeout during the upload just because your backup grew “big enough” to not make it over a single FTP transfer.

As noted in the documentation, we recommend using a smaller Part Size For Split Archives in this case. Try using a Part Size For Split Archives around 50 MB to be on the safe side.

You can do that in the Configuration page of your backup profile. Find the Archiver Engine and look at the options below it. Find the Part Size For Split Archives and set it to 50 MB. Save & Close, then take a new backup.

Note that this will split your backup into three files with extensions .jpa, .j01, and .j02. You will need both files to be present to restore it. Kickstart will only show you the .jpa file, but it knows this is a multipart backup archive, i.e. it will automatically look for the .j01 file (which is, in fact, the first file in the backup set) and .j02, and extract the backup archive files in the correct order.

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!

csgis

Hi Nicholas,

thank you very much for responding and it worked quite well with your advice to split archives.
I have another question: in case the weboster is not supporting cron jobs.
Is there another way to do weekly backups with akeeba?

Thanks in advance.
Ruth

nicholas
Akeeba Staff
Manager

Scheduling backups requires something to tell them to start, and keep going until they are done.

If your host doesn't have real CLI CRON jobs but does offer URL-based CRON jobs you can use either the front-end legacy backup option (if your host supports redirections), or Joomla! Scheduled Tasks with a URL-based CRON accessing Joomla's task scheduling URL every minute or so. I have documented all of that thoroughly; unfortunately, Joomla didn't document its very useful and robust Scheduled Tasks system, a big shame if you ask me.

If your host has absolutely no CRON support –neither real CLI CRON jobs, nor URL-based– you still have a few options left.

You can use an installation of Akeeba Panopticon on a different host, which does support CRON jobs, to schedule remove automatic backups.

You can use Akeeba Remote CLI on an always-on machine, for example a desktop or office/home server, to run backups remotely.

You can use a third party service such as Watchful to run scheduled backups remotely.

Last but not least, a different host. It's 2024. The number of sites which can reasonably operate without any kind of task scheduling is dwindling fast. If the host you're one can't keep up with the times, maybe it's time for you to move to a different host. I recommend Rochen. They do offer us free hosting for this site, but I do pay them out of my own pocket at full price for all of my personal sites; I'd never recommend anything I am not comfortable spending my own money on.

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!

csgis

Thank you again!
And also thanks to your recommendations.
The provider (it is not WHO) offers different packages and i will suggest to the client
to upgrade to a different package that has Cronjob opportunity included. 
We are also using mysites.guru where i can also define backup scheduling (JSON..) and
so i thought maybe there would be no need to upgrade the webspace when I could maybe perform scheduled
backups throught this?

Thank you!
Best regards, Ruth

nicholas
Akeeba Staff
Manager

Yes, you can schedule backups through that third party service :)

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!

csgis

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!