Last info about my problem : after a failed restore (with the master
keypair), the File Daemon is shut down.

Le vendredi 11 mai 2007 à 15:34 +0200, massano jerome a écrit :
> Just more info that could help : Bacula 2.0.3 compiled form sources on a
> SMEserver (linux distribution based on CentOS) with Mysql.
> 
> Le vendredi 11 mai 2007 à 15:26 +0200, massano jerome a écrit :
> > Hello. Thank you for your answer.
> > 
> > Ok. I did what you told me, but it doesn't work : here is the output :
> > The message of the console are in french, I have made a translation of
> > them (between brackets).
> > 
> > ----
> > *messages
> > 11-mai 15:09 nec-dir: Start Restore Job RestoreFiles.2007-05-11_15.09.00
> > *messages
> > 11-mai 15:09 nec-sd: Ready to read from volume "Vol0093" on device
> > "FileStorage" (/tmp).
> > 11-mai 15:09 nec-sd: Forward spacing Volume "Vol0093" to file:block
> > 0:185.
> > 11-mai 15:09 nec-dir: RestoreFiles.2007-05-11_15.09.00 Fatal error:
> > Network error with FD during Restore: ERR=Aucune donnée disponible (No
> > data available)
> > 11-mai 15:09 nec-sd: RestoreFiles.2007-05-11_15.09.00 Fatal error:
> > read.c:139 Error sending to File daemon. ERR=Connexion ré-initialisée
> > par le correspondant (Connection reset by peer)
> > 11-mai 15:09 nec-sd: RestoreFiles.2007-05-11_15.09.00 Error: bnet.c:439
> > Write error sending 14384 bytes to client:192.168.0.4:36643:
> > ERR=Connexion ré-initialisée par le correspondant (Connection reset by
> > peer)
> > 11-mai 15:09 nec-dir: RestoreFiles.2007-05-11_15.09.00 Fatal error: No
> > Job status returned from FD.
> > 11-mai 15:09 nec-dir: RestoreFiles.2007-05-11_15.09.00 Error: Bacula
> > 2.0.3 (06Mar07): 11-mai-2007 15:09:03
> >   JobId:                  388
> >   Job:                    RestoreFiles.2007-05-11_15.09.00
> >   Client:                 sme-fd
> >   Start time:             11-mai-2007 15:09:02
> >   End time:               11-mai-2007 15:09:03
> >   Files Expected:         50,388
> >   Files Restored:         0
> >   Bytes Restored:         0
> >   Rate:                   0.0 KB/s
> >   FD Errors:              0
> >   FD termination status:  Error
> >   SD termination status:  Error
> >   Termination:            *** Restore Error ***
> > 
> > 11-mai 15:09 nec-dir: Begin pruning Jobs.
> > 11-mai 15:09 nec-dir: No Jobs found to prune.
> > 11-mai 15:09 nec-dir: Begin pruning Files.
> > 11-mai 15:09 nec-dir: No Files found to prune.
> > 11-mai 15:09 nec-dir: End auto prune.
> > 
> > ----
> > 
> > It works perfectly when I use the original keypair.
> > Can anyone see where the problem comes from ?
> > 
> > 
> > 
> > Le jeudi 10 mai 2007 à 21:34 -0700, Landon Fuller a écrit :
> > > On May 10, 2007, at 4:51 AM, massano jerome wrote:
> > > 
> > > > Le jeudi 10 mai 2007 à 12:01 +0200, Kern Sibbald a écrit :
> > > >> On Thursday 10 May 2007 11:14, massano jerome wrote:
> > > >>> Hello.
> > > >>> I know this kind of mail is supposed to be sent on the user list,  
> > > >>> but
> > > >>> i've asked for it 3 times, and nobody could answer me. Maybe  
> > > >>> somebody in
> > > >>> the dev list can help me ?
> > > >>
> > > >> Maybe you didn't get an answer because it is rather obvious.  If  
> > > >> you encrypt
> > > >> something with an encryption key, you must make a secure non- 
> > > >> encrypted copy
> > > >> of the encryption key, or use the master key, which is to the best  
> > > >> of my
> > > >> knowledge documented (at least a number of users are using it).
> > > >>
> > > >> When you figure out how to do it, please let us know.
> > > >>
> > > > This is what I understood. I have made a copy of my master key, but in
> > > > the documentation it is not said how I can use the master key to  
> > > > recover
> > > > my files. It is only documented how I can create it and use it to
> > > > encrypt, but not how to restore encrypted data. This is why I sent  
> > > > it to
> > > > the list (I read the documentation BEFORE sending ^^). So if somebody
> > > > can tell me how to use my Master Key to restore previously encrypted
> > > > backups...
> > > 
> > > It is preferable to retain a secure, non-encrypted copy of the  
> > > client's own encryption keypair. However, should you lose the  
> > > client's keypair, recovery with the master keypair is possible.
> > > 
> > > You must:
> > >   1) Concatenate the master private and public key into a single  
> > > keypair file, ie:
> > >           cat master.key master.cert >master.keypair
> > > 
> > >   2) Set the PKI Keypair statement in your bacula configuration file:
> > >           PKI Keypair = master.keypair
> > > 
> > >   3) Start the restore. The master keypair will be used to decrypt the  
> > > file data.
> > > 
> > > -landonf
> > 
> > 
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bacula-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to