Re: [Bacula-users] Bacula 1.36.2 / SuSE 9.2 / IA32E 64-bit system.
On Mon, 14 Mar 2005 21:43:45 + (UTC), Chris [EMAIL PROTECTED] said: Chris I'm trying to install Bacula on a SuSE 9.2 system. It's a dual Xeon (64-bit), Chris and SuSE automatically installed 64 bit versions of most libraries, rather than Chris 32 bit. Chris When I use the precompiled packages, the program (gconsole) seems to run really Chris slowly, and complains about missing files. It's looking in /opt/lib/gnome/ Chris instead of /opt/lib64/gnome/. Chris Copying files from lib64 to lib fixes the file not found errors, but it still Chris runs incredibly slowly, to the point where it seems to lock up for several Chris seconds, windows don't refresh, etc. Copying files between lib64 and lib is generally a very bad idea because they are not compatible. SuSE is set up for backwards compatibility with 32 bit binaries, so lib contains 32 bit libs and lib64 contains 64 bit libs. Are these Bacula packages precompiled for 32 bit (386/486/586/686) or 64 bit (x86_64)? If they are for 32 bit, then you will need to install 32 bit version of all the packages they depend on, e.g. gnome-libs. Chris Trying to compile it from source doesn't work, as it can't find termcap.h during Chris configuration, even though the file is on the system, in /usr/include/termcap. Chris If I try to compile it, it exits with an Error 1, which means nothing to me, as Chris I don't know much about C/C++ programming. First rule of bug reporting: show the unedited output :-) __Martin --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Director hangs on job execution
On Wed, 16 Mar 2005 13:49:25 +0100, Tim Oberfoell [EMAIL PROTECTED] said: Tim There's a little thing that confuses me. I've recompiled and installed bacula. Tim But now a ldd /sbin/bacula shows the following: Tim -- Tim libz.so.1 = /lib/libz.so.1 (0x40025000) Tim libpthread.so.0 = /lib/i686/libpthread.so.0 (0x40034000) Tim libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x40049000) Tim libm.so.6 = /lib/i686/libm.so.6 (0x400fd000) Tim libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x4012) Tim libc.so.6 = /lib/i686/libc.so.6 (0x40128000) Tim /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) Tim -- Tim Where is the link to the mysql library? Or is it now statically compiled? Tim With the old mysql version there was a link! Tim Of course bacula is able to connect to mysql. What is /sbin/bacula? The Director (the only thing that refers to the db) is normally called bacula-dir. Tim On Wednesday 16 March 2005 00:23, Tim Oberfoell wrote: Hi! Ok, maybe you both are right. The configure script shows me, that it will link bacula against the threaded Mysql library, but a ldd /sbin/bacula-dir offers me, that it is currently linked against the non-threaded library. The reason is simple: i have not recompiled bacula after installing the new MySQL version. I've recompiled bacula and hope everything works fine now. Thank you! Tim On Tuesday 15 March 2005 23:24, you wrote: On Tuesday 15 March 2005 18:59, Tim Oberfoell wrote: Hello Nathan! On Tuesday 15 March 2005 18:01, Nathan R. Valentine wrote: Hmm. I was going to suggest that perhaps the director was blocked on a database operation as I had seem similar problems with very large tables using the non-threaed MySQL client library and with very large SQLite databases. But it seems that that should have been cleared up when you created a new MySQL database. :\ Is there a way to detect if the MySQL client library supports threading? If the Bacula ./configure Database lib looks like: Database lib: -L/home/kern/mysql/lib/mysql -lmysqlclient_r -lz with the -lmysqlclient_r then you are using the threaded MySQL. If it has -lmysqlclientthen you are using the non-threaded MySQL. I probably should add a *big* warning in the ./configure output. I've installed the latest rpm packages from the MySQL webpage. What exactly do you mean with large tables? Our mysql directory currently has a size of about 1.9 GByte, i would not say this is a large db. Have you tried strace and ltrace of the baculd-dir processes? As written in my mail a few minutes ago, it is not easy to reproduce the problem, so I think this is the last way to get information about what is going on. I'll try that if I don't see another solution. Thank you for your response! Regards, Tim --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Tim --- Tim SF email is sponsored by - The IT Product Guide Tim Read honest candid reviews on hundreds of IT Products from real users. Tim Discover which products truly live up to the hype. Start reading now. Tim http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click Tim ___ Tim Bacula-users mailing list Tim Bacula-users@lists.sourceforge.net Tim https://lists.sourceforge.net/lists/listinfo/bacula-users __Martin --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
Re: [Bacula-users] newbie question
On Tue, 29 Mar 2005 17:46:45 +0300, viktorija [EMAIL PROTECTED] said: V now am reading manual and i have one question about @. V Is it possible to use @ in the following way: V Name = news V Include { V Options { V compression=GZIP V wild = @exclude.list V exclude = yes V } V File = D:/My Documents/work V File = D:/My Documents/temp V } V where exclude.list is following: V wild = *.mp3 V wild = *.avi V wild = *.mpg V wild = *.mpeg V wild = *.wmv V wild = *.wma V wild = *.wvx V wild = *.wax V wild = *.asf V wild = *.asx V wild = *.wms V wild = *.wmz V wild = *.wmd V wild = *.mlv V wild = *.mid V wild = *.mod V wild = *.mov V wild = *.mp1 V wild = *.mp2 V wild = *.mpa V wild = *.mpe V Or @ is only for File? The @ directive works anywhere, but it simply inserts the named file as if it was part of the main file, so to make the above work you need to drop the 'wild =' from the options: Name = news Include { Options { compression=GZIP @exclude.list exclude = yes } File = D:/My Documents/work File = D:/My Documents/temp } __Martin --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Dayling saving time change
On Tue, 29 Mar 2005 18:14:53 +0200, Mathieu Arnold [EMAIL PROTECTED] said: Mathieu +-le 27/03/2005 10:05 +0200, Mathieu Arnold a dit : Mathieu | Hello, Mathieu | Mathieu | Earlier, this morning, here in France, we leaped from 1:59:59 to 3:00:00, I Mathieu | had all my jobs scheduled between 2:05 and 2:20, and they did not run :-( Mathieu | On the other hand I had cron jobs at 2:30, and they ran (at 3, yeah, but Mathieu | they ran). Mathieu | I was wondering if that, hum, bug, could be fixed in any next version of Mathieu | bacula :-) Mathieu | (hopefully, when time goes the other way round, the jobs are only ran Mathieu | once). Mathieu I know that in the US, the daylight change is next Sunday, but am I the only Mathieu one to experience this issue ? No, it happened to me too (I've now moved the jobs out of the danger zone). They run twice in the autumn too :-) __Martin --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problem while finding jobid for job which includes a specified file
On Wed, 30 Mar 2005 17:52:36 +0200, Felix Schwarz [EMAIL PROTECTED] said: Felix prior to my attempts to recover a file (see my previous posting) I Felix experienced a wierd situation: Felix *list files jobid=55 Felix (...) Felix C:/data/.../05-83049-21-027 Rechnung_Selfmailer_ Putzer Einkauf.doc Felix (...) Felix *restore Felix (...) Felix Select item: (1-9): 2 Felix Enter Filename: C:/data/.../05-83049-21-027 Rechnung_Selfmailer_ Putzer Einkauf.doc Felix No results to list. Felix The list statement tells me that the file is there. Why can't bacula Felix find the according job? Restore option 2 wants the filename, not the full path. Also, it doesn't want the quotes. Try just entering 05-83049-21-027 Rechnung_Selfmailer_ Putzer Einkauf.doc at the Enter Filename: prompt. __Martin --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] HP DAT72 Tabe (C7438A) compression problem
On Mon, 11 Apr 2005 14:23:04 +0100 (BST), Alan Brown [EMAIL PROTECTED] said: Alan On Mon, 11 Apr 2005 [EMAIL PROTECTED] wrote: I had the same issue on my old debian box. It was always just writing around 33GB on the tape, never more.The data I try to backup are alot of Word-Documents and all different kind of sourcecode. So there should be at least some compression. I might try the software compression from bacula and see if that helps. But if you have some idea what else I could test I would be very glad. Alan If you have the space, make a .tar of your expected backup stuff and then Alan gzip it. this will give you an indication of the kind of compression Alan ratios you might expect. I'm not sure what kind of compression DAT72 uses, but for DDS4 the compress program will give a closer idea of the hardware compression than gzip (i.e. it expands random/compressed data by 20%!). __Martin --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] removing 'stale' jobs
On Mon, 11 Apr 2005 20:54:20 -0400 (EDT), Erald Troja [EMAIL PROTECTED] said: Erald here's the thing Erald somehow we missed our recycling of volumes date by 2 days... Erald it was needed that we intervene and append a new volume or purge an old Erald one so that backup could proceed... Erald one of our sysadmins dediced to restart the box in the mean time... Erald we were left with a backup job having a status R which A.F.A.I.K Erald means that the job is running---however whenever I tried to 'cancel' the Erald job i was getting notification that there were no running jobs. Erald what's the easiest way, with lesser side-effect to get rid of 'stale' Erald jobs??? Try the delete command, e.g. delete jobid=121 __Martin --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] IgnoreFileSets bacula1.34.6
On Wed, 27 Apr 2005 10:24:28 +0100, Andrew Paterson [EMAIL PROTECTED] said: Andrew can anyone confirm that the IgnoreFileSets directive is supported in V1.34.6 please. I like your optimistic phasing there...but I can confirm that it is *not* supported in 1.34.6 :-) __Martin --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Using bls hangs on large files
On 28 Apr 2005 11:57:19 UT, [EMAIL PROTECTED] said: Graham I have been trying to use bls on my backup files to determine what Graham jobs are in them. It works on small test files but on real backups Graham which are approx 35 GBytes it gets stuck after printing a few Graham lines. The backups are all made to files using USB disk drives and Graham contain jobs for multiple clients. Can anyone suggest how I can fix Graham this problem please? Check that bls is not writing to syslogd (change the Messages resource is necessary). __Martin --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula status
On Fri, 29 Apr 2005 10:56:52 +0100 (BST), Alan Brown [EMAIL PROTECTED] said: Alan On Fri, 29 Apr 2005, Russell Howe wrote: ARCserve had a special prune database job you could schedule which would make sure the database was pruned at a set time. Alan You can do this with a scheduled job in bacula. Alan Just backup nothing... Or use an Admin job. __Martin --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] sparse, gzip and ntfs partitions
On Thu, 28 Apr 2005 10:36:31 +1000, Leni Mayo [EMAIL PROTECTED] said: Leni I'd like to image a windows desktop by booting into knoppix and using Leni bacula to backup the ntfs partitions. I thought this'd be a nice way Leni to do disaster recovery. Leni The trouble is that the desktop has a big hard disk, most of which is Leni empty. Leni Neither the sparse nor compression options seem to much reduce the Leni data size written by the storage daemon. It's clear that the whole Leni partition is being backed up, not just the data. Leni I guess that the sparse=yes option doesn't have any effect because the Leni block size of 32k isn't granular enough to find the empty disk space Leni on NTFS. Leni The compression=GZIP doesn't seem to help either, though as an Leni experiment I gzipped the resulting volume and it did shrink by 1/3. Leni If anyone can think of a workaround I'd be interested to hear. Maybe the free space on your disk contains old data, so that can't be compressed too well (not sure why gzip would do better though)? There might be some disk scrubbing tools that would fix this. __Martin --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula-client only problem
On Sat, 7 May 2005 12:02:40 -0400, John Hayden [EMAIL PROTECTED] said: John Except, the same code on another RH9 system only spawns 1 instance and John on this system all 3 instances are listening on port 9102. It would John seem to me that multiple instances should be listening on different John ports. I'm fairly certain there should only be on instance of bacula-fd John starting when one does a ./bacula start. I'm certain there is John something wrong on this system, its just that I have no clue on where John to look. What you describe sounds like threads (and I'm pretty sure that it is impossible to two processes to listen on the same port on Linux). Bacula-fd is multithreaded and threads are implemented using multiple pids on some Linux kernels. I'm not sure why it would be different on the other machine unless they have been upgraded from the baseline RH9 in different ways, but you could check both systems with the -m option to ps to show all threads. __Martin --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] A few questions...
On Thu, 12 May 2005 14:05:30 -0400, Grant [EMAIL PROTECTED] said: Grant Can you use those includes for anything? Grant Meaning includes for jobs, clients, filesets? Yes -- it is just textual insertion (like #include in C, except that the @ doesn't have to be at start of a line). __Martin --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Admin Job - Prune Volumes
On Fri, 13 May 2005 12:26:16 -0500, Mike Reinehr [EMAIL PROTECTED] said: Mike I have the following described job in my bacula-dir.conf file: Mike Job { Mike Name = Bilskirnir-Prune Mike Type = Admin Mike Messages = Standard Mike Priority = 10 Mike Schedule = WeeklyPrune Mike Storage = File Mike Client = bilskirnir-fd Mike FileSet = Bilskirnir File Set Mike Pool = Bilskirnir Files Mike Full Backup Pool = Bilskirnir Full Files Mike Incremental Backup Pool = Bilskirnir Incr Files Mike Prune Volumes = yes Mike } Mike My purpose is to prune then delete disk volumes before I run a tape backup. Mike The job ran successfully, according to the log file, but no volumes were Mike purged, while several should have been. Mike Can someone explain what I am missing? It is a failure to understand the Mike concept, or is my configuration just wrong? I suspect the problem is that Bacula only looks at Prune Volumes when it needs a new volume, but admin jobs never need a volume. You might try adding a Run Before Job script to that job to run bconsole with the prune command. __Martin --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Speed of Windows FD
On Tue, 17 May 2005 18:54:01 -0400, Matthew Butt [EMAIL PROTECTED] said: Matt I have two identical Win 2k3 servers (Dell PowerEdge 2800, U320 RAID5, Matt dual P4 Xeon 2.8) that I need to backup data onto an FC3 server running Matt Bacula (P4 2.8GHz, USB2 HDD). All three machines have Gigabit cards Matt running on a Gigabit switch with appropriate Cat5e cables. Matt Server1 has two files totaling 5Gb. Bacula grabs these files at about Matt 25MB/sec - total backup time is under 4mins. Matt Server2 has ~4000 files totaling 100Gb. The problem is that Bacula is Matt only running at about 50Kb/sec for this server - simple maths tells us Matt that it's going to take 3.5 weeks to backup the entire server! Matt There's obviously something awry here - can anyone give me any ideas Matt what to look into? The networking between the machines all appears to be Matt fine (I can pull off large files between the Win 2k3 servers at around Matt 30MB/sec) so it seems to be something to do with the Bacula FD. I would start by looking at the Processes tab of the Task Manager on Server2 during the backup to see what % of the CPU bacula-fd is getting and if anything else is running. __Martin --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
RE: [Bacula-users] Speed of Windows FD
On Wed, 18 May 2005 17:09:10 -0400, Matthew Butt [EMAIL PROTECTED] said: Matt Content-class: urn:content-classes:message Matt Thread-Topic: [Bacula-users] Speed of Windows FD Matt I have two identical Win 2k3 servers (Dell PowerEdge 2800, Matt U320 RAID5, Matt dual P4 Xeon 2.8) that I need to backup data onto an FC3 Matt server running Matt Bacula (P4 2.8GHz, USB2 HDD). All three machines have Gigabit cards Matt running on a Gigabit switch with appropriate Cat5e cables. Matt Server1 has two files totaling 5Gb. Bacula grabs these files Matt at about Matt 25MB/sec - total backup time is under 4mins. Matt Server2 has ~4000 files totaling 100Gb. The problem is that Bacula is Matt only running at about 50Kb/sec for this server - simple maths tells us Matt that it's going to take 3.5 weeks to backup the entire server! Matt There's obviously something awry here - can anyone give me any ideas Matt what to look into? The networking between the machines all Matt appears to be Matt fine (I can pull off large files between the Win 2k3 servers Matt at around Matt 30MB/sec) so it seems to be something to do with the Bacula Matt FD. I would start by looking at the Processes tab of the Task Manager on Server2 during the backup to see what % of the CPU bacula-fd is getting and if anything else is running. Matt The bacula-fd process on Server2 is using at most about 2%. Mem usage Matt is very low (3Mb). Nothing else is using the processor or disks Matt intensively on that machine at the moment and bconsole is reporting Matt about 3MB/sec transfer (speed changes wildly it seems, but never very Matt fast!) Matt The bacula server is running around 5-15% for bacula-sd. Again, nothing Matt much else is happening on that server, load average: 0.21, 0.12, 0.09. Matt Is there any profiling I can run on the Windows FD client, or at least Matt see a file-by-file progress? You can see which file it is doing by using the 'status client' command in bconsole. You could also try changing the Messages resource in bacula-dir.conf to send saved messages to the console (by default it says 'console = all, !saved' which discards them). I've not tried this, so I don't know if it produces messages as the saving happens or only at the end. Finally, running bacula-fd in debugging mode (using the -d option from a Command window instead of as a service) will output lots of info (not sure where it goes on Windows). __Martin --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incremental Backups and 'new' old files
On Thu, 19 May 2005 02:02:37 +0200, Arno Lehmann [EMAIL PROTECTED] said: Arno Ryan LeBlanc wrote: Arno, thank you for your response. Here are our details: Bacula version 1.36.3 server running on Linux kernel 2.4.26. It has ext2 partitions mounted (rw) Arno Ok, the server doesn't matter here, I think. The client is running Windows XP, no special mount options, just windows default. NTFS format on the partition Arno As far as I know, NTFS has similar timestamps - atime, mtime and ctime - Arno as normal unix file systems. I'm not sure, but I think I remember Arno reading somewhere that under Windows you can avoid changing them when Arno you modify a file. In particular, renaming or moving a file doesn't change any of the NTFS timestamps, unlike on most unix filesystems where it sets the ctime to nowtime. __Martin --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: Backup of directory structures
On Mon, 20 Jun 2005 10:20:49 +0200, Arno Lehmann [EMAIL PROTECTED] said: Arno Hello, Arno Siju George wrote: On 6/20/05, Siju George [EMAIL PROTECTED] wrote: Hi, I am looking at Bacula but the line # Files deleted after a Full save will be included in a restoration. in http://www.bacula.org/rel-manual/Current_State_Bacula.html under Current Implementation Restrictions makes me a little apprhensive. Is Bacula actually not able to backup Directory structures?? i.e If in a Directory dir1 I have file1, file2 file3 and I take a full backup backup1 on Day1 the I delete file2 from dir1 and take a differential backup backup2. Now I should be able to restore dir1 from backup2 with only file1 and file2 Sorry :-( this should read as file1 file3 Arno You _can_ restore file1 file2 and file3 in dir1. However, when you use Arno bacula to manage a restore and tell it to make a complete restore it Arno will restore all three files. Arno If you tell bacula to only use the differential backup then, of course, Arno file2 will not be restored. Usually you will not do this because it's Arno baculas job to keep track which jobs and volumes it needs to restore :-) Arno So, of course bacula saves and retrieves directory structure, but it Arno does not keep track of deletions. Arno The latter would require a complete compare of all directory entries to Arno be backed up with what bacula has in its catalog and thus would be very Arno resource intensive. Done correctly, it should be possible to do all the work in restore for filesystems that work properly. Backup just has to record the inode number for each changed file. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: Backup of directory structures
On Tue, 28 Jun 2005 09:39:51 +0530, Siju George [EMAIL PROTECTED] said: Siju DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; Siju On 6/28/05, Martin Simmons [EMAIL PROTECTED] wrote: On Mon, 20 Jun 2005 10:20:49 +0200, Arno Lehmann [EMAIL PROTECTED] said: Arno Hello, Arno Siju George wrote: On 6/20/05, Siju George [EMAIL PROTECTED] wrote: Hi, I am looking at Bacula but the line # Files deleted after a Full save will be included in a restoration. in http://www.bacula.org/rel-manual/Current_State_Bacula.html under Current Implementation Restrictions makes me a little apprhensive. Is Bacula actually not able to backup Directory structures?? i.e If in a Directory dir1 I have file1, file2 file3 and I take a full backup backup1 on Day1 the I delete file2 from dir1 and take a differential backup backup2. Now I should be able to restore dir1 from backup2 with only file1 and file2 Sorry :-( this should read as file1 file3 Arno You _can_ restore file1 file2 and file3 in dir1. However, when you use Arno bacula to manage a restore and tell it to make a complete restore it Arno will restore all three files. Arno If you tell bacula to only use the differential backup then, of course, Arno file2 will not be restored. Usually you will not do this because it's Arno baculas job to keep track which jobs and volumes it needs to restore :-) Arno So, of course bacula saves and retrieves directory structure, but it Arno does not keep track of deletions. Arno The latter would require a complete compare of all directory entries to Arno be backed up with what bacula has in its catalog and thus would be very Arno resource intensive. Done correctly, it should be possible to do all the work in restore for filesystems that work properly. Backup just has to record the inode number for each changed file. Siju Could you please explain how??? For each file saved in the backup, you record its full path and some unique id that remains unchanged during renaming (e.g. the inode number on UNIX). For each dir saved, you also record the names of the all files/dirs in that dir. You do both of these things for the initial full backup and subsequent incr/diff backups. During the restore of the full backup, you create a table mapping the unique ids to the full paths. Then during the restores of the incr/diff backups, you can search the table for each unique id being restored and decide if the file is new or renamed (or newly hard-linked). For directories you can check the list of names in that directory to detect deleted or renamed files. This only works on filesystems where renaming a file will change its ctime (or some other property) and where deleting a file will change the mtime (or some other property) of its directory. This is how ufsdump and star work. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: Backup of directory structures
On Tue, 28 Jun 2005 09:24:14 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Monday 27 June 2005 22:24, Martin Simmons wrote: On Mon, 20 Jun 2005 10:20:49 +0200, Arno Lehmann [EMAIL PROTECTED] said: Arno Hello, Arno Siju George wrote: On 6/20/05, Siju George [EMAIL PROTECTED] wrote: Hi, I am looking at Bacula but the line # Files deleted after a Full save will be included in a restoration. in http://www.bacula.org/rel-manual/Current_State_Bacula.html under Current Implementation Restrictions makes me a little apprhensive. Is Bacula actually not able to backup Directory structures?? i.e If in a Directory dir1 I have file1, file2 file3 and I take a full backup backup1 on Day1 the I delete file2 from dir1 and take a differential backup backup2. Now I should be able to restore dir1 from backup2 with only file1 and file2 Sorry :-( this should read as file1 file3 Arno You _can_ restore file1 file2 and file3 in dir1. However, when you use Arno bacula to manage a restore and tell it to make a complete restore it Arno will restore all three files. Arno If you tell bacula to only use the differential backup then, of course, Arno file2 will not be restored. Usually you will not do this because it's Arno baculas job to keep track which jobs and volumes it needs to restore :-) Arno So, of course bacula saves and retrieves directory structure, but it Arno does not keep track of deletions. Arno The latter would require a complete compare of all directory entries to Arno be backed up with what bacula has in its catalog and thus would be very Arno resource intensive. Kern One day in the near future, I will do exactly this. I've now finally figured Kern out a simple way to do this -- but darn, I forgot to write it down. Oh well, Kern it will come to me again :-) Done correctly, it should be possible to do all the work in restore for filesystems that work properly. Backup just has to record the inode number for each changed file. Kern The problem is that inode is a machine specific concept. Though it can be Kern simulated, it doesn't exist on Win32 or Mac (well perhaps on OS X). Though Kern this would work nicely as you say, I always like to do things in machine Kern independent ways. Good luck remembering it -- I don't see how you can do it without the inode number to detect which files are the same! __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: Backup of directory structures
On Tue, 28 Jun 2005 17:11:12 +0530, Siju George [EMAIL PROTECTED] said: Siju DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; Siju On 6/28/05, Martin Simmons [EMAIL PROTECTED] wrote: Siju Could you please explain how??? For each file saved in the backup, you record its full path and some unique id that remains unchanged during renaming (e.g. the inode number on UNIX). For each dir saved, you also record the names of the all files/dirs in that dir. You do both of these things for the initial full backup and subsequent incr/diff backups. During the restore of the full backup, you create a table mapping the unique ids to the full paths. Then during the restores of the incr/diff backups, you can search the table for each unique id being restored and decide if the file is new or renamed (or newly hard-linked). For directories you can check the list of names in that directory to detect deleted or renamed files. This only works on filesystems where renaming a file will change its ctime (or some other property) and where deleting a file will change the mtime (or some other property) of its directory. This is how ufsdump and star work. Siju Thanks a million Martin for the explanation but it seems a little Siju complicating for me at present. The only backup utility I ever used is Siju the windows one. Siju There you can take a normal backup first ( full backup) and then take Siju differential backup every time and if you restore a differential Siju backup you will get exactly the same contents that was there at the Siju time the differential backup was taken. Siju Is there no utility in Linux that will simply do this??? Yes, AFAIK ufsdump and star (http://freshmeat.net/projects/star/) can both do it. They don't have any volume management facilities like Bacula does though. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: Backup of directory structures
On Tue, 28 Jun 2005 15:44:17 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Tuesday 28 June 2005 12:57, Martin Simmons wrote: Kern ... it Arno does not keep track of deletions. Arno The latter would require a complete compare of all directory entries to Arno be backed up with what bacula has in its catalog and thus would be very Arno resource intensive. Kern One day in the near future, I will do exactly this. I've now finally figured Kern out a simple way to do this -- but darn, I forgot to write it down. Oh well, Kern it will come to me again :-) Done correctly, it should be possible to do all the work in restore for filesystems that work properly. Backup just has to record the inode number for each changed file. Kern The problem is that inode is a machine specific concept. Though it can be Kern simulated, it doesn't exist on Win32 or Mac (well perhaps on OS X). Though Kern this would work nicely as you say, I always like to do things in machine Kern independent ways. Good luck remembering it -- I don't see how you can do it without the inode number to detect which files are the same! Kern To track deletions, you don't need the inode, just the full path and filename. Kern If it is no longer there, it is no longer there. If it is there and has been Kern re-created with a different inode, it will be backed up because of the time Kern change, so there is no problem. Kern My trick for keeping track of deletions is the following. Assuming the user Kern turns on this option, after all the files have been backed up, but before the Kern job has terminated, the FD will make a pass through all the files and send Kern their names to the DIR (*exactly* the same as what a Verify job currently Kern does). This will probably be done at the same time the files are being sent Kern to the SD avoiding a second pass. The DIR will then compare that to what is Kern stored in the catalog. Any files in the catalog but not in what the FD sent Kern will receive a catalog File entry that indicates that at that point in time Kern the file was deleted. Kern During a restore, any file initially picked up by some backup (Full, ...) then Kern subsequently having a File entry marked delete will be removed from the Kern tree, so will not be restored. If a file with the same name is later OK it Kern will be inserted in the tree -- this already happens. All will be consistent Kern except for possible changes during the running of the FD. Ok, that should cover the basics. There are few issues though: - Restore will depend on the catalog. I think it is better to include the extra data in the backup as well, so it can be seen by bscan and bextract. - I'm not sure if it will preserve multiple hard links to the same inode. Or maybe adding or removing links will cause the data to be dumped again? - I'm not sure if it will handle renamed directories. Possibly it will work by dumping the whole tree under a renamed directory? - It remains to be seen how the backup performance of the DIR's will be affected when comparing the catalog for a large filesystem. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: Estimate shows that File=\\|find dir -mtime -1 produces duplicate listing
On Mon, 4 Jul 2005 12:29:57 +1000, Jesus Salvo Jr. [EMAIL PROTECTED] said: JS On Monday 04 July 2005 11:58, Jesus Salvo Jr. wrote: Now to test it out, I ran: * estimate job=syddb280r-sybdump listing Connecting to Client syddb280r-fd at 10.0.21.65:9102 2000 OK estimate files=753 bytes=82,962,185,218 Note that it says 753 files, but if I run: find /u03/sybbackup/syddbshared -mtime -1 ... from a shell on the backup client, it only shows me 212 files. JS Also ... the directory including any of its subdirectories does not contain JS any more than 287 files. I think the problem is that find prints all the directories too, so Bacula is doing a recursive scan of those, as well as backing up the files that find prints. What happens if you use: find /u03/sybbackup/syddbshared -type f -mtime -1 or find /u03/sybbackup/syddbshared -not -type d -mtime -1 __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula MKNOD Errors
On Wed, 06 Jul 2005 15:33:33 -0700, Michael Reith [EMAIL PROTECTED] said: Michael Does anyone else here have problems restoring files from disk, on Michael OPENBSD platforms.. I think this might be a general bug that should be Michael addressed.. please if anyone else is having restoration problems with Michael OpenBSD respond to this.. and explain how you fixed it or paste similar Michael errors. Michael 06-Jul 22:16 stat-fd: RestoreFiles.2005-07-06_15.17.00 Error: create_file.c:203 Cannot make node /bacula-rest/var/cron/tabs/.sock: ERR=Invalid argument The same problem occurred for me on FreeBSD and is due to a difference in what the mknod() function can do compared to Linux. I 'solved' it adding the paths of the these sockets to the Exclude list. This doesn't fix the problem for existing backups, but it prevents them getting into new backups (the OS should recreate them anyway) __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] file-list
On Wed, 06 Jul 2005 19:30:48 -0300, Maurizio Santini [EMAIL PROTECTED] said: Maurizio Hello, Maurizio I'm trying to set up bacula 1.36.3 on redhat 8 but I have the following Maurizio problem. Maurizio Instead of listing all the directory/files I want to backup within the Maurizio FileSet/Include directive I set up a file with the directories/files I Maurizio want to backup. Maurizio bacula-dir.conf looks like this... Maurizio FileSet { Maurizio Name = Monitor0 files Maurizio Include { Maurizio Options { Maurizio signature = MD5 Maurizio } Maurizio File = @/root/bacula/bin/file_list/monitor_pc/monitor0.list Maurizio } Maurizio } Maurizio ...and monitor0.list like this... Maurizio File = /boot/message, File = /boot/map, File = /boot/kernel.h Maurizio The configuration looks OK because I can restart bacula with no problems Maurizio but when I try to backup the client I get the error Could not stat Maurizio File: ERR=No such file or directory. Maurizio monitor0.list is on the director's machine. Maurizio Does anyone know if I'm configuring wrong monitor0.list or Maurizio bacula-dir.conf? The @ operator includes monitor0.list as if it was inline in bacula-dir.conf, so you have created the following: File = File = /boot/message, File = /boot/map, File = /boot/kernel.h To get what you want, I suggest creating monitor0.list to contain this: File = /boot/message File = /boot/map File = /boot/kernel.h and using it like this: FileSet { Name = Monitor0 files Include { Options { signature = MD5 } @/root/bacula/bin/file_list/monitor_pc/monitor0.list } } __Martin --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] file-list
On Mon, 11 Jul 2005 14:55:02 -0300, Maurizio Santini [EMAIL PROTECTED] said: Maurizio That it was my first configuration but it always throw the error Maurizio Could not stat File: ERR=No such file or directory If you are using File = /what_ever_path/file.list, then you need to have /what_ever_path/file.list containing just the filenames, 1 per line. E.g. /boot/message /boot/map /boot/kernel.h __Martin On Monday 11 July 2005 10:10 am, Maurizio Santini wrote: It worked! Bacula's manual should be corrected because it says to use File = @/what_ever_path/file.list but as you suggested the word File is not needed in bacula-dir.conf when the @ operator is used. Thank you very much, Maurizio Maurizio, Something to keep in mind is that @/what_ever_path/file.list will be read only when you start bacula-director or issue the reload command from bconsole. This may be what you intend, but if file.list will be changing regularly you may wish to use the File = /what_ever_path/file.list construct, which will be read every time you run a backup job. Cheers! cmr On Thu, 2005-07-07 at 17:42, Martin Simmons wrote: On Wed, 06 Jul 2005 19:30:48 -0300, Maurizio Santini [EMAIL PROTECTED] said: Maurizio Hello, Maurizio I'm trying to set up bacula 1.36.3 on redhat 8 but I have the following Maurizio problem. Maurizio Instead of listing all the directory/files I want to backup within the Maurizio FileSet/Include directive I set up a file with the directories/files I Maurizio want to backup. Maurizio bacula-dir.conf looks like this... Maurizio FileSet { Maurizio Name = Monitor0 files Maurizio Include { Maurizio Options { Maurizio signature = MD5 Maurizio } Maurizio File = @/root/bacula/bin/file_list/monitor_pc/monitor0.list Maurizio } Maurizio } Maurizio ...and monitor0.list like this... Maurizio File = /boot/message, File = /boot/map, File = /boot/kernel.h Maurizio The configuration looks OK because I can restart bacula with no problems Maurizio but when I try to backup the client I get the error Could not stat Maurizio File: ERR=No such file or directory. Maurizio monitor0.list is on the director's machine. Maurizio Does anyone know if I'm configuring wrong monitor0.list or Maurizio bacula-dir.conf? The @ operator includes monitor0.list as if it was inline in bacula-dir.conf, so you have created the following: File = File = /boot/message, File = /boot/map, File = /boot/kernel.h To get what you want, I suggest creating monitor0.list to contain this: File = /boot/message File = /boot/map File = /boot/kernel.h and using it like this: FileSet { Name = Monitor0 files Include { Options { signature = MD5 } @/root/bacula/bin/file_list/monitor_pc/monitor0.list } } __Martin --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Maurizio --- Maurizio This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening Maurizio July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual Maurizio core and dual graphics technology at this free one hour event hosted by HP, Maurizio AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar Maurizio ___ Maurizio Bacula-users mailing list Maurizio Bacula-users@lists.sourceforge.net Maurizio https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] rsync or another kind of delta compression
On Mon, 11 Jul 2005 20:35:46 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Monday 11 July 2005 18:50, Phil Stracchino wrote: On Mon, Jul 11, 2005 at 11:44:36AM +0200, Ren? Brask S?rensen wrote: Hi All Don't know if this is the right list to ask. I have been looking through the bacula documentation but couldn't find anything about delta compression. Do backula support any kind of delta compression ? or are there any plans for implementing it i future releases ? I'm asking because it frustrates me that I every night transfer one file that's over 1Gb. If I had a tool which supports delta compression I could greatly reduce the amount of data transfered. This is something that has been discussed in the past, but no-one has yet worked on an implementation to my knowledge. Kern I haven't read about how rsync and zsync work, but I suspect that it is called Kern delta comparison rather than delta compression since the incremental backup Kern of only what changed is based on a rolling file signature or checksum rather Kern than a compression technique. In fact, compressing the files can create Kern important problems for these techniques. Kern I don't see how the same technique can be used with Bacula or any other Kern program that does not store the files in a directory tree on disk. These Kern techniques seem to require having the previously backed up file available for Kern comparison during subsequent backups. If someone has an idea how to Kern implement this without having backed up files online, please let me know. Maybe storing the checksums of the original file blocks would suffice? That is still a significant amount of data, but less than the file itself. __Martin --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] rsync or another kind of delta compression
On Thu, 14 Jul 2005 11:15:59 +0200, =?ISO-8859-1?Q?Ren=E9_Brask_S=F8rensen?= [EMAIL PROTECTED] said: René Martin Simmons wrote: On Wed, 13 Jul 2005 12:32:19 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Wednesday 13 July 2005 11:44, Martin Simmons wrote: On Mon, 11 Jul 2005 20:35:46 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Monday 11 July 2005 18:50, Phil Stracchino wrote: On Mon, Jul 11, 2005 at 11:44:36AM +0200, Ren? Brask S?rensen wrote: Hi All Don't know if this is the right list to ask. I have been looking through the bacula documentation but couldn't find anything about delta compression. Do backula support any kind of delta compression ? or are there any plans for implementing it i future releases ? I'm asking because it frustrates me that I every night transfer one file that's over 1Gb. If I had a tool which supports delta compression I could greatly reduce the amount of data transfered. This is something that has been discussed in the past, but no-one has yet worked on an implementation to my knowledge. Kern I haven't read about how rsync and zsync work, but I suspect that it is called Kern delta comparison rather than delta compression since the incremental backup Kern of only what changed is based on a rolling file signature or checksum rather Kern than a compression technique. In fact, compressing the files can create Kern important problems for these techniques. Kern I don't see how the same technique can be used with Bacula or any other Kern program that does not store the files in a directory tree on disk. These Kern techniques seem to require having the previously backed up file available for Kern comparison during subsequent backups. If someone has an idea how to Kern implement this without having backed up files online, please let me know. Maybe storing the checksums of the original file blocks would suffice? That is still a significant amount of data, but less than the file itself. Kern This is already done providing you enable either MD5 or SHA1 signatures. This Kern will be used in the Base implementation. OK, but the client or director would have to keep *per block* checksums available online so the next differential backup can compare them. René If you are using rsync you don't have to store the block checksums René neighter on the server nor client. They are calculated on the server at René runtime. That's the default behavior of the rsync network protocol. I René don't know if it's possible, with rsync, to store only the delta of a René file on the server, again the default behavior is the the server have René the whole file of every version. But it should be possible to overcome René this behavior. Indeed some versions of rsync include an experimental batch mode which provides part of what is needed by storing the checksums (see http://www.ils.unc.edu/i2dsi/unc_rsync+.html) but I think it still needs two complete copies of the file. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula fails to backup files with old/moved file stamp
On Fri, 15 Jul 2005 23:46:00 +0200, Arno Lehmann [EMAIL PROTECTED] said: Arno Volker Sauer wrote: On Fr, 15 Jul 2005, Mario Ohnewald wrote: In my eyes this is a huge bug. Lets says you have a big home directory with a couple of projects and sourcecode files in there, and you reorganize the folder structure and you move some files and folders around. All this then would NOT be included in a backup! What's the point of a backup then? In this case you should submit a bug in the bug database at bacula.org. Arno Indeed. Arno According to bacula's manual, Director configuration, Jobs, Job Level Arno Incremental: Arno The File daemon (Client) decides which files to backup for an Arno Incremental backup by comparing start time of the prior Job (Full, Arno Differential, or Incremental) against the time each file was last Arno ``modified'' (st_mtime) and the time its attributes were last Arno ``changed''(st_ctime). If the file was modified or its attributes Arno changed on or after this start time, it will then be backed up. Arno So, a mv'ed file should be backed up: Arno # ls datetest Arno # ls -l datetest Arno -rw-r--r-- 1 root root 944 Jul 15 23:20 datetest Arno # ls -lc datetest Arno -rw-r--r-- 1 root root 944 Jul 15 23:20 datetest Arno # sleep 60; mv datetest testdate Arno # ls -lc testdate Arno -rw-r--r-- 1 root root 944 Jul 15 23:21 testdate Arno # ls -l testdate Arno -rw-r--r-- 1 root root 944 Jul 15 23:20 testdate Arno So, at least o my linux box the ctime is modified by mv'ing a file - Arno which is correct concerning POSIX etc. standards, I believe. Arno Accordingly, bacula should back up this file. Correct, but if you move a directory then the files within it do not change ctime or mtime and hence will not be backed up. E.g. # mkdir -p test1/inner test2 # ls test1/inner/datetest # ls -l test1/inner/datetest # ls -lc test1/inner/datetest # sleep 60; mv test1/inner test2 # ls -lc test2/inner/datetest In fact, they probably shouldn't be backed up -- it is another variant of the problem with incr/diff restore not restoring renamed things correctly. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula fails to backup files with old/moved file stamp
On Thu, 21 Jul 2005 17:59:22 +0200, Mario Ohnewald [EMAIL PROTECTED] said: Mario On Tue, 2005-07-19 at 20:19 +0100, Martin Simmons wrote: On Mon, 18 Jul 2005 21:31:56 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Monday 18 July 2005 19:32, Martin Simmons wrote: On Fri, 15 Jul 2005 23:46:00 +0200, Arno Lehmann [EMAIL PROTECTED] said: Arno Volker Sauer wrote: On Fr, 15 Jul 2005, Mario Ohnewald wrote: In my eyes this is a huge bug. Lets says you have a big home directory with a couple of projects and sourcecode files in there, and you reorganize the folder structure and you move some files and folders around. All this then would NOT be included in a backup! What's the point of a backup then? In this case you should submit a bug in the bug database at bacula.org. Arno Indeed. Arno According to bacula's manual, Director configuration, Jobs, Job Level Arno Incremental: Arno The File daemon (Client) decides which files to backup for an Arno Incremental backup by comparing start time of the prior Job (Full, Arno Differential, or Incremental) against the time each file was last Arno ``modified'' (st_mtime) and the time its attributes were last Arno ``changed''(st_ctime). If the file was modified or its attributes Arno changed on or after this start time, it will then be backed up. Arno So, a mv'ed file should be backed up: Arno # ls datetest Arno # ls -l datetest Arno -rw-r--r-- 1 root root 944 Jul 15 23:20 datetest Arno # ls -lc datetest Arno -rw-r--r-- 1 root root 944 Jul 15 23:20 datetest Arno # sleep 60; mv datetest testdate Arno # ls -lc testdate Arno -rw-r--r-- 1 root root 944 Jul 15 23:21 testdate Arno # ls -l testdate Arno -rw-r--r-- 1 root root 944 Jul 15 23:20 testdate Arno So, at least o my linux box the ctime is modified by mv'ing a file - Arno which is correct concerning POSIX etc. standards, I believe. Arno Accordingly, bacula should back up this file. Correct, but if you move a directory then the files within it do not change ctime or mtime and hence will not be backed up. E.g. # mkdir -p test1/inner test2 # ls test1/inner/datetest # ls -l test1/inner/datetest # ls -lc test1/inner/datetest # sleep 60; mv test1/inner test2 # ls -lc test2/inner/datetest In fact, they probably shouldn't be backed up -- it is another variant of the problem with incr/diff restore not restoring renamed things correctly. Kern I would word it differently, because as far as I know restore always restores Kern correctly what is backed up. Kern It is another variant of the fact that Bacula uses timestamps for diff/inc Kern backups so doesn't know when files are deleted, and if files are added with Kern old timestamps, it doesn't know they are added -- until you do a full save. Well, yes, you can say that it is a bug in backup too because it doesn't save enough information for restore to work :-) Mario As far as i understood it, a moved file should change its timestamp (due Mario to the postix standard), and therefore it should be included in the Mario backup. Yes, the ctime is changed by mv on many UNIX filesystems. However, in your original post you seemed to be moving the directory /tmp/trash_big_files. While the ctime of that directory might change, the ctimes of the files within it will not change unless /tmp and /home are on different partitions. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula fails to backup files with old/moved file stamp
On Thu, 21 Jul 2005 20:15:43 +0200, Mario Ohnewald [EMAIL PROTECTED] said: Mario On Thu, 2005-07-21 at 18:58 +0100, Martin Simmons wrote: On Thu, 21 Jul 2005 17:59:22 +0200, Mario Ohnewald [EMAIL PROTECTED] said: Mario On Tue, 2005-07-19 at 20:19 +0100, Martin Simmons wrote: On Mon, 18 Jul 2005 21:31:56 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Monday 18 July 2005 19:32, Martin Simmons wrote: On Fri, 15 Jul 2005 23:46:00 +0200, Arno Lehmann [EMAIL PROTECTED] said: Arno Volker Sauer wrote: On Fr, 15 Jul 2005, Mario Ohnewald wrote: In my eyes this is a huge bug. Lets says you have a big home directory with a couple of projects and sourcecode files in there, and you reorganize the folder structure and you move some files and folders around. All this then would NOT be included in a backup! What's the point of a backup then? In this case you should submit a bug in the bug database at bacula.org. Arno Indeed. Arno According to bacula's manual, Director configuration, Jobs, Job Level Arno Incremental: Arno The File daemon (Client) decides which files to backup for an Arno Incremental backup by comparing start time of the prior Job (Full, Arno Differential, or Incremental) against the time each file was last Arno ``modified'' (st_mtime) and the time its attributes were last Arno ``changed''(st_ctime). If the file was modified or its attributes Arno changed on or after this start time, it will then be backed up. Arno So, a mv'ed file should be backed up: Arno # ls datetest Arno # ls -l datetest Arno -rw-r--r-- 1 root root 944 Jul 15 23:20 datetest Arno # ls -lc datetest Arno -rw-r--r-- 1 root root 944 Jul 15 23:20 datetest Arno # sleep 60; mv datetest testdate Arno # ls -lc testdate Arno -rw-r--r-- 1 root root 944 Jul 15 23:21 testdate Arno # ls -l testdate Arno -rw-r--r-- 1 root root 944 Jul 15 23:20 testdate Arno So, at least o my linux box the ctime is modified by mv'ing a file - Arno which is correct concerning POSIX etc. standards, I believe. Arno Accordingly, bacula should back up this file. Correct, but if you move a directory then the files within it do not change ctime or mtime and hence will not be backed up. E.g. # mkdir -p test1/inner test2 # ls test1/inner/datetest # ls -l test1/inner/datetest # ls -lc test1/inner/datetest # sleep 60; mv test1/inner test2 # ls -lc test2/inner/datetest In fact, they probably shouldn't be backed up -- it is another variant of the problem with incr/diff restore not restoring renamed things correctly. Kern I would word it differently, because as far as I know restore always restores Kern correctly what is backed up. Kern It is another variant of the fact that Bacula uses timestamps for diff/inc Kern backups so doesn't know when files are deleted, and if files are added with Kern old timestamps, it doesn't know they are added -- until you do a full save. Well, yes, you can say that it is a bug in backup too because it doesn't save enough information for restore to work :-) Mario As far as i understood it, a moved file should change its timestamp (due Mario to the postix standard), and therefore it should be included in the Mario backup. Yes, the ctime is changed by mv on many UNIX filesystems. However, in your original post you seemed to be moving the directory /tmp/trash_big_files. While the ctime of that directory might change, the ctimes of the files within it will not change Mario If this case is how it should be (regarding to the postix standards), Mario then bacula will NOT backup those files which are in Mario my /tmp/trash_big_files folder, right? Mario It will only backup the trash_big_files foler itself? Correct. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] corrupt files on full restore
Some random ideas below. On Tue, 19 Jul 2005 21:37:54 -0400, Theron Toomey [EMAIL PROTECTED] said: Theron Hello, Theron I'm seeing some strange behavior with restores under 1.36.3/RHEL 3 using Theron an AIT-3 drive. I'm not quite sure what is causing it and I'd really Theron appreciate any suggestions. Theron When I choose restore option 5 (Select the most recent backup) bacula Theron proceeds to restore data from the last full and subsequent diff/incr Theron jobs. However, for large restores (50 GB), I notice a few dozen error Theron messages like: Theron Error: attribs.c:339 File size of restored file /foo/bar not correct. Theron Original [file size], restored [large, bogus file size]. Theron Comparing the restores against the live data, I see that the restored Theron files have lots of random garbage inserted/appended to them. Theron However, when I manually find the jobIDs of the full/diffs/incrs and Theron restore them individually with restore option 3, there is no corruption Theron and the files all seem fine. Does individually mean one at a time, i.e. repeated use of option 3? If so, do you get corruption if you enter all the jobIDs into a single option 3 in the same order as bacula chose from option 5? Theron Most of the corrupt files are older than the last full; Perhaps there's Theron something in the diff/incr jobs that corrupts the files from the full Theron job. However, most of the corrupt files are older than the last full and Theron so are not even present in the diff/incr jobs. Theron Has anyone seen behavior like this or have any ideas about where to look? For a particular restore, is it always the same files that are corrupted? If yes, is the garbage really random or is it the same garbage each time? Also, what happens if you use option 5 but only mark one of the corrupted files for restore? __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ACL's with Bacula on FreeBSD (resend)
On Wed, 20 Jul 2005 12:15:23 -0600, Tony Lambregts [EMAIL PROTECTED] said: Tony I have ACL's working on our FreeBSD Server using Samba but when I Tony tried to backup and restore the files using Bacula I was unable to Tony restore the ACL's. When I investigated I discovered that Bacula Tony configured itself to have ACL support: no. I compiled it from Tony soure using ports (bacula-1.36.2) The relevant portion of the Tony configure check is as follows. Tony checking sys/acl.h usability... yes Tony checking sys/acl.h presence... yes Tony checking for sys/acl.h... yes Tony checking for acl_get_file in -lacl... no Tony From my research that last test is only really valid on linux. Tony I would really like to know how to get Bacula to backup and restore Tony ACL's on FreeBSD. Is this a known issue that has a simple fix or have Tony I missed something? You could try hacking configure to use -lposix1e instead of -lacl. YMMV. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ACL's with Bacula on FreeBSD (resend)
On Mon, 25 Jul 2005 16:09:59 -0600, Tony Lambregts [EMAIL PROTECTED] said: Tony On 7/22/05, Martin Simmons [EMAIL PROTECTED] wrote: On Wed, 20 Jul 2005 12:15:23 -0600, Tony Lambregts [EMAIL PROTECTED] said: Tony I have ACL's working on our FreeBSD Server using Samba but when I Tony tried to backup and restore the files using Bacula I was unable to Tony restore the ACL's. When I investigated I discovered that Bacula Tony configured itself to have ACL support: no. I compiled it from Tony soure using ports (bacula-1.36.2) The relevant portion of the Tony configure check is as follows. Tony checking sys/acl.h usability... yes Tony checking sys/acl.h presence... yes Tony checking for sys/acl.h... yes Tony checking for acl_get_file in -lacl... no Tony From my research that last test is only really valid on linux. Tony I would really like to know how to get Bacula to backup and restore Tony ACL's on FreeBSD. Is this a known issue that has a simple fix or have Tony I missed something? You could try hacking configure to use -lposix1e instead of -lacl. YMMV. __Martin Tony Well I'm not sure that I did this correctly since configure still come Tony up with a NO for ACL support. The following is how I modified Tony configure Tony --- configure.orig Fri Feb 25 02:46:49 2005 Tony +++ configure Mon Jul 25 17:59:02 2005 Tony @@ -20553,13 +20553,13 @@ Tony fi Tony -echo $as_me:$LINENO: checking for acl_get_file in -lacl 5 Tony -echo $ECHO_N checking for acl_get_file in -lacl... $ECHO_C 6 Tony +echo $as_me:$LINENO: checking for acl_get_file in -lposix1e 5 Tony +echo $ECHO_N checking for acl_get_file in -lposix1e... $ECHO_C 6 Tony if test ${ac_cv_lib_acl_acl_get_file+set} = set; then Tonyecho $ECHO_N (cached) $ECHO_C 6 Tony else Tony - ac_check_lib_save_LIBS=$LIBS Tony -LIBS=-lacl $LIBS Tony + acl_check_lib_save_LIBS=$LIBS Tony +LIBS=-lposix1e $LIBS Tony cat conftest.$ac_ext _ACEOF Tony /* confdefs.h. */ Tony _ACEOF Tony @@ -20618,7 +20618,7 @@ Tony echo $as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file 5 Tony echo ${ECHO_T}$ac_cv_lib_acl_acl_get_file 6 Tony if test $ac_cv_lib_acl_acl_get_file = yes; then Tony - FDLIBS=-lacl $FDLIBS Tony + FDLIBS=-lposix1e $FDLIBS Tony fi Tony For the hell of it I modified config.h by hand and set HAVE_ACL to true. Tony #define HAVE_ACL 1 Tony This did not (surprise) work.. Tony backup.c:35:24: acl/libacl.h: No such file or directory Tony backup.c: In function `int read_send_acl(JCR*, BSOCK*, int, int)': Tony backup.c:572: error: `TEXT_ABBREVIATE' undeclared (first use this function) Tony backup.c:572: error: (Each undeclared identifier is reported only once Tony for each function it appears in.) Tony backup.c:572: error: `acl_to_any_text' undeclared (first use this function) Tony *** Error code 1 Tony Obviously it needs more than a configure check... Oh well, it looks like bacula is using non-portable acl functions. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] More questions on ssh tunnel
On Tue, 26 Jul 2005 13:32:37 -0700, Jesse Keating [EMAIL PROTECTED] said: Jesse On Tue, 2005-07-26 at 13:21 -0700, Jesse Keating wrote: Wait, I'm on to something here. The ssh process goes away almost immediately when called by Run Before Job. If I run it myself it stays running. Thoughts? Jesse And I'll reply to myself one more time. In fact, if i call the ssh Jesse script outside of bacula, issue the back, then call the script to stop Jesse the tunnel it works like a charm. So for some reason, when the script Jesse is ran in Run Before Job it kills the script immediately. So, maybe a Jesse bit more debugging is in order Strange. The use of the -N option to ssh is supposed to make it wait. Maybe there is a problem with which user is running ssh? __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically marking a tape as full
On Tue, 26 Jul 2005 14:45:54 -0700, Jesse Keating [EMAIL PROTECTED] said: Jesse After all the backups in a given week occur, I'd like to automatically Jesse mark the last tape used as full, so that the next set of backups uses a Jesse new clean tape. Is there a way to do this? Really Full and not Used? If the latter is OK, then you should be able to configure the Pool resource to make it happen automatically. If that doesn't work out, then the correct way to force the volstatus is to invoke the bconsole update command, e.g. echo 'update media volume=Daily002 volstatus=Used' | bconsole This requires that you know the volume name. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Mulitple FileSets in a job?
On Tue, 26 Jul 2005 17:06:47 -0400, Rushowr [EMAIL PROTECTED] said: Rushowr Maybe I missed it in the documentation. Can you specify multiple filesets Rushowr for a job? No. __Martin p.s. is there a good reason to send HTML email? --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula fails to backup files with old/movedfile stamp
On Wed, 27 Jul 2005 12:15:28 +0200, Palic, Darko [EMAIL PROTECTED] said: dp I was watching also this thread, due to my plans to take bacula in a dp productive system. Anyway the behaviour of bacula on moved files seems to be dp odd. dp I've written a small script to analyse the situation on a debian sarge. dp Here we go... dp snip dp Maybe this helps to analyse the problem. dp With the result of my scripts the ctime seems to be the only one, which is dp modified on moved. Correct (at least on some filesystems). dp Anyway, maybe I've missunderstood the definition of atime, ctime and mtime. dp atime=access-time dp ctime=create-time or change-time??? dp mtime=modify-time dp Could someone tell me what is the correct definition of atime/ctime/mtime? The atime is the last time that the contents of the file was accessed. The ctime is the time of last modification of file status information (ref: man ls). This includes the name, owner etc, but not the contents of the file. The mtime is the last time that the contents of the file was modified. __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] volume recycling
On Fri, 29 Jul 2005 11:00:05 +0200, Rico [EMAIL PROTECTED] said: Rico hi Rico i have made a donothing-backup-job. Rico then run donothing. Rico 29-Jul 10:23 pe2800oracle-dir: Start Backup JobId 477, Rico Job=donothing.2005-07-29_10.23.49 Rico volumeretentionperiod is over. bacula pruned the current volume and Rico changed status to recycle. till here all right. Rico 29-Jul 10:37 pe2800oracle-dir: Pruned 5 Jobs on Volume freitag1 from Rico catalog. Rico 29-Jul 10:37 pe2800oracle-dir: Recycled volume freitag1 Rico BUT then received this error-message: Rico 29-Jul 10:37 pe2800oracle-sd: Job donothing.2005-07-29_10.23.49 waiting. Rico Cannot find any appendable volumes. Rico Please use the label command to create a new Volume for: Rico Storage: LTO Ultrium 2 Rico Media type: LTO-G2 Rico Pool: Default Rico after certain time job will be canceled automatic. Rico why donothing is not using the purged and recycled volume? the jobs Rico dont wait till the purging is ready. Rico it schould working like this. Rico 1. job start Rico 2. purge volume and set status to recycle.(job must wait till purging is Rico ready) Rico 3. use the currently purged volume for backup It would be useful to post the output of list media in the console and also your pool definition for Default. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] umount blocks further usage
On Thu, 28 Jul 2005 15:46:13 -0700, Jesse Keating [EMAIL PROTECTED] said: Jesse I'd like to automatically umount the tape in the drive after the last Jesse backup for the week. This way I can come in on Monday and immediately Jesse unload the drive and eject the magazine for tape rotation. However in Jesse the past after I've done a umount in bconsole, backups wouldn't continue Jesse due to manually umounting. Is there a way to 'clear' this blocking flag Jesse so that when backups continue bacula will automatically mount the next Jesse usable volume to perform backups? Yes, this is normal behaviour. You could try adding an admin job that mounts the tape. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] umount blocks further usage
On Fri, 29 Jul 2005 14:01:38 -0700, Jesse Keating [EMAIL PROTECTED] said: Jesse On Fri, 2005-07-29 at 21:49 +0100, Martin Simmons wrote: Oh, I thought the blockage and mount command is per storage device, not per tape. Jesse It does block the storage device. It prevents the storage device from Jesse automounting the next usable tape. I have automated marking the last Jesse tape as 'Full', and I want to further automate unmounting it and Jesse unloading it from the tape drive so that when I come in on Monday I can Jesse just eject the magazine and remove the used tapes, shuffle in tapes, Jesse reinsert the magazine and update slots. After which the next time a Jesse backup would occur bacula would happily figure out what volume it can Jesse use that is available and request it be loaded into the drive and mount Jesse it for use. Jesse As it stands, it looks like I can automate the umounting and unloading, Jesse but I'll manually have to load a drive and mount it from bconsole to Jesse clear the block flag. Jesse Is there a better way to accomplish what I'm trying to do? Just a way Jesse to say 'I'm done w/ my umount stuff, feel free to manage the device now' Jesse and walk away? I must be missing something here, but isn't update slots a manual operation too? If so, can't you write a script to mount and then update? __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] volume recycling
On Tue, 02 Aug 2005 10:37:20 +0200, Rico [EMAIL PROTECTED] said: Rico it failed again. the admin job was ok. the volume was pruned and Rico recycled but thepig-job failed. The output looks normal to me, except for when the sd says Cannot find any appendable volumes. This could be a bug, so I suggest you report it at http://bugs.bacula.org/ including the latest console output. __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] volume recycling
On Tue, 2 Aug 2005 13:43:16 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Tuesday 02 August 2005 13:16, Martin Simmons wrote: On Tue, 02 Aug 2005 10:37:20 +0200, Rico [EMAIL PROTECTED] said: Rico it failed again. the admin job was ok. the volume was pruned and Rico recycled but thepig-job failed. The output looks normal to me, except for when the sd says Cannot find any appendable volumes. This could be a bug, so I suggest you report it at http://bugs.bacula.org/ including the latest console output. Kern I would suggest distilling the problem down to the very essence. From what I Kern saw (briefly) in the emails exchanged, I would have a hard time figuring out Kern what is not working correctly. I think this is the pertinent bit of the output. How can pe2800oracle-sd run between the Pruned and Recycled messages? 01-Aug 22:03 pe2800oracle-dir: Start Backup JobId 487, Job=thepig.2005-08-01_20.00.01 01-Aug 22:13 pe2800oracle-dir: Pruned 5 Jobs on Volume montag2 from catalog. 01-Aug 22:13 pe2800oracle-sd: Job thepig.2005-08-01_20.00.01 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: LTO Ultrium 2 Media type: LTO-G2 Pool: Default 01-Aug 23:13 pe2800oracle-dir: Recycled volume montag2 __Martin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] volume recycling
On Tue, 2 Aug 2005 23:16:08 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Tuesday 02 August 2005 19:31, Martin Simmons wrote: On Tue, 2 Aug 2005 13:43:16 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Tuesday 02 August 2005 13:16, Martin Simmons wrote: On Tue, 02 Aug 2005 10:37:20 +0200, Rico [EMAIL PROTECTED] said: Rico it failed again. the admin job was ok. the volume was pruned and Rico recycled but thepig-job failed. The output looks normal to me, except for when the sd says Cannot find any appendable volumes. This could be a bug, so I suggest you report it at http://bugs.bacula.org/ including the latest console output. Kern I would suggest distilling the problem down to the very essence. From what I Kern saw (briefly) in the emails exchanged, I would have a hard time figuring out Kern what is not working correctly. I think this is the pertinent bit of the output. How can pe2800oracle-sd run between the Pruned and Recycled messages? 01-Aug 22:03 pe2800oracle-dir: Start Backup JobId 487, Job=thepig.2005-08-01_20.00.01 01-Aug 22:13 pe2800oracle-dir: Pruned 5 Jobs on Volume montag2 from catalog. 01-Aug 22:13 pe2800oracle-sd: Job thepig.2005-08-01_20.00.01 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: LTO Ultrium 2 Media type: LTO-G2 Pool: Default 01-Aug 23:13 pe2800oracle-dir: Recycled volume montag2 __Martin Kern Well, I don't see anything running between messages, and I'm unsure what you Kern mean. If you are trying to tie sequences of messages to their display order Kern when they come from different daemons via the network and different threads Kern and do not have thousandths of seconds in the time stamp, good luck. Yes, it was the display order. In particular, I thought that the Pruned 5 Jobs and Recycled volume Director messages were both emited inside the Find_media request from the SD. During this time, the SD should be waiting so I was surprised that the SD's Cannot find any appendable volumes. message came before the Recycled volume message. Someone else posted this sequence: 04-Aug 01:02 hunter-dir: Pruned 8 Jobs on Volume D03 from catalog. 04-Aug 01:02 hunter-dir: Pruned 1 Job on Volume D04 from catalog. 04-Aug 01:02 hunter-sd: Job std-arapaho.2005-08-04_01.00.00 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: HP_DAT72 Media type: DDS-72 Pool: Daily 04-Aug 01:03 hunter-dir: Recycled volume D03 which shows it too. __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Urgent : how to install storage-sd only ???
On Fri, 5 Aug 2005 08:06:58 + (UTC), Romain [EMAIL PROTECTED] said: Romain I want to install only the storage daemon on a server. But i can't find any Romain configure option to enable only this daemon Romain (like the --enable-client-only option). Romain The problem is that i can't compile bacula as I don't have Romain any database server on this machine (and i don't want to install anyone). Romain Do you have a solution ? The configure script doesn't support this. However, it should be fairly easy to install sqlite for bacula to use without purturbing the system directories. Just unpack the depkgs archive next to the bacula directory and run 'make' in the depkgs directory. Then configure bacula with something like --with-sqlite=$BROOT/depkgs/sqlite (and build a useless Director!). __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] list files jobid and more detail
On Fri, 12 Aug 2005 09:15:48 +0100, Justin Finkelstein [EMAIL PROTECTED] said: J I'm just looking at a list of files for a job that recently finished J executing, and list files jobid=xx is quite useful in that it shows me a J list of files that were backed up. J Is it possible to see the same list, but with file sizes as well? AFAIK, there is no built-in way to do that. The information is stored in the LStat column of the File table. __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] restore complete file system branches
On Thu, 11 Aug 2005 10:54:19 + (UTC), Mick [EMAIL PROTECTED] said: Mick Martin Simmons wrote: I suggest you post your session output so we can see what options you are choosing and what the error message is. Mick I have to correct my problem description: Mick I can restore a directory even if it is empty. It is necessary to Mick conclude the path with a /. Then the directory is restored, but not Mick its content. How can I restore a complete branch? Mick Is there a possibility to tell Bacula to restore recursively from a Mick given point in the backuped file system tree? It looks like you can't do this with option 7. You have to use option 5 (Select the most recent backup for a client) and the cd and mark commands to select the directory. Bacula 1.37 beta has an extra option in restore to take a whole directory (but not its subdirs for some reason). __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula on IBM POWER5
On Thu, 11 Aug 2005 11:38:36 -0400, Stephen M. Kennedy [EMAIL PROTECTED] said: Stephen Trying to compile bacula 1.36.3 with RHEL4 on an IBM Power5 system. Stephen When I execute the configure script, it fails saying that the compiler Stephen cannot create executables. Stephen I checked the config.log (as it suggested) and found the following Stephen error. Stephen /usr/bin/ld: crt1.o: No such file: No such file or directory Stephen I assume this is because it is not looking in the /usr/lib64 directory Stephen where the file resides so I created a link to /usr/lib/crt1.o Stephen in /usr/lib (and had to do the same for crti.o) and now when I run Stephen configure it still says that the compiler cannot create executables and Stephen has the following error in config.log: Stephen /usr/bin/ld: skipping incompatible /usr/lib/gcc/ppc64-redhat- Stephen linux/3.4.3/../../../../lib/libc.so when searching for -lc Stephen Any ideas? I would guess that cc is defaulting to 32 bit but you don't have the necessary development libraries installed. Maybe you can force it to be 64 bit by setting CFLAGS=-m64 in the environment to configure? __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Storage location wierdness?
On Tue, 16 Aug 2005 16:11:45 +0200, j2 [EMAIL PROTECTED] said: j2 Why is the volumes for statler ending up in /mnt/silo-4/bacula-backups/ j2 instead of /mnt/silo-4/bacula-backups/statler/ ? j2 It works for the other hosts, but not statler? And I can't find any j2 difference in the setup of the hosts? Carefully compare the Storage = for the scooter and statler jobs. __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] VSS Problems
On Tue, 16 Aug 2005 23:14:00 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Tuesday 16 August 2005 18:37, Martin Simmons wrote: On Tue, 16 Aug 2005 14:54:59 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Tuesday 16 August 2005 12:22, Michael Riexinger wrote: Hi, I backup serveral win2003 Servers with vss. This works without problems, Kern This is good news. but sometimes i get this error: Warning: Generate VSS snapshots failed. ERR=Overlapped I/O operation is in progress. And then bacula can't backup open files. How can this be avoided? Kern It is perhaps not very helpful, but I'd say complain to Microsoft. This probably isn't the issue here, but you need to be sure that the error code isn't lost between the use of b_errno_win32 and the call to GetLastError() in berrno::strerror(). In particular, when you do something like Jmsg(jcr, M_WARNING, 0, _(Generate VSS snapshots failed. ERR=%s\n), be.strerror()); what if the _(...) form has to do file operations? Kern You will need to point me to the specific code (file:line), but Kernberrno be; Kern captures errno. So errno can be destroyed after that point and be.strerror() Kern will continue to produce correct results. Ah, of course I didn't see that because the code is in the header file...lovely C++ :-(. KernFor Win32 that may not be strictly Kern correct as there is no errno, so GetLastError() is used. As long as there is Kern not a second error in between time, there should be no problem (at least that Kern is the theory). Perhaps it would be better if the Win32 berrno constructor called GetLastError() instead of delaying it until strerror? __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring single files -- what's the best way to do it?
On Tue, 16 Aug 2005 22:07:19 +0200, Andreas Ntaflos [EMAIL PROTECTED] said: Andreas Hello list, sorry that this is a repost, I thought I might give it Andreas another shot, maybe there's someone who can answer this now. If not Andreas please ignore this :-) Andreas I am running a Bacula setup backing up a small company's fileserver with Andreas about 20GiB of data, lots of files, lots of directories. Bacula 1.34.5 Andreas on a Gentoo Linux server (client is a MacOS X.3 PowerMac). Andreas I'd like to know what the best method would be to restore one or more Andreas single files should they get deleted accidentally. Andreas From what I've seen there is only one way to do that, which is to know Andreas the exact path and file name. This is simply not possible for my users Andreas (and me). The directory structure is complicated and quite deep and the Andreas chances to be able to remember exactly where the file was or what its Andreas exact name was are very slim, especially if the users discover that they Andreas are missing a file several days later. If you know the file name but not the directory, then restore option 2: List Jobs where a given File is saved might the way to go. If you want to manually walk down the directory tree trying to guess what the name was, then use option 6: Select backup for a client before a specified time. __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: restore complete file system branches
On Fri, 19 Aug 2005 09:04:17 + (UTC), Mick [EMAIL PROTECTED] said: Mick Martin Simmons wrote: Bacula can analyse the catalog for you. Use restore option like 5: Select the most recent backup for a client which gives you an interactive way to mark files and dirs (recursively by default) for restore. Mick Thanks, but I want to restore for an earlier point in time. Mick Is there any help for this, e.g. a SQL script to generate the file list? I suggest you run the restore command and read what options it gives you. __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] VSS Problems
On Sun, 21 Aug 2005 11:29:32 +1000, Daniel Pittman [EMAIL PROTECTED] said: Daniel Kern Sibbald [EMAIL PROTECTED] writes: On Tuesday 16 August 2005 18:37, Martin Simmons wrote: On Tue, 16 Aug 2005 14:54:59 +0200, Kern Sibbald [EMAIL PROTECTED] said: Daniel [...] Jmsg(jcr, M_WARNING, 0, _(Generate VSS snapshots failed. ERR=%s\n), be.strerror()); what if the _(...) form has to do file operations? Just to let you know that in 1.37.36, I have moved the call to GetLastError() to the berrno constructor. Of course, this shouldn't be necessary if the code is correct, as it shouldn't generate any errors before the error message is printed. Daniel Just so you know, Windows has a *really* nasty habit of destroying the Daniel result of GetLastError in most of the standard functions. You really Daniel can't rely on the fact that nothing goes wrong between an error, and the Daniel call to that function, preserving the value for you. Yes, the useful ERROR: The operation completed successfully. :-) __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: [Bacula-devel] Severe problem: director hangs in production system
On Tue, 23 Aug 2005 14:44:45 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Tuesday 23 August 2005 13:35, Martin Simmons wrote: On Tue, 23 Aug 2005 12:30:45 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern Hello Volker, Kern I've now found the time to look over your debug output below. My analysis Kern leads me to believe that what is show is impossible. That is the code flow Kern as created in the source code cannot possibly do what is indicated in the Kern dump. What is shown in the dump is that the subroutine get_next_jcr_ is Kern recursively called with the same argument (not possible). This will almost Kern surely lead to a blocked situation. Kern How could this happen? Bad compiler code, an interrupt that happens and Kern restarts the stack at the wrong point, memory error (I doubt), ... I doubt that is really happening -- much more likely is that gdb can't understand the stack. Look at the other threads and you'll see that jobq_server appears to call jobq_server! In all these cases, the extra call happens where there is a real call to something like pthread_mutex_lock. The pthread library is probably compiled with too much optimization and/or insufficient debug info for gdb to understand the stack inside there. Kern Yes, that is the first thing I thought of, but forgot to put it on the list. Kern However, if that is the case, I cannot explain the hang. It looks to me like a deadlock caused by get_next_jcr() locking the mutex in the jcr. I see that the latest code just locks the jcr chain instead, so hopefully that fixes it. __Martin __Martin From what I see there is very little I can do. Kern I've marked the place in the dump below where it is going wrong -- Thread 3 Kern stack levels 8 and 9. Kern On Friday 29 July 2005 23:31, Volker Sauer wrote: On Fr, 29 Jul 2005, Kern Sibbald [EMAIL PROTECTED] wrote: What I see from this is that everything in the Director is normal. It thinks that something like 5 jobs are running. The threads are all waiting on input from one of the other daemons, and there is no mutex dead lock situation. So, if everything is locked up, I suspect the problem is in one of the other daemons. I recommend when it is in this state to do a status on all the Clients and on the SD and see if there is anything interesting going on. Perhaps that will tell us the right place to point the debugger. Again, the director locked. This time it locked up at the first job (Client Conc. Jobs = 1) and I was *not* able to connect with bconsole. Therefore I couldn't get the status from sd or the clients. This is what gdb of bacula-dir says: (gdb) run -s -f -c /etc/bacula/bacula-dir.conf The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /usr/sbin/bacula-dir -s -f -c /etc/bacula/bacula-dir.conf [Thread debugging using libthread_db enabled] [New Thread 1078020896 (LWP 29834)] [New Thread 1086450608 (LWP 29837)] [New Thread 1094839216 (LWP 29838)] [New Thread 1103227824 (LWP 29857)] backup-dir: dird.c:438 Director's configuration file reread. [Thread 1103227824 (LWP 29857) exited] [New Thread 1103227824 (LWP 30275)] backup-dir: dird.c:438 Director's configuration file reread. [Thread 1103227824 (LWP 30275) exited] [New Thread 1103227824 (LWP 30574)] [New Thread 620528 (LWP 30575)] [New Thread 1120074672 (LWP 30577)] [New Thread 1128463280 (LWP 30578)] [New Thread 1136851888 (LWP 30580)] [New Thread 1145240496 (LWP 30581)] [New Thread 1153629104 (LWP 30582)] [New Thread 1162017712 (LWP 30644)] Program received signal SIGINT, Interrupt. [Switching to Thread 1078020896 (LWP 29834)] 0x401a6436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 (gdb) thread apply all bt Thread 13 (Thread 1162017712 (LWP 30644)): #0 0x401a4295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0x080959fc in rwl_writelock (rwl=0x80c5b80) at rwlock.c:231 #2 0x0808c8d2 in lock_jcr_chain () at jcr.c:544 #3 0x0808bd56 in new_jcr (size=1162017184, daemon_free_jcr=0xfffc) at jcr.c:218 #4 0x0807458c in new_control_jcr (base_name=0xfffc Address 0xfffc out of bounds, job_type=-4) at ua_server.c:90 #5 0x0807468e in handle_UA_client_request (arg=0x80e9d60) at ua_server.c:122 #6 0x0809e4db in workq_server (arg=0x80c5920) at workq.c:347 #7 0x401a1b63 in start_thread () from /lib/tls/libpthread.so.0 #8 0x4037318a in clone () from /lib/tls/libc.so.6 Thread 12 (Thread 1153629104 (LWP 30582)): #0 0x401a6436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0x401a3893 in _L_mutex_lock_26 () from /lib/tls
Re: [Bacula-users] bsmtp still uses the old IP address
On Mon, 22 Aug 2005 17:25:21 -0400, Ryan Novosielski [EMAIL PROTECTED] said: Ryan Make sure you did a reload, and make sure the config file you think you Ryan are using is the one you're actually using. The show all console command is useful here to see what is loaded. __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: Open Source Funding idea (Kern Sibbald)
On Fri, 26 Aug 2005 14:49:40 +0100 (BST), Alan Brown [EMAIL PROTECTED] said: Alan On Fri, 26 Aug 2005, Kern Sibbald wrote: Even the cases above, what's happened is that the companies concerned have been forced to release the sourcecode for modifications to GCC, modifications to Linux and Linux device drivers, but thay have NOT been forced to give up the proprietary software which is the real gem in their crown. This is exactly what I was referring to. If you play by the rules, those kinds of use of GPL require release of your source. Alan Reread what I wrote. Alan The cases required that GPL declarations and source releaes be made for Alan modified bits of GPL code, such as kernel, busybox - and in one case a Alan Broadcom wireless device driver which was based on another wlan driver, Alan plus modifications that Broadcaom had made to GCC (normal GCC wouldn't Alan compile the code Broadcom eventually divulged until it was noticed the GCC Alan had been modified) Alan HOWEVER, proprietary code sitting on top of the GPL code was not forced Alan into GPL, even by vector of including standard libraries (If someone Alan really doesn't want to risk it they can always go out and buy Intel's CC Alan instead of usding GCC, etc. The Intel compiler is substantially more Alan efficient than gcc anyway) Alan GPL doesn't taint everything it touches, just items which Alan include GPL code (which does NOT include header files). Alan Bacula including mysql client code which may include OpenSSL code doesn't Alan force OpenSSL or the mysql code into GPL, or any other included libraries Alan for that matter. Alan Proprietary code including lesser GPL (lGPL) libraries is not forced into Alan the GPL either. Quite correct, but isn't there a common problem is that something is GPL but you want to use a small part of it as a library? E.g. suppose you have written a non-trivial non-GPL data analysis tool with plugins for different input formats. Now if you want to add a plugin for Bacula volumes, but you won't be able to use any of the Bacula volume reading code because it will taint your whole tool with the GPL, even though you are not really make a derived work of Bacula (just a small part of it that could have been a library). __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Compiling problems on AIX 5.2
On Fri, 2 Sep 2005 08:33:33 +0200 (CEST), Daniel Kropveld [EMAIL PROTECTED] said: Daniel I have tried to compile bacula 1.36.3 (22 April 2005) on AIX 5.3.0.0 Daniel with mysql (server, client, devel) installed from the AIX rpm's. Daniel Using the following command: Daniel ./configure \ --enable-smartalloc \ --sbindir=/opt/bacula/bin \ --sysconfdir=/opt/bacula/bin \ --with-pid-dir=/opt/bacula/bin/working \ --with-subsys-dir=/opt/bacula/bin/working \ --with-working-dir=/opt/bacula/working \ --with-mysql Daniel and I got the follwing output: Daniel - Daniel (...) Daniel Doing make of dependencies Daniel make: *** No rule to make target `depend'. Stop. Were there any other signs of trouble before this? In particular, did it say 'creating Makefile'? I'm not sure if it will help, but are you using GNU make or AIX's make (try running make -v)? GNU make might work better with Bacula's Makefile. I think you do that by setting the environment variable MAKE to the path of GNU make. __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup-sd log question
On Wed, 07 Sep 2005 16:18:45 +0200, Daniel Holtkamp [EMAIL PROTECTED] said: Daniel Hello ! Daniel 07-Sep 10:58 backup-sd: Committing spooled data to Volume. Despooling Daniel 2,277,939,503 bytes ... Daniel 07-Sep 11:01 backup-sd: Alert: mtx: cannot open SCSI device '*None*' - Daniel No such file or directory Daniel 07-Sep 11:01 backup-sd: Sending spooled attrs to the Director. Daniel Despooling 9,194,993 bytes ... Daniel Uh, why does it try anything with mtx ? Daniel --- bacula-sd.conf excerpt --- Daniel Device { DanielName = backup-storage DanielDrive Index = 0 DanielMedia Type = backup-tape DanielArchive Device = /dev/nst1 DanielAutomaticMount = yes; # when device opened, read it DanielAlwaysOpen = yes; DanielRemovableMedia = yes; DanielRandomAccess = no; DanielSpool Directory = /var/backup/bacula/spool DanielAutoChanger = no DanielAlert Command = sh -c '/usr/local/sbin/tapeinfo -f %c |grep Daniel TapeAlert|cat' Daniel } Daniel -- Daniel We don`t have a tape changer just 4x LTO-1 drives attached ... The tapeinfo binary comes from the mtx package, so it might just be bad reporting. You will need to specify /dev/nst1 as the Changer Device or put /dev/nst1 instead of %c in the Alert command. __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup-sd log question
On Wed, 07 Sep 2005 22:51:37 +0200, Arno Lehmann [EMAIL PROTECTED] said: Arno Martin Simmons wrote: On Wed, 07 Sep 2005 16:18:45 +0200, Daniel Holtkamp [EMAIL PROTECTED] said: Daniel Hello ! Daniel 07-Sep 10:58 backup-sd: Committing spooled data to Volume. Despooling Daniel 2,277,939,503 bytes ... Daniel 07-Sep 11:01 backup-sd: Alert: mtx: cannot open SCSI device '*None*' - Daniel No such file or directory Daniel 07-Sep 11:01 backup-sd: Sending spooled attrs to the Director. Daniel Despooling 9,194,993 bytes ... Daniel Uh, why does it try anything with mtx ? Daniel --- bacula-sd.conf excerpt --- Daniel Device { Daniel Name = backup-storage Daniel Drive Index = 0 Daniel Media Type = backup-tape Daniel Archive Device = /dev/nst1 Daniel AutomaticMount = yes; # when device opened, read it Daniel AlwaysOpen = yes; Daniel RemovableMedia = yes; Daniel RandomAccess = no; Daniel Spool Directory = /var/backup/bacula/spool Daniel AutoChanger = no Daniel Alert Command = sh -c '/usr/local/sbin/tapeinfo -f %c |grep Daniel TapeAlert|cat' Daniel } Daniel -- Daniel We don`t have a tape changer just 4x LTO-1 drives attached ... The tapeinfo binary comes from the mtx package, so it might just be bad reporting. Arno Interesting (possible) explanation. You could check this with 'strings Arno /usr/loval/sbin/tapeinfo | grep mtx' or similar... the mtx version Arno supplied in depkgs matched, by the way. Arno Bugreport, anyone? :-) You will need to specify /dev/nst1 as the Changer Device or put /dev/nst1 instead of %c in the Alert command. Arno Better use the generic device - tapeinfo doesn't work with the tape Arno device, at least not the version I use. Ah, maybe -- I don't have a Linux tape here. It looks like the doc for Changer Device in http://www.bacula.org/dev-manual/Storage_Daemon_Configuratio.html was trying to say that but the words got lost. __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Postgres information
On Sun, 11 Sep 2005 01:11:08 -0500, Tom Bishop [EMAIL PROTECTED] said: Tom I'm having a time getting my postgres tables to drop, I had this working Tom and now I can't seem to remember which user was allowed to drop the Tom tables. I think I used the postgres user, but when I su to that user, Tom I get an error saying there is no postgres database. When I try it from Tom a user it connects to the bacula database but doesn't have the privilige Tom to delete the tables. Can anyone point me too some more detailed Tom reading on how to set up/delete the postgres tables? Thanks. The postgres superuser is called pgsql for me. e.g. try something like drop_postgresql_tables -U pgsql __Martin --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ClientRunAfterJob return code
On Tue, 20 Sep 2005 11:02:04 +0200, Stephan Ebelt [EMAIL PROTECTED] said: Stephan maybe this issue has been clarified already - I just couldn't find it. Stephan Please don't spend time reading further if that is the case. Just give Stephan me a hint where to find the discussion. Stephan My understanding from the manual is that the entire Job will (should?) Stephan terminate as '*** Backup Error ***' if the ClientRunAfterJob command Stephan returns something non-zero. Stephan I am using a bash script as ClientRunAfterJob and tried two things: Stephan exit -1 Stephan and Stephan exit 5 Stephan when returning '-1' the job ends like this (Backup OK): Exit status values should be in the range 0 to 255. What happens if you use exit 255? The other difference between your two jobs is that one has been upgraded to Full. Maybe that causes the different behaviour? Did you get some other warning in the second job? Which version of bacula is running on dd-lx-oracle3? __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bscan : Using bscan to Recreate a Catalog from a Volume
On Tue, 20 Sep 2005 15:25:09 +0200, Evelyne Cangini [EMAIL PROTECTED] said: Evelyne In the Bacula User's Guide, the command to recreate a catalog from a Evelyne volume is : Evelyne ./bscan -V TestVolume1 -v -s -m -c bacula-sd.conf /dev/nst0 Evelyne But my file bacula-sd.conf and my volume TestVolume1 are on a remote Evelyne machine. TestVolume is a disk volume (not a tape). Evelyne How can I modify the above command for recreate a catalog from my volume Evelyne on my local machine where is the Catalog and the bacula director ? Instead of /dev/nst0, use the volume file name. You have to run bscan on the machine that has that volume file and it will communicate with the Director using the bacula-sd.conf, just like bacula-sd does. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ClientRunAfterJob return code
On Wed, 21 Sep 2005 10:58:42 +0200, Stephan Ebelt [EMAIL PROTECTED] said: Stephan when returning '-1' the job ends like this (Backup OK): Exit status values should be in the range 0 to 255. What happens if you use exit 255? Stephan 'exit 255' looks similar to 'exit -1': Stephan 21-Sep 10:41 dd-lx-oracle3.dd.net-linx: DD31.2005-09-21_10.41.28 Fatal Stephan error: ClientRunAfterJob returned non-zero status=268435711. ERR=Unknown Stephan error during program execvp Stephan interesting might be that an 'exit 100' looks like: Stephan 21-Sep 10:48 dd-lx-oracle3.dd.net-linx: DD31.2005-09-21_10.48.09 Fatal Stephan error: ClientRunAfterJob returned non-zero status=268435556. ERR=Child Stephan exited with code 100 Stephan while an 'exit 200' ends up with: Stephan 21-Sep 10:49 dd-lx-oracle3.dd.net-linx: DD31.2005-09-21_10.49.23 Fatal Stephan error: ClientRunAfterJob returned non-zero status=268435656. Stephan ERR=Permission denied Stephan is bacula somehow intepreting the codes? Yes, unfortunately it looks like exit status values = 200 are used by bacula for internal purposes. The other difference between your two jobs is that one has been upgraded to Full. Maybe that causes the different behaviour? Stephan that should not be? shouldn't it? I monitor that problem for quite a Stephan while now - and I can't see a difference between Stephan Full/Incremental/Differential. Did you get some other warning in the second job? Stephan nope. I just removed the volume recycling/pruning messages from the job Stephan report. Everything else is there. Stephan Here's the complete output from the exit 255 test: Stephan 21-Sep 10:47 dd-lx-backup.dd.net-linx: Start Backup JobId 1007, Stephan Job=DD31.2005-09-21_10.47.28 Stephan 21-Sep 10:47 dd-lx-backup.dd.net-linx: Volume disk4-0008 previously Stephan written, moving to end of data. Stephan 21-Sep 10:47 dd-lx-oracle3.dd.net-linx: DD31.2005-09-21_10.47.28 Fatal Stephan error: ClientRunAfterJob returned non-zero status=268435710. ERR=Unknown Stephan error during program execvp Stephan 21-Sep 10:47 dd-lx-backup.dd.net-linx: Bacula 1.36.3 (22Apr05): Stephan 21-Sep-2005 10:47:32 StephanJobId: 1007 StephanJob:DD31.2005-09-21_10.47.28 StephanBackup Level: Incremental, since=2005-09-21 10:41:30 StephanClient: dd-lx-oracle3 StephanFileSet:Data-UNIX-Oracle 2005-08-05 19:00:01 StephanPool: disk4 StephanStorage:disk4 StephanStart time: 21-Sep-2005 10:47:30 StephanEnd time: 21-Sep-2005 10:47:32 StephanFD Files Written: 0 StephanSD Files Written: 0 StephanFD Bytes Written: 0 StephanSD Bytes Written: 0 StephanRate: 0.0 KB/s StephanSoftware Compression: None StephanVolume name(s): disk4-0008 StephanVolume Session Id: 25 StephanVolume Session Time:1127203794 StephanLast Volume Bytes: 15,614,658,447 StephanNon-fatal FD errors:0 StephanSD Errors: 0 StephanFD termination status: OK StephanSD termination status: OK StephanTermination:Backup OK Stephan 21-Sep 10:47 dd-lx-backup.dd.net-linx: Begin pruning Jobs. Stephan 21-Sep 10:47 dd-lx-backup.dd.net-linx: No Jobs found to prune. Stephan 21-Sep 10:47 dd-lx-backup.dd.net-linx: Begin pruning Files. Stephan 21-Sep 10:47 dd-lx-backup.dd.net-linx: No Files found to prune. Stephan 21-Sep 10:47 dd-lx-backup.dd.net-linx: End auto prune. Which version of bacula is running on dd-lx-oracle3? Stephan sorry, I totaly forgot: it's the bacula-client-1.36.3-1 RPM package Stephan running on FC3. Well I can't repeat this here with 1.36.3 on FreeBSD. What should happen is that the director says Fatal error: FD gave bad response to ClientRunBeforeJob command: wanted 2000 OK RunBefore got: 2905 Bad RunBeforeJob command. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] BACULA 1.37.38 AIX 4.3 Undefined symbol ERROR
On Wed, 21 Sep 2005 15:06:06 -0300, Fernanda Santoro [EMAIL PROTECTED] said: Fernanda I tried to compile BACULA 1.37.38 and gmake return another error: Fernanda ld: 0711-317 ERROR: Undefined symbol: win32_client Fernanda ld: 0711-317 ERROR: Undefined symbol: TERM_msg Fernanda ld: 0711-317 ERROR: Undefined symbol: OK_msg Fernanda ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more Fernanda information. Fernanda collect2: ld returned 8 exit status Fernanda gmake[1]: *** [bconsole] Error 1 Fernanda gmake[1]: Leaving directory `/tmp/bacula/bacula-1.37.38/src/console' Assuming it is linking bconsole here, that is strange because that doesn't reference those symbols. Are those the only errors? I suspect that ld might be brokenly pulling in too much of libbac. Did it run ranlib on libbac.a? Was this in a clean directory? If not, try running make clean before make. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ClientRunAfterJob return code
On Wed, 21 Sep 2005 16:49:57 +0200, Stephan Ebelt [EMAIL PROTECTED] said: Stephan Martin Simmons wrote: Well I can't repeat this here with 1.36.3 on FreeBSD. What should happen is that the director says Fatal error: FD gave bad response to ClientRunBeforeJob command: wanted 2000 OK RunBefore got: 2905 Bad RunBeforeJob command. Stephan now we get closer: I modified my ClientRunBeforeJob to exit with 100. Stephan And I get exactly what your director says. Here's the output: Interesting. What is the largest number that behaves like this? Stephan looks like it's 199. I suppose that makes sense in a warped kind of way :-) Does returning 5 like you did initially always return in Backup OK -- with warnings with Non-fatal FD errors: 1? Stephan as ClientRunAfterJob it does. Ah, sorry, I misread your original post and was looking at ClientRunBeforeJob. However, I still don't get any Non-fatal errors on FreeBSD with the ClientRunAfterJob. In fact, it should be impossible because that number is returned to the Director before the ClientRunAfterJob runs! Stephan as ClientRunBeforeJob returning 5 behaves as expected - the Job fails Stephan with fatal error. The message in that case is rather normal: Stephan 21-Sep 16:48 dd-lx-oracle3.dd.net-linx: DD31.2005-09-21_16.48.18 Fatal Stephan error: ClientRunBeforeJob returned non-zero status=268435461. ERR=Child Stephan exited with code 5 Stephan when I do the same thing as ClientRunAfterJob it does /not/ error out Stephan like this [1]. So it looks like there's a difference between Stephan ClientRunBeforeJob and ClientRunAfterJob return codes. Yes, the result of ClientRunAfterJob is probably ignored because it is pointless making the job fail after it has finished. Stephan hmmm, in my case not. Since I may have stored something that is not Stephan (entirely) useful. Stephan The background of this is that my ClientRunBeforeJob initiates a Oracle Stephan database full export. The actual data is written to a FIFO pipe where Stephan bacula sucks the data from during the backup job. This works pretty well Stephan so far. Stephan Finally I use the ClientRunAfterJob to parse the log file that oracle Stephan creates. Since sometimes the database is not /entirely/ exported. The Stephan dump might not contain everything we would need/want to restore. E.g. Stephan somebody could have locked a single table. Or oracle produced a variety Stephan of other warnings. In that case it is necessary to run the export again. Stephan Thus the backup job should fail and notify us this way. Ah, I see. I don't know of any way to make that situation record a failed job. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ClientRunAfterJob return code
On Thu, 22 Sep 2005 10:34:28 +0200, Stephan Ebelt [EMAIL PROTECTED] said: Stephan Martin Simmons wrote: Interesting. What is the largest number that behaves like this? Stephan looks like it's 199. I suppose that makes sense in a warped kind of way :-) Stephan ;-) Does returning 5 like you did initially always return in Backup OK -- with warnings with Non-fatal FD errors: 1? Stephan as ClientRunAfterJob it does. Ah, sorry, I misread your original post and was looking at ClientRunBeforeJob. However, I still don't get any Non-fatal errors on FreeBSD with the ClientRunAfterJob. Stephan that means it always terminates with '*** Backup Error ***' when you Stephan exit with e.g. 5? Correct -- a non-zero exit code from the ClientRunBeforeJob always results in '*** Backup Error ***'. Also, I always get 'Backup OK' regardless of the exit code from ClientRunAfterJob. In fact, it should be impossible because that number is returned to the Director before the ClientRunAfterJob runs! Stephan which number? Sorry, I may misunderstood something: but the Director Stephan should not know the return code /before/ the ClientRunAfterJob runs? Stephan (that would be an impressive piece of code - predicting the future ;-) ) Stephan Or do you mean that the return code of ClientRunBeforeJob is send to the Stephan director before the ClientRunAfterJob is executed? That would make sense. No, I meant the count of Non-fatal FD errors (which changes 'Backup OK' to 'Backup OK -- with warnings' when 0). You said that this count is 1 when your ClientRunAfterJob script returns certain error codes, but I don't see how that can happen. Stephan hmmm, in my case not. Since I may have stored something that is not Stephan (entirely) useful. Stephan The background of this is that my ClientRunBeforeJob initiates a Oracle Stephan database full export. The actual data is written to a FIFO pipe where Stephan bacula sucks the data from during the backup job. This works pretty well Stephan so far. Stephan Finally I use the ClientRunAfterJob to parse the log file that oracle Stephan creates. Since sometimes the database is not /entirely/ exported. The Stephan dump might not contain everything we would need/want to restore. E.g. Stephan somebody could have locked a single table. Or oracle produced a variety Stephan of other warnings. In that case it is necessary to run the export again. Stephan Thus the backup job should fail and notify us this way. Ah, I see. I don't know of any way to make that situation record a failed job. Stephan hmmm, from how I understood the manual it should work exactly like this? Stephan It says: Stephan Run After Job = command Stephan The specified command is run as an external program after the Stephan current job terminates. This directive is not required. The command Stephan string must be a valid program name or name of a shell script. If Stephan the exit code of the program run is non-zero, the current Bacula job Stephan will terminate in error. Before submitting the specified command to Stephan the operating system, Bacula performs character substitution as Stephan described above for the Run Before Job directive. Stephan An example of the use of this command is given in the Tips Chapter Stephan of this manual. As of version 1.30, Bacula checks the exit status of Stephan the RunAfter program. If it is non-zero, the job will be terminated Stephan in error. Stephan [...] Stephan Client Run After Job = command Stephan This command is the same as Run After Job except that it is run on Stephan the client machine. Note, please see the notes above in Client Run Stephan Before Job concerning Windows clients. I've never seen it behave like that, so I suspect the doc is wrong. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] BACULA 1.37.38 AIX 4.3 Undefined symbol ERROR
On Wed, 21 Sep 2005 18:33:30 -0300, Fernanda Santoro [EMAIL PROTECTED] said: Fernanda After do ranlib -t -X 32 libbac.a, gmake returns another error: Fernanda Make of filed is good Fernanda /tmp/bacula/bacula-1.36.1/autoconf/install-sh -c -m 0754 bacula-fd Fernanda /usr/sbin/bacula-fd Fernanda == Found existing bacula-fd.conf, installing new conf file as Fernanda bacula-fd.conf.new Fernanda /tmp/bacula/bacula-1.36.1/autoconf/install-sh -c -m 640 Fernanda bacula-fd.conf/usr/etc/bacula- Fernanda fd.conf.new Fernanda g++ -c -I. -I.. -g -O2 -Wall conio.c Fernanda In file included from ../bacula.h:113, Fernanda from conio.c:52: Fernanda /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/include/pthread.h:166: Fernanda warning: missing white space after `#define PTHREAD_ONCE_INIT' Fernanda conio.c: In function `void con_init (FILE *)': Fernanda conio.c:249: cannot convert `void (*) (...)' to `void (*) ()' for argument Fernanda `1' to `atexit (void (*) ())' Fernanda make: 1254-004 The error code from the last command is 1. Fernanda Stop. Fernanda make: 1254-004 The error code from the last command is 1. Fernanda Stop. Fernanda Do you have any idea? Try changing the line (probably line 249) in conio.c from void con_term(); to void con_term(void); __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ClientRunAfterJob return code
On Thu, 22 Sep 2005 16:06:24 +0200, Stephan Ebelt [EMAIL PROTECTED] said: Stephan Martin Simmons wrote: Stephan that means it always terminates with '*** Backup Error ***' when you Stephan exit with e.g. 5? Correct -- a non-zero exit code from the ClientRunBeforeJob always results in '*** Backup Error ***'. Also, I always get 'Backup OK' regardless of the exit code from ClientRunAfterJob. Stephan exactly the same here. Stephan [...] Stephan Or do you mean that the return code of ClientRunBeforeJob is send to the Stephan director before the ClientRunAfterJob is executed? That would make sense. No, I meant the count of Non-fatal FD errors (which changes 'Backup OK' to 'Backup OK -- with warnings' when 0). You said that this count is 1 when your ClientRunAfterJob script returns certain error codes, but I don't see how that can happen. Stephan ah, I see. Stephan I tried again: one job with ClientRunBeforeJob returning 0 and Stephan ClientRunAfterJob returning 5. The result was 'Backup OK'. So there must Stephan have been something else in the previous try. That's my fault then. Stephan Here's the output: Great, it looks like we are seeing the same thing now! Stephan 22-Sep 15:11 dd-lx-backup.dd.net-linx: Start Backup JobId 1047, Stephan Job=DD31.2005-09-22_15.11.28 Stephan 22-Sep 15:11 dd-lx-backup.dd.net-linx: Volume disk4-0009 previously Stephan written, moving to end of data. Stephan 22-Sep 15:11 dd-lx-oracle3.dd.net-linx: DD31.2005-09-22_15.11.28 Fatal Stephan error: ClientRunAfterJob returned non-zero status=268435461. ERR=Child Stephan exited with code 5 Stephan 22-Sep 15:11 dd-lx-backup.dd.net-linx: Bacula 1.36.3 (22Apr05): Stephan 22-Sep-2005 15:11:31 StephanJobId: 1047 StephanJob:DD31.2005-09-22_15.11.28 StephanBackup Level: Incremental, since=2005-09-21 10:53:10 StephanClient: dd-lx-oracle3 StephanFileSet:Data-UNIX-Oracle 2005-08-05 19:00:01 StephanPool: disk4 StephanStorage:disk4 StephanStart time: 22-Sep-2005 15:11:29 StephanEnd time: 22-Sep-2005 15:11:31 StephanFD Files Written: 0 StephanSD Files Written: 0 StephanFD Bytes Written: 0 StephanSD Bytes Written: 0 StephanRate: 0.0 KB/s StephanSoftware Compression: None StephanVolume name(s): disk4-0009 StephanVolume Session Id: 54 StephanVolume Session Time:1127203794 StephanLast Volume Bytes: 39,178,621,354 StephanNon-fatal FD errors:0 StephanSD Errors: 0 StephanFD termination status: OK StephanSD termination status: OK StephanTermination:Backup OK Stephan [...] Stephan hmmm, from how I understood the manual it should work exactly like this? Stephan It says: Stephan Run After Job = command Stephan The specified command is run as an external program after the Stephan current job terminates. This directive is not required. The command Stephan string must be a valid program name or name of a shell script. If Stephan the exit code of the program run is non-zero, the current Bacula job Stephan will terminate in error. Before submitting the specified command to Stephan the operating system, Bacula performs character substitution as Stephan described above for the Run Before Job directive. Stephan An example of the use of this command is given in the Tips Chapter Stephan of this manual. As of version 1.30, Bacula checks the exit status of Stephan the RunAfter program. If it is non-zero, the job will be terminated Stephan in error. Stephan [...] Stephan Client Run After Job = command Stephan This command is the same as Run After Job except that it is run on Stephan the client machine. Note, please see the notes above in Client Run Stephan Before Job concerning Windows clients. I've never seen it behave like that, so I suspect the doc is wrong. Stephan hmm, before we correct the doc I guess it would be worth thinking about Stephan modifing the code since the doc appears to make a lot of sense? To me in Stephan that situation at least. Stephan Should I log this as a bug? There was some discussion about this recently on the list, but I can't find it now. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists
Re: [Bacula-users] ClientRunAfterJob return code
On Thu, 22 Sep 2005 16:13:25 +0200, Stephan Ebelt [EMAIL PROTECTED] said: Stephan Stephan Ebelt wrote: Another test would be to try the same with RunAfterJob. And see what happens then. I'll do that later. Stephan ok, just tried. It behaves similar with one difference: the RunAfterJob Stephan failure is reported at the end of the output. Not at the beginning as Stephan with ClientRunAfterJob. Yes. RunAfterJob runs after everything else. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] BACULA 1.37.38 AIX 4.3 Undefined symbol ERROR
Fernanda Hi Martin! Fernanda Thanks for your help! Fernanda When I do this gmake returns me the second error I post here :-( : Fernanda # gmake Fernanda g++ -c -I. -I.. -g -O2 -Wall conio.c Fernanda In file included from ../bacula.h:113, Fernanda from conio.c:52: Fernanda /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/include/pth= Fernanda read.h:166: Fernanda warning: missing white space after `#define PTHREAD_ONCE_INIT' Fernanda g++ -L../lib -L../cats -o bconsole console.o console_conf.o authenticate.o Fernanda conio.o \ Fernanda -ltermcap -lbac -lm -lpthread Fernanda ld: 0711-317 ERROR: Undefined symbol: win32_client Fernanda ld: 0711-317 ERROR: Undefined symbol: TERM_msg Fernanda ld: 0711-317 ERROR: Undefined symbol: OK_msg Fernanda ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more Fernanda information. Fernanda collect2: ld returned 8 exit status Fernanda gmake: *** [bconsole] Error 1 Did you try running that ranlib command again? __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] BACULA 1.37.38 AIX 4.3 Undefined symbol ERROR
On Thu, 22 Sep 2005 17:09:38 -0300, Fernanda Santoro [EMAIL PROTECTED] said: Fernanda Thanks again! Fernanda I try running ranlib and then gmake but the error persists: Fernanda Make of filed is good Fernanda gmake[1]: Leaving directory `/tmp/bacula/temp/bacula-1.36.1/src/filed' Fernanda ==Entering directory /tmp/bacula/temp/bacula-1.36.1/src/console Fernanda gmake[1]: Entering directory `/tmp/bacula/temp/bacula-1.36.1/src/console' Fernanda g++ -L../lib -L../cats -o bconsole console.o console_conf.o authenticate.o Fernanda conio.o \ Fernanda -ltermcap -lbac -lm -lpthread Fernanda ld: 0711-317 ERROR: Undefined symbol: win32_client Fernanda ld: 0711-317 ERROR: Undefined symbol: TERM_msg Fernanda ld: 0711-317 ERROR: Undefined symbol: OK_msg Fernanda ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more Fernanda information. Fernanda collect2: ld returned 8 exit status Fernanda gmake[1]: *** [bconsole] Error 1 Fernanda gmake[1]: Leaving directory `/tmp/bacula/temp/bacula-1.36.1/src/console' Fernanda -e == Error in /tmp/bacula/temp/bacula-1.36.1/src/console = Fernanda == Fernanda ==Entering directory /tmp/bacula/temp/bacula-1.36.1/rescue Fernanda gmake[1]: Entering directory `/tmp/bacula/temp/bacula-1.36.1/rescue' Fernanda gmake[1]: Nothing to be done for `all'. Fernanda gmake[1]: Leaving directory `/tmp/bacula/temp/bacula-1.36.1/rescue' Fernanda ==Entering directory /tmp/bacula/temp/bacula-1.36.1/rescue/linux Fernanda gmake[1]: Entering directory `/tmp/bacula/temp/bacula-1.36.1/rescue/linux' Fernanda gmake[1]: Nothing to be done for `all'. Fernanda gmake[1]: Leaving directory `/tmp/bacula/temp/bacula-1.36.1/rescue/linux' Fernanda Any more sugestions? Fernanda I need so much install bacula on Aix and I can't find the answer on google. Sorry, I can't see how this can happen with a working gcc and ld. The symbol TERM_msg is only referenced in one function (bget_msg) and that function is not referenced by anything in bconsole. You could try cd console g++ -v -L../lib -L../cats -o bconsole console.o console_conf.o authenticate.o \ conio.o -ltermcap -lbac -lm -lpthread so we can see what the arguments to ld are. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] BACULA 1.37.38 AIX 4.3 Undefined symbol ERROR
On Fri, 23 Sep 2005 16:34:15 -0300, Fernanda Santoro [EMAIL PROTECTED] said: Fernanda Now you can why where this problem is with the following report? I'll try Fernanda download the last patch level of AIX 4.3 maintenace packages, this is a Fernanda readme recomendation but I wouldn't like to apply it because I'm afraid of Fernanda what may cause to the system. Fernanda g++ -v -L../lib -L../cats -o bconsole console.o console_conf.o Fernanda authenticate.o conio.o -ltermcap -lbac -lm -lpthread Fernanda Reading specs from /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0 Fernanda /2.9-aix51-020209/specs Fernanda gcc version 2.9-aix51-020209 Fernanda /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/collect2 Fernanda -bpT:0x1000 -bpD:0x2000 -btextro -bnodelcsect -o bconsole Fernanda /lib/crt0.o -L../lib -L../cats -L/usr/bin/../lib/gcc-lib/powerpc- Fernanda ibm-aix4.3.3.0/2.9-aix51-020209 -L/usr/bin/../lib/gcc-lib Fernanda -L/opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209 Fernanda -L/usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/../../.. Fernanda -L/opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/= Fernanda ../../.. Fernanda console.o console_conf.o authenticate.o conio.o -ltermcap -lbac -lpthread Fernanda -lstdc++ -lm /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-02020= Fernanda 9/libgcc.a Fernanda -lc /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/libgcc.= Fernanda a Fernanda ld: 0711-317 ERROR: Undefined symbol: win32_client Fernanda ld: 0711-317 ERROR: Undefined symbol: TERM_msg Fernanda ld: 0711-317 ERROR: Undefined symbol: OK_msg Fernanda ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more Fernanda information. Fernanda collect2: ld returned 8 exit status Fernanda One more time, thanks for the help! The command line args to collect2 look OK to me, so AIX maintenace packages may be your only hope. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] BACULA 1.37.38 AIX 4.3 Undefined symbol ERROR
On Fri, 23 Sep 2005 22:15:50 +0100, Martin Simmons [EMAIL PROTECTED] said: On Fri, 23 Sep 2005 16:34:15 -0300, Fernanda Santoro [EMAIL PROTECTED] said: Fernanda Now you can why where this problem is with the following report? I'll try Fernanda download the last patch level of AIX 4.3 maintenace packages, this is a Fernanda readme recomendation but I wouldn't like to apply it because I'm afraid of Fernanda what may cause to the system. Fernanda g++ -v -L../lib -L../cats -o bconsole console.o console_conf.o Fernanda authenticate.o conio.o -ltermcap -lbac -lm -lpthread Fernanda Reading specs from /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0 Fernanda /2.9-aix51-020209/specs Fernanda gcc version 2.9-aix51-020209 Fernanda /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/collect2 Fernanda -bpT:0x1000 -bpD:0x2000 -btextro -bnodelcsect -o bconsole Fernanda /lib/crt0.o -L../lib -L../cats -L/usr/bin/../lib/gcc-lib/powerpc- Fernanda ibm-aix4.3.3.0/2.9-aix51-020209 -L/usr/bin/../lib/gcc-lib Fernanda -L/opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209 Fernanda -L/usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/../../.. Fernanda -L/opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/= Fernanda ../../.. Fernanda console.o console_conf.o authenticate.o conio.o -ltermcap -lbac -lpthread Fernanda -lstdc++ -lm /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-02020= Fernanda 9/libgcc.a Fernanda -lc /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/libgcc.= Fernanda a Fernanda ld: 0711-317 ERROR: Undefined symbol: win32_client Fernanda ld: 0711-317 ERROR: Undefined symbol: TERM_msg Fernanda ld: 0711-317 ERROR: Undefined symbol: OK_msg Fernanda ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more Fernanda information. Fernanda collect2: ld returned 8 exit status Fernanda One more time, thanks for the help! Martin The command line args to collect2 look OK to me, so AIX maintenace packages Martin may be your only hope. On more idea: maybe it built the bacula-fd already, just before this error? The bconsole program is not actually needed for Bacula to work as a client, because you can run bconsole on some other machine. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to cancel scheduled jobs that haven't started?
On Mon, 03 Oct 2005 10:48:17 +0800, Anwar Ahmad [EMAIL PROTECTED] said: Anwar Hi Everyone, Anwar I'm kinda new at using Bacula. I'm maintaining an existing system right Anwar now. Anwar I'm currently looking at trying to cancel a scheduled job. Basically the Anwar job has been schedule to run later today and it doesn't have a JobId Anwar (it's not running yet). Most jobs that are running have a JobId that I Anwar cancel by using the console command cancel jobid=4122, where 4122 was Anwar the JobId that I got by issuing the command status director. Anwar Basically cancel seems to be able to cancel Jobs that are running. How Anwar do I cancel (or remove) jobs that haven't started to run yet? Anwar I curretly reading the manual but I'm guessing I'm using the wrong Anwar command. Could someone point out the right command to cancel a job Anwar that's scheduled to run but haven't started yet. AFAIK, there is no way to do this directly. You could change the schedule and reloading the config or stop the Director daemon. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bconsole questions
On Wed, 05 Oct 2005 11:25:15 +0100, Russell Howe [EMAIL PROTECTED] said: Russell Phil Stracchino wrote: Arno Lehmann wrote: I guessed that was part of your patch, but wasn't sure. Concerning internationalization - I don't think that results codes are the most important thing, but it's probably the easiest part to change... Yes, we can just load the table from a language-specific file during installation. Russell Or just add an extra attribute to the tuple, say, language and include Russell that when looking up the string. It would bloat the table somewhat, but Russell it'd be insignificant compared to the size of the average catalog db, I Russell expect. Russell select statuslong from statustext where code = 'C' and lang = 'en'; Russell or something.. Barf. This must be the point where it should be integrated with the rest of the language translation framework using .po files... __Martin --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] OT: downloadable bacula mailing list archives?
On Thu, 13 Oct 2005 14:27:01 +0200, Thorsten Huber [EMAIL PROTECTED] said: Thorsten is there somewhere a downloadable archive of the bacula-users and Thorsten bacula-devel mailinglists? I cannont find such a service on Thorsten sourceforge or any hints in recent mails in the sourceforge Thorsten webinterface to the bacula archives. I hope not, because it would make all the email addresses harvestable by spammers until done very carefully. __Martin --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore errors: Permission Denied
On Wed, 19 Oct 2005 12:08:24 +1000, Craig Holyoak [EMAIL PROTECTED] said: Craig I'm running bacula 1.36.2 on Debian stable. Whenever I try to run a restore Craig job, it fails with: Craig 19-Oct 11:29 helmsdeep: Start Restore Job Restore.2005-10-19_11.29.50 Craig 19-Oct 11:29 newman: Restore.2005-10-19_11.29.50 Fatal error: Could not create bootstrap file /var/lib/bacula/newman.Restore.2005-10-19_11.29.50.bootstrap: ERR=Permission denied Craig 19-Oct 11:29 newman: Restore.2005-10-19_11.29.50 Fatal error: job.c:1662 Comm error with SD. bad response to Bootstrap. ERR=Connection reset by peer Craig 19-Oct 11:29 helmsdeep: Restore.2005-10-19_11.29.50 Error: Bacula 1.36.2 (28Feb05): 19-Oct-2005 11:29:53 Craig JobId: 878 Craig Job:Restore.2005-10-19_11.29.50 Craig Client: newman Craig Start time: 19-Oct-2005 11:29:52 Craig End time: 19-Oct-2005 11:29:53 Craig Files Expected: 1 Craig Files Restored: 0 Craig Bytes Restored: 0 Craig Rate: 0.0 KB/s Craig FD Errors: 0 Craig FD termination status: Error Craig SD termination status: Error Craig Termination:*** Restore Error *** Craig This machine runs all bacula daemons. The director and sd run as the bacula Craig user, and the sd runs as root. /var/lib/bacula is writable by the bacula user Craig (and root, obviously :-). Craig I've tried modifying the job and redirecting the bootstrap file elsewhere (eg Craig /tmp), but I keep getting the same errors. I have never run a successful Craig restore using bconsole. I'm forced to use bextract to do all my restores, Craig which works fine. Craig Any ideas? The error comes from the SD. So helmsdeep and newman are the same machine? Does getting the same errors mean that it always says /var/lib/bacula even when the bootstrap should be in /tmp? What is the output of ls -la /var/lib/bacula ls -la /var/lib ls -la /var on the SD? Does touch /var/lib/bacula/touch-test work as the bacula user on the SD? __Martin --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] AIX - can't bind to specific addresses
On Thu, 20 Oct 2005 14:23:59 -0500, Steve Greenland [EMAIL PROTECTED] said: Steve So I battled my way through AIX configure/build process[1] and got Steve bacula-fd built. Steve However, the FD won't bind a specified address. It gets stuck in the Steve bind() loop in bnet_server.c with EADDRNOTAVAIL, claiming that the Steve address is not available. Steve Now, I'm pretty sure that 127.0.0.1 is available, and I've tried various Steve other addresses that were on the machine, no luck. I've run it under Steve the debugger to confirm that it is, in fact, attempting to bind to the Steve specified address. I modified the error message to include the Steve address like this: Steve berrno be; Steve struct sockaddr_in sa; Steve sa = *(struct sockaddr_in *) p-get_sockaddr(); Steve if (tlog = 0) { Steve tlog = 10; /* Complain every 10 seconds */ Steve Emsg3(M_WARNING,0, _(Cannot bind port %s:%d: ERR=%s. Retrying ...\n), Steve inet_ntoa(sa.sin_addr), ntohs(fd_ptr-port), be.strerror()); Steve } Steve And got the following message repeated: SteveWarning: Cannot bind port 127.0.0.1:9102: ERR=Can't assign requested address. Retrying ... Steve Letting it bind to INADDR_ANY (i.e. not specifying FDAddress) works Steve fine, but isn't acceptable for my application. Steve I see in the list archives that someone else ran into this on Windows, Steve and people seemed to assume that it was the usual Windows brokeness. Steve However, I can guarantee that AIX supports binding to a particular Steve address, my code does it all the time. What's weird, of course, is that Steve I use pretty much the same code that bnet_server does, so no obvious Steve hint there. Steve Anybody else run into this and, hopefully, fixed it? I can't provide Steve access to this machine, but I'd be happy to run whatever tests/debugging Steve I can do. A common reason for this problem is that the padding bytes at the end of the sockaddr_in object (called something like sin_zero) are not actually zero. Typically this happens when the code fails to initialize them. Unfortunately, there has been an outbreak of C++ in this code so it is impossible to be sure whether it does this :-( If you can look at the raw bytes passed to bind() in the debugger, then you might be able to see what they are. __Martin --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore errors: Permission Denied
On Thu, 20 Oct 2005 16:29:17 +1000, Craig Holyoak [EMAIL PROTECTED] said: Craig On Wed, 2005-10-19 at 11:17 +0100, Martin Simmons wrote:=20 On Wed, 19 Oct 2005 12:08:24 +1000, Craig Holyoak [EMAIL PROTECTED] said: Craig I'm running bacula 1.36.2 on Debian stable. Whenever I try to run a restore Craig job, it fails with: Craig 19-Oct 11:29 helmsdeep: Start Restore Job Restore.2005-10-19_11.29.50 Craig 19-Oct 11:29 newman: Restore.2005-10-19_11.29.50 Fatal error: Could not create bootstrap file /var/lib/bacula/newman.Restore.2005-10-19_11.29.50.bootstrap: ERR=3DPermission denied Craig 19-Oct 11:29 newman: Restore.2005-10-19_11.29.50 Fatal error: job.c:1662 Comm error with SD. bad response to Bootstrap. ERR=3DConnection reset by peer Craig 19-Oct 11:29 helmsdeep: Restore.2005-10-19_11.29.50 Error: Bacula 1.36.2 (28Feb05): 19-Oct-2005 11:29:53 Craig JobId: 878 Craig Job:Restore.2005-10-19_11.29.50 Craig Client: newman Craig Start time: 19-Oct-2005 11:29:52 Craig End time: 19-Oct-2005 11:29:53 Craig Files Expected: 1 Craig Files Restored: 0 Craig Bytes Restored: 0 Craig Rate: 0.0 KB/s Craig FD Errors: 0 Craig FD termination status: Error Craig SD termination status: Error Craig Termination:*** Restore Error *** Craig This machine runs all bacula daemons. The director and sd run as the bacula Craig user, and the sd runs as root. /var/lib/bacula is writable by the bacula user Craig (and root, obviously :-). Craig I've tried modifying the job and redirecting the bootstrap file elsewhere (eg Craig /tmp), but I keep getting the same errors. I have never run a successful Craig restore using bconsole. I'm forced to use bextract to do all my restores, Craig which works fine. Craig Any ideas? The error comes from the SD. So helmsdeep and newman are the same machine? Craig helmsdeep is the name of my bacula director, which runs on newman, Craig so yes, these are the same machine. Does getting the same errors mean that it always says /var/lib/bacula even when the bootstrap should be in /tmp? Craig Perhaps I'm a little unclear on what bootstraps are involved. By Craig default, a bootstrap for the job is placed Craig in /var/lib/bacula/restore.bsr. If I change this elsewhere by modifying Craig the job before it is run, ie, /tmp/restore.bsr, it fails because it Craig can't find the file - there is no /tmp/restore.bsr. But even though it Craig creates the bootstrap successfully to /var/lib/bacula/restore.bsr, it Craig still wants to Craig create /var/lib/bacula/newman.Restore.2005-10-19_11.29.50.bootstrap, at Craig which point if fails with permission denied. Ah, I see. From the output, it looks like your File Daemon and Store Daemon are both called newman (in the conf files)? What happens if you rename one of the them to something else? I'm wondering if there is a filename clash somehere. __Martin --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Pools and Disks
On Tue, 25 Oct 2005 11:23:32 -0200, Pedro Henrique Morsch Mazzoni [EMAIL PROTECTED] said: Pedro I have a question: Pedro In the Job resource of the bacula-dir.conf file I have to specify the Pedro Pool and the Storage. Like below: Pedro Job { Pedro Name = loghost1Restore Pedro Type = Restore Pedro Client= loghost1-fd Pedro FileSet=loghost1 Pedro Pool = Default Pedro Messages = Standard Pedro Where = /tmp/bacula-restores Pedro Storage = File0 Pedro } Pedro And the storage File0 is specified in the storage resource: Pedro Storage { Pedro Name = File0 Pedro Address = backup.lps.ufrj.br Pedro SDPort = 9103 Pedro Password = password Pedro Device = FileStorage0 Pedro Media Type = File Pedro } Pedro And FileStorage0 is a Device ( a harddisk) specified in bacula-sd.conf Pedro I have other storages, 3 hd's in my case (File0,File1 and File2) Pedro I don't understand that. Pedro My question is: Pedro I want to use 3 hd's as a pool for my job of backup. But if I specify Pedro a Storage in the Job resource it will only use one disk to backup. Pedro Is this possible? No, I don't think so. A pool contains volumes (tapes or files), not storage devices. You probably need to create 1 File Storage with 3 bacula volumes (i.e. files) in 1 pool. I think you can put one file on each disk by using symbolic links in the Archive Device (i.e. directory) of the File Storage. Pedro Am I clear? Yes, perfectly! __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] mailcommand and qmail
On Mon, 24 Oct 2005 16:05:47 -0500, DAve [EMAIL PROTECTED] said: DAve I am having a problem getting my messages from Bacula. I recently DAve changed out Sendmail for qmail ( I set up ezmlm for a client maillist ) DAve on a client co-loc server. DAve I changed the mailcommand from, DAve mailcommand = /usr/local/sbin/bsmtp -h localhost -f \\(Bacula\) %r\ DAve -s \Bacula: %t %e of %c %l\ %r DAve to, DAve mailcommand = echo \Subject: Bacula: %t %e of %c %l\ | DAve /var/qmail/bin/qmail-inject %r DAve Now I get no emails, though the mailcommand contents show up in the DAve bacula log. I believe I need to go around bsmtp and send the message DAve directly to qmail-inject, but that does not seem to be working. Google DAve provided no answers. DAve Normally DAve #cat test_msg_with_headers | /var/qmail/bin/qmail-inject [EMAIL PROTECTED] DAve would get it done. DAve Anyone else solved this issue? You are trying to use shell syntax with a pipe, but I think the mailcommand has to be of the form: program arg1 ... argn It should work if you create a shell script to take the subject and recipient args and invoke qmail-inject. __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Compile on XP Instructions. (64 bit offer)
On Wed, 26 Oct 2005 18:21:56 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Wednesday 26 October 2005 18:14, Russell Howe wrote: Mark Bober wrote: As an addendum to this; I've access to Win64 machines, and any version of Visual Studio necessary. I'd offer some time in running a compile (I'm totally oblivious about V Studio, however) but looking through the README.vc8 on VS 2005, it doesn't quite look like all the support libraries are available for Win64 anyway...? I don't think mingw supports 64 bit Windows yet, and I don't think the developers are planning to support it without extra help. (I'm assuming the windows port of the fd uses mingw...) Kern No, we use Kern pthreads Kern zlib Kern wxWidgets Kern and VC++ 7.1 Kern I have no idea if it will work on a 64 bit implementation of Windows. It Kern might be interesting to try. The core of Bacula code is 32/64 bit Kern independent. At least for Windows x64 (i.e. not Itanium), I can't see much benefit to running the FD as a 64 bit program. __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] mysqldump using fifo
On Fri, 28 Oct 2005 08:28:31 +0700, frank [EMAIL PROTECTED] said: frank I cannot get MySQL fifo backups to work. If I run the frank backup job it hangs forever waiting for the input. If I frank run the job manually from the shell it works without frank problems. What is going on? frank ... frank #!/bin/sh frank database=mydb frank user=root frank password=*** frank fifo=/backup/fifo/MyDatabase frank case $1 in frank before) frank echo Before backup job processing... frank rm -f $fifo 21 /dev/null frank mkfifo $fifo 21 /dev/null frank echo Dumping $database to fifo: $fifo frank mysqldump --user=$user --password=$password $database $fifo 21 /dev/null frank echo Done. frank ;; frank after) frank echo After backup job processing... frank rm -f $fifo 21 /dev/null frank echo Done. frank ;; frank esac Is the mysqldump process still there when the job is hanging? What happens if you remove 21? I don't see the point in redirecting stderr to the fifo anyway, but also it will hide any error messages on the tape :-) __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] mysqldump using fifo
On Fri, 28 Oct 2005 18:51:18 +0700, frank [EMAIL PROTECTED] said: frank So far no luck. frank Kern Sibbald wrote: In addition, I don't see any need to redirect /dev/null to the input for rm, mkfifo, and mysqldump. It probably won't hurt anything, but it just complicates understanding what is really going on. A cleaner script would be: frank Changed the script as indicated. The job is still hanging... frank Martin Simmons wrote: Is the mysqldump process still there when the job is hanging? frank Yes, the process is there: frank ps -ef |grep MyDatabase frank root 27088 32601 0 19:32 ?00:00:00 [MyDatabase] defunct frank root 27091 1 0 19:32 ?00:00:00 /bin/sh /backup/scripts/MyDatabase before What about the mysqldump process (not just the script)? frank Status of the FD: frank Running Jobs: frank JobId 65 Job MyDatabaseFull.2005-10-28_19.32.05 is running. frank Unknown Type Job started: 28-Oct-05 19:32 frank Files=0 Bytes=0 Bytes/sec=0 frank Files Examined=0 frank SDReadSeqNo=3 fd=5 frank Director connected at: 28-Oct-05 19:35 Can you use lsof to see what files the fd has open? __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] config.out question
On Thu, 27 Oct 2005 03:11:29 + (UTC), Joseph Chu [EMAIL PROTECTED] said: Joseph I am new to bacula, and now try to build it from source. after i did the Joseph ./configre i found some uncentain points all the statically link is no as follow; Joseph Statically Linked Tools:no Joseph Statically Linked FD: no Joseph Statically Linked SD: no Joseph Statically Linked DIR: no Joseph Statically Linked CONS: no Joseph what is the meaning of these ? Statically linked programs can be useful if you are building a minimal system and don't want dependencies on shared libraries. In general, you don't need them. Joseph and does it ok to leave below empty?? Joseph Director User: Joseph Director Group: Joseph Storage Daemon User: Joseph Storage DaemonGroup: Joseph File Daemon User: Joseph File Daemon Group: These users/groups are used by the scripts that start the daemons. If they are empty, then the daemons run as the user that runs the script (usually root). It is a security issue really -- some sysadmins want to run daemons as non-root to give them fewer privileges. __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] mysqldump using fifo
On Fri, 28 Oct 2005 22:45:17 +0700, frank [EMAIL PROTECTED] said: frank Martin Simmons wrote: frank Martin Simmons wrote: Is the mysqldump process still there when the job is hanging? frank Yes, the process is there: frank ps -ef |grep MyDatabase frank root 27088 32601 0 19:32 ?00:00:00 [MyDatabase] frank defunct frank root 27091 1 0 19:32 ?00:00:00 /bin/sh frank /backup/scripts/MyDatabase before What about the mysqldump process (not just the script)? frank No, the process mysqldump is not there. The database is not that big so I frank assume it will finish fast. Or maybe it got an error? Can you redirect stderr to a file to see? If nothing, then you can try setting the debug level in the FD to 400 to see whether it is reading anything at all. __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] mysqldump using fifo
On Fri, 28 Oct 2005 11:13:30 +0200, Kern Sibbald [EMAIL PROTECTED] said: Kern On Friday 28 October 2005 10:59, Martin Simmons wrote: On Fri, 28 Oct 2005 08:28:31 +0700, frank [EMAIL PROTECTED] said: frank I cannot get MySQL fifo backups to work. If I run the frank backup job it hangs forever waiting for the input. If I frank run the job manually from the shell it works without frank problems. What is going on? frank ... frank #!/bin/sh frank database=mydb frank user=root frank password=*** frank fifo=/backup/fifo/MyDatabase frank case $1 in frank before) frank echo Before backup job processing... frank rm -f $fifo 21 /dev/null frank mkfifo $fifo 21 /dev/null frank echo Dumping $database to fifo: $fifo frank mysqldump --user=$user --password=$password $database $fifo 21 /dev/null frank echo Done. frank ;; frank after) frank echo After backup job processing... frank rm -f $fifo 21 /dev/null frank echo Done. frank ;; frank esac Is the mysqldump process still there when the job is hanging? What happens if you remove 21? I don't see the point in redirecting stderr to the fifo anyway, but also it will hide any error messages on the tape :-) Kern In addition, I don't see any need to redirect /dev/null to the input for rm, Kern mkfifo, and mysqldump. It might be worthwhile for mysqldump, because that is backgrounded so doesn't want to be connected to the stdin of the script? __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Authorization Errors, or not?
On Tue, 8 Nov 2005 21:41:12 -0300 (BRT), =?ISO-8859-1?Q?T=E1ssia?= =?ISO-8859-1?Q?Cam=F5es?= =?ISO-8859-1?Q?Ara=FAjo?= [EMAIL PROTECTED] said: Tássia well, when I scan the ports of both servers I get the same answer: Tássia The server where everything is ok: Tássia --- Tássia maculele:~# nmap localhost -p 9101,9102,9103 Tássia Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-11-08 21:38 Tássia BRST Tássia Interesting ports on localhost (127.0.0.1): Tássia PORT STATE SERVICE Tássia 9101/tcp open unknown Tássia 9102/tcp open unknown Tássia 9103/tcp open unknown Tássia Nmap finished: 1 IP address (1 host up) scanned in 0.122 seconds Tássia maculele:~# Tássia --- Tássia Where the problem is happening: Tássia --- Tássia newton:~# nmap localhost -p 9101,9102,9103 Tássia Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-11-08 21:43 Tássia BRT Tássia Interesting ports on localhost (127.0.0.1): Tássia PORT STATE SERVICE Tássia 9101/tcp open unknown Tássia 9102/tcp open unknown Tássia 9103/tcp open unknown Tássia Nmap finished: 1 IP address (1 host up) scanned in 0.116 seconds Tássia newton:~# Tássia - Tássia Is there any other way to see if the server is listening for connection? You can use netstat -tanp | grep LISTEN but since you already managed to connect with telnet, I think the port must be open. Try running the Director with -d100 or under strace -f to see what it is doing. __Martin Tássia Em 8/11/2005, Kern Sibbald [EMAIL PROTECTED] escreveu: My best guess is that nothing is listening on 192.168.0.8:9101 I leave it to the list to tell you how to debug that if you do not know ... On Tuesday 08 November 2005 20:16, TássiaCamõesAraújo wrote: Hi Kern! I did what you advised me to do: When it works: --- - maculele:~# bconsole -d100 Connecting to Director maculele:9101 bconsole: bnet.c:698 Current host[ipv4:192.168.0.1:9101] All host[ipv4:192.168.0.1:9101] bconsole: bnet.c:952 who=Director daemon host=maculele port=9101 bconsole: btimers.c:169 Start bsock timer 0x8091e78 tid=0x402a2a60 for 300 secs at 1131473741 bconsole: cram-md5.c:100 cram-get: auth cram-md5 [EMAIL PROTECTED] ssl=0 bconsole: cram-md5.c:120 sending resp to challenge: 3R+tF8ogF18Qig+Ij8/kOB bconsole: cram-md5.c:52 send: auth cram-md5 [EMAIL PROTECTED] ssl=0 bconsole: cram-md5.c:70 Authenticate OK +8tU88pH1RE0K4+LU+hXVA bconsole: authenticate.c:82 dird: 1000 OK auth bconsole: authenticate.c:89 dird: 1000 OK: maculele-dir Version: 1.36.2 (28 February 2005) bconsole: btimers.c:183 Stop bsock timer 0x8091e78 tid=0x402a2a60 at 1131473741. 1000 OK: maculele-dir Version: 1.36.2 (28 February 2005) bconsole: console.c:452 Opened connection with Director daemon Enter a period to cancel a command. * --- -- when it doesn't work: --- -- [EMAIL PROTECTED]:~# bconsole -d100 Connecting to Director newton:9101 bconsole: bnet.c:698 Current host[ipv4:192.168.0.8:9101] All host[ipv4:192.168.0.8:9101] bconsole: bnet.c:952 who=Director daemon host=newton port=9101 bconsole: btimers.c:169 Start bsock timer 0x8091f10 tid=0x402a7a60 for 300 secs at 1131477646 bconsole: btimers.c:183 Stop bsock timer 0x8091f10 tid=0x402a7a60 at 1131477651. Director authorization problem. Most likely the passwords do not agree. Please see http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for help. ERR= --- I still couldn't figure out what is going on... Tássia. Em 7/11/2005, Kern Sibbald [EMAIL PROTECTED] escreveu: Set debug to 100 (-d100) on both ends. The debug messages will give more details about what is going on ... On Monday 07 November 2005 21:20, TássiaCamõesAraújo wrote: Hi all, About 10 days ago I wrote a message saying that I had some Authorization Errors going on, but I didn't have any ideia of what could be causing the problem. At that time I didn't give information enough for someone to help
Re: [Bacula-users] Purging files and volumes, but NOT jobs
On Wed, 09 Nov 2005 11:12:30 +0100, Geir Asle Borgen [EMAIL PROTECTED] said: Geir If I have understod it right will the volume be purged/deleted before Geir the retention time for files, jobs and volume stored on the specific Geir volume. And to restore files you need both the volume (where the files Geir are stored) and the job info (stored in the database, not on the Geir volume). Geir My problem is the backupstrategi we use here. We take incremental backup Geir to disk every working day, but once a month we take full backup to tape. Geir So fare, all is good. BUT we have all the 12 month-tapes stored for a Geir year, and we also have a year-tape who is stored for all future. The Geir consequence of this is that I have to set job retention to something Geir like for all times!?! Geir Most restores are done on files lost less the a month ago ... but form Geir time to time I have to go to tape and get older files. But if job Geir retention is set to never expire all files will be stored on disk as Geir well for all time ... and I will run out of diskspace. Geir Is there some things I can do to be able to restore files older then one Geir month (form tape, but not loos the job-info stored in the database)? Geir Will deleting `rm VolumeXX` from the disk and setting job retention to Geir 99 years do the trick? Or will that just FP everything? Have you considered setting the Volume Retention for the disk volumes to something like 60 days? That will override the longer Job Retention and allow the disk volumes to be recycled. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] repeat messages about pruning old jobs
On Wed, 09 Nov 2005 13:19:43 -0800, Jesse Keating [EMAIL PROTECTED] said: Jesse On Tue, 2005-11-08 at 14:05 -0800, Jesse Keating wrote: Some times it is just once, sometimes I get multiples in the same email. Every time today it has been the same job. This volume was created TODAY. Whats going on? Jesse I have found what action triggers this message. Any time I do a Jesse 'status' of the director I get this message. This is highly annoying, Jesse any idea what is going on here? Doing 'status dir' can trigger pruning because it tries to find the volumes that will be used by the jobs in the next 24 hours. It looks like certain combinations of pool options will cause the Pruning oldest volume message each time. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Information about a running job
On Thu, 10 Nov 2005 10:30:42 +0100 (CET), =?ISO-8859-1?Q?Jonas_Bj=F6rklund?= [EMAIL PROTECTED] said: Jonas Im trying to start a job within another job. The first job starts and run Jonas OK. But the next job just hangs. I have no clue what it does. How can I Jonas check a running job? The message command is always the first thing to try, in case Bacula is telling you something. You can also use status with various options to see what the Director, SD and FD think they are doing. If that doesn't show anything, then you probably need to increase the debug level when starting the daemons. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Filedescription lost
On Wed, 09 Nov 2005 23:53:48 +0100, Sascha Schulte [EMAIL PROTECTED] said: Sascha Hello everyone! Sascha I just discovered that my Bacula-installation seems to delete all the Sascha database-entrys for files of jobs other than the last one started. Sascha In other words: I do a tape-backup once a month. The last backup job has Sascha job-id 22. When I try to restore this job, everything works fine, I am Sascha able to navigate through the directory an mark every file I want to be Sascha restored. Sascha But when I try to restore a job other than #22, I don´t get a Sascha directory-tree at all. I allready checked the entrys in the SQL-Database Sascha and discovered that every line in table files with a JobID other than Sascha 22 has been deleted. Sascha This seems to be an error in my configuration or in bacula in general. Sascha Is there anybody in this list who can help? What do you need? my Sascha configuration files? Most likely the various Retention times are too short. I suggest looking at the Director configuration section of the manual. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Purging files and volumes, but NOT jobs
On Thu, 10 Nov 2005 19:59:10 +0100, Geir Asle Borgen [EMAIL PROTECTED] said: Geir On Thu, 2005-11-10 at 10:50 +0100, Geir Asle Borgen wrote: On Thu, 2005-11-10 at 09:36 +, Martin Simmons wrote: On Thu, 10 Nov 2005 10:12:19 +0100, Geir Asle Borgen [EMAIL PROTECTED] said: Geir On Wed, 2005-11-09 at 19:52 +, Martin Simmons wrote: On Wed, 09 Nov 2005 11:12:30 +0100, Geir Asle Borgen [EMAIL PROTECTED] said: Geir If I have understod it right will the volume be purged/deleted before Geir the retention time for files, jobs and volume stored on the specific Geir volume. And to restore files you need both the volume (where the files Geir are stored) and the job info (stored in the database, not on the Geir volume). Geir My problem is the backupstrategi we use here. We take incremental backup Geir to disk every working day, but once a month we take full backup to tape. Geir So fare, all is good. BUT we have all the 12 month-tapes stored for a Geir year, and we also have a year-tape who is stored for all future. The Geir consequence of this is that I have to set job retention to something Geir like for all times!?! Geir Most restores are done on files lost less the a month ago ... but form Geir time to time I have to go to tape and get older files. But if job Geir retention is set to never expire all files will be stored on disk as Geir well for all time ... and I will run out of diskspace. Geir Is there some things I can do to be able to restore files older then one Geir month (form tape, but not loos the job-info stored in the database)? Geir Will deleting `rm VolumeXX` from the disk and setting job retention to Geir 99 years do the trick? Or will that just FP everything? Have you considered setting the Volume Retention for the disk volumes to something like 60 days? That will override the longer Job Retention and allow the disk volumes to be recycled. Geir Yes, I have considered that, but is that the way it work? Does Volume Geir Retention override Job Retention? Yes (and the File Retention). The manual describes this in more detail. Hurray ... this solves the problem (maybe I have to buy glasses? Or drik mor coffee?) Geir Hmm ... now I have a: Geir Volume Use Duration = 10 min Geir File Retention = 30 min Geir Job Retention = 2 h Geir Volume Retention = 30 min Geir Just for testing ... I run 4 jobs whit 10 min in between, and get 4 Geir volumes. When the last job is finished the first job is purged from the Geir list jobs in bconsole. So fare so good, but how can I use this whit my Geir month-tape setup. If I understood Martin Simmons right it is possible to Geir restore form a volume where the job retention still is'nt run out (the Geir volume is on a tape and set to readonly). HOW ... I can't understand how Geir I can do this ... Use a Volume Retention of 12 months for the month-tapes tape volumes and 1 month for the disk volumes. For the year-tape volume, you can set its retention to 99 years if you want to keep it in the pool forever. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Purging files and volumes, but NOT jobs
On Fri, 11 Nov 2005 14:58:38 +0100, Geir Asle Borgen [EMAIL PROTECTED] said: Geir On Fri, 2005-11-11 at 12:48 +, Martin Simmons wrote: On Thu, 10 Nov 2005 19:59:10 +0100, Geir Asle Borgen [EMAIL PROTECTED] said: Geir [snip] Geir [/snip] Geir Hmm ... now I have a: Geir Volume Use Duration = 10 min Geir File Retention = 30 min Geir Job Retention = 2 h Geir Volume Retention = 30 min Geir Just for testing ... I run 4 jobs whit 10 min in between, and get 4 Geir volumes. When the last job is finished the first job is purged from the Geir list jobs in bconsole. So fare so good, but how can I use this whit my Geir month-tape setup. If I understood Martin Simmons right it is possible to Geir restore form a volume where the job retention still is'nt run out (the Geir volume is on a tape and set to readonly). HOW ... I can't understand how Geir I can do this ... Use a Volume Retention of 12 months for the month-tapes tape volumes and 1 month for the disk volumes. For the year-tape volume, you can set its retention to 99 years if you want to keep it in the pool forever. Geir But what about File and Job Retention ... those are set on the Client, Geir and the Client is the same! Or can I put other retention times for file Geir and job in the Scheduler? Geir If I set File and Job Retention to 99 years all, but one be fine ... the Geir MySQL database where all Job info is stored ... Any suggestions? No, you can't put different File and Job Retentions in the Scheduler. Setting them to 99 years might be OK. It won't keep all the records for 99 years, because the shortest retention (from Volume, File and Job) controls what is kept for each job. When the Volume Retention is reached for a volume, all the job and file records are removed for that volume, so this will happen every month for the disk volumes and every 12 months for the month-tapes. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula client on Solaris 10 - configure error
On Tue, 15 Nov 2005 14:18:28 +0100, Marcin Wasilewski [EMAIL PROTECTED] said: Marcin I'm trying to compile bacula1.36.3 client on Solaris 10/SPARC but Marcin ./configure gives me an error that C compiler cannot create executables Marcin Below is the config.log. Marcin Could You help me find out what is wrong? Maybe some packages are missing? From the log, it looks like your gcc is not compatible with the system's assembler (/usr/ccs/bin/as): configure:1835: gcc -v /dev/null 5 Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) configure:1838: $? = 0 configure:1840: gcc -V /dev/null 5 gcc: `-V' option must have argument configure:1843: $? = 1 configure:1866: checking for C compiler default output file name configure:1869: gccconftest.c 5 /usr/ccs/bin/as: error: unknown option '-' /usr/ccs/bin/as: error: unknown option 't' /usr/ccs/bin/as: error: unknown option 'aditional-format' usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-q] [-s] [-S] [-K {pic,PIC}] [-o objfile] [-L] [-T] [-P [[-Yc,path] [-Ipath] [-Dname] [-Dname=def] [-Uname]]...] [-m [-Ym,path]] [-n] [-ul] [-xF] [-xarch={v7,v8,v8a,v8plus,v8plusa,v8plusb,v9,v9a,v9b}] [-xcode={pic13,pic32}] file.s... You probably need the GNU assembler, which you might have already somewhere in the sfw directories. Does /usr/sfw/bin/gas exist? You could also try adding something like /usr/sfw/bin:/opt/sfw/bin to the start of PATH. __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Director stop always writes a core-File
On Tue, 15 Nov 2005 10:54:31 +0100, Ribi Roland [EMAIL PROTECTED] said: Ribi If I stop the bacula deamons with the bacula script (/etc/bacula) it always Ribi writes a core file from the director: Ribi core: ELF 32-bit MSB core file SPARC Version 1, from 'bacula-dir' Ribi Is it normal? Ribi My installation is on a Solaris 10 server. Can you attach gdb to the process (from other terminal) before stopping it? If so, then run thread apply all bt info all-registers in gdb when it stops. __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula client on Solaris 10 - configure error
On Wed, 16 Nov 2005 14:50:59 +0100, Marcin Wasilewski [EMAIL PROTECTED] said: Marcin What could it be? Marcin ld: fatal: file values-Xa.o: open failed: No such file or directory Marcin ld: fatal: File processing errors. No output written to a.out Marcin ld is installed in: Marcin whereis ld Marcin ld: /usr/ccs/bin/ld /usr/lib/ld.so /usr/lib/ld /usr/ucb/ld Marcin /usr/man/man1/ld.1 /usr/man/man1b/ld.1b A google search suggest that you have to install SUNWarc, which provides values-Xa.o. __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula client on Solaris 10 - configure error
On Thu, 17 Nov 2005 13:49:46 +0100, Marcin Wasilewski [EMAIL PROTECTED] said: Marcin Hello, Marcin Installing package SUNWarc help a little bit, but now the ./configure script Marcin gives another error Marcin export Marcin PATH=/usr/bin::/usr/ccs/bin:/etc:/usr/openwin/bin:/usr/local/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/ucb:/usr/sbin Marcin ./configure --enable-client-only --disable-readline Marcin checking for true... /usr/bin/true Marcin checking for false... /usr/bin/false Marcin configuring for bacula 1.36.3 (22 April 2005) Marcin checking for gcc... gcc Marcin checking for C compiler default output file name... a.out Marcin checking whether the C compiler works... yes Marcin checking whether we are cross compiling... no Marcin checking for suffix of executables... Marcin checking for suffix of object files... o Marcin checking whether we are using the GNU C compiler... yes Marcin checking whether gcc accepts -g... yes Marcin checking for gcc option to accept ANSI C... none needed Marcin checking for g++... g++ Marcin checking whether we are using the GNU C++ compiler... yes Marcin checking whether g++ accepts -g... yes Marcin checking whether gcc and cc understand -c and -o together... yes Marcin checking how to run the C preprocessor... /lib/cpp Marcin configure: error: C preprocessor /lib/cpp fails sanity check Marcin See `config.log' for more details. Marcin .. Marcin configure:2143: $? = 0 Marcin configure:2146: test -s conftest.o Marcin configure:2149: $? = 0 Marcin configure:2160: result: yes Marcin configure:2177: checking for gcc option to accept ANSI C Marcin configure:2247: gcc -c -g -O2 conftest.c 5 Marcin conftest.c:9:20: stdarg.h: No such file or directory Marcin conftest.c:10:19: stdio.h: No such file or directory Marcin conftest.c:11:23: sys/types.h: No such file or directory Marcin conftest.c:12:22: sys/stat.h: No such file or directory Marcin conftest.c:15: error: syntax error before '*' token Marcin conftest.c:15: warning: struct stat declared inside parameter list Marcin conftest.c:15: warning: its scope is only this definition or declaration, Marcin which is probably not what you want Marcin conftest.c:15: warning: data definition has no type or storage class Marcin conftest.c: In function `f': Marcin conftest.c:25: error: `va_list' undeclared (first use in this function) Marcin conftest.c:25: error: (Each undeclared identifier is reported only once Marcin conftest.c:25: error: for each function it appears in.) Marcin conftest.c:25: error: syntax error before v Marcin conftest.c:26: error: `v' undeclared (first use in this function) Marcin conftest.c:27: error: syntax error before int Marcin conftest.c: At top level: Marcin conftest.c:44: error: syntax error before FILE Marcin conftest.c:44: warning: struct stat declared inside parameter list Marcin conftest.c:44: error: `pairnames' declared as function returning a function Marcin conftest.c:44: error: syntax error before int Marcin configure:2253: $? = 1 Marcin configure: failed program was: Marcin . Marcin I tried to find the file stdarg.h: Marcin find / -name stdarg.h Marcin /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/install-tools/include/stdarg.h Marcin so my next step was: Marcin ./configure --enable-client-only --disable-readline --oldincludedir=/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/install-tools/include Marcin but the error still occur I have those headers files in /usr/include. Possibly you need SUNWhea? __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula client on Solaris 10 - configure error
On Thu, 17 Nov 2005 08:46:56 -0800 (PST), Paul Heinlein [EMAIL PROTECTED] said: Paul On Thu, 17 Nov 2005, Marcin Wasilewski wrote: Installing package SUNWarc help a little bit, but now the ./configure script gives another error export PATH=/usr/bin::/usr/ccs/bin:/etc:/usr/openwin/bin:/usr/local/bin:/usr/sfw/bin$ [] checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... /lib/cpp configure: error: C preprocessor /lib/cpp fails sanity check Paul I haven't used Solaris 10, so pardon me for guessing somewhat. Paul Assuming that /lib/cpp is the Solaris (not GNU) cpp, I think you have Paul two choices: Paul 1) set $CPP to the GNU cpp path (/usr/local/bin/cpp?) Paul 2) Put the directory that holds the GNU tools before /usr/bin in your Paul $PATH. Using /lib/cpp is just a last resort -- it should be finding gcc -E as the preprocessor anyway. I suspect this fails because configure tests the preprocessor with a standard #include, but the standard headers seem to be missing. __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula client on Solaris 10 - configure error
On Fri, 18 Nov 2005 09:28:43 +0100, Marcin Wasilewski [EMAIL PROTECTED] said: Marcin where can I find files that I think are needed? Marcin btime.c:42:18: math.h: No such file or directory Marcin edit.c:30:18: math.h: No such file or directory Marcin *** Error code 1 Marcin The following command caused the error: Marcin g++ -S -M -I. -I.. *.c Makefile Try installing SUNWlibm for /usr/include/math.h. __Martin --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users