I don't think that would work as PreDump. The daemon needs access to 
/var/lib/backuppc just to run. You've have to do the LUKS mount at backuppc 
start time.

Regards,
Tyler

On Thursday 01 July 2010 03:00:27 Lord Vault wrote:
> Hi everybody, i'm trying to make a backup on a luks encrypted disk using a
>  PreDump script like this:
> 
> echo password | cryptsetup luksOpen /dev/sdb backupDisk
> mount /dev/mapper/backupDisk /var/lib/backuppc
> 
> where
> 
> $Conf{TopDir} = '/var/lib/backuppc';
> 
> 
> But BackupPC somehow senses the change and returns me "Error: Unable to
>  connect to BackupPC server" in the "<hostname> Home" page. I'm aiming to
>  let the disk unencrypted only during backups, and possibly using luks.
> 
> Can you please help me? I've tried to figure it out for almost the whole
>  day. Thanks!
> 
> +----------------------------------------------------------------------
> 
> |This was sent by [email protected] via Backup Central.
> |Forward SPAM to [email protected].
> 
> +----------------------------------------------------------------------
> 
> 
> 
> ---------------------------------------------------------------------------
> --- This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> 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/
> 
-- 
"Cheops' Law: Nothing ever gets built on schedule or within budget."
   -- Lazarus Long, "Time Enough for Love", by Robert A. Heinlein

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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