On Monday 27 March 2006 19:28, Josh Endries wrote: > I still can't figure this out. I can't believe it's such a HUGE PITA > getting disk-based backup and restore to work with Bacula. It should be > easy. WTF. I'm so freaking frustrated right now. Dammit. > > Josh Endries wrote: > > Hello, > > > > I'm having trouble restoring from a File device. The backup says it runs > > OK, and a verify job says the backup is OK, but the restore job gives me > > this: > > > > Error: block.c:305 Volume data error at 0:2405980938! > > Block checksum mismatch in block=14107 len=64512: calc=9e6da70b > > blk=208478d0 > > > > Same numbers every time. Does this mean it can't find the file(s), or > > the data is corrupt?
A checksum error means the data is corrupt. > > I couldn't find any help from Google, IRC or the > > archives... This is on a FreeBSD machine, Bacula 1.38.5. There's nothing > > else on the box and no other jobs, so it's not under any load. I've > > tried all three steps (backup, verify, restore) many times with > > identical results...so I think there must be something I'm missing in > > the device section or some other config option, but I haven't been able > > to find it. > > > > > > > > bacula-sd.conf: > > director { > > Name = "backup-dir" > > Password = "" > > } > > storage { > > Name = "backup.domain.com" > > WorkingDirectory = "/var/db/bacula" > > Pid Directory = "/var/run" > > Maximum Concurrent Jobs = 5 > > } > > Device { > > Name = "hard disk" > > Media Type = File > > Archive Device = /home/bacula/backups > > Random Access = Yes > > AutomaticMount = yes > > RemovableMedia = no > > LabelMedia = yes > > AlwaysOpen = no > > SpoolDirectory = /home/bacula/spool > > } > > messages { > > name = standard > > director = backup.domain.com = all > > } > > > > > > > > bacula-dir.conf: > > Director { > > Name = "backup-dir" > > QueryFile = "/usr/local/share/bacula/query.sql" > > WorkingDirectory = "/var/db/bacula" > > PidDirectory = "/var/run" > > Maximum Concurrent Jobs = 5 > > Password = "" > > Messages = Standard > > } > > JobDefs { > > Name = "Daily Backup" > > Type = Backup > > Priority = 1 > > Messages = Standard > > Schedule = "Daily Backup" > > Storage = "backup.domain.com hard disk" > > Pool = Daily > > Full Backup Pool = Monthly > > Level = Differential > > Maximum Concurrent Jobs = 5 > > Spool Data = yes > > } > > JobDefs { > > Name = "Daily Verify" > > Type = Verify > > Priority = 2 > > Messages = Standard > > Schedule = "Daily Backup" > > Storage = "backup.domain.com hard disk" > > Pool = Daily > > Full Backup Pool = Monthly > > Level = DiskToCatalog > > Maximum Concurrent Jobs = 10 > > Spool Data = yes > > } > > Schedule { > > Name = "Daily Backup" > > Run = daily at 1:00 > > } > > Storage { > > Name = "backup.domain.com hard disk" > > MediaType = File > > Device = "hard disk" > > Address = backup.domain.com > > Password = "" > > } > > Catalog { > > Name = MyCatalog > > dbname = bacula; user = bacula; password = "" > > } > > Messages { > > Name = Standard > > console = all, !skipped, !saved > > syslog = all, !skipped, !saved > > } > > Pool { > > Name = Daily > > Pool Type = Backup > > Recycle = yes > > Volume Retention = 1 month > > Recycle Oldest Volume = yes > > } > > Pool { > > Name = Monthly > > Pool Type = Backup > > Recycle = yes > > Volume Retention = 1 year > > Recycle Oldest Volume = yes > > } > > Client { > > Name = "client.domain.com" > > Address = x.x.x.x > > Catalog = MyCatalog > > Password = "" > > } > > FileSet { > > Name = "client.domain.com" > > Include { > > Options { Signature = SHA1; Compression = GZIP6; Verify > > = ipnugs1; } > > File = d:/data > > } > > } > > Job { > > Client = "client.domain.com" > > Name = "client.domain.com Daily Backup" > > WriteBootstrap = > > "/var/db/bacula/client.domain.com_Daily_Backup.bsr" JobDefs = "Daily > > Backup" > > FileSet = "client.domain.com" > > } > > Job { > > Client = "client.domain.com" > > Name = "client.domain.com Daily Verify" > > JobDefs = "Daily Verify" > > FileSet = "client.domain.com" > > Verify Job = "client.domain.com Daily Backup" > > } > > Job { > > Client = "client.domain.com" > > Name = "client.domain.com Daily Backup Restore" > > Bootstrap = "/var/db/bacula/client.domain.com_Daily_Backup.bsr" > > Type = Restore > > Level = Full > > FileSet = "client.domain.com" > > Priority = 1 > > Messages = Standard > > Storage = "backup.domain.com hard disk" > > Pool = Daily > > Full Backup Pool = Monthly > > } > > > > Thanks, > > Josh > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users