General discussion


Killing the daemon

By harikumars_80 ·
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.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

Killing the daemon

by ianATonlineloop.NOcom In reply to Killing the daemon

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 <backup daemon
name>". 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 <directories
to back up> > <logfile>), and writing to log

Hope this helps

Related Discussions

Related Forums