It'd not strictly a Perl problem but I'm doing it in Perl... It's a program for automatically backing up at night over the network. The strategy is to rotate current working directories, almost on the grandfather-father-son system.
One computer is the server (called 'lab'). Another (called 'office') acts as the backup. On 'office' I first move the previous backup to office's !Blackhole. Then I trigger a copy from 'lab'. The main info files are backed up daily, other directories on a 14-day cycle. This is done overnight. To initiate the cycle I first quit and re-start Blackhole (I've not found a way yet to make Blackhole do its auto deletions without quitting and re-starting). When re-started, Blackhole does it's expiry - which may take a time. And there's the cause of the problem The problem: how can I tell when Blackhole has finished expiry and is ready to accept the previous backups? -- ------------------------------------------------------------------------- Richard Torrens 4QD manufacture speed controllers for battery electric motors. www sites http://www.4QD.co.uk http://www.4QDtec.com http://www.4QD.org All email addresses are copyright. Resale or use on any lists is expressly forbidden ---------- We use a RISC PC 32 bit RISC computer ----------------