On Friday 22 September 2006 18:02, jea zam wrote: > Hi, my environment it's: > -debian sarge 3.1 > -Bacula release 1.38.9 implemented > -LVM with a SAN > -UML ( user-mode linux ) > > The copies and all run fine for files of my windows users and restore too > > But now, I want to backup my logical volume from the UML with RAW mode > > In the director the FileSet is: > ############# > FileSet { > Name = "RawPartition" > Include { > Options { sparse=yes } > File = /dev/mapper/vg--uml--008-backup--root > } > } > ############# > > the backup run OK, then when I try to restore get this error: > > > > > ############# > 22-sep 11:38 wrack-fd: Restore_Particiones_RAW.2006-09-22_09.25.50 Error: attribs.c:337 File size of restored file /dev/mapper > /vg--uml--008-backup--root not correct. Original 0, restored 1073741824. > 22-sep 09:41 doom-dir: Restore_Particiones_RAW.2006-09-22_09.25.50 Error: Bacula 1.38.9 (02May06): 22-sep-2006 09:41:50 > JobId: 593 > Job: Restore_Particiones_RAW.2006-09-22_09.25.50 > Client: wrack-fd > Start time: 22-sep-2006 09:25:52 > End time: 22-sep-2006 09:41:50 > Files Expected: 1 > Files Restored: 1 > Bytes Restored: 1,070,530,936 > Rate: 1117,5 KB/s > FD Errors: 1 > FD termination status: Error > SD termination status: OK > Termination: *** Restore Error *** > > 22-sep 09:41 doom-dir: Begin pruning Jobs. > 22-sep 09:41 doom-dir: No Jobs found to prune. > 22-sep 09:41 doom-dir: Begin pruning Files. > 22-sep 09:41 doom-dir: No Files found to prune. > 22-sep 09:41 doom-dir: End auto prune. > ############# > > and other error too, I would like to know how to do a restore raw partitions ( note: I use LVM )
Well, it *probably* did restore your raw partition. Bacula reports an error because it expects the directory item for the "file" to contain the size of the file, and in the case of a partition, it does not, so it reports an error. This is a "bug", but it shouldn't affect the fact that it did restore a bit over 1GB. If you would like to be sure the bug is fixed, please file a bug report on it at bugs.bacula.org > > > thanks > > lordjea > > --------------------------------- > > LLama Gratis a cualquier PC del Mundo. > Llamadas a fijos y móviles desde 1 céntimo por minuto. > http://es.voice.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users