Support

Akeeba Backup for Joomla!

#9179 Quota Mgt Not Removing .J0x Files

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 user27936 on Tuesday, 29 November 2011 07:44 CST

user27936
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? YEs
Have I searched the forum before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 1.5.24
PHP version: 5.2.17
MySQL version: 5.1.56
Host: Hostgator
Akeeba Backup version: 3.3.7

EXTREMELY IMPORTANT: Please attach your Akeeba Backup log file in order for us to help you with any backup or restoration issue.

Description of my issue:

Folks,

I am running a nightly backup with a quota count of 1. I only want the last backup of the website. The site is large and exceed the 2Gb limit so I have Akeeba Backup Pro set to multiple files. It splits on the 2Gb limit which works fine. The problem I am having is that when the next nightly backup runs, Akeeba does not remove the .J0x files, only the .JPA files. I want the complete series to be removed. How do I accomplish the automated deletion of the entire series, both .JPA and .J0x?

Thanks,
Joe

nicholas
Akeeba Staff
Manager
Hi Joe,

I did several tests, again, after reading your post. In all cases, all quotas would remove the entire series (.jpa, .j01, ...) of files per backup record. Nothing special is required.

I would suggest doing the following:
- Remove all of the contents of your backup output directory, after you have kept a local copy of the backups you want to keep, of course!
- Make sure you have the count quota setting set to 1.
- Backup twice
You should now only see the files of the second backup archive and no files from the first backup archive.

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!

user27936
Nick,

Thanks for the prompt reply. Yes, it does work for me when I access from the Joomla backend. What I failed to mention to you that this problem is occurring nightly via a cronjob. The following is the cronjob I am using:

/usr/bin/php5 /home/nphic/public_html/administrator/components/com_akeeba/backup.php -profile=2 >/home/nphic/public_html/Backups/NPHIC-Content-Log.txt 2>&1

Any thoughts?

Thanks,
Joe

nicholas
Akeeba Staff
Manager
Actually, I only tested using the command line backup.php script, just like you did. As a matter of fact, it shouldn't matter if you're using the back-end or the command-line backup.php file, at least as long as all of the backup archives were created using the same method.

I guess you can wait for the CRON job to run again and see if the files get deleted?

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!

user27936
Nicholas,

I've let the cronjob run. Files not deleting. I've attached a screenshot of my backup directory. I post another message with the log files in a zip file. As you can see, by these not deleting I can run out of space pretty quickly. Any help you could provide would be appreciated.

Thanks,
Joe Rebele

user27936
Nicholas,

Attached are my logs.

Thanks,
Joe Rebele

nicholas
Akeeba Staff
Manager
According to your log file:

DEBUG |111129 04:34:57|There were no old backup files to apply quotas on

So this log file tells me nothing, because no quotas were attempted to be applied during this backup run and I have no log entries regarding the deletion of backup files :(

Let's try something, though. Go to Akeeba Backup's Configuration page and click the Configure button next to the Archiver Engine drop-down. In the pane which opens below set the Part size for split archives to 1024, save the settings and retry backing up.

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!

user27936
Nicholas,

Thanks! Made the changes. I'm going to run through a cronjob now and then again in an hour to see if it works. I'll let you know.

Thanks,
Joe Rebele

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!