On Sun 24 Mar, Richard Torrens (RiscOS) wrote:
> 
> It'd not strictly a Perl problem but I'm doing it in Perl...

It's not a Perl problem at all!

> The problem: how can I tell when Blackhole has finished expiry
> and is ready to accept the previous backups?

I don't know how Blackhole structures its rubbish directory but
perhaps you can look to see how it does it. Your backup program
could then create an empty file in a position that Blackhole's
expiry process will get to last of all. Then all your program
needs to do is poll for the existence of that marker file and
when it is gone you will know that Blackhole has finished.
Of course, you will probably need to time stamp the marker file
to ensure that it will be expired correctly.

-- 
James Taylor <[EMAIL PROTECTED]>
Based in Southam, Cheltenham, UK.
PGP key available ID: 3FBE1BF9
Fingerprint: F19D803624ED6FE8 370045159F66FD02

Reply via email to