Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: NTBlade on September 01, 2003, 01:45:58 PM

Title: Problem with backup2ws
Post by: NTBlade on September 01, 2003, 01:45:58 PM
I'm trying to use backup2ws to backup some files to an NT server. The backup works fine if I run it manually from within the server manager but doesn't run when scheduled.

Can anyone suggest where I should start to look for the cause of this problem?

Running 5.6U4

Many thanks in advance

(Also posted to myezserver)
Title: Re: Problem with backup2ws
Post by: Matt Quelch on September 01, 2003, 04:37:02 PM
Sounds like a problem with Cron as that starts the backup job. You could start by looking in /etc/cron.d/ and there should be a file called backup in there which should have a line like:

30 13 * * 1-5 root /sbin/e-smith/backup

Thats: | Min | Hour | Day | Month | Days | Run-as | Run |

As far as I can remember. If the backup file isn't in there, then try and redo the last few lines of the installation guide for backup2ws.

HTH
Matt
Title: Re: Problem with backup2ws
Post by: NTBlade on September 01, 2003, 06:36:14 PM
Thanks for your reply,
/etc/cron.d/backup is there but is empty.  I rename it and deleted the backup job through the server-manager interface and re-created it but /etc/cron.d/backup was not re-created and the backup still didn't run
There wasn't any installation instructions, just a script to install the RPMs.
Any more ideas anyone?
Thanks
-NTB
Title: Re: Problem with backup2ws
Post by: Matt Quelch on September 02, 2003, 06:56:06 PM
Have a look on contribs.org I seem to remember there was a HOWTO on there for installing backup2ws...

Good luck!
Matt
Title: Re: Problem with backup2ws
Post by: NTBlade on September 04, 2003, 04:37:05 PM
I can't find any howtos anywhere.  I've installed the contrib onto another test machine and i'm getting the same thing.  The backup works if run manually bu not if scheduled.

Can anyone tell me where to look for logs for this?  The /var/log/backup2ws log only has the log for the manual backup.

Thanks
Title: Re: Problem with backup2ws
Post by: Sharif George on September 23, 2003, 11:51:26 AM
Interestingly enough I looked in my backup file and found that it too was empty!!  Did you ever get a conclusion NTBlade?

I found this entry in backup2ws.911

45 22 * * * root /sbin/e-smith/backup2ws-backup 911 > /dev/nul 2>&1

Do you know if I can just add this line to the backup file?

Thanks for your Help