[BackupPC-users] How do you set a command to mount nfs backup share?
2008-10-23 15:44:31
I am backing up to an nfs share -- specifically, I have set
/var/lib/BackupPC to be a link to an nfs share.
I would like to check to see that the share is mounted before any
action since the machine hosting the nfs share sometimes goes down or
is disconnected from the net.
I tried using DumpPreUserCmd but it occurs too late -- i.e. BackupPC
first does a test hardlink between "/var/lib/BackupPC/pc/mypcname" and
"/var/lib/BackupPC/cpool" before that which obviously fails if the nfs
share is down.
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?
Thanks
-------------------------------------------------------------------------
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/
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [BackupPC-users] How do you set a command to mount nfs backup share?,
Jeffrey J. Kosowsky <=
|
|
|