On 16/08/10, Rory Campbell-Lange (r...@campbell-lange.net) wrote:
> I'm having trouble matching the Bacula MD5 with the MD5 of a file.
> 
> I have the following catalog record for a file:
> 
>     path: /backup/archive/datasnap0/etc/       
>     file: wgetrc  
>     md5 : 7rJlwjvesDfThOLanMuCog
> 
> After restoring this file I have run md5, and I get:
> 
>     eeb265c23bdeb037d384e2da9ccb82a2  wgetrc
> 
> After reading the docs I understand that the catalog record is a base64
> encoding. However, running
> 
>     openssl dgst -md5 archive/datasnap0/etc/wgetrc | awk '{print $2}' | 
> openssl enc -base64
> 
> returns ZWViMjY1YzIzYmRlYjAzN2QzODRlMmRhOWNjYjgyYTIK
> 
> How can I match the catalog md5 record to the restored file's md5?

Sorry to ask again, but I'm obviously being rather thick as I can't find
out how to match the base64 md5 string stored in postgres with the
normal output of the GNU md5sum programme.

Assistance much appreciated.

Rory
-- 
Rory Campbell-Lange
r...@campbell-lange.net

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to