Re: [Bacula-users] Antwort: Re: Antwort: Re: Bacula didn't start anymore
Hi Elmar, one additional idea for your problem: is SQLite running on ext2 file system? I this is true there may be a 2 GByte file size limit according to URL http://en.wikipedia.org/wiki/Ext2#File_system_limits Regards Reiner elmarr...@systemcompetence.de schrieb: Hi Reiner, I didn't change the bacula-dir.conf. Bacula is running since the last two month with out a problem. All of sudden last monday my backup failed. I tried then to access bacula and got that failure, after I restarted bacula. I first checked, if the configuration was corrupted, after that I checked the working folders for missing files etc. The databasefile bacula.db is in the working dir /root/bacula/working/ and has a size of nearly 2 GB. My problem is that I also have no experience with sqlite, but I wasn't aloud to use an other one like mysql. Mit freundlichen Gruessen Wolf-Elmar Rath SYSTEM COMPETENCE GmbH Ohlendorfer Strasse 40 21220 Seevetal Telefon: 04185-77-0 Telefax: 04185-77-440 Email: elmar.r...@systemcompetence.de Sitz der Gesellschaft: Seevetal Geschäftsführer: Sven Hannemann, Martin Pranzner, Rigo Rothenbröker Handelsregister: HRB 111223, Amtsgericht Lüneburg SystemManagement rd...@fs.wettzell.de 27.05.2009 15:26 Bitte antworten an dass...@fs.wettzell.de An elmarr...@systemcompetence.de Kopie dass...@fs.wettzell.de, bacula-users@lists.sourceforge.net Thema Re: [Bacula-users] Antwort: Re: Bacula didn't start anymore Hi, starting from bacula-dir: dird.c:883 sqlite.c:210 Unable to open Database=/root/bacula/working/bacula.db. ERR=out of memory 26-May 16:54 bacula-dir ERROR TERMINATION Please correct configuration file: bacula-dir.conf there are different subjects to consider: - bacula-dir.conf - SQLite - bacula-dir Did you change bacula-dir.conf before the problem arises? As I remember there is a tool to check the syntax of this file. (Please, ask the docs) Does file /root/bacula/working/bacula.db exists? Did you made sure that SQLite causes the problem? I have no experiences with SQLite but you shold use or write a test application to access the database without using bacula Is there a tool to check the conistency of the SQLite database? That are my ideas for further steps. Regards, Reiner elmarr...@systemcompetence.de schrieb: Hi, I checked the raid and the disks twice if there is any problem. Gpart didn't found anything. My major problem is that bacula-dir isn't starting, because I 've got he out of memory message, that I posted on the end of my mail. Mit freundlichen Gruessen Wolf-Elmar Rath SYSTEM COMPETENCE GmbH Ohlendorfer Strasse 40 21220 Seevetal Telefon: 04185-77-0 Telefax: 04185-77-440 Email: elmar.r...@systemcompetence.de Sitz der Gesellschaft: Seevetal Geschäftsführer: Sven Hannemann, Martin Pranzner, Rigo Rothenbröker Handelsregister: HRB 111223, Amtsgericht Lüneburg SystemManagement rd...@fs.wettzell.de 26.05.2009 17:41 Bitte antworten an dass...@fs.wettzell.de An elmarr...@systemcompetence.de Kopie bacula-users@lists.sourceforge.net Thema Re: [Bacula-users] Bacula didn't start anymore Hallo, the messages point to a disc problem. I see: ERR=disk I/O error Check your discs! Reiner elmarr...@systemcompetence.de schrieb: Haloo, I hope someone could help me wirth my problem. Monday morning faild my backup with the following log. 25-May 02:01 bocsles-dir JobId 124: Start Backup JobId 124, Job=Nightly-Save-bocsles.2009-05-25_02.01.00.02 25-May 02:01 bocsles-dir JobId 124: Using Device LTO4 25-May 02:01 bocsles-sd JobId 124: Error: 25-May 02:01 bocsles-sd JobId 124: Volume LIN-TAG-22 previously written, moving to end of data. 25-May 02:01 bocsles-sd JobId 124: Ready to append to end of Volume LIN-TAG-22 at file=136. bocsles-fd JobId 124: /dev is a different filesystem. Will not descend from / into /dev bocsles-fd JobId 124: /opt is a different filesystem. Will not descend from / into /opt bocsles-fd JobId 124: /var/lib/ntp/proc is a different filesystem. Will not descend from / into /var/lib/ntp/proc bocsles-fd JobId 124: /home is a different filesystem. Will not descend from / into /home bocsles-fd JobId 124: /var/lib/ntp/proc is a different filesystem. Will not descend from /var into /var/lib/ntp/proc 25-May 02:54 bocsles-sd JobId 124: Job write elapsed time = 00:52:53, Transfer rate = 22.19 M bytes/second 25-May 03:15 bocsles-dir JobId 124: Fatal error: Can't fill File table Query failed: INSERT INTO File (FileIndex, JobId, PathId, FilenameId, LStat, MD5)SELECT batch.FileIndex, batch.JobId, Path.PathId, Filename.FilenameId,batch.LStat, batch.MD5 FROM batch JOIN Path ON (batch.Path = Path.Path) JOIN Filename ON (batch.Name = Filename.Name): ERR=disk I/O error 25-May 03:15 bocsles-dir JobId 124: Error:
Re: [Bacula-users] Antwort: Re: Antwort: Re: Bacula didn't start anymore
Hi Elmar, one additional idea for your problem: is SQLite running on ext2 file system? I this is true there may be a 2 GByte file size limit according to URL http://en.wikipedia.org/wiki/Ext2#File_system_limits Regards Reiner elmarr...@systemcompetence.de schrieb: Hi Reiner, I didn't change the bacula-dir.conf. Bacula is running since the last two month with out a problem. All of sudden last monday my backup failed. I tried then to access bacula and got that failure, after I restarted bacula. I first checked, if the configuration was corrupted, after that I checked the working folders for missing files etc. The databasefile bacula.db is in the working dir /root/bacula/working/ and has a size of nearly 2 GB. My problem is that I also have no experience with sqlite, but I wasn't aloud to use an other one like mysql. Mit freundlichen Gruessen Wolf-Elmar Rath SYSTEM COMPETENCE GmbH Ohlendorfer Strasse 40 21220 Seevetal Telefon: 04185-77-0 Telefax: 04185-77-440 Email: elmar.r...@systemcompetence.de Sitz der Gesellschaft: Seevetal Geschäftsführer: Sven Hannemann, Martin Pranzner, Rigo Rothenbröker Handelsregister: HRB 111223, Amtsgericht Lüneburg SystemManagement rd...@fs.wettzell.de 27.05.2009 15:26 Bitte antworten an dass...@fs.wettzell.de An elmarr...@systemcompetence.de Kopie dass...@fs.wettzell.de, bacula-users@lists.sourceforge.net Thema Re: [Bacula-users] Antwort: Re: Bacula didn't start anymore Hi, starting from bacula-dir: dird.c:883 sqlite.c:210 Unable to open Database=/root/bacula/working/bacula.db. ERR=out of memory 26-May 16:54 bacula-dir ERROR TERMINATION Please correct configuration file: bacula-dir.conf there are different subjects to consider: - bacula-dir.conf - SQLite - bacula-dir Did you change bacula-dir.conf before the problem arises? As I remember there is a tool to check the syntax of this file. (Please, ask the docs) Does file /root/bacula/working/bacula.db exists? Did you made sure that SQLite causes the problem? I have no experiences with SQLite but you shold use or write a test application to access the database without using bacula Is there a tool to check the conistency of the SQLite database? That are my ideas for further steps. Regards, Reiner elmarr...@systemcompetence.de schrieb: Hi, I checked the raid and the disks twice if there is any problem. Gpart didn't found anything. My major problem is that bacula-dir isn't starting, because I 've got he out of memory message, that I posted on the end of my mail. Mit freundlichen Gruessen Wolf-Elmar Rath SYSTEM COMPETENCE GmbH Ohlendorfer Strasse 40 21220 Seevetal Telefon: 04185-77-0 Telefax: 04185-77-440 Email: elmar.r...@systemcompetence.de Sitz der Gesellschaft: Seevetal Geschäftsführer: Sven Hannemann, Martin Pranzner, Rigo Rothenbröker Handelsregister: HRB 111223, Amtsgericht Lüneburg SystemManagement rd...@fs.wettzell.de 26.05.2009 17:41 Bitte antworten an dass...@fs.wettzell.de An elmarr...@systemcompetence.de Kopie bacula-users@lists.sourceforge.net Thema Re: [Bacula-users] Bacula didn't start anymore Hallo, the messages point to a disc problem. I see: ERR=disk I/O error Check your discs! Reiner elmarr...@systemcompetence.de schrieb: Haloo, I hope someone could help me wirth my problem. Monday morning faild my backup with the following log. 25-May 02:01 bocsles-dir JobId 124: Start Backup JobId 124, Job=Nightly-Save-bocsles.2009-05-25_02.01.00.02 25-May 02:01 bocsles-dir JobId 124: Using Device LTO4 25-May 02:01 bocsles-sd JobId 124: Error: 25-May 02:01 bocsles-sd JobId 124: Volume LIN-TAG-22 previously written, moving to end of data. 25-May 02:01 bocsles-sd JobId 124: Ready to append to end of Volume LIN-TAG-22 at file=136. bocsles-fd JobId 124: /dev is a different filesystem. Will not descend from / into /dev bocsles-fd JobId 124: /opt is a different filesystem. Will not descend from / into /opt bocsles-fd JobId 124: /var/lib/ntp/proc is a different filesystem. Will not descend from / into /var/lib/ntp/proc bocsles-fd JobId 124: /home is a different filesystem. Will not descend from / into /home bocsles-fd JobId 124: /var/lib/ntp/proc is a different filesystem. Will not descend from /var into /var/lib/ntp/proc 25-May 02:54 bocsles-sd JobId 124: Job write elapsed time = 00:52:53, Transfer rate = 22.19 M bytes/second 25-May 03:15 bocsles-dir JobId 124: Fatal error: Can't fill File table Query failed: INSERT INTO File (FileIndex, JobId, PathId, FilenameId, LStat, MD5)SELECT batch.FileIndex, batch.JobId, Path.PathId, Filename.FilenameId,batch.LStat, batch.MD5 FROM batch JOIN Path ON (batch.Path = Path.Path) JOIN Filename ON (batch.Name = Filename.Name): ERR=disk I/O error 25-May 03:15 bocsles-dir JobId 124: Error:
Re: [Bacula-users] automating windows client installs
I have also tried bacula-3.0.1.exe /Silent For a silent install, and it does work, but the config files are @computer_name@ instead of the actual computer name displayed during a manual install of the software. Besides having to write a WMI script to grab the computer name, and a SED script to modify the config file after a /Silent install, what are my options? I would do just that. If your computers are all under group policy then create a boot script (vbs would be fine) that does the following: . Check for a stamp file and exit if present . read the config file in line by line. . substitute the relevant tokens (computer name, password, director, etc) . write each line out to a new file . rename the old file out of the way . rename the new file to the old file . create a stamp file so that you know it's already been done If WiX could be made to build Windows installers under Linux it would be really nice!!! James -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] add a copy of a volume to the catalog (with bscan)
Cannot understand if bacula's bscan should add to the catalog a copy of volume that already exists in the catalog. The thing is I have a pool auto-recycling file-volumes, so the volumes are just being rotated but kept in the catalog. Once in a month I make a copy of volumes' files containing the latest full backup and just write them to DVDs (not using bacula). So later the original volumes are already pruned, purged and recycled and I'm trying to restore files from those copies on the DVDs. The problem is when I do bscan, I get the jobs imported, but not volumes (volume copies from DVDs). bscan tells me: bscan: bscan.c:938 Could not update media record. ERR=sql_update.c:366 Update failed: affected_rows=0 for UPDATE Media SET VolJobs=1,VolFiles=0,VolBlocks=0,VolBytes=3708617076,VolMounts=0,VolErrors=0,VolWrites=0,MaxVolBytes=0,VolStatus='',Slot=0,InChanger=0,VolReadTime=0,VolWriteTime=0,VolParts=0,LabelType=0,StorageId=0,PoolId=0,VolRetention=0,VolUseDuration=0,MaxVolJobs=0,MaxVolFiles=0,Enabled=0,LocationId=0,ScratchPoolId=0,RecyclePoolId=0,RecycleCount=0 WHERE VolumeName='' Thanks. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula 2.4.4 not reusing tapes as expected
Hi, Phil R wrote: Hope this is the right place to ask this - if not, sorry. Using 2.4.4, automatic recycling doesn't allow tapes to be reused. I've discovered that if I set the tape status to recycle then when the next scheduled job runs it recycles the volume - all data lost (good) then announces that the max use duration is (already!) exeeded, and marks the tape as used Just to clarify what you are doing... You're changing the status manually? Going straight from a Used state to a Recycle state? You don't mention purging the volume at all and I believe this might be the critical step you are missing. Use the 'prune' or 'purge' commands in bconsole to do this. (Backup your catalog first, just in case of course) It's also important as it ensures the old file/job records for this volume are removed from the catalog - without this step your catalog would be full of records to files/jobs that are no longer on the volume. Cheers, Troy. 27-May 00:03 machine-dir JobId 191: Start Backup JobId 191, Job=testbackup.2009-05-27_00.03.31.06 27-May 00:03 machine-dir JobId 191: Using Device DDS-4 27-May 00:04 machine-sd JobId 191: Recycled volume Scratch_1 on device DDS-4 (/dev/nst1), all previous data lost. 27-May 00:04 machine-dir JobId 191: Max configured use duration exceeded. Marking Volume Scratch_1 as Used. ...but continues to complete the job. Then the next night, the tape's marked as used and the backup fails. The lastWritten shows the last written time correctly; LabelDate shows the time the volume was recycled; but firstwritten shows the time date the tape was first used. Not sure if that's how it's meant to be, but in order to use my tapes I have to set UseDuration to be more than the time since firstwritten and now. So if I want to use this tape until Friday, for example, I have to set UseDuration to be 54 days. Then when I come to reuse the tape in 4 weeks' time, I'll need to manually change the UseDuration to be 72 days (54+28) Shouldn't recycling reset the firstwritten time? Or should it calculate UseDuration from something else? Am I expecting something too much? Troy Daniels iTouch Australia, a Buongiorno company System Administrator Ph +618 6461 4102 troy.dani...@itouch.com.auFax +618 6461 4199 www.itouch.com.au -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] add a copy of a volume to the catalog (with bscan)
Oh, bacula version 2.4.4 running on FreeBSD 6.4, MySQL database overmai...@gmail.com: Cannot understand if bacula's bscan should add to the catalog a copy of volume that already exists in the catalog. The thing is I have a pool auto-recycling file-volumes, so the volumes are just being rotated but kept in the catalog. Once in a month I make a copy of volumes' files containing the latest full backup and just write them to DVDs (not using bacula). So later the original volumes are already pruned, purged and recycled and I'm trying to restore files from those copies on the DVDs. The problem is when I do bscan, I get the jobs imported, but not volumes (volume copies from DVDs). bscan tells me: bscan: bscan.c:938 Could not update media record. ERR=sql_update.c:366 Update failed: affected_rows=0 for UPDATE Media SET VolJobs=1,VolFiles=0,VolBlocks=0,VolBytes=3708617076,VolMounts=0,VolErrors=0,VolWrites=0,MaxVolBytes=0,VolStatus='',Slot=0,InChanger=0,VolReadTime=0,VolWriteTime=0,VolParts=0,LabelType=0,StorageId=0,PoolId=0,VolRetention=0,VolUseDuration=0,MaxVolJobs=0,MaxVolFiles=0,Enabled=0,LocationId=0,ScratchPoolId=0,RecyclePoolId=0,RecycleCount=0 WHERE VolumeName='' Thanks. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] different information about running job between catalog and bacula-dir
Hi All This morning I have a strange problem with my Bacula : I have a running job which must be finished. (see with bconsole status dir) Well I restart daemon bacula-dir, bacula-sd, then , still in bconsole, I did a « status client=clientName » : *status client=clientName Connecting to Client clientName at 172.29.2.3:9102 jasmin Version: 2.2.8 (26 January 2008) VSS Linux Cross-compile Win32 Daemon started 04-May-09 12:20, 27 Jobs run since started. Heap: heap=0 smbytes=88,594 max_bytes=303,997 bufs=127 max_bufs=237 Sizeof: boffset_t=8 size_t=4 debug=0 trace=1 Running Jobs: JobId 27110 Job CLIENT-Job.2009-05-23_08.03.48.45 is running. Backup Job started: 23-May-09 09:04 Files=0 Bytes=0 Bytes/sec=0 Errors=0 Files Examined=0 SDReadSeqNo=5 fd=5804 JobId 27265 Job CLIENT-Job.2009-05-28_00.05.00.25 is running. System or Console Job started: 28-May-09 00:05 Files=0 Bytes=0 Bytes/sec=0 Errors=0 Files Examined=0 SDReadSeqNo=3 fd=5764 Director connected at: 28-May-09 09:53 Then : *status dir [...] Running Jobs: No Jobs running. So I have a different information between my bacula-dir and my catalog, I would like to have the same information, someone can help me please ?? Thanks, Regards, François -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Subfolders under backups folder
Hi, Our Bacula server saves data over hard disks (RAID-5). Now, we would like to know if there is some configuration for allowing create a subfolder under storage folder. Configuration is as follows: folder where backups store: /backup all data backup is stored into /backup, creating files as "backup-server-$jobid" this configuration produces a very large number of files into /backups folder My question is: Is there any configuration for creating subfolders into /backups for store each backup into /backup/$jobname (or similar) and create a folders tree?? Thanks! -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Subfolders under backups folder
On Thursday 28 May 2009 11:44:48 Personal Técnico wrote: Hi, Our Bacula server saves data over hard disks (RAID-5). Now, we would like to know if there is some configuration for allowing create a subfolder under storage folder. Configuration is as follows: folder where backups store: /backup all data backup is stored into /backup, creating files as backup- server-$jobid this configuration produces a very large number of files into /backups folder My question is: Is there any configuration for creating subfolders into /backups for store each backup into /backup/$jobname (or similar) and create a folders tree?? Thanks! Hello. You have to create separate devices, each one pointing at the folder you'd like it to store files in. -- Silver -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] running jobs in DB Catalog
Hi All I have two jobs which are running in my DB Catalog for one client, and no jub running in my bacula-dir for this client, I would like to correct information in my Catalog. As I have this problem, my client can't be saved. And I don't succeed to cancel the jobs with the cancel command in bconsole as there is no running job for the director. Help will be really appreciated. Regards, François -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Slow backup
I connected the backup server and the client with a crossover cable at 1G however Files=16,251 Bytes=5,504,385,701 Bytes/sec=9,690,819 Errors=0 What can I check? I am using SAS disks With ethtool I have Speed: 1000Mb/s therefore is correct -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Storage daemon didn't accept Device VersBande command.
Dear all bacula users, I get a problem on a x86_64 debian lenny with bacula SD (Version: 2.4.4 (28 December 2008)) installed by apt-get and an IBM LTO4 Ultrium4-H storage device. I can't make backup trough my LTO but backup to a file works fine. When I try to launch a backup on it I got the following output : 28-May 12:42 alibaba JobId 61: BeforeJob: run command /etc/bacula/scripts/make_catalog_backup bacula bacula bacula 28-May 12:42 alibaba JobId 61: Start Backup JobId 61, Job=Job_Backup_vers_LTO.2009-05-28_12.42.16.11 28-May 12:42 alibaba JobId 61: Fatal error: Storage daemon didn't accept Device VersBande command. 28-May 12:42 alibaba JobId 61: Error: Bacula alibaba 2.4.4 (28Dec08): 28-May-2009 12:42:18 Build OS: x86_64-pc-linux-gnu debian lenny/sid JobId: 61 Job:Job_Backup_vers_LTO.2009-05-28_12.42.16.11 Backup Level: Full Client: alibaba 2.4.4 (28Dec08) x86_64-pc-linux-gnu,debian,lenny/sid FileSet:Backup Files 2009-05-28 12:39:31 Pool: Default (From Job resource) Storage:SurBande (From Job resource) Scheduled time: 28-May-2009 12:42:15 Start time: 28-May-2009 12:42:18 End time: 28-May-2009 12:42:18 Elapsed time: 0 secs Priority: 11 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS:no Storage Encryption: no Volume name(s): Volume Session Id: 1 Volume Session Time:1243507271 Last Volume Bytes: 64,512 (64.51 KB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: SD termination status: Termination:*** Backup Error *** Here is the debug output of bacula-sd : LTO4: cram-md5.c:73-0 send: auth cram-md5 1242617274.12435 LTO4: cram-md5.c:152-0 sending resp to challenge: 5+t7i5/BmiFUZkcloFNFyD LTO4: dircmd.c:210-0 Message channel init completed. LTO4: reserve.c:697-0 jid=61 dird: use storage=SurBande media_type=LTO4 pool_na LTO4: reserve.c:726-0 jid=61 dird device: use device=VersBande LTO4: reserve.c:743-0 jid=61 Storage=SurBande media_type=LTO4 pool=Default pool_ LTO4: reserve.c:745-0 jid=61 Device=VersBande LTO4: reserve.c:921-0 jid=61 PrefMnt=1 exact=1 suitable=0 chgronly=0 LTO4: reserve.c:933-0 lock volumes LTO4: reserve.c:944-0 jid=61 duplicate vol list LTO4: reserve.c:963-0 jid=61 look for vol in vol list LTO4: reserve.c:975-0 jid=61 vol=Test OK for this job LTO4: reserve.c:986-0 jid=61 vol=Test is in changer Kaboom! bacula-sd, LTO4 got signal 11 - Segmentation violation. Attempting trace Kaboom! exepath=/usr/sbin/ Calling: /usr/sbin/btraceback /usr/sbin/bacula-sd 3319 Traceback complete, attempting cleanup ... Here is my bacula-sd.conf file : Storage { # definition of myself Name = LTO4 SDPort = 9103 # Director's port WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 SDAddress = alibaba } Director { Name = alibaba Password = censored } Device { Name = VersRepBackup Media Type = File Archive Device = /home/backup LabelMedia = yes Random Access = yes AutomaticMount = yes RemovableMedia = no AlwaysOpen = no } Device { Name = VersBande # Drive Index = 0 Media Type = LTO4 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes; LabelMedia = yes; } Messages { Name = Standard director = alibaba = all } Here is my bacula-dir.conf : Director {# define myself Name = alibaba DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 1 Password = censored # Console password Messages = Daemon DirAddress = alibaba } JobDefs { Name = DefaultJob Type = Backup Level = Incremental Client = alibaba FileSet = Full Set Schedule = WeeklyCycle Storage = File Messages = Standard Pool = Default Priority = 10 } JobDefs { Name = VersFicWeekly Type = Backup Level = Full Client = alibaba FileSet = Backup Files Schedule = WeeklyCycle Storage = File Messages = Standard Pool = Default Priority = 10 } JobDefs { Name = VersBandeWeekly Type = Backup Level = Full Client = alibaba FileSet = Backup Files Schedule = WeeklyCycle Storage = SurBande Messages = Standard Pool = Default Priority = 10 } Job { Name = Client1 JobDefs = DefaultJob Write Bootstrap = /var/lib/bacula/Client1.bsr } Job { Name = BackupCatalog JobDefs = DefaultJob Level = Full FileSet=Catalog Schedule = WeeklyCycleAfterBackup RunBeforeJob = /etc/bacula/scripts/make_catalog_backup bacula bacula bacula RunAfterJob = /etc/bacula/scripts/delete_catalog_backup Write Bootstrap =
Re: [Bacula-users] Slow backup
On Thursday 28 May 2009 13:01:06 Il Neofita wrote: I connected the backup server and the client with a crossover cable at 1G however Files=16,251 Bytes=5,504,385,701 Bytes/sec=9,690,819 Errors=0 What can I check? I am using SAS disks With ethtool I have Speed: 1000Mb/s therefore is correct Check compression. When I use GZIP to compress data, I get rarely more than 2MB/s. If I don't use any compression, the transfer rate goes up to disk/LAN speed :) -- Silver -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Slow backup
Hi, there is 5Gb of data and the average speed is 9mb at sec. The speed is slow . Try to copy a big file from server to client (or viceversa) and se with iptraf the speed of copy. I think there is no problem with bacula but in the distro. Daniele Il giorno 28/mag/09, alle ore 12:01, Il Neofita ha scritto: I connected the backup server and the client with a crossover cable at 1G however Files=16,251 Bytes=5,504,385,701 Bytes/sec=9,690,819 Errors=0 What can I check? I am using SAS disks With ethtool I have Speed: 1000Mb/s therefore is correct -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Daniele Eccher Gruppo Darco - ICT Sistemi Via Ostiense 131/L Corpo B, 00154 Roma E-mail: daniele.ecc...@sociale.it tel : +39 06 57060 500 cell : +39 346 1426128 -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Slow backup
On Thu, May 28, 2009 at 06:01:06AM -0400, Il Neofita wrote: I connected the backup server and the client with a crossover cable at 1G however Files=16,251 Bytes=5,504,385,701 Bytes/sec=9,690,819 Errors=0 What can I check? I am using SAS disks With ethtool I have Speed: 1000Mb/s therefore is correct Are you using gzip compression? All the best, Uwe -- uwe.schuerk...@nionex.net phone: [+49] 5242.91 - 4740, fax:-69 72 Hauptsitz: Avenwedder Str. 55, D-33311 Guetersloh, Germany Registergericht Guetersloh HRB 4196, Geschaeftsfuehrer: Horst Gosewehr NIONEX ist ein Unternehmen der DirectGroup Germany www.directgroupgermany.de -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] running jobs in DB Catalog
Well, I decided to see directly in the Catalog : mysql select JobId, JobStatus, PoolId, Level from Job where JobId=27110; +---+---++---+ | JobId | JobStatus | PoolId | Level | +---+---++---+ | 27110 | R | 34 | F | +---+---++---+ 1 row in set (0.00 sec) mysql select JobId, JobStatus, PoolId, Level from Job where JobId=27265; +---+---++---+ | JobId | JobStatus | PoolId | Level | +---+---++---+ | 27265 | R | 84 | I | +---+---++---+ 1 row in set (0.00 sec) As you can see, this two job have JobStatus = R (for running), and it's wrong. I think I could do that : update Job set JobStatus = 'T' where JobId = 27110; update Job set JobStatus = 'T' where JobId = 27265; but I don't know if it's really a good idea, someone can say me if I am wrong or not ? and I read also about dbchek, I don't know if this tool can help me to solve my problem... Regards, François De : François Mehault [mailto:francois.meha...@netplus.fr] Envoyé : jeudi 28 mai 2009 11:27 À : bacula-users@lists.sourceforge.net Objet : [Bacula-users] running jobs in DB Catalog Hi All I have two jobs which are running in my DB Catalog for one client, and no jub running in my bacula-dir for this client, I would like to correct information in my Catalog. As I have this problem, my client can't be saved. And I don't succeed to cancel the jobs with the cancel command in bconsole as there is no running job for the director. Help will be really appreciated. Regards, François -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Question about bacula conception
Hello all, I have a question about bacula conception. When you define a job, you have to tell in it where you will store the data, with the keyword Storage. Imagine you do backup on disk: on the storage conf file, you define 3 virtual drives (VirtualTapeDrive_01,VirtualTapeDrive_02,VirtualTapeDrive_03) which take 4GiBFile as media. In the job definition, you have to put the name of the storage through which data will be written. Let's name them VTD_01, VTD_02, VTD_03 to be consistent with the definition in the bacula-sd.conf file. They are name in the bacula-dir.conf file. At this point i don't understand. Why define a storage device instead of a storage daemon in the job definition. If the drive is already used, your job will have to wait until it would be available again, even if the storage demon manages 2 others drives which are free. So why such a conception ? In this manner, you can do a sort of load balancing by storage daemon, you have to do a load balancing by jobs, which is more difficult to manage. Do I understand something wrong ? Can someone explain me why this choice ? Thanks ! -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Can't relabel a tape
On Thu, May 28, 2009 at 5:52 AM, C.DriK c.drik-ach...@orange.fr wrote: Hello, Thank you for your reply. My bacula configuration is not perfect, and sometimes I have some problem (especially with the autochanger, it not change the tape automaticaly). Once a problem occurs, the mt-f ... no longer works and I have device busy in the shell. I do not understand why it did that. Use the unmount command in bacula first or stop the bacula-sd John -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Système de fichiers accessible en lecture seulement
Bonjour, Dans le cadre d'un projet informatique de système de backup, j'ai choisi la solution Bacula. Après de nombreux tests et modifications je n'arrive toujours pas à faire le moindre backup, car je reçois toujours le même message : / *label Automatically selected Storage: LTO-2 Enter new Volume name: m001full Defined Pools: 1: Default 2: Scratch Select the Pool (1-2): 1 Connecting to Storage daemon LTO-2 at localhost:9103 ... Sending label command for Volume m001full Slot 0 ... 3910 Unable to open device LTO-2 (/dev/st0): ERR=dev.c:433 Unable to open device LTO-2 (/dev/st0): ERR=Système de fichiers accessible en lecture seulement Label command failed for Volume m001full. Do not forget to mount the drive!!!/ J'obtiens ce message que ce soit lorsque j'exécute la commande btape ou lorsque j'essaie de labelisé ma bande dans la console Bacula. Mon système : Serveur : HP Proliant DL380 Lecteur de bande : Ultrium448 scsi Bande : HP LTO2 Ultrium (Testé avec des anciennes bandes qui ont déjà servis, et une toute neuve qui à été commandée). Distribution : Linux Mandriva 2008.1 Version de Bacula : 2.2.8 Le lecteur est correctement reconnu, que ça soit dans le gestionnaire de matériel de Mandriva, ou dans le fichier //proc/scsi/scsi/, ou avec la commande /lsscsi. /La commande /mt -f /dev/st0 status /m'affiche le résultat suivant. / SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 0 bytes. Density code 0x42 (LTO-2). Soft error count since last status=0 General status bits on (4501): BOT WR_PROT ONLINE IM_REP_EN /Je vois qu'il y a un /WR_PROT/ qui voudrait dire Write Protection ? / /Mon Lecteur est définit comme cela dans le fichier //etc/bacula/bacula-sd.conf/ /Device { Name = LTO-2 Media Type = LTO-2 Device Type = Tape Archive Device = /dev/st0 LabelMedia = yes; # lets Bacula label unlabeled media Random Access = no; AutomaticMount = yes; # when device opened, read it RemovableMedia = yes; AlwaysOpen = yes; } / Ces paramètres ont été testé avec différentes valeurs aussi (yes/no). Est-ce qu'il y a une solution pour pouvoir labeliser ma bande et ainsi effectuer des backup ? Une solution pour enlever le Write Protection ? Je reste à votre disposition si vous avez besoins d'informations supplémentaires. -- Mario TOLJ Assistant informatique Collège Champittet 1009 Pully mario.t...@champittet.ch -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Slow backup
On Thu, May 28, 2009 at 08:27:06AM -0400, Il Neofita wrote: First of all thank you for the answer No I do not use compression in my file set Options { signature = MD5 } I tried to upload with sftp Uploading testfile to /tmp/terrierj testfile 100% 83MB 41.4MB/s 00:02 There is only a problem, I have the following configuration two ethernet card in both servers one connected to the LAN with an IP 10.10.1.X with a speed of 100M and the other connected between the two servers with the IPs 192.168.10.x with the speed of 1G On my bacula-dir.conf other the client I put in the address the right address and on the statistic of the second ethernet (that one a 1G) I have 100M o traffic therefore is used Thank you for the support and any Idea or test that I should do Are you backing up a lot of small files? I've seen rates dropping to the hundreds of kilobytes when bacula encounters directories with lots of small files. Which filesystem are you using on the client host? Cheers, Uwe -- uwe.schuerk...@nionex.net phone: [+49] 5242.91 - 4740, fax:-69 72 Hauptsitz: Avenwedder Str. 55, D-33311 Guetersloh, Germany Registergericht Guetersloh HRB 4196, Geschaeftsfuehrer: Horst Gosewehr NIONEX ist ein Unternehmen der DirectGroup Germany www.directgroupgermany.de -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem with Bacula client
Hi, When trying to run backup from a amd64 client, I get the following error: 28-mai 14:04 kitsvn001-dir JobId 10: No prior Full backup Job record found. 28-mai 14:04 kitsvn001-dir JobId 10: No prior or suitable Full backup found in catalog. Doing FULL backup. 28-mai 14:04 kitsvn001-dir JobId 10: Start Backup JobId 10, Job=kitvm001.2009-05-28_14.04.34_13 28-mai 14:04 kitsvn001-dir JobId 10: Using Device FileStorage 28-mai 14:04 kitvm001-fd JobId 10: Fatal error: Failed to connect to Storage daemon: kitsvn001:9103 28-mai 14:04 kitsvn001-dir JobId 10: Fatal error: Bad response to Storage command: wanted 2000 OK storage , got 2902 Bad storage 28-mai 14:04 kitsvn001-sd JobId 10: Job kitvm001.2009-05-28_14.04.34_13 marked to be canceled. 28-mai 14:04 kitsvn001-dir JobId 10: Error: Bacula kitsvn001-dir 3.0.0 (06Apr09): 28-mai-2009 14:04:36 Build OS: i386-portbld-freebsd7.1 freebsd 7.1-STABLE JobId: 10 Job:kitvm001.2009-05-28_14.04.34_13 Backup Level: Full (upgraded from Incremental) Client: kitvm001-fd 3.0.0 (06Apr09) amd64-portbld-freebsd7.2,freebsd,7.2-RELEASE FileSet:Full Set 2009-05-28 13:28:02 Pool: Full-Pool (From Job FullPool override) Catalog:MyCatalog (From Client resource) Storage:File (From Job resource) Scheduled time: 28-mai-2009 14:04:32 Start time: 28-mai-2009 14:04:36 End time: 28-mai-2009 14:04:36 Elapsed time: 0 secs Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS:no Encryption: no Accurate: no Volume name(s): Volume Session Id: 13 Volume Session Time:1243506890 Last Volume Bytes: 208 (208 B) Non-fatal FD errors:0 SD Errors: 0 FD termination status: Error SD termination status: Waiting on FD Termination:*** Backup Error *** What is 2902, bad storage? The funny thing is that its no problem to back up the local host (kitsvn001-fd) through the same kitsvn001-sd. regards, Espen Tagestad -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Slow backup
First of all thank you for the answer No I do not use compression in my file set Options { signature = MD5 } I tried to upload with sftp Uploading testfile to /tmp/terrierj testfile 100% 83MB 41.4MB/s 00:02 There is only a problem, I have the following configuration two ethernet card in both servers one connected to the LAN with an IP 10.10.1.X with a speed of 100M and the other connected between the two servers with the IPs 192.168.10.x with the speed of 1G On my bacula-dir.conf other the client I put in the address the right address and on the statistic of the second ethernet (that one a 1G) I have 100M o traffic therefore is used Thank you for the support and any Idea or test that I should do On Thu, May 28, 2009 at 6:31 AM, Uwe Schuerkamp hoo...@nionex.net wrote: On Thu, May 28, 2009 at 06:01:06AM -0400, Il Neofita wrote: I connected the backup server and the client with a crossover cable at 1G however Files=16,251 Bytes=5,504,385,701 Bytes/sec=9,690,819 Errors=0 What can I check? I am using SAS disks With ethtool I have Speed: 1000Mb/s therefore is correct Are you using gzip compression? All the best, Uwe -- uwe.schuerk...@nionex.net phone: [+49] 5242.91 - 4740, fax:-69 72 Hauptsitz: Avenwedder Str. 55, D-33311 Guetersloh, Germany Registergericht Guetersloh HRB 4196, Geschaeftsfuehrer: Horst Gosewehr NIONEX ist ein Unternehmen der DirectGroup Germany www.directgroupgermany.de -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with Bacula client
On Thu, May 28, 2009 at 8:10 AM, Espen Tagestad esp...@totem.fix.no wrote: Hi, When trying to run backup from a amd64 client, I get the following error: 28-mai 14:04 kitsvn001-dir JobId 10: No prior Full backup Job record found. 28-mai 14:04 kitsvn001-dir JobId 10: No prior or suitable Full backup found in catalog. Doing FULL backup. 28-mai 14:04 kitsvn001-dir JobId 10: Start Backup JobId 10, Job=kitvm001.2009-05-28_14.04.34_13 28-mai 14:04 kitsvn001-dir JobId 10: Using Device FileStorage 28-mai 14:04 kitvm001-fd JobId 10: Fatal error: Failed to connect to Storage daemon: kitsvn001:9103 28-mai 14:04 kitsvn001-dir JobId 10: Fatal error: Bad response to Storage command: wanted 2000 OK storage , got 2902 Bad storage 28-mai 14:04 kitsvn001-sd JobId 10: Job kitvm001.2009-05-28_14.04.34_13 marked to be canceled. 28-mai 14:04 kitsvn001-dir JobId 10: Error: Bacula kitsvn001-dir 3.0.0 (06Apr09): 28-mai-2009 14:04:36 Build OS: i386-portbld-freebsd7.1 freebsd 7.1-STABLE JobId: 10 Job: kitvm001.2009-05-28_14.04.34_13 Backup Level: Full (upgraded from Incremental) Client: kitvm001-fd 3.0.0 (06Apr09) amd64-portbld-freebsd7.2,freebsd,7.2-RELEASE FileSet: Full Set 2009-05-28 13:28:02 Pool: Full-Pool (From Job FullPool override) Catalog: MyCatalog (From Client resource) Storage: File (From Job resource) Scheduled time: 28-mai-2009 14:04:32 Start time: 28-mai-2009 14:04:36 End time: 28-mai-2009 14:04:36 Elapsed time: 0 secs Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS: no Encryption: no Accurate: no Volume name(s): Volume Session Id: 13 Volume Session Time: 1243506890 Last Volume Bytes: 208 (208 B) Non-fatal FD errors: 0 SD Errors: 0 FD termination status: Error SD termination status: Waiting on FD Termination: *** Backup Error *** What is 2902, bad storage? The funny thing is that its no problem to back up the local host (kitsvn001-fd) through the same kitsvn001-sd. The problem is that kitvm001 machine can not connect to kitsvn001. Do you have localhost or 127.0.0.1 in any of your bacula config files? John -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] %l is not substituted with VirtualFull in case of VirtualFull job
Hello. I tested VirtualFull jobs a bit more and discovered this.. I made a job that has: Run After Job = /bin/echo %l When I ran the job as VirtualFull, %l got replaced with 'Full', not VirtualFull. Is it a bug or is it really supposed to be so? -- Silver -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Can't relabel a tape
Previously John Drescher dresche...@gmail.com said, On Thu, May 28, 2009 at 5:52 AM, C.DriK c.drik-ach...@orange.fr wrote: Hello, Thank you for your reply. My bacula configuration is not perfect, and sometimes I have some problem (especially with the autochanger, it not change the tape automaticaly). Once a problem occurs, the mt-f ... no longer works and I have device busy in the shell. I do not understand why it did that. Use the unmount command in bacula first or stop the bacula-sd John Looks like we got off topic on this thread but anyway... That might resolve the problem once you've got it but this might help more in preventing the problem: In the mtx-changer script, tweak see this section case $cmd in unload) debug Doing mtx -f $ctl unload $slot $drive # # enable the following line if you need to eject the cartridge ${MT} -f $device offline sleep 5 ${MTX} -f $ctl unload $slot $drive ;; load) debug Doing mtx -f $ctl load $slot $drive ${MTX} -f $ctl load $slot $drive rtn=$? # Also note, at least some versions of bacula's make install scripting overwrote the mtx-changer file so you'd wind up losing your mods when you upgrade if you're not careful. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Autochanger Issue
Good Afternoon, I am having a problem with Bacula utilizing all the drives in my Quantum Scalar 50 Tape Library. I added a print to /var/log/messages to see what was being passed to the mtx-changer script and it only has references to the 1st drive, never seems to look or ask about either of the other two drives. Far as I can tell I have set it up with the correct values in the correct places. I am running Bacula 3.0. On a FreeBSD 7.0 platform. After running with it just using the 1st drive I tried labeling 2 new tapes in the library and when asked what drive to use I listed the 2nd drive which it used without issue or error, so Bacula is able to see and use the the other drives. Why will it not automatically use the other drives. Do I need to specify which drive to use, or can Bacula decide to use a free drive on its own. Which is how I expected it to work. Any an all assistance is greatly appreciated. Bacula-Dir.conf(Excerpt): JobDefs { Name = Bourne Type = Backup Level = Incremental Client = bourne-fd FileSet = Full Set - Bourne Schedule = BH_WeeklyDailyCycle Full Backup Pool = Full Incremental Backup Pool = Incr Differential Backup Pool = Diff Storage = LTO4 Messages = Standard Pool = Default Priority = 6 Max Start Delay = 168h Max Run Time = 240h } Storage { Name = LTO4 # Do not use localhost here Address = untouchables# N.B. Use a fully qualified name here SDPort = 9103 Password = VeriVue00Bacula00 #Device = Drive-1 #Device = Drive-2 #Device = Drive-3 Device = Autochanger Media Type = LTO4 Autochanger = yes } Bacula-sd.conf(Excerpt): # # An autochanger device with two drives # Autochanger { Name = Autochanger Device = Drive-1 Device = Drive-2 Device = Drive-3 # Changer Device = /dev/sg0 Changer Device = /dev/pass1 Changer Command = /usr/local/share/bacula/mtx-changer %c %o %S %a %d } Device { Name = Drive-1 # Drive Index = 0 Media Type = LTO4 Archive Device = /dev/nsa0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes; Autoselect = yes # # # # Enable the Alert command only if you have the mtx package loaded # # Note, apparently on some systems, tapeinfo resets the SCSI controller # # thus if you turn this on, make sure it does not reset your SCSI # # controller. I have never had any problems, and smartctl does # # not seem to cause such problems. # # # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' # If you have smartctl, enable this, it has more info than tapeinfo # Alert Command = sh -c 'smartctl -H -l error %c' } Device { Name = Drive-2 # Drive Index = 1 Media Type = LTO4 Archive Device = /dev/nsa1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes; Autoselect = yes # # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' # If you have smartctl, enable this, it has more info than tapeinfo # Alert Command = sh -c 'smartctl -H -l error %c' } Device { Name = Drive-3 # Drive Index = 2 Media Type = LTO4 Archive Device = /dev/nsa2 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes; Autoselect = yes # # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' # If you have smartctl, enable this, it has more info than tapeinfo # Alert Command = sh -c 'smartctl -H -l error %c' } -- Warm Regards, Brian R. Claveau -==-==-==-==-==-===-==-==-==-==-==-==-==-==-==-==-==- Brian R. Claveau Email: b...@beehivesecurity.com Beehive Security Management, LLC. -==-==-==-==-==-===-==-==-==-==-==-==-==-==-==-==-==- -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] download depkgs-qt
Hi, i want to compile bacula with bat, but i can not find the needed 'depkgs-qt' to download. is this package still available at sourceforge? can one of you provide me a direct link to download. thanks in advance. regards Markus ct, -- Das Abspringen einer Begrenzungsmauer dient nicht dem direkten Zurücklegen des Arbeitsweges. http://rz-amper.homeunix.net -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fwd: compilation problem bacula 3.0.1
hello I'm a french User of bacula for several years now... I try to compile Bacula 3.0.1 in order to install it on my server (Fedora core 4). I use mysql. The ./configure --with-mysql works well. When I start the make i get an error while it compile dird and several other daemons: /root/bacula-3.0.1/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dir_plugins.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o scheduler.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o ua_tree.o ua_update.o vbackup.o verify.o \ -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm-lpthread -ldl \ -lssl -lcrypto /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_real_escape_string' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_store_result' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_fetch_row' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_affected_rows' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_insert_id' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_data_seek' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_init' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_close' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_num_rows' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `my_thread_end' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_errno' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_error' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_num_fields' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_fetch_field' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_free_result' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_use_result' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_sqlstate' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_query' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_real_connect' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_field_seek' collect2: ld returned 1 exit status make[1]: *** [bacula-dir] Erreur 1 make[1]: Leaving directory `/root/bacula-3.0.1/src/dird' == Error in /root/bacula-3.0.1/src/dird == ==Entering directory /root/bacula-3.0.1/src/stored make[1]: Entering directory `/root/bacula-3.0.1/src/stored' Compiling stored.c Compiling ansi_label.c Compiling vtape.c Compiling autochanger.c Compiling acquire.c Compiling append.c Compiling askdir.c Compiling authenticate.c Compiling block.c Compiling butil.c Compiling dev.c Compiling device.c Compiling dircmd.c Compiling dvd.c Compiling ebcdic.c Compiling fd_cmds.c Compiling job.c Compiling label.c Compiling lock.c Compiling mac.c Compiling match_bsr.c Compiling mount.c Compiling parse_bsr.c Compiling pythonsd.c Compiling read.c Compiling read_record.c Compiling record.c Compiling reserve.c Compiling scan.c Compiling sd_plugins.c Compiling spool.c Compiling status.c Compiling stored_conf.c Compiling vol_mgr.c Compiling wait.c Linking bacula-sd ... /root/bacula-3.0.1/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -L../lib -o bacula-sd stored.o ansi_label.o vtape.o autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o dev.o device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o reserve.o scan.o sd_plugins.o spool.o status.o stored_conf.o vol_mgr.o wait.o -lacl -lz \ -lbacpy -lbaccfg -lbac -lm -lpthread -ldl \ -lssl -lcrypto Compiling bls.c Compiling Makefile /root/bacula-3.0.1/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -L../lib -L../findlib -o bls bls.o block.o butil.o device.o dev.o label.o match_bsr.o vtape.o ansi_label.o dvd.o ebcdic.o lock.o autochanger.o acquire.o mount.o parse_bsr.o record.o read_record.o reserve.o scan.o stored_conf.o spool.o vol_mgr.o wait.o \ -lbacfind -lbaccfg -lbac -lm -lpthread -ldl -lssl -lcrypto Compiling bextract.c Compiling Makefile /root/bacula-3.0.1/libtool --silent --tag=CXX --mode=link
[Bacula-users] Fileset definition for verify oddities
Dear List, I have a FileSet defined. This FileSet is used by a backup job and a verify job. However within this FileSet/Verify job there are some oddities. Job { Name = Verify_Zim Type = Verify Level = VolumeToCatalog Client = zim-fd FileSet = Full Set Messages = Standard Storage = DDS-4 Pool = Default Schedule = VerifyCycle Verify Job = Client_Zim } In the FileSet is defined: Verify = pins5 I just want to verify that what was written to tape was written correctly. At the time of backup there are no active users however daemons such as a MTA continue to work obviously. I have some question on the following issues. a) the verify job seems to verify against jobID 270 which was (I think) the last time I ran a Verify Init job. I wanted however to run it against the previous backup job (JobId 277). This probably explains oddity #4 below. What is going wrong here? The catalog is never updated after an Initial Verify? b) Logfiles from daemons are backuped raw (without shutting them down) in out setup. I know it's not the best way, but anyway... Can I configure director in such a way that the backupjob backs up everything in the FileSet definition, but does omit certain files/directories when verifying without defining an almost identical second FileSet? (the fileset definition is complex, changing it might lead to oddities in the future when a second FileSet has to be maintained too) This would probably (partly) fix oddities #1, #2 and #5 below. c) There are 2 things I simply do not understand at all. Being oddity #3 below and the strange sequence of chars in the log in oddity #5 below. Running on Debian Etch Bacula backport packages 2.4.1-1~bpo40+1 against MySQL. Any remarks suggestions highly welcomed. Thanks in advance, Olaf Oddities: - 1. md5 digest differs on files being in use: 28-May 00:05 zim-dir JobId 278: File: /var/lib/mysql/bacula/Filename.MYI 28-May 00:05 zim-dir JobId 278: st_size differ. Cat: 3275776 File: 3281920 28-May 00:05 zim-dir JobId 278: MD5 digest differs. 2. New files 28-May 00:05 zim-dir JobId 278: New file: /var/lib/cyrus/proc/2315 28-May 00:06 zim-dir JobId 278: New file: /var/lib/postgresql/8.1/main/base/16388/pg_internal.init 28-May 00:23 zim-dir JobId 278: /home/xxx/SUP/xxx/ 3. New files that are not new at all but are reported to be new by all jobs (just 2 files, always the same files, other files in the same directory are not reported) 28-May 00:07 zim-dir JobId 278: New file: /home/system/subversion/cvs2svn/home/cvs/CVS/xfabric3/xfabric3/jboss-3.0.0alpha/docs/api/security/org/jboss/security/plugins/class-use/JaasSecurityManager.html,v 28-May 00:08 zim-dir JobId 278: New file: /home/system/subversion/cvs2svn/home/cvs/CVS/xfabric3/xfabric3/jboss-3.0.0alpha/docs/api/connector/org/jboss/resource/connectionmanager/class-use/BaseConnectionManager.NoTransactionListener.html,v 4. New files that were created during the working day such as log files of user applications. These are never updated during the backup process as no one works at that time. 5. The following files are in the Catalog but not on disk: 28-May 00:23 zim-dir JobId 278: 0 28-May 00:23 zim-dir JobId 278: 0 28-May 00:23 zim-dir JobId 278: /var/lib/cyrus/proc/5411 -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fwd: compilation problem bacula 3.0.1
How did you install mysql? I would try source installation and add --with-mysql=/usr/local/mysql in the configure. LM On 5/28/09 11:30 AM, RAPHAEL AME raphael@educagri.fr wrote: hello I'm a french User of bacula for several years now... I try to compile Bacula 3.0.1 in order to install it on my server (Fedora core 4). I use mysql. The ./configure --with-mysql works well. When I start the make i get an error while it compile dird and several other daemons: /root/bacula-3.0.1/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dir_plugins.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o scheduler.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o ua_tree.o ua_update.o vbackup.o verify.o \ -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm-lpthread -ldl \ -lssl -lcrypto /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_real_escape_string' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_store_result' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_fetch_row' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_affected_rows' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_insert_id' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_data_seek' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_init' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_close' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_num_rows' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `my_thread_end' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_errno' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_error' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_num_fields' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_fetch_field' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_free_result' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_use_result' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_sqlstate' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_query' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_real_connect' /root/bacula-3.0.1/src/cats/.libs/libbacsql.so: undefined reference to `mysql_field_seek' collect2: ld returned 1 exit status make[1]: *** [bacula-dir] Erreur 1 make[1]: Leaving directory `/root/bacula-3.0.1/src/dird' == Error in /root/bacula-3.0.1/src/dird == ==Entering directory /root/bacula-3.0.1/src/stored make[1]: Entering directory `/root/bacula-3.0.1/src/stored' Compiling stored.c Compiling ansi_label.c Compiling vtape.c Compiling autochanger.c Compiling acquire.c Compiling append.c Compiling askdir.c Compiling authenticate.c Compiling block.c Compiling butil.c Compiling dev.c Compiling device.c Compiling dircmd.c Compiling dvd.c Compiling ebcdic.c Compiling fd_cmds.c Compiling job.c Compiling label.c Compiling lock.c Compiling mac.c Compiling match_bsr.c Compiling mount.c Compiling parse_bsr.c Compiling pythonsd.c Compiling read.c Compiling read_record.c Compiling record.c Compiling reserve.c Compiling scan.c Compiling sd_plugins.c Compiling spool.c Compiling status.c Compiling stored_conf.c Compiling vol_mgr.c Compiling wait.c Linking bacula-sd ... /root/bacula-3.0.1/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -L../lib -o bacula-sd stored.o ansi_label.o vtape.o autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o dev.o device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o reserve.o scan.o sd_plugins.o spool.o status.o stored_conf.o vol_mgr.o wait.o -lacl -lz \ -lbacpy -lbaccfg -lbac -lm -lpthread -ldl \ -lssl -lcrypto Compiling bls.c Compiling Makefile /root/bacula-3.0.1/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -L../lib -L../findlib -o bls bls.o block.o butil.o device.o dev.o label.o match_bsr.o vtape.o ansi_label.o dvd.o ebcdic.o lock.o
Re: [Bacula-users] Slow backup
Hi I am using EXt3 and yes I also have small Probably 50% 2M 40% 10M 10%40M On Thu, May 28, 2009 at 8:39 AM, Uwe Schuerkamp hoo...@nionex.net wrote: On Thu, May 28, 2009 at 08:27:06AM -0400, Il Neofita wrote: First of all thank you for the answer No I do not use compression in my file set Options { signature = MD5 } I tried to upload with sftp Uploading testfile to /tmp/terrierj testfile 100% 83MB 41.4MB/s 00:02 There is only a problem, I have the following configuration two ethernet card in both servers one connected to the LAN with an IP 10.10.1.X with a speed of 100M and the other connected between the two servers with the IPs 192.168.10.x with the speed of 1G On my bacula-dir.conf other the client I put in the address the right address and on the statistic of the second ethernet (that one a 1G) I have 100M o traffic therefore is used Thank you for the support and any Idea or test that I should do Are you backing up a lot of small files? I've seen rates dropping to the hundreds of kilobytes when bacula encounters directories with lots of small files. Which filesystem are you using on the client host? Cheers, Uwe -- uwe.schuerk...@nionex.net phone: [+49] 5242.91 - 4740, fax:-69 72 Hauptsitz: Avenwedder Str. 55, D-33311 Guetersloh, Germany Registergericht Guetersloh HRB 4196, Geschaeftsfuehrer: Horst Gosewehr NIONEX ist ein Unternehmen der DirectGroup Germany www.directgroupgermany.de -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with Bacula client
On Thu, May 28, 2009 at 2:42 PM, Espen Tagestad esp...@totem.fix.no wrote: On Thu, May 28, 2009 at 09:54:44AM -0400, John Drescher wrote: On Thu, May 28, 2009 at 8:10 AM, Espen Tagestad esp...@totem.fix.no wrote: What is 2902, bad storage? The funny thing is that its no problem to back up the local host (kitsvn001-fd) through the same kitsvn001-sd. The problem is that kitvm001 machine can not connect to kitsvn001. Do you have localhost or 127.0.0.1 in any of your bacula config files? That explains the problem. kitsvn001 is the server, and its on local network. kitvm001 is in DMZ, so it doesnt see kitsvn001. I didnt know that the client needs to connect back to the server, isnt the connection initiated by kitsvn001, the server? The director sends the client the FQDN or ipaddress of the storage daemon to connect to. Then the client opens a direct connection with the storage. John -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with Bacula client
On Thu, May 28, 2009 at 09:54:44AM -0400, John Drescher wrote: On Thu, May 28, 2009 at 8:10 AM, Espen Tagestad esp...@totem.fix.no wrote: What is 2902, bad storage? The funny thing is that its no problem to back up the local host (kitsvn001-fd) through the same kitsvn001-sd. The problem is that kitvm001 machine can not connect to kitsvn001. Do you have localhost or 127.0.0.1 in any of your bacula config files? That explains the problem. kitsvn001 is the server, and its on local network. kitvm001 is in DMZ, so it doesnt see kitsvn001. I didnt know that the client needs to connect back to the server, isnt the connection initiated by kitsvn001, the server? regards, Espen -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with Bacula client
That explains the problem. kitsvn001 is the server, and its on local network. kitvm001 is in DMZ, so it doesnt see kitsvn001. I didnt know that the client needs to connect back to the server, isnt the connection initiated by kitsvn001, the server? BTW, a solution for this may be an SSH tunnel. http://wiki.bacula.org/doku.php?id=sshtunnels[]=ssh John -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Since timestamp %s always is *none*
Hello, I have a client script set to run before a job such as: RunScript { RunsWhen = Before FailJobOnError = Yes Command = /net/backup/scripts/db/pgsql-bacula.sh %l '%s' } However, the %s substitution made by bacula is always *none* even though several rounds of full, incremental and differential backups have completed successfully for this job. Any ideas why the since timestamp passed to the script is not correct? Log example: ... 27-May 23:05 x-dir JobId 132: Using Device Sony_Changer 27-May 23:05 x-fd JobId 132: ClientBeforeJob: run command /net/backup/scripts/db/pgsql-bacula.sh Incremental '*none*' ... 28-May 00:01 x-dir JobId 132: Bacula xx-dir 2.4.4 (28Dec08): 28-May-2009 00:01:33 Build OS: i486-pc-linux-gnu debian 5.0 JobId: 132 Job:database.2009-05-27_23.05.00.29 Backup Level: Incremental, since=2009-05-26 23:31:04 Client: xx-fd 2.4.4 (28Dec08) i486-pc-linux-gnu,debian,5.0 ... Thank you for any help you may be able to provide, -- Benjamin Minshall minsh...@intellicon.biz -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Autochanger Issue
Hi, 28.05.2009 16:48, Brian Claveau wrote: Good Afternoon, I am having a problem with Bacula utilizing all the drives in my Quantum Scalar 50 Tape Library. I added a print to /var/log/messages to see what was being passed to the mtx-changer script and it only has references to the 1st drive, never seems to look or ask about either of the other two drives. Far as I can tell I have set it up with the correct values in the correct places. I am running Bacula 3.0. On a FreeBSD 7.0 platform. After running with it just using the 1st drive I tried labeling 2 new tapes in the library and when asked what drive to use I listed the 2nd drive which it used without issue or error, so Bacula is able to see and use the the other drives. Why will it not automatically use the other drives. Do I need to specify which drive to use, or can Bacula decide to use a free drive on its own. Which is how I expected it to work. First, always be aware that any job in Bacula will only use exactly one device. So you need to enable concurrent jobs first. You also need to make sure the jobs running in parallel either use different pools, or use Prefer Mounted Volume = No in the configuration. The latter is deprecated. Only then can you expect to see more than one drive being used. Arno Any an all assistance is greatly appreciated. Bacula-Dir.conf(Excerpt): JobDefs { Name = Bourne Type = Backup Level = Incremental Client = bourne-fd FileSet = Full Set - Bourne Schedule = BH_WeeklyDailyCycle Full Backup Pool = Full Incremental Backup Pool = Incr Differential Backup Pool = Diff Storage = LTO4 Messages = Standard Pool = Default Priority = 6 Max Start Delay = 168h Max Run Time = 240h } Storage { Name = LTO4 # Do not use localhost here Address = untouchables# N.B. Use a fully qualified name here SDPort = 9103 Password = VeriVue00Bacula00 #Device = Drive-1 #Device = Drive-2 #Device = Drive-3 Device = Autochanger Media Type = LTO4 Autochanger = yes } Bacula-sd.conf(Excerpt): # # An autochanger device with two drives # Autochanger { Name = Autochanger Device = Drive-1 Device = Drive-2 Device = Drive-3 # Changer Device = /dev/sg0 Changer Device = /dev/pass1 Changer Command = /usr/local/share/bacula/mtx-changer %c %o %S %a %d } Device { Name = Drive-1 # Drive Index = 0 Media Type = LTO4 Archive Device = /dev/nsa0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes; Autoselect = yes # # # # Enable the Alert command only if you have the mtx package loaded # # Note, apparently on some systems, tapeinfo resets the SCSI controller # # thus if you turn this on, make sure it does not reset your SCSI # # controller. I have never had any problems, and smartctl does # # not seem to cause such problems. # # # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' # If you have smartctl, enable this, it has more info than tapeinfo # Alert Command = sh -c 'smartctl -H -l error %c' } Device { Name = Drive-2 # Drive Index = 1 Media Type = LTO4 Archive Device = /dev/nsa1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes; Autoselect = yes # # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' # If you have smartctl, enable this, it has more info than tapeinfo # Alert Command = sh -c 'smartctl -H -l error %c' } Device { Name = Drive-3 # Drive Index = 2 Media Type = LTO4 Archive Device = /dev/nsa2 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes; Autoselect = yes # # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' # If you have smartctl, enable this, it has more info than tapeinfo # Alert Command = sh -c 'smartctl -H -l error %c' } -- Warm Regards, Brian R. Claveau -==-==-==-==-==-===-==-==-==-==-==-==-==-==-==-==-==- Brian R. Claveau Email:b...@beehivesecurity.com Beehive Security Management, LLC. -==-==-==-==-==-===-==-==-==-==-==-==-==-==-==-==-==- -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind
Re: [Bacula-users] Fileset definition for verify oddities
Hi, 28.05.2009 18:24, Olaf Zevenboom wrote: Dear List, I have a FileSet defined. This FileSet is used by a backup job and a verify job. However within this FileSet/Verify job there are some oddities. Job { Name = Verify_Zim Type = Verify Level = VolumeToCatalog Client = zim-fd FileSet = Full Set Messages = Standard Storage = DDS-4 Pool = Default Schedule = VerifyCycle Verify Job = Client_Zim } In the FileSet is defined: Verify = pins5 I just want to verify that what was written to tape was written correctly. At the time of backup there are no active users however daemons such as a MTA continue to work obviously. I have some question on the following issues. a) the verify job seems to verify against jobID 270 which was (I think) the last time I ran a Verify Init job. I wanted however to run it against the previous backup job (JobId 277). This probably explains oddity #4 below. What is going wrong here? The catalog is never updated after an Initial Verify? No idea, I'm not a big user of verify jobs. But check the manual regarding the levels for verify jobs! b) Logfiles from daemons are backuped raw (without shutting them down) in out setup. I know it's not the best way, but anyway... Can I configure director in such a way that the backupjob backs up everything in the FileSet definition, but does omit certain files/directories when verifying without defining an almost identical second FileSet? (the fileset definition is complex, changing it might lead to oddities in the future when a second FileSet has to be maintained too) I would add another Include {} section to the fileset (before the normal one!) which only captures the log files, and sets the proper verify options. Sth. like Include { Options { verify = whatever you expect to be static - mostly permissions and user/group id, I guess } File = /var/log/messages WildFile = /var/log/mail* RegExFile = /var/log/httpd/.*_(access|error)_log } or similar - the above is untested and not even verified against the manual :-) This would probably (partly) fix oddities #1, #2 and #5 below. c) There are 2 things I simply do not understand at all. Being oddity #3 below and the strange sequence of chars in the log in oddity #5 below. Running on Debian Etch Bacula backport packages 2.4.1-1~bpo40+1 against MySQL. Any remarks suggestions highly welcomed. Thanks in advance, Olaf Oddities: - 1. md5 digest differs on files being in use: 28-May 00:05 zim-dir JobId 278: File: /var/lib/mysql/bacula/Filename.MYI 28-May 00:05 zim-dir JobId 278: st_size differ. Cat: 3275776 File: 3281920 28-May 00:05 zim-dir JobId 278: MD5 digest differs. If the size differs, the chance that the checsksum matches is quite small. 2. New files Compared against stale catalog information. 28-May 00:05 zim-dir JobId 278: New file: /var/lib/cyrus/proc/2315 28-May 00:06 zim-dir JobId 278: New file: /var/lib/postgresql/8.1/main/base/16388/pg_internal.init 28-May 00:23 zim-dir JobId 278: /home/xxx/SUP/xxx/ 3. New files that are not new at all but are reported to be new by all jobs (just 2 files, always the same files, other files in the same directory are not reported) Don't know... perhaps new inode numbers (I don't know if that's a criteria for *this* comparison in a verify job)? 28-May 00:07 zim-dir JobId 278: New file: /home/system/subversion/cvs2svn/home/cvs/CVS/xfabric3/xfabric3/jboss-3.0.0alpha/docs/api/security/org/jboss/security/plugins/class-use/JaasSecurityManager.html,v 28-May 00:08 zim-dir JobId 278: New file: /home/system/subversion/cvs2svn/home/cvs/CVS/xfabric3/xfabric3/jboss-3.0.0alpha/docs/api/connector/org/jboss/resource/connectionmanager/class-use/BaseConnectionManager.NoTransactionListener.html,v 4. New files that were created during the working day such as log files of user applications. These are never updated during the backup process as no one works at that time. 5. The following files are in the Catalog but not on disk: Actually, not astonishing as that file belongs to a process instance with a specific PID... I wouldn't even back it up as it will be useless to restore anyway. This is basically the same problem as item a) in your list. Arno 28-May 00:23 zim-dir JobId 278: 0 28-May 00:23 zim-dir JobId 278: 0 28-May 00:23 zim-dir JobId 278: /var/lib/cyrus/proc/5411 -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de
[Bacula-users] Restore issue?
Any hint as to get past this restore error? Thanks -Jason 28-May 20:31 backup-server-sd JobId 67400: End of file 338 on device nst0 (/dev/nst0), Volume AX7321L4 28-May 20:32 backup-server JobId 67400: Error: attribs.c:423 File size of restored file /fs2/restore2/C:/WINDOWS/SoftwareDistribution/Download/7c205249e4e58548a01567c8dc12d1b5/fxs_mfc42.dll not correct. Original 1160704, restored 196420. 28-May 20:32 backup-server-sd JobId 67400: Error: block.c:275 Volume data error at 339:441! Wanted ID: BB02, got . Buffer discarded. 28-May 20:32 backup-server-sd JobId 67400: Fatal error: fd_cmds.c:172 Command error with FD, hanging up. -- Jason A. Kates (ja...@kates.org) Fax:208-975-1514 Phone: 212-400-1670 x2 -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users