Support

Akeeba Backup for Joomla!

#11559 Test CRON job manually

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 on Sunday, 22 April 2012 18:00 CDT

jk15060
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.2
PHP version: (unknown)
MySQL version: (unknown)
Host: Rochen
Akeeba Backup version: 3.4.2

Is there a way to test a CRON job via SSH? I thought I remember doing this a while back, but can't seem to find the SSH connection info in Akeeba Backup doc anywhere. Perhaps I found out how to connect via Google.

I'd like to test the CRON command line manually before scheduling.

I'm sure Nicholas will quote me the page and paragraph for this. :-)

nicholas
Akeeba Staff
Manager
It's as obvious as obvious can get: just log in to your site via SSH and run the command line you're using in CRON directly on the SSH command prompt. That's all there is to it :)

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!

jk15060
Well I wondered if it was that easy. Thanks Nicholas!

I think I must have had to make a SSH connection from 1&1 provider. Rochen is much easier!!!

nicholas
Akeeba Staff
Manager
Yup, I know :)

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!

jk15060
Just tried the command line to backup a website via backup.php. Wicked cool and extremely easy.

One question. My backup location is not the default in Akeeba. Anyway to redirect it to the folder where backups are stored?

Or would it just be better to move the file once it's done backing up?

Thanks Nicholas!

nicholas
Akeeba Staff
Manager
Well, why would you want to move the file around? If you need it created somewhere else, just edit Akeeba Backup's Configuration for that particular backup profile and set the Output Directory to your liking :)

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!

jk15060
Well crapola. I used the profile parameter for my User Account, but it's supposed to be the profile account for Akeeba?

Ok, one minor change and I'm in business! :-)

jk15060
Backup file still ended up in the default location, even with Output Directory set in profile. Thoughts? Ideas? Suggestions?

nicholas
Akeeba Staff
Manager
Is it set on the correct profile?

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!

jk15060
That's just it - there's only one profile; the default.

nicholas
Akeeba Staff
Manager
Empty your site's temporary directory. And make sure you are not using the Lazy Scheduling plugin. These are two reasons I can think which could trigger this issue.

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!

jk15060
Will do. Thanks Nicholas!

jk15060
That worked! Thanks again!

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!

jk15060
Good morning!
Not quite sure how to reply to a public ticket, or even if I am allowed, but I'm getting a similar issue to someone else who posted on March 2nd regarding an error message from a CRON job.

The warning states:

POTENTIAL PROBLEMS DETECTED; 1 warnings issued
Failed to remove old backup file /home/MYLOCATION/public_html/BACKUPFOLDER/site-mydomainname.com-20120312-121115.jpa

The crazy part? The JPA file actually DID get deleted.

I'm thinking this is a benign error, but don't know that for certain.

No hurry to answer this, but wanted you to know I'm getting the same error from a CRON job.

Akeeba version is 3.4.3.

Thanks!
Janis

nicholas
Akeeba Staff
Manager
You can't reply to someone else's ticket. That's why I made this ticket system. I don't want two or more users with unrelated problems on the same thread. It's a nightmare when you're doing support.

Regarding this issue, it's not even an issue. Ignore it. It simply means that one of the backup records was marked as being OK (the files are on the server) when in reality the files were not on the server (e.g. you deleted them). Just ignore that message.

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!