[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] checking backups in progress
From: |
Ben Escoto |
Subject: |
Re: [rdiff-backup-users] checking backups in progress |
Date: |
Wed, 17 Aug 2005 23:41:22 -0500 |
>>>>> David Kempe <address@hidden>
>>>>> wrote the following on Wed, 17 Aug 2005 21:57:06 +1000
> how hard would it be for rdiff-backup to write the pid of the
> rdiff-backup --server process to a file (or the current_mirror_marker)
> on startup?
> I have found the section of the source where rdiff-backup writes the
> current_mirror marker, but don't know enough python on how to write a
> patch to inject the pid into the file.
> There is a getpid() function in the posix python module. not sure if
> thats a good idea.
I think
http://savannah.nongnu.org/cgi-bin/viewcvs/rdiff-backup/rdiff-backup/rdiff_backup/Main.py.diff?r2=1.86&r1=1.85&diff_format=u
should do what you want.
--
Ben Escoto
pgpMkKD1_eFZs.pgp
Description: PGP signature