Support

Akeeba Backup for Joomla!

#14081 Command line backups are way bigger in file size than backend backups

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, 12 November 2012 11:40 CST

user67291

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes, all except the file type specific ones and the database dump and the restoration troubles one
Have I searched the tickets before posting? yes and google
Have I read the documentation before posting (which pages?)? most of the akeeba backup ug specifically the parts on configuration and scheduling backups
Joomla! version: 2.5.8
PHP version: 5.3.17
MySQL version: 5.1.66
Host: bluehost
Akeeba Backup version: 3.6.9

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:

Hi, I have scheduled backups set up with native cron for this client. It works fine and all good taking a backup weekly for them.

Today when I went to update Joomla to 2.5.8 (I took a backup first) I noticed that the command line backup files are much larger than the backend backup files. I first searched the user guide looking for something that I may have missed or some reference to why the files via command line might be much larger. I also did a google search - yet, who knows if I'm putting the right search criteria in to get the correct return. I also read almost all of the links that you so nicely gave me above the ticket once I put in the topic.

Attached is a zip file with the logs for both backend and command line. I hope I did it correctly for you. If not, let me know what I need to do differently. Hopefully that will help you to understand. I'm just looking for why the file size of the command line backups are so much larger than the backend backups and if I've screwed up, then I certainly need to fix it and would appreciate your assistance. Looking forward to seeing you next week at JWC...and thanks in advance for your assistance.

jenn

nicholas
Akeeba Staff
Manager

Go to Akeeba Backup, Files and Directories Exclusion and exclude the "bus" directory from the backup.

You are wondering why. Due to the way PHP reports filesystem paths, when the backup runs from the command-line it doesn't understand that the output directory (bus) is a subdirectory of the site's root, ending up backing up the old backups. By excluding the directory manually it will stop doing that.

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!

user67291

thanks, nicholas. i appreciate that. shall i also manually exclude cache, logs and tmp since they are in the same boat (so to speak)?

thanks again.

jenn (for ITMinistry)

nicholas
Akeeba Staff
Manager

No, these folders are automatically excluded. What happened is that the output directory path would not be recognised as being a subdirectory of your site's root. All other directories you mentioned (tmp, cache, logs, administrator/cache) are automatically excluded using relative directory filters.

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!

user67291

understood. i appreciate it. gracie! see you this weekend. excited about it. jenn

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!

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!