Jeffrey writes: > So, ideally, I am looking for a "hook" to run in advance of any web or > backup operation that needs access to /var/lib/BackupPC. > > Does such a hook exist? > If not where would be the best place in the code to hook into?
No, there isn't such a hook - BackupPC assumes the pool exists. Almost every program and CGI request will access some data below the pool. You could try putting some code in the BackupPC::Lib initialization, but you will have to think about what error recovery is appropriate. Craig ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
