Bacula-users

Re: [Bacula-users] Encryption Problems

2010-02-22 06:31:02
Subject: Re: [Bacula-users] Encryption Problems
From: "Beck J Mr" <james.beck AT shunsley.eril DOT net>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 22 Feb 2010 11:27:32 -0000
Hi,

Looks like the encryption mystery has been solved. It seems the problem
was my fault (kind of), possibly a lack of understanding. I have just
booted up the machine in BartPE and restored the encrypted backup to the
C drive. Everything seems to have gone over okay.

So it appears the encryption problems happen when restoring to a live
system. This is fair enough, but why does an unencrypted backup set
restore fine on a live system when an encrypted one does not?

Regards,

James

-----Original Message-----
From: Martin Simmons [mailto:martin AT lispworks DOT com] 
Sent: 16 February 2010 19:38
To: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Encryption Problems

See http://www.bacula.org/en/?page=bugs


>>>>> On Tue, 16 Feb 2010 15:37:20 -0000, Beck J Mr said:
> 
> How do I go about submitting a bug? 
> 
> -----Original Message-----
> From: Beck J Mr [mailto:james.beck AT shunsley.eril DOT net]
> Sent: 16 February 2010 11:56
> To: bacula-users AT lists.sourceforge DOT net
> Subject: Re: [Bacula-users] Encryption Problems
> 
> After some extra testing I am able to restore the encrypted backup if 
> I restore to a different location (i.e. C:/restore). I have also 
> successfully restored a single folder - Program Files (x86) - to it's 
> original location. I only get problems when I try a full system 
> restore to the original location. Then I get the cryptographic errors.
> 
> Martin, I haven't yet tried using portable backups. I will give it a 
> go, but reading the docs I would rather have unencrypted backups than 
> not be able to restore file attributes properly.
> 
> Regards,
> James
> 
> 
> -----Original Message-----
> From: Martin Simmons [mailto:martin AT lispworks DOT com]
> Sent: 15 February 2010 21:54
> To: bacula-users AT lists.sourceforge DOT net
> Subject: Re: [Bacula-users] Encryption Problems
> 
>>>>> On Mon, 15 Feb 2010 13:04:25 -0000, Beck J Mr said:
> > 
> > Hi,
> > 
> > I am currently in the process of testing bacula and I have come 
> > across
> 
> > a stumbling block when restoring an encrypted backup.
> > 
> > I get the following error for most - but not all - files:
> >     Error:/home/kern/bacula/k/src/filed/restore.c:433 Unexpected 
> > cryptographic session data stream.
> > 
> > Restoring a single file worked fine, but as soon as I try a full 
> > system restore, I get this message literally thousands of times.
> > 
> > This is my first try at a restore. I am currently running a backup 
> > of the same machine without encryption to make sure encryption is 
> > definitely the problem.
> > 
> > The client machine is running Win 2003 server R2 x64
> > 
> > The Server is Ubuntu Server 9.10 amd64, running Bacula 5.0.0
> > 
> > Does anybody have any ideas what could be wrong?
> 
> Looks like it might be bug.
> 
> You could try doing a backup of a single small directory to see if 
> that triggers it.  If it does, then add portable=yes in the fileset 
> options to see if that fixes it.  Using portable=yes is not a good 
> long-term solution, but it might narrow the problem down.
> 
> __Martin
> 
> ----------------------------------------------------------------------
> --
> ------
> SOLARIS 10 is the OS for Data Centers - provides features such as 
> DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 
> NOW http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 
> ----------------------------------------------------------------------
> --
> ------
> SOLARIS 10 is the OS for Data Centers - provides features such as 
> DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 
> NOW http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 
> ----------------------------------------------------------------------
> -------- SOLARIS 10 is the OS for Data Centers - provides features 
> such as DTrace, Predictive Self Healing and Award Winning ZFS. Get 
> Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

------------------------------------------------------------------------
------
SOLARIS 10 is the OS for Data Centers - provides features such as
DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10
NOW http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users