Support

Akeeba Backup for Joomla!

#21830 different size

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 Friday, 09 January 2015 03:59 CST

user30080
EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:
when i make a back from akeeba and want to download the backup i see for example it is
280mb and if i want to use the .jpa i got an error but when i look at the admin site and look at the backup the size is then 290 mb and when i download these file with file zilla then it works
how can it give two different sizes.

Thanks

nicholas
Akeeba Staff
Manager
The difference in the file size reported by Akeeba Backup, your hosting control panel and FileZilla has to do with the definition of Kb and Mb.

Akeeba Backup uses the IEEE (base-2) definition of Kb and Mb. One Kb is 1024 bytes and one Mb is 1024 Kb (1048576 bytes). Most applications use the SI (base-10) definition where one Kb is 1000 bytes and one Mb is 1000 Kb (1000000 bytes). This is a 4.63% difference in the reported sizes when using base-2 vs base-10 units (or vice versa). If you add 4.63% to 280MiB (base-2 units) you get 292.964Mb (base-10 units). So both displays are right!

Confused? It's the same thing with hard disks. Hard disk manufacturers report the size of HDDs/SSDs in million bytes (base-10) while most operating systems report it in base-2 units. That's why a 512Gb HDD is only 489Gb unformatted. Yeah, it's extremely confusing, I'll give you that. More so when you get SSD sizes in base-2 units, HDD sizes in base-10 units, file sizes on the web in any unit, file sizes on your computer in base-2 units and so on and so forth and... Oh, dear Lord, we geeks suck at defining standards as humorously illustrated in this XKCD comic.

As for the problem you had, we do have documented that you are supposed to use an FTP/SFTP application in Binary file transfer mode to download the backup archives correctly if they are a bit big. This "a bit big" is intentionally vague. On most servers "a bit big" is anything over 100Mb or so, on some servers it's far less (even 5Mb!) or some others it's over 1Gb. It depends on multiple factors including PHP memory limit, PHP mode (mod_php, FastCGI), Apache configuration, server speed, your download speed, even your browser make and version. Since the download through the browser depends on so many factors we recommend ALWAYS using an FTP/SFTP client in binary transfer mode and then check the file size in bytes. The size of the downloaded file IN BYTES must match the size of the file on your server. If they don't match your archive is corrupt and will fail to restore.

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!