rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Best method for testing if another rdiff-backup


From: Dave Kempe
Subject: Re: [rdiff-backup-users] Best method for testing if another rdiff-backup session in progress?
Date: Thu, 22 Nov 2007 21:38:22 +1100
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Jason L. Buberel wrote:
What is the most reliable method to determine if rdiff-backup is already 
running on the destination directory?

If there are two current mirror markers in the rdiff-backup-data directory, and the latest one is in memory then its still running. You can get the pid of the running rdiff-backup process by simply looking in the current mirror marker file... its in there :)

You can check out the logic in the check_rdiff script for confirmation (its a nagios plugin)

http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1[p_view]=406&tx_netnagext_pi1[page]=50%3A10

I actually have a new version of that, and a reimplementation in ruby as well if anyone is interested.

dave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]