BackupPC-users

Re: [BackupPC-users] How do you set a command to mount nfs backup share?

2008-10-26 20:47:01
Subject: Re: [BackupPC-users] How do you set a command to mount nfs backup share?
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
Date: Sun, 26 Oct 2008 17:45:07 -0700
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
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/