Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: paradigm on September 01, 2009, 09:55:32 PM
-
I'm testing sme 7.4 on virtual box and doing backup with DAR ,and have encountered a snag , some days
Backup Just does not run and i get no mail or an entry in the log file , just nothing happens .
I think i tracked it to the reason that if i don't move new files to the server itself or do an update on it or even a
New contrib install the backup skips because it thinks that nothing has changed from the last backup.
Is sme supposed to log or mail anything when there is nothing new to backup ?
How does DAR decide when a new backup should be done ?
-
Is sme supposed to log or mail anything when there is nothing new to backup ?
How does DAR decide when a new backup should be done ?
Workstation-backup makes a daily backup when enabled. It doesn't decide to do a backup or not : when enabled the backup is launched by cron.
If you don't see any log, verify workstation backup is enabled.
-
I have been testing this for a week and on days that change not done on files stored on Ibays no backup is done.
On days like the one i described above no backup is done and no mail is sent or log written.
Workstation backup is enabled.
-
The first verification is to look at /etc/crontab to see if you have an entry for /sbin/e-smith/do_backupwk
-
The first verification is to look at /etc/crontab to see if you have an entry for /sbin/e-smith/do_backupwk
Didn't find any of the above in the log file.
I removed dar2 contrib that was also installed , formated the usb hard disk , canceled the old backup job , and
Set a new one , which did a successful full first backup today.
will post in the coming days if some thing does not work as expected
-
Well still not working as should , checked sme today a few minutes after backup was timed to run , and nothing
Happend , no sign in the log file (/sbin/e-smith/do_backupwk) and no email to admin account .
any ideas , or should i post a bug ?
thanks in advance..
-
or should i post a bug ?
you must open a bug
Stefano
-
Before opening a bug, please answer my question : is there an entry for /sbin/e-smith/do_backupwk in the /etc/crontab file (not in the logs) ?
And did you launch a post-upgrade after removing dar2 ?
-
I cant remember if i did launch a post-upgrade after removing dar2 , did it now along with signal-event reboot.
here is /etc/crontab file (i marked in bold the entry which is similar to the backup time i checked in the server
manager - 18:25 :
#------------------------------------------------------------
# !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
# logrotate
12 1 */7 * * root /sbin/e-smith/signal-event logrotate
# Backup task is disabled
28 18 * * * root /sbin/e-smith/do_backupwk
02 4 * * * root /sbin/e-smith/check4updates -m
# smeserver-clamscan filesystem scan
50 0 * * 0 root /sbin/e-smith/smeserver-clamscan
16 4 * * * root squid -k rotate
16 10 * * 6 root sleep $[ $RANDOM \% 60 ]; /sbin/e-smith/statusreport
-
You can verify if your options are correctly set and dar backup is enabled with : db configuration get backupwk
and launch a backup in a console (with /sbin/e-smith/do_backupwk) to see if you get error messages.
-
After moving some files from and to Ibays a successful incremental backup was done today .
(problem still happening)
I will open a bug report....
http://bugs.contribs.org/show_bug.cgi?id=5457