BackupPC-users

Re: [BackupPC-users] Backup to USB disk.

2008-04-15 03:24:01
Subject: Re: [BackupPC-users] Backup to USB disk.
From: "Nils Breunese (Lemonbit)" <nils AT lemonbit DOT nl>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 15 Apr 2008 09:23:46 +0200
Les Stott wrote:

>> Just thinking out loud here, but couldn't you achieve the same result
>> by using the automounter? The the drive is present, the automounter
>> would mount it up and then BackupPC would be happy. If the drive
>> isn't present, the mount should fail and BackupPC would error out
>> because its directory tree would not be present.
>>
>> Perhaps it's not as pretty as the scripted solution you're using, but
>> I think it should "just work" otherwise.
>>
>
> Never had much luck with the automounter doing things the right way.  
> It
> always wants to auto mount on directories under /media, and the
> directory can either be a label or a made up name.
>
> i prefer mounting and unmounting explicitly and choosing my own
> directory mount points.

Couldn't you use hotplug to start the BackupPC daemon when the  
external drive gets plugged in and stop it when it is removed?

Nils Breunese.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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/