Support

Akeeba Backup for Joomla!

#16107 Automated backup with profile of database only, backs up files as well

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, 17 May 2013 08:29 CDT

user75649
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.11
PHP version: 5.2.6-1
MySQL version: (unknown)
Host: gradwell.com
Akeeba Backup version: 3.6.12

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:

I don't seem to be able to run an automated backup to backup the database only. Even though the profile is set to database only, it includes the files (gives 130MB fileset). The same profile, when run via the 'backup now' link on the joomla admin page, works fine (10MB fileset).

At first I thought that it was an issue with it not seeing the profile suffix on the command line (main profile is the default everything, profile 2 is DB only). Command is:

/usr/bin/php /export/home/clearwater/markgdpie/webs/storage.dpie.com/htdocs/cli/akeeba-backup.php --profile=2

It runs - but includes the filesystem. The log shows it including the files. It also mentions that profile 2 was selected.

I've also edited the default profile (profile 1) to be db only and tried running that via cli - same result. I've also set it to exclude all the files in 'Files and Directories Exclusion'

Any ideas?

Regards
Mark

user75649

nicholas
Akeeba Staff
Manager
I just did a test on my local and live test sites (Joomla! 2.5.11 and 3.1.1). I cannot reproduce this issue. I would recommend creating a new database-only backup profile and retry the backup. It should work.

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!

user75649
That didn't work but adding the override to force database only provides a workaround:

--override="akeeba.basic.backup_type=dbonly"

Very strange....

nicholas
Akeeba Staff
Manager
Normally that shouldn't be necessary unless the command line script cannot read the backup profile's configuration. I agree, that's very strange!

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!