Automatic Backups do not work

From Kolmisoft Wiki

Jump to: navigation, search



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

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

cd /tmp

You should get such output:

Connecting to connected.
HTTP request sent, awaiting response... 302 Found
Location: [following]
Connecting to 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 from this local MOR server.

In /tmp/mor_debug.txt should be such lines:

2010-03-19 10:00:01 - Make backups at: 10 h
Making auto backup

If they are, login as apache user and try to execute such command in bash:

/usr/local/mor/ 20100319090451 /usr/local/mor/backups -c

Check if backup is made.

If not, do:

chmod 777 -R /usr/local/mor/backups

Backup is not visible in GUI

Backup is made, file is present, but does not appear in GUI.

SSL is used in the server

In such case you should change mor_hourly cron configuration file like this:

0 * * * * root wget -o /dev/null -O /dev/null --no-check-certificate

If you do not have FQDN then put your server IP adress instead of

File is located in:

vi /etc/cron.d/mor_hourly_actions

See also

Personal tools


Try M2