Re: [Bacula-users] Allow Duplicate Jobs not working?
On Wednesday 25 November 2009 03:22:41 Dan Langille wrote: > I'm running Bacula 3.0.3 I have this Job: > > Job { >Name= "nyi maildir" >JobDefs = "DefaultJobRemote" >Schedule= "Maildir" >Client = "nyi-fd" >FileSet = "nyi mymaildir" >Write Bootstrap = "/home/bacula/working/nyi-fd-maildir.bsr" > } > > JobDefs { >Name= "DefaultJobRemote" >Type= Backup >Level = Incremental >Client = polo-fd >FileSet = "Full Set" >Schedule= "WeeklyCycle" >Storage = DLT >Messages= Standard >Pool= Default >Priority= 20 >Spool Data = Yes > >Allow Duplicate Jobs = no >Cancel Queued Duplicates = yes > >RunAfterJob = "/home/dan/bin/dlt-stats" > } > > Yet, I see duplicates queued. Yes, the daemons have been restarted > since the latest change to bacula-dir.conf. > > Running Jobs: > Console connected at 25-Nov-09 00:23 > JobId Level Name Status > == > 31130 FullBackupCatalog.2009-11-24_08.15.00_12 is running > 31131 Differe nyi_maildir.2009-11-24_12.01.00_19 is waiting execution > 31132 Fullnyi_maildir_tarball.2009-11-24_12.01.00_20 is waiting > execution > 31133 Increme nyi_maildir.2009-11-24_16.00.00_22 is waiting execution > 31134 Increme nyi_maildir.2009-11-24_20.00.00_23 is waiting execution > 31135 Increme nyi_maildir.2009-11-25_00.00.00_24 is waiting execution > > > > Why are the last three jobs queued up? I would expect at most one. Hi. Previously we've discovered that you should use "Allow Higher Duplicates = no" for that. See my e-mail "Re: [Bacula-users] How to prevent to schedule a job if the same job is still running" (sent on 5th of Oct) for my comments on using that. -- Silver -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Best Practice tip: automatically cancel Jobs
Arno Lehmann wrote: > Hi, > > 25.11.2009 14:20, Sascha Retzki wrote: > >> Hello List, >> >> I've got a best practice question. When a Job is started it changes to >> Status=Running and the FD tries to connect to the SD. Let's assume this >> fails due to network outages, or in my case I configured an IP for the >> SD which is not accessible from the Client. >> > > I suggest to first upgrade... the versions you're running are really > old, and espcially regarding the different max ... time settings, much > has been improved in between. > > On an interesting sidenote, after playing arround with the syntax (changed it to "1 min" everywhere) bacula indeedly automatically canceled the job, but after 30 minutes and not 1 minute. As 30 Minutes beeing the default I kinda figured the same, maybe I was just running into some kind of bug. So to get this straight I am doing all right, yeah? I am kinda puzzled by the syntax as the Documentation is vague on it on this case: SD Connect Timeout = 1 min FD Connect Timeout = 1 min and in the SD config I got: Client Connect Wait = 1 min > Furthermore, it's unlikely anybody has a 2.2.8 reference installation > available any more :-) > > Derailing my own thread, what's the best practice for Bacula regarding upgrading? Do you guys just follow your Distributions/Packet Managements and upgrade the Bacula server? Do you compile from source and read the Bacula docs? Do you upgrade at all or do you just upgrade when you need new features/bugfixes? > Cheers, > > Arno > > > -- __ Sascha Retzki n...@work Internet Informationssyteme EMail: sas...@work.de Wandalenweg 5 - 20097 Hamburg Tel.: +49 (0)40-23 88 09-338Germany - http://www.work.de HR B 61 668 - Amtsgericht Hamburg Geschaeftsfuehrer Jan Diegelmann __ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Best Practice tip: automatically cancel Jobs
Hi, 26.11.2009 09:45, Sascha Retzki wrote: > Arno Lehmann wrote: >> Hi, >> >> 25.11.2009 14:20, Sascha Retzki wrote: >> >>> Hello List, >>> >>> I've got a best practice question. When a Job is started it changes >>> to Status=Running and the FD tries to connect to the SD. Let's assume >>> this fails due to network outages, or in my case I configured an IP >>> for the SD which is not accessible from the Client. >>> >> >> I suggest to first upgrade... the versions you're running are really >> old, and espcially regarding the different max ... time settings, much >> has been improved in between. >> >> > On an interesting sidenote, after playing arround with the syntax > (changed it to "1 min" everywhere) bacula indeedly automatically > canceled the job, but after 30 minutes and not 1 minute. As 30 Minutes > beeing the default I kinda figured the same, maybe I was just running > into some kind of bug. Possible... > So to get this straight I am doing all right, yeah? I am kinda puzzled > by the syntax as the Documentation is vague on it on this case: >SD Connect Timeout = 1 min >FD Connect Timeout = 1 min > > and in the SD config I got: >Client Connect Wait = 1 min That should be ok. If it's using 30 minute timeouts, it's surely not what is supposed to happen, but filing a bug agains a version prior to 3.x will definitely not help. > > >> Furthermore, it's unlikely anybody has a 2.2.8 reference installation >> available any more :-) >> >> > > Derailing my own thread, what's the best practice for Bacula regarding > upgrading? Do you guys just follow your Distributions/Packet Managements > and upgrade the Bacula server? Do you compile from source and read the > Bacula docs? Do you upgrade at all or do you just upgrade when you need > new features/bugfixes? As most distros don't have reasonably up-to-date packages, I usually compile from source. For my own site :-) Customers get the project-provided packages, or the ones Bacula Systems offers. Cheers, Arno >> Cheers, >> >> Arno >> >> > > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Unable to run bacula-dir
Hello, 25.11.2009 22:54, arigion wrote: > > Chandranshu . wrote: >> The only change I made was to insert the password 'bacula' in the >> bacula-dir.conf file in the CATALOG section. And this was after it didn't >> work without passwords. The relevant section of the bacula-dir.conf file is: >> # Generic catalog service >> Catalog { >> Name = MyCatalog >> dbname = "bacula"; dbuser = "bacula"; dbpassword = "bacula" >> } >> > > > Hi, I had the same problem. It seems that the semicolon ";" is the problem. > Try this: > > Catalog { > Name = MyCatalog > dbname = "bacula" > dbuser = "bacula" > dbpassword = "bacula" > } No, that way works here (and has done for years), so I'm pretty sure it's not the problem. What was the original question? I don't find it in my mail... Arno -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incremental and full backups of the same host to different disks
Hello, 26.11.2009 08:54, Ralf Gross wrote: > Moby schrieb: >> It is my understanding that one must use the same job name for full and >> incremental backups, otherwise Bacula is not able to perform an >> incremental backup. >> I have a need to send full backups of machines to one disk and >> incremental backups to another disk. If I have to use the same job >> definition for both incremental and full backups (with incremental and >> full backup levels being specified in the schedule definition), then how >> can I send full backups to one disk and incrementals to another? > > you can overwrite the storage device and the pool in your schedule resource. > > > Schedule { > Name = "Backup VU0EM005" > Run = Level=Full 1st sun at 00:08 > Run = Level=Differential Storage=VU0EM005-DISK > Pool=VU0EM005-Disk-Differential 2nd-5th sun at 00:08 > Run = Level=Incremental Storage=VU0EM005-DISK > Pool=VU0EM005-Disk-Incremental tue-sat at 00:08 > } You can also set up "Full Backup Pool", "Differential Backup Pool", and "Incremental Backup Pool" directives in the job configuration, then link the referenced pools to their storage device, and everything works without overrides :-) JobDefs { Name = "DefaultBackup" Type = Backup Level = Incremental Schedule = "Regular" Storage = FileCh Pool = DiskShort Full Backup Pool = DiskLong Differential Backup Pool = DiskShort Incremental Backup Pool = DiskShort ... } Schedule { Name = "Regular" Run = Level=Full 1st tue at 8:20 Run = Level=Differential 2nd-5th tue at 8:25 Run = Level=Incremental sun,mon,wed-sat at 8:25 } Pool { Name = DiskLong Storage = FileCh ... } Pool { Name = DiskShort Storage = File3Ch ... } Arno -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Block checksum mismatch on HDD, not TAPE
Hello! I've been using Bacula and everything was running smoothly but now, when I must restore some *very, very* important data, bacula tolds me: 25-lis 18:16 bls JobId 1114: Error: block.c:318 Volume data error at 0:684407952! Block checksum mismatch in block=10610 len=64512: calc=8ee77dde blk=db437eb4 I was searching for that error in google, but all i found was that probably tape error, which cannot be true cause I do backups to HDD instead of Tapes. I was trying to use Volume tools like 'bls' but the error is still the same. What is interesting is that other backups (from other Bacula clients) on this server are fine. Only backups from that one client (which is now the most important one) are corrupted. Are there any options to 'fix' that volume file? I don`t know if it is bacula error or hardware error, now I'm testing bacula-dir`s server with memtest86, but if other backups are fine, that shouldn`t be a hardware problem. Looking forward to hearing from you, paszczus -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Block checksum mismatch on HDD, not TAPE
Hello, 26.11.2009 10:48, Sławomir Paszkiewicz wrote: > Hello! > I've been using Bacula and everything was running smoothly but now, > when I must restore some *very, very* important data, bacula tolds me: > > 25-lis 18:16 bls JobId 1114: Error: block.c:318 Volume data error at > 0:684407952! > Block checksum mismatch in block=10610 len=64512: calc=8ee77dde blk=db437eb4 > > I was searching for that error in google, but all i found was that > probably tape error, which cannot be true cause I do backups to HDD > instead of Tapes. > > I was trying to use Volume tools like 'bls' but the error is still the > same. I know that how you feel nom :-) Try running the SD with "-p", i.e. '/etc/init.d/bacula-sd stop', edit the startup scrip to add the -p option, and restart. You should now be able to read the volumes, although it's possible that your data is invalid. > What is interesting is that other backups (from other Bacula > clients) on this server are fine. Only backups from that one client > (which is now the most important one) are corrupted. Are there any > options to 'fix' that volume file? No, as you can't know where the error is - in the checksum, or in the data. Also, if the data is affected, the checksum does not contain information to fix the data. > I don`t know if it is bacula error > or hardware error, now I'm testing bacula-dir`s server with memtest86, > but if other backups are fine, that shouldn`t be a hardware problem. I've seen the same problem here, and I attribute it to bad disk connection - the disks I've seen that on were USB- or FireWire-connected. Cheers, Arno > Looking forward to hearing from you, > paszczus > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] [Solved] Re: Retention on SD File
Hi, John Drescher a écrit : [...] > No, this is not required however changing the pool resource in > bacula-dir.conf file does not (totally?) affect currently labeled > volumes. It is more of a plan for new volumes. That is why I wanted > you to update from pool resource. I put the (totally?) part in there > because I am not sure about the max vol size param. I do know > retention periods are not changed on currently labled volumes if you > reduce the retention time in the pool resource. > > Did you execute the update pool from resource command that I suggested? > > You can mark volume 4 full or used by the update volume status command > to force the retention period to begin. It's ok for the change of volume, I will wait tomorow to see if the automatic rotation is ok. >> >> Second question, have I to create the 30 volumes ? >> > No. > > John Thanks a lot -- David Dumortier -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Very slow interactive restore
Arno Lehmann schrieb: > Hi, > > 24.11.2009 08:59, Christoph Litauer wrote: >> Christoph Litauer schrieb: >>> Jesper Krogh schrieb: Christoph Litauer wrote: > Thanks! One last question (hopefully): How big is /var/lib/mysql/ibdata1? 282GB on ext3 >>> Dear Jesper, >>> >>> in the meantime I made a test setup - not successfull 'til now regarding >>> the performance. What I forgot to ask: What mysql-DB version are you >>> running? >>> >> And another demand, please: >> >> Could you - or someone else - please select any JobId and execute the >> following (my)sql-statement: >> >> mysql>EXPLAIN SELECT Path.Path, Filename.Name, File.FileIndex, >> File.JobId, File.LStat >> FROM ( >> SELECT max(FileId) as FileId, PathId, FilenameId >> FROM ( >> SELECT FileId, PathId, FilenameId >> FROM File >> WHERE JobId IN () >> ) AS F GROUP BY PathId, FilenameId >> ) AS Temp JOIN Filename ON (Filename.FilenameId = Temp.FilenameId) JOIN >> Path ON (Path.PathId = Temp.PathId) JOIN File ON (File.FileId = >> Temp.FileId) WHERE File.FileIndex > 0 ORDER BY JobId, FileIndex ASC >> >> Please post the result. Thanks in advance! > > Sure... > >> mysql> EXPLAIN SELECT Path.Path, Filename.Name, File.FileIndex, File.JobId, >> File.LStat FROM ( SELECT max(FileId) as FileId, PathId, FilenameId FROM ( >> SELECT FileId, PathId, FilenameId FROM File WHERE JobId IN (11902)) AS F >> GROUP BY PathId, FilenameId ) AS Temp JOIN Filename ON (Filename.FilenameId >> = Temp.FilenameId) JOIN Path ON (Path.PathId = Temp.PathId) JOIN File ON >> (File.FileId =Temp.FileId) WHERE File.FileIndex > 0 ORDER BY JobId, >> FileIndex ASC; >> ++-+++---+-+-+-+---+-+ >> | id | select_type | table | type | possible_keys | key | key_len >> | ref | rows | Extra | >> ++-+++---+-+-+-+---+-+ >> | 1 | PRIMARY | | ALL| NULL | NULL| NULL >> | NULL| 60905 | Using temporary; Using filesort | >> | 1 | PRIMARY | Path | eq_ref | PRIMARY | PRIMARY | 4 >> | Temp.PathId | 1 | | >> | 1 | PRIMARY | Filename | eq_ref | PRIMARY | PRIMARY | 4 >> | Temp.FilenameId | 1 | | >> | 1 | PRIMARY | File | eq_ref | PRIMARY | PRIMARY | 8 >> | Temp.FileId | 1 | Using where | >> | 2 | DERIVED | | ALL| NULL | NULL| NULL >> | NULL| 60905 | Using temporary; Using filesort | >> | 3 | DERIVED | File | ref| JobId,JobId_2 | JobId_2 | 4 >> | | 52471 | | >> ++-+++---+-+-+-+---+-+ >> 6 rows in set (6.99 secs) > > This is a MyISAM catalog with 14776513 Files, 1163114 FileNames, and > 198492 Paths. Machine is a Dual-Core Opteron with 2GB RAM and a decent > disk subsystem. MySQL is not exactly configured for maximum performance. Thanks a lot Arno. May I ask you too, how long an interactive restore of a big filesystem takes to build the directory tree? -- Kind regards Christoph Christoph Litauer lita...@uni-koblenz.de Uni Koblenz, Computing Center, http://www.uni-koblenz.de/~litauer Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Very slow interactive restore
Hello, 26.11.2009 14:02, Christoph Litauer wrote: > Arno Lehmann schrieb: ... >>> Please post the result. Thanks in advance! >> Sure... >> >>> mysql> EXPLAIN SELECT Path.Path, Filename.Name, File.FileIndex, File.JobId, >>> File.LStat FROM ( SELECT max(FileId) as FileId, PathId, FilenameId FROM ( >>> SELECT FileId, PathId, FilenameId FROM File WHERE JobId IN (11902)) AS F >>> GROUP BY PathId, FilenameId ) AS Temp JOIN Filename ON (Filename.FilenameId >>> = Temp.FilenameId) JOIN Path ON (Path.PathId = Temp.PathId) JOIN File ON >>> (File.FileId =Temp.FileId) WHERE File.FileIndex > 0 ORDER BY JobId, >>> FileIndex ASC; >>> ++-+++---+-+-+-+---+-+ >>> | id | select_type | table | type | possible_keys | key | >>> key_len | ref | rows | Extra | >>> ++-+++---+-+-+-+---+-+ >>> | 1 | PRIMARY | | ALL| NULL | NULL| NULL >>> | NULL| 60905 | Using temporary; Using filesort | >>> | 1 | PRIMARY | Path | eq_ref | PRIMARY | PRIMARY | 4 >>> | Temp.PathId | 1 | | >>> | 1 | PRIMARY | Filename | eq_ref | PRIMARY | PRIMARY | 4 >>> | Temp.FilenameId | 1 | | >>> | 1 | PRIMARY | File | eq_ref | PRIMARY | PRIMARY | 8 >>> | Temp.FileId | 1 | Using where | >>> | 2 | DERIVED | | ALL| NULL | NULL| NULL >>> | NULL| 60905 | Using temporary; Using filesort | >>> | 3 | DERIVED | File | ref| JobId,JobId_2 | JobId_2 | 4 >>> | | 52471 | | >>> ++-+++---+-+-+-+---+-+ >>> 6 rows in set (6.99 secs) >> This is a MyISAM catalog with 14776513 Files, 1163114 FileNames, and >> 198492 Paths. Machine is a Dual-Core Opteron with 2GB RAM and a decent >> disk subsystem. MySQL is not exactly configured for maximum performance. > > Thanks a lot Arno. May I ask you too, how long an interactive restore of > a big filesystem takes to build the directory tree? > Sure... although the file system with the biggest number of files is not exactly *really* big... You have selected the following JobIds: 11773,12087,12101,12115 Building directory tree for JobId(s) 11773,12087,12101,12115 ... + 55,732 files inserted into the tree. TRhat's one full, one differential, and two incrementals. Took less than a minute. MySQL shouldn't have anything useful for this query in its cache. The DIR server, by the way, is only an Athlon 500 with 512 MB of RAM. None of my customers where I could try this has a really big file system, so I can't try with a really large set of files that would definitely drive MySQL to do some real work. Cheers, Arno -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backup to Remote Windows
bump?!? +-- |This was sent by autovhc...@googlemail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Snow Leopard Client
Ok, I will try to give you all the information I use and what I try. We want to install bacula-fd and bconsole on a Mac. Compiling the source code on Leopard 10.5 work and run great. On Snow Leopard 10.6 compiling the source work (with trick, see below) but when the bacula-fd do his backup he backup nothing and said he finish and has a status OK. But we have this warning: Top level directory "/test" has an unlisted drive type "unknown" "/test" is a directory with files in it and it is the only directory to backup. Here is how we compile for Snow Leopard: First we try to apply a patch from http://trac.macports.org/attachment/ticket/21674/patch-base64-typecast.diff and bacula run in 64 bit. Second we compile by forcing 32 bit with "CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 LDFLAGS=-m32 ./configure --prefix=/usr/local --enable-client-only --with-openssl --with-working-dir=/var/db/bacula --with-pid-dir=/var/run" Third we try this configurartion "CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 LDFLAGS=-m32 ./configure --prefix=/usr/local --enable-client-only --with-openssl --with-tcp-wrappers --disable-dependency-tracking --with-working-dir=/var/bacula/working" All method compile and give the same warning at the end when executing the backup job. I begin to thing my mistake is not while compiling but else where. The only thing I am sure is it working in OS X 10.5 and not in 10.6. The Director deamon and the Storage deamon run on a Windows server 2003 and work already in the office with more than 15 clients in Windows xp/vista/seven (all 32 or 64 bit) and OS X Leopard Intel. Thanks for helping me DSylvainLIO -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem to load tape into the 2. Drive
I use a autochanger with bacula on debian/lenny. The changer has two drives and I can load tapes into the drives using the mtx-script: mtx-changer /dev/sg4 load 2 /dev/nst1 1 But, the mount-command use only the default tape values: - *mount Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" Automatically selected Storage: tl-01 Connecting to Storage daemon tl-01 at bacula:9103 ... Enter autochanger drive[0]: 1 ------ Enter autochanger slot: 2 3307 Issuing autochanger "unload slot 1, drive 0" command. 3304 Issuing autochanger "load slot 2, drive 0" command. 3305 Autochanger "load slot 2, drive 0", status is OK. 3001 Mounted Volume: xxx 3001 Device "tl-01-1" (/dev/nst0) is already mounted with Volume "xxx" The parameters to the mtx-script in the example are: - /dev/sg6 unload 1 /dev/nst0 0 /dev/sg6 load 2 /dev/nst0 0 so, I can't load tapes to drive two (Drive Index = 1) any hints? is this a bug in the mount-command? Juergen Koch -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backup to Remote Windows
On Thu, Nov 26, 2009 at 10:22 AM, MrShoubs wrote: > > bump?!? > Are the replies not getting to the forum? You got several good answers the mailing list. John -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Block checksum mismatch on HDD, not TAPE
Hello, Sławomir Paszkiewicz wrote: > > Hello! > I've been using Bacula and everything was running smoothly but now, > when I must restore some *very, very* important data, bacula tolds me: > > 25-lis 18:16 bls JobId 1114: Error: block.c:318 Volume data error at > 0:684407952! > Block checksum mismatch in block=10610 len=64512: calc=8ee77dde > blk=db437eb4 > > I was searching for that error in google, but all i found was that > probably tape error, which cannot be true cause I do backups to HDD > instead of Tapes. > Do you think that disks never have data corruptions? Doing backups on HDDs doesn't protect you from bad disks. It's even worst, because instead of having 5 versions of your data accross 10 tapes, you have only one disk array to store everything. > I don`t know if it is bacula error or hardware error, now I'm testing > bacula-dir`s server with > memtest86, but if other backups are fine, that shouldn`t be a hardware > problem. > The read/write block checksums code works for years now, i would say that it's shouldn't be a software problem... Sorry, but i don't think that you can recover from this error. If you can live with bad blocks on this set of data (possible for MP3, AVI, SQL dump, etc...), perhaps you can comment the checksum comparison code in src/stored/block.c, compile the new storage daemon and run your restore. Bye -- View this message in context: http://old.nabble.com/Block-checksum-mismatch-on-HDD%2C-not-TAPE-tp26526947p26533061.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Snow Leopard Client
Ok, I will try to give you all the information I use and what I try. We want to install bacula-fd and bconsole on a Mac. Compiling the source code on Leopard 10.5 work and run great. On Snow Leopard 10.6 compiling the source work (with trick, see below) but when the bacula-fd do his backup he backup nothing and said he finish and has a status OK. But we have this warning: Top level directory "/test" has an unlisted drive type "unknown" "/test" is a directory with files in it and it is the only directory to backup. Here is how we compile for Snow Leopard: First we try to apply a patch from http://trac.macports.org/attachment/ticket/21674/patch-base64-typecast.diff and bacula run in 64 bit. Second we compile by forcing 32 bit with "CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 LDFLAGS=-m32 ./configure --prefix=/usr/local --enable-client-only --with-openssl --with-working-dir=/var/db/bacula --with-pid-dir=/var/run" Third we try this configurartion "CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 LDFLAGS=-m32 ./configure --prefix=/usr/local --enable-client-only --with-openssl --with-tcp-wrappers --disable-dependency-tracking --with-working-dir=/var/bacula/working" All method compile and give the same warning at the end when executing the backup job. I begin to thing my mistake is not while compiling but else where. The only thing I am sure is it working in OS X 10.5 and not in 10.6. The Director deamon and the Storage deamon run on a Windows server 2003 and work already in the office with more than 15 clients in Windows xp/vista/seven (all 32 or 64 bit) and OS X Leopard Intel. Thanks for helping me DSylvainLIO -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem to load tape into the 2. Drive
Hello, 26.11.2009 16:31, Juergen Koch wrote: > I use a autochanger with bacula on debian/lenny. > The changer has two drives and I can load tapes into the drives using > the mtx-script: > > mtx-changer /dev/sg4 load 2 /dev/nst1 1 > > But, the mount-command use only the default tape values: > > - > *mount > Automatically selected Catalog: MyCatalog > Using Catalog "MyCatalog" > Automatically selected Storage: tl-01 > Connecting to Storage daemon tl-01 at bacula:9103 ... > > Enter autochanger drive[0]: 1 ------ > > Enter autochanger slot: 2 > 3307 Issuing autochanger "unload slot 1, drive 0" command. > 3304 Issuing autochanger "load slot 2, drive 0" command. > 3305 Autochanger "load slot 2, drive 0", status is OK. > 3001 Mounted Volume: xxx > 3001 Device "tl-01-1" (/dev/nst0) is already mounted with Volume "xxx" > Looks like a bug to me, unless you misconfigured something inthe SD.conf. Post that autochangers configuration, and also mention the version you're using, and we might have some advice for you! Cheers, Arno > The parameters to the mtx-script in the example are: > > - > > /dev/sg6 unload 1 /dev/nst0 0 > > /dev/sg6 load 2 /dev/nst0 0 > > > > so, I can't load tapes to drive two (Drive Index = 1) > > any hints? > > is this a bug in the mount-command? -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula restore -> Volume data error
Hello, I've got bacula on debian from backports -> version 2.4.4. As storage i use HDD - raid 1 (no tape). Backups are done without error. But than when i want to restore something,...sometimes it fails because of bad checksum..its not just that one volume..actually most restore jobs fails. e.g.: 08-Nov 12:41 host-sd JobId 268: Ready to read from volume "Volumes0067" on device "FileStorage" (/backups/). 08-Nov 12:41 host-sd JobId 268: Forward spacing Volume "Volumes0067" to file:block 0:198. 08-Nov 12:41 host-sd JobId 268: Error: block.c:318 Volume data error at 0:626540712! Block checksum mismatch in block=9713 len=64512: calc=12e65067 blk=5d0e32ee Disks are apparently ok - SMART and badblocks didnt find anything. Ive tried to extract that volume with bextract and of course result is same (since its using same code i guess:) 27-lis 02:17 bextract JobId 0: Error: block.c:318 Volume data error at 0:324689092! Block checksum mismatch in block=5034 len=64512: calc=e7cf8c6b blk=c0d129b3 27-lis 02:17 bextract JobId 0: Error: attribs.c:421 File size of restored file tmp//var/spool/cyrus/mail/c/user/c/Sent/155. not correct. Original 2515248, restored 1245184. bextract: acquire.c:436-0 dir_update_vol_info. label=64 Vol=Volumes0067 Please do you have any suggestion where could be problem? Thanks Radim -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incremental and full backups of the same host to different disks
On 11/26/2009 03:16 AM, Arno Lehmann wrote: > Hello, > > 26.11.2009 08:54, Ralf Gross wrote: > >> Moby schrieb: >> >>> It is my understanding that one must use the same job name for full and >>> incremental backups, otherwise Bacula is not able to perform an >>> incremental backup. >>> I have a need to send full backups of machines to one disk and >>> incremental backups to another disk. If I have to use the same job >>> definition for both incremental and full backups (with incremental and >>> full backup levels being specified in the schedule definition), then how >>> can I send full backups to one disk and incrementals to another? >>> >> you can overwrite the storage device and the pool in your schedule resource. >> >> >> Schedule { >> Name = "Backup VU0EM005" >> Run = Level=Full 1st sun at 00:08 >> Run = Level=Differential Storage=VU0EM005-DISK >> Pool=VU0EM005-Disk-Differential 2nd-5th sun at 00:08 >> Run = Level=Incremental Storage=VU0EM005-DISK >> Pool=VU0EM005-Disk-Incremental tue-sat at 00:08 >> } >> > You can also set up "Full Backup Pool", "Differential Backup Pool", > and "Incremental Backup Pool" directives in the job configuration, > then link the referenced pools to their storage device, and everything > works without overrides :-) > > JobDefs { >Name = "DefaultBackup" >Type = Backup >Level = Incremental >Schedule = "Regular" >Storage = FileCh >Pool = DiskShort >Full Backup Pool = DiskLong >Differential Backup Pool = DiskShort >Incremental Backup Pool = DiskShort >... > } > > Schedule { >Name = "Regular" >Run = Level=Full 1st tue at 8:20 >Run = Level=Differential 2nd-5th tue at 8:25 >Run = Level=Incremental sun,mon,wed-sat at 8:25 > } > > Pool { >Name = DiskLong >Storage = FileCh >... > } > > Pool { >Name = DiskShort >Storage = File3Ch >... > } > > Arno > > Thanks Arno and Ralf: I decided to go with Arno's approach and used different pool definitions in the job definition, and then tied each pool definition to a separate device. Works like a charm, thanks again. -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users