Support

UNiTE, Remote CLI, eXtract Wizard

#14354 Multiple Emails and Multiple jpa Backups

Posted in ‘UNiTE and Remote CLI’
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

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by nicholas on Tuesday, 11 December 2012 15:40 CST

tiolions

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.8
PHP version: 5.3.3
MySQL version: 5.1.66
Host: CentOS Linux 6.3
Akeeba eXtract Wizard / Remote CLI / SiteDiff version: Akeeba Backup Professional 3.6.10 Remote CLI

EXTREMELY IMPORTANT: Please attach a ZIP file containing the Remote Control and Akeeba Backup log files if you are reporting an Akeeba Remote Control issue, othrewise we can not help you. Remember that your attachment must be a ZIP file! Other file formats (including .txt) may be silently rejected by our site.

Description of my issue:

Our backup runs at midnight every night and the backup jpa is good as it restores fine to our backup server.  However, multiple backups are created each night (there seems to be an average of 4) varying in size by a few megabytes.   Also, with each backup comes 60+ emails.  The email states that the backup has been completed and references the file name.  Many of the stated backup files cannot be located in the destination directory.  It looks likes this:

Akeeba Backup has completed backing up your site using the front-end backup feature. You may visit the site's administrator section to download the backup.

The new backup was taken with profile #1. It consists of 1 part(s). The full list of files of this backup set is the following:

        site-www.ridgway.k12.co.us-

20121211-000104.jpa
 

Any idea what's going on here?

nicholas
Akeeba Staff
Manager

For some reason your backup seems to run multiple times at the same time, causing these issues you are reporting. Check your CRON jobs.

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!

tiolions

The CRON job schedule /usr/bin/php /var/www/html/cli/akeeba-backup.php is the only command in the bash shell.   Unless the time of the server is off and and somewhow it keeps thinking it's midnight than we don't know why it repeats.  The code below is in a .sh file that is running a CRON job.

 

#! /bin/bash
/usr/bin/php /var/www/html/cli/akeeba-backup.php

nicholas
Akeeba Staff
Manager

The other thing you have to check is the time settings in the CRON job. Since you get about 60 emails I will do something out of character: I will take a look at my crystall ball and guess that you are using * instead of 0 in the minutes specification of your CRON job, restarting the backup every single minute of the 0 hour of the day. This would explain all the screwup you see.

PS: I have done something like that at some point. Thankfully, on a testing server. Unfortuantely, it started the backup every minute of every hour and I did that change just before going to sleep. Let's put it this way. My test server's hard drive wasn't very thankful about my mistake.

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!

tiolions

Thanks, great observation.  Continue to follow your crystal ball as it giving you great insight!  Tomorrow I hope to see the assumed data. 

Thanks again and for the super quick response. 

tiolions

Btw, do you know what service is being used to generate the email?

tiolions

Sorry, another question related to the backup.  In the Joomla Backend we'll change the basic config output directory and save, but when we return to view it has reverted to default dir set up for Akeeba in the Components directory.  Sounds like a permissions problem.  Why can't you save to a writable network directory that is mounted on that box?

nicholas
Akeeba Staff
Manager

As long as the directory can be browsed into you can select it in the configuration. It also tells you if the directory is writeable. If it reports it as writeable there should not be any problem. If the problem persists I'd recommend uninstalling and reinstalling the component.

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!