Automatic Backups do not work

From Kolmisoft Wiki
Revision as of 09:19, 27 January 2010 by Admin (talk | contribs)
Jump to navigationJump to search

Cronjob

Automatic backups are run by cronjob which should reside in /etc/cron.d/mor_hourly_actions

Inside this file you will see:

0 * * * * root wget -o /dev/null -O /dev/null http://127.0.0.1/billing/callc/hourly_actions

To test if it really works execute such lines in bash:

cd /tmp
wget http://127.0.0.1/billing/callc/hourly_actions

You should get such output:

--07:39:07--  http://127.0.0.1/billing/callc/hourly_actions
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://127.0.0.1/billing/backups/backups_hourly_cronjob [following]
--07:39:07--  http://127.0.0.1/billing/backups/backups_hourly_cronjob
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1 [text/html]
Saving to: `backups_hourly_cronjob'
100%[===========================================================================================================================>] 1           --.-K/s   in 0s
07:39:07 (274 KB/s) - `backups_hourly_cronjob' saved [1/1]

If you do not get such output that means Apache is misconfigured and you need to make sure that your Apache is accessible as 127.0.0.1 from this local MOR server.




See also