Discussion Locked

Killing the daemon

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We Take daily backups in our linux system using the tape drive and we have to restart the linux system in order to kill the backup daemon daily for starting the next days backup. This is results in the system downtime which happens to be our mailserver.

Please tell me a solution so as to kill the daemon automatically soon after the backup is over.
Regards
HARI

1 reply

by ianatonlineloop.nocom

Assuming you have a script that is run by cron,
what you can do is right at the end of the
script add a line "killall -9 ". If you have some other software, set up
a cron job that executes about two-three hours
after the backups would be completed.

If that fails (try killall from the command line
to test it), then this points to some other more
serious problem on your system. Look in your
system logs (/var/log/messages and warn) for
possible hints.
If you are using some kind of backup software,
you could try writing a script that is called
daily through cron. This is what I do, using tar
in the script (tar -czvf /dev/st0 > ), and writing to log
files.

Hope this helps
Ian

This discussion is closed to new replies.