backup schedule not working - 2.6.2.2

elmo214
Posts: 16
Member Since:
2006-06-03

hi All,

I run into schedule backup issue, and I hope someone can shed me some light. I'm running 2.6.2.2 and I tried to create a schedule backup using the tbm module. However, it would not kick in at the specified time. If I click on backup now, it would work just fine. I checked the server time and they are correct.

I've noticed some errors as show below on FreePBX side and I wonder if that caused the problems.
Multiple freepbx-cron-scheduler.php running
There were 3 freepbx-cron-scheduler.php instances running. There should be only 1.
Added 1 week, 10 hours, 48 minutes ago
(retrieve_conf.CRONMGR)

I don't know where to look further. Please help.

thank you very much



b14ck
Posts: 773
Member Since:
2009-03-03
You may want to remove those

You may want to remove those cron entries, and create a new schedule. I'm not sure how it got messed up, but that would almost certainly resolve the issue. You may also want to restart your cron daemon.

--

Randall Degges
Lead Developer, RCI Telecommunications
projectb14ck - http://projectb14ck.org/ - Weblog



elmo214
Posts: 16
Member Since:
2006-06-03
Tried that. didn't work

thank you for your reply. I tried your suggestion, but it didn't help. Any other suggestions? thank you



James5mith
Posts: 22
Member Since:
2009-03-24
Elmo, did you ever figure

Elmo, did you ever figure this out? I also seem to be unable to get scheduled backups to work within trixbox.

Running 2.6.2.2 as well.

--

Trying Trixbox after fighting with Asterisk and a PRI configuration for the last 6 months.



nttranbao
Posts: 189
Member Since:
2008-02-16
Me too. Same problem.

Me too. Same problem. tbbackup does not automatically run. Manual works.

Trixbox 2.6.2.2

--

----------------------
IT/VOIP consultancy, VOIP eStore, Support Forum
Bao Nguyen IT Co., Ltd.
http://www.baonguyen.vn
WE MAKE IT



restoble
Posts: 5
Member Since:
2009-06-18
anyone: post plese the line

anyone: post plese the line in your crontab file, it may be wrong, I look maybe help you. backup had bug with wrong cron string.

--
Its very cold here.

--

--
Its very cold here.



samham
Posts: 44
Member Since:
2009-01-13
backup schedule not working - 2.6.2.2

This worked for me

In the file /var/www/html/maint/modules/backup/controllers/backup.php

fwrite($handle, "$string php /var/www/html/kindex.php backup_cron/index/$id\n");

change to:

fwrite($handle, "$string curl -s -o /dev/null http://localhost/kindex.php/backup_cron/index/$id\n");

amportal restart

http://trixbox.org/forums/trixbox-forums/open-discussion/backup-m...



pdwhitejr
Posts: 1
Member Since:
2009-08-05
backup schedule not working - 2.6.2.2

As a confirmation of samham's suggestion: I was having the same problem, made the changes samham suggested and it's working.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.