On Fri, Jan 10, 2014 at 12:01 PM, Les Mikesell <[email protected]>wrote:

>
> I think the top level directory has to exist (or the target of the
> symlink if you use one) for that to happen.   I'm not sure if that's
> the case for  devices that udev mounts by label names or not.  That
> is, if the mount point directory goes away with the device.
>
> In any case it might be worth setting a a cron job to stop backuppc
> and send a notification if the disk is not present when it is
> expected.
>
>
What I had set up at one point, since my /var/lib/backuppc was on a
separate (larger) LVM vg, was I touched a file called .backuppc in
/var/lib/backuppc, then in the startup script, put a small check in like

if [ ! -f /var/lib/backuppc/.backuppc ] ; then
  echo "Data partition not mounted"
  exit 1
fi

Worked pretty well, but you have to insure that it persists between
upgrades.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
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/

Reply via email to