Re: [Bacula-users] Differentials Jobs referencing obsolete Full Job
On Friday 30 September 2005 00:01, Bennett, Silas (GE Infrastructure) wrote: > -Original Message- > From: Phil Stracchino [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 29, 2005 1:31 PM > To: Arno Lehmann > Cc: Bennett, Silas (GE Infrastructure); > bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Differentials Jobs referencing obsolete Full > Job > > >Arno Lehmann wrote: > >> Hello, > >> > >> I'll put my answer to Phil's post here... it just fits better. > >> > >> Phil, if he scenario you describe really can happen I think it would be > >> time to consider the time stamp stored in the FileSet when looking for > >> previous backups. sqlquery follows: > > > >I don't know whether I can or not; I haven't looked at the code to see. > >And at the moment I don't know that I could tell anything anyway. > > > >> Ha! Is it possible that your Full and Differential backups are actually > >> _two_ jobs, instead of one job with different levels in the schedule? > >> I've seen this from some people, and it might be that the manual doesn't > >> state it clear enough, but you must define one job and set the backup > >> level either manually when running that job, or override it in the > >> schedule. > >> > >> Bacula won't base a differential backup on a full one defined in another > >> job resource, even if they have client, fileset, and all other stuff in > >> common. > > BINGO!!! > > That is it exactly. The documentation was not clear at all on this. Thank > you very much, I would have never been able to figure that out from the > docs. > > Is there someplace to issue a bug report against the documentation? The manual is pretty big. Perhaps you didn't look in the right place, which is very beginning of "The Job Resouce" where Level is defined. It seems pretty clear to me, though that said, there is always room to improve the doc. I won't accept a bug report, but if someone can suggest precisely what words need to be changed and were, that could help. > > -Silas > > >This possibility hadn't occurred to me. Good thinking. > > > > > > > >-- > > Phil Stracchino [EMAIL PROTECTED] > >Renaissance Man, Unix generalist, Perl hacker > > Mobile: 603-216-7037 Landline: 603-886-3518 > > --- > 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 -- Best regards, Kern ("> /\ V_V --- 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] Differentials Jobs referencing obsolete Full Job
Oh, by the way, I was referring to the Development manual in my last email -- I haven't looked at the 1.36.x manual. On Friday 30 September 2005 00:01, Bennett, Silas (GE Infrastructure) wrote: > -Original Message- > From: Phil Stracchino [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 29, 2005 1:31 PM > To: Arno Lehmann > Cc: Bennett, Silas (GE Infrastructure); > bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Differentials Jobs referencing obsolete Full > Job > > >Arno Lehmann wrote: > >> Hello, > >> > >> I'll put my answer to Phil's post here... it just fits better. > >> > >> Phil, if he scenario you describe really can happen I think it would be > >> time to consider the time stamp stored in the FileSet when looking for > >> previous backups. sqlquery follows: > > > >I don't know whether I can or not; I haven't looked at the code to see. > >And at the moment I don't know that I could tell anything anyway. > > > >> Ha! Is it possible that your Full and Differential backups are actually > >> _two_ jobs, instead of one job with different levels in the schedule? > >> I've seen this from some people, and it might be that the manual doesn't > >> state it clear enough, but you must define one job and set the backup > >> level either manually when running that job, or override it in the > >> schedule. > >> > >> Bacula won't base a differential backup on a full one defined in another > >> job resource, even if they have client, fileset, and all other stuff in > >> common. > > BINGO!!! > > That is it exactly. The documentation was not clear at all on this. Thank > you very much, I would have never been able to figure that out from the > docs. > > Is there someplace to issue a bug report against the documentation? > > -Silas > > >This possibility hadn't occurred to me. Good thinking. > > > > > > > >-- > > Phil Stracchino [EMAIL PROTECTED] > >Renaissance Man, Unix generalist, Perl hacker > > Mobile: 603-216-7037 Landline: 603-886-3518 > > --- > 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 -- Best regards, Kern ("> /\ V_V --- 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
[Bacula-users] Y'know, this may be a silly question, but .....
.Where do we have Admin jobs documented? I just went looking in the manual to see what can be done in an Admin job, and couldn't find anything. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- 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] Problems with incremental backups
Sebastian Haas wrote: > Phil Stracchino wrote: > >>Sebastian Haas wrote: >>If they changed again today, they should be saved again; otherwise, not. >> However, I don't expect this to fix your main problem; it will only fix >>that "DIR and FD clocks differ" warning. > > Okay you are right, this doesn't fixed the problem but the "clocks > differ" warning. > > As I promised yesterday, here are the logs. I've enabled debug=100 but > only the FD prints a lot of messages (see attachment), this is what the > DIR prints (I've canceld the job after 15min., cause I saw that bacula > backups the wrong files): This unfortunately isn't showing what's actually being backed up, and therefore isn't giving any clue as to why. Just a sanity check, since it just came up in another case: (1) You are sure these files were backed up by the Full backup, right? (2) The Full and the Incremental are the same Job running at different levels, not separate Jobs, right? -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- 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
[Bacula-users] Re: [Bacula-devel] Y'know, this may be a silly question, but .....
Hello, On 30.09.2005 13:58, Phil Stracchino wrote: .Where do we have Admin jobs documented? I just went looking in the manual to see what can be done in an Admin job, and couldn't find anything. The only location I find are the two lines in the Job / Job Type description. You're right, it would be an improvement to give some more details - like telling the usert hat he has to supply all the typical job details (storage, pools) although almost none of it is used. Mentioning that an admin job can trigger pruning and run scripts might also be helpful. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- 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
[Bacula-users] Re: [Bacula-devel] How I use them
Arno Lehmann wrote: Hello, On 30.09.2005 13:58, Phil Stracchino wrote: .Where do we have Admin jobs documented? I just went looking in the manual to see what can be done in an Admin job, and couldn't find anything. The only location I find are the two lines in the Job / Job Type description. You're right, it would be an improvement to give some more details - like telling the usert hat he has to supply all the typical job details (storage, pools) although almost none of it is used. Mentioning that an admin job can trigger pruning and run scripts might also be helpful. Arno This is what I use admin jobs for: (maybe it's good material to use for examples, I don't know) # Check for media (USB & DVD) Job { Name = "DVDUSBmediaPresent" Type = Admin Schedule = "EndOfWeek" Client = tosfeb33-fd FileSet="Full Set" Storage = HDdrive Pool = USB Messages = MediaNotification RunBeforeJob = /etc/bacula/USB_media.sh %v RunAfterJob = /etc/bacula/DVD_media.sh } -- vi /etc/bacula/USB_media.sh #!/bin/bash # # shell script to check which USB volume is connected. #Source functions present in our library . /etc/bacula/USB_DVD_lib.sh volumename=$1 CreateMountPoints UnmountMountPointsRelatedToUSB #determine which /dev/sd? contains the right USBVolume for this backup found=nothing foundvol=empty FindDeviceContainingVolume $volumename echo $found echo $foundvol echo $volumename if [ "$volumename" != "" ] ; then if [ $foundvol != $volumename ] ; then exit 1 else exit 0 fi fi if [ $found != nothing ] ; then exit 0 else echo No external USB drive is connected! Please find out which drive is needed and connect it. if [ "$volumename" != "" ] ; then echo This probably should be $volumename fi echo echo exit -1 fi vi /etc/bacula/DVD_media.sh #!/bin/bash #Source functions present in our library . /etc/bacula/USB_DVD_lib.sh DVDstatus dvdstatus=${dvdstatus#*:} # delete everything before the ':' echo $dvdstatus if [ -z $dvdstatus ] ; then dvdstatus=na flag=NoMedia echo There is no DVD medium in the drive exit -3 fi if [ appendable == $dvdstatus ] ; then flag=AlreadyWrittenPreviously echo This R/W medium was written to before exit -2 fi if [ complete == $dvdstatus ] ; then flag=NonWritable echo This DVD cannot be written to exit -1 fi if [ blank == $dvdstatus ] ; then flag=Empty echo This R/W medium is blank exit 0 fi - I put all the code that gets reused into a ''library'': /etc/bacula/USB_DVD_lib.sh #!/bin/bash # # script containing functions and definitions which can be used by other scripts, # making them more readable and avoiding duplication of code and settings dvdwriter=/dev/hdb dvdbackupspoolmountpoint=/dvdbackupspool dvdwritermountpoint=/media/cdrecorder WriteToDVD () { lines=$@ # This function expects a space delimited list containing file names of volumes to write to DVD umount $dvdwritermountpoint let "count=1" for i in $lines ; do if [ $count -le 1 ] ; then # When creating a DVD with growisofs one needs to use -Z the first time echo "Writing first volume file" $count growisofs -Z $dvdwriter -R -J /dvdbackupspool/$i else # and -M the for the next volume files echo "Writing another volume file" $count growisofs -M $dvdwriter -R -J /dvdbackupspool/$i fi let count="$count+1" # sleep 5 ls -al $dvdwritermountpoint sleep 3 done } ShowContentsOfSourceDirAndDVD () { ls -al $dvdbackupspoolmountpoint mount $dvdwritermountpoint ls -al $dvdwritermountpoint umount $dvdwritermountpoint } blank="Disc status: blank" dvdstatus=na DVDstatus () { dvdstatus=`dvd+rw-mediainfo $dvdwriter 2> /dev/null | grep "Disc status"` } #Define global variable to hold return value from function freespace= # Define function to determine free space on a mount point FreeSpace () { freespace=`df $path | grep $path | awk '{print $4}'` echo $freespace if [ 0 -ne `expr index "$freespace" %` ] ; then freespace=`df $path | grep $path | awk '{print $3}'` fi } #Define global variable to hold return value from function padded= # Define function to pad a number with spaces to the left for display PadSpacesToLeft () { stringtopad=$1 wantedlength=$2 while [ ${#stringtopad} -lt $wantedlength ] do stringtopad=" "$stringtopad done padded=$stringtopa
[Bacula-users] Re: [Bacula-devel] Y'know, this may be a silly question, but .....
Arno Lehmann wrote: > Hello, > > On 30.09.2005 13:58, Phil Stracchino wrote: > >> .Where do we have Admin jobs documented? I just went looking in the >> manual to see what can be done in an Admin job, and couldn't find >> anything. >> > > > The only location I find are the two lines in the Job / Job Type > description. > > You're right, it would be an improvement to give some more details - > like telling the usert hat he has to supply all the typical job details > (storage, pools) although almost none of it is used. Mentioning that an > admin job can trigger pruning and run scripts might also be helpful. Well, it's mentioned that it can trigger pruning. Unfortunately, that's about all that's mentioned about what it can do, and nothing is said about how. I think this needs to be addressed. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- 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] Differentials Jobs referencing obsolete Full Job
Here is a diff against http://www.bacula.org/rel-manual/Configuring_Director.html 565c565,569 < performed as requested. --- > performed as requested. > Note: Since the director looks for a previous > full backup with the same job name of your incrimental, you cannot do > incrementals against full backups with a different job name. Even if the > Client and Filesets are the same for both jobs. 626c630,634 < performed as requested. --- > performed as requested. > Note: Since the director looks for a previous > full backup with the same job name of your differential, you cannot do > differentials against full backups with a different job name. Even if the > Client and Filesets are the same for both jobs. The diff is also attached as a text file. -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 12:29 AM To: bacula-users@lists.sourceforge.net Cc: Bennett, Silas (GE Infrastructure); Phil Stracchino; Arno Lehmann Subject: Re: [Bacula-users] Differentials Jobs referencing obsolete Full Job Oh, by the way, I was referring to the Development manual in my last email -- I haven't looked at the 1.36.x manual. On Friday 30 September 2005 00:01, Bennett, Silas (GE Infrastructure) wrote: > -Original Message- > From: Phil Stracchino [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 29, 2005 1:31 PM > To: Arno Lehmann > Cc: Bennett, Silas (GE Infrastructure); > bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Differentials Jobs referencing obsolete Full > Job > > >Arno Lehmann wrote: > >> Hello, > >> > >> I'll put my answer to Phil's post here... it just fits better. > >> > >> Phil, if he scenario you describe really can happen I think it would be > >> time to consider the time stamp stored in the FileSet when looking for > >> previous backups. sqlquery follows: > > > >I don't know whether I can or not; I haven't looked at the code to see. > >And at the moment I don't know that I could tell anything anyway. > > > >> Ha! Is it possible that your Full and Differential backups are actually > >> _two_ jobs, instead of one job with different levels in the schedule? > >> I've seen this from some people, and it might be that the manual doesn't > >> state it clear enough, but you must define one job and set the backup > >> level either manually when running that job, or override it in the > >> schedule. > >> > >> Bacula won't base a differential backup on a full one defined in another > >> job resource, even if they have client, fileset, and all other stuff in > >> common. > > BINGO!!! > > That is it exactly. The documentation was not clear at all on this. Thank > you very much, I would have never been able to figure that out from the > docs. > > Is there someplace to issue a bug report against the documentation? > > -Silas > > >This possibility hadn't occurred to me. Good thinking. > > > > > > > >-- > > Phil Stracchino [EMAIL PROTECTED] > >Renaissance Man, Unix generalist, Perl hacker > > Mobile: 603-216-7037 Landline: 603-886-3518 > > --- > 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 -- Best regards, Kern ("> /\ V_V Configuring_Director.html.diff Description: Configuring_Director.html.diff
[Bacula-users] Storage daemon
I have a dvd rw and configured my storage daemon this way showed bellow: Device { Name = "DVD-RW" Media Type = CD-DVD Archive Device = /dev/hdd RemovableMedia = Yes; Random Access = Yes; AlwaysOpen = No; LabelMedia = Yes; AutomaticMount = Yes; } Configured the bacula director this way: Storage { Name = dvd Address = codin.sermap.sermap.com.br SDPort = 9103 Password = "xxx" Device = DVD-RW Media Type = CD-DVD } But bacula insists to tell me that the device doesn't exist. 3999 Device DVD-RW not found I have already tryied many other ways to figure out how to solve this .. but with no sucess Someone can give me a clue... Thanks Wanderson -- Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo. --- 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] Differentials Jobs referencing obsolete Full Job
Hi, On 30.09.2005 22:23, Bennett, Silas (GE Infrastructure) wrote: Speaking as a bacula newbie who read the documentation, It did not seem obvious to me. Having been unfamiliar with bacula I was thinking of running Full backup jobs and Incremental/Differential backup jobs, not running a single job that was Full/Differential/Incremental based upon some other requirements. Something a bit more clear was needed for me to get it. Which is one good reason to think about your suggestion... Phil, some time ago I learn that the typical trouble-shooting instructions in hardware manuals start with "check the power cords and power switch" with a good reason - since then, I know how difficult it is to express something even very simple in a way that leaves room for (almost) no misunderstanding. When Silas didn't notice this - for you and many others - obvious - statement, this might be important. I came to right solution quickly only because I recalled others having made the same mistake, so obviously, it's not clear enough. So, I think that making this section clearer actually _is_ important. I really don't care whether you apply the patch or not. I just wanted to be helpful, and offer my newbie perspective while I still have it. That's, of course, a very important point. The problem is that most of the manual was written by people quite familiar with bacula, and that shows. Unfortunately, not being a native English speaker and being quite familiar with bacula by now it's rather difficult for me to improve the manual. ;0) I hope you don't take Phils's remark personal - after all, at least he thinks about your suggestion ;-) Arno -Original Message- From: Phil Stracchino [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 1:02 PM To: Bennett, Silas (GE Infrastructure) Cc: Kern Sibbald; bacula-users@lists.sourceforge.net; Arno Lehmann Subject: Re: [Bacula-users] Differentials Jobs referencing obsolete Full Job Bennett, Silas (GE Infrastructure) wrote: Here is a diff against http://www.bacula.org/rel-manual/Configuring_Director.html 565c565,569 < performed as requested. --- performed as requested. Note: Since the director looks for a previous full backup with the same job name of your incrimental, you cannot do incrementals against full backups with a different job name. Even if the Client and Filesets are the same for both jobs. 626c630,634 < performed as requested. --- performed as requested. Note: Since the director looks for a previous full backup with the same job name of your differential, you cannot do differentials against full backups with a different job name. Even if the Client and Filesets are the same for both jobs. You know, when I look at this, since the *very first* requirement specified in the existing manual is that the reference job must have the same job name, it seems perfectly clear to me. I really don't see how it can be misunderstood. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- 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
[Bacula-users] Schedule und Pool Strategy
Hello List, I am using bacula for some time now. I now want to change the whole backup strategy a little: I have an Autochanger with 7 tapes. One full backup takes ~2 Tapes. I want to use 2 x 2 tapes for a weekly backup and the remeining 3 for daily differential/incremental backups. Now the difficult part: I want to put such a 2 tape set at a secure place. So the best thing would be to run a weekly backup job which uses set 1 for week 1 and set 2 for week 2. I think this can be done by creating 2 pools: Monthly1 and Monthly2 which run bi-weekly each. Now one stupied question: Is this supposed to work: Monthly1 runs 1st and 3rd Sunday and Monthly2 runs 2nd and 4th Sunday What happens if there isn't a 4th sunday within this month? I think I am missing something here. Maybe anyone is kind enough to give me sume hints on this problem. Maybe the hole strategy is dumb and there is a better and smarter way to solve this problem. Maybe I should only use one monthly pool and tweak the retention times so that I only have to put one 2 tape set in place and bacula will use it no matter which one it is? Thanks for your help! mit freundlichen Grüssen, | with best regards, -- Daniel Khan Technische Leitung | CTO Geschäftsführender Gesellschafter | Managing Partnerventigo Werbung . IT . Marketing GmbH Kornstrasse 10 4060 Leonding T. +43 (0) 732 37 09 60 | F. +43 (0) 732 37 09 60 10 http://www.ventigo.com | [EMAIL PROTECTED] --- 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] Differentials Jobs referencing obsolete Full Job
I am glad my input was helpful... ;0) Cheers, Silas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Arno Lehmann Sent: Friday, September 30, 2005 2:46 PM To: Bennett, Silas (GE Infrastructure) Cc: Phil Stracchino; Kern Sibbald; bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Differentials Jobs referencing obsolete Full Job Hi, On 30.09.2005 22:23, Bennett, Silas (GE Infrastructure) wrote: > Speaking as a bacula newbie who read the documentation, It did not seem > obvious to me. Having been unfamiliar with bacula I was thinking of running > Full backup jobs and Incremental/Differential backup jobs, not running a > single job that was Full/Differential/Incremental based upon some other > requirements. Something a bit more clear was needed for me to get it. Which is one good reason to think about your suggestion... Phil, some time ago I learn that the typical trouble-shooting instructions in hardware manuals start with "check the power cords and power switch" with a good reason - since then, I know how difficult it is to express something even very simple in a way that leaves room for (almost) no misunderstanding. When Silas didn't notice this - for you and many others - obvious - statement, this might be important. I came to right solution quickly only because I recalled others having made the same mistake, so obviously, it's not clear enough. So, I think that making this section clearer actually _is_ important. > I really don't care whether you apply the patch or not. I just wanted to be > helpful, and offer my newbie perspective while I still have it. That's, of course, a very important point. The problem is that most of the manual was written by people quite familiar with bacula, and that shows. Unfortunately, not being a native English speaker and being quite familiar with bacula by now it's rather difficult for me to improve the manual. > ;0) I hope you don't take Phils's remark personal - after all, at least he thinks about your suggestion ;-) Arno > -Original Message- > From: Phil Stracchino [mailto:[EMAIL PROTECTED] > Sent: Friday, September 30, 2005 1:02 PM > To: Bennett, Silas (GE Infrastructure) > Cc: Kern Sibbald; bacula-users@lists.sourceforge.net; Arno Lehmann > Subject: Re: [Bacula-users] Differentials Jobs referencing obsolete Full > Job > > > >>Bennett, Silas (GE Infrastructure) wrote: >> >>>Here is a diff against >>>http://www.bacula.org/rel-manual/Configuring_Director.html >>> >>>565c565,569 >>>< performed as requested. >>>--- >>> >>> performed as requested. Note: Since the director looks for a previous full backup with the same job name of your incrimental, you cannot do incrementals against full backups with a different job name. Even if the Client and Filesets are the same for both jobs. >>> >>>626c630,634 >>>< performed as requested. >>>--- >>> >>> performed as requested. Note: Since the director looks for a previous full backup with the same job name of your differential, you cannot do differentials against full backups with a different job name. Even if the Client and Filesets are the same for both jobs. >> >>You know, when I look at this, since the *very first* requirement >>specified in the existing manual is that the reference job must have the >>same job name, it seems perfectly clear to me. I really don't see how >>it can be misunderstood. >> >> >>-- >>Phil Stracchino [EMAIL PROTECTED] >> Renaissance Man, Unix generalist, Perl hacker >>Mobile: 603-216-7037 Landline: 603-886-3518 >> > > -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- 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 --- 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] Internal network (10.0.0.x) setup question?
Hi, On 30.09.2005 19:22, [EMAIL PROTECTED] wrote: Hello and thanks arno / phil, the first thing I'd try is, on the client you can't connect to, run he DIR in the foreground with debug output enabled. That should tell you if the connections get through to the DIR itself. If they don't, but the host itself can be reached, it's probably a firewall issue. You might watch the logs and, of course, verify that the necessary traffic from and to the FD is allowed. Finally, SELinux - I don't know much about that, only that most people running it shouldn't because almost nobody I heard about has the slightest idea how to configure that. You obviously need a very good understanding of how it's supposed to work and what your programs need to be allowed to. In most cases, people simply disable SELinux or punch holes into it that render the whole SELinux idea useless. Considering the problems you describe when configuring / installing with the sampe config, I guess that SELinux is the thing you need to work on. As far as I know, you can disable that at boot time, try bacule, and if it works then you can re-enable the security enhancements and set up necessary rules. DNS should not be an issue at all, as long as all necessary hosts (DIR, SD and FD) can reach each other under the addresses you supply. I was not confident how to run DIR in the foreground but think I found out how to run FD in the foreground... Sorry... Here is what I tried and hopefully it is more information. Fine. Well, basically you can run all bacula daemons in the foreground - just add the -f switch, and (usually) you set -v and -d. That can be done with DIR, FD and SD alike. I tried the following config again and have a little more information and I am a bit more used to bacula now with the emphasis on 'a bit'. I think I have more specific info - though I am probably not quite there... CFLAGS="-g -Wall" ./configure \ --prefix=/usr \ --sbindir=/usr/sbin \ --sysconfdir=/etc/bacula \ --with-scriptdir=/etc/bacula \ --enable-smartalloc \ --enable-gnome \ --with-mysql \ --with-working-dir=/var/bacula \ --with-pid-dir=/var/run \ --with-subsys-dir=/var/lock/subsys \ --enable-conio There's no need to go through ./configure && make && make install for every configuration change - once the stuff is compiled most setings that are supplied with defaults during configure can be changed in the configuration files. Configuration changes become valid after a restart, in case of the DIR with a reload, too (well, some of them, most of the time...) bacula-dir started, bacula-fd appeared to start (said [OK] ), bacula-sd started. I was able to run bconsole however when I tried 'status client' it would not talk with the client and then I discovered bacula-fd didn't actually start or was not running with I did a bacula-fd status. dir and sd were still running. I then setenforce to '0' which turns off selinus as I understand. tried to start the fd again but no luck. So I tried running it via the command line with the follow options. I am not sure I am doing this correctly but here is what I did... [EMAIL PROTECTED] bacula]# /usr/sbin/bacula-fd -d5 -f -v -c /etc/bacula/bacula-fd.conf 30-Sep 10:00 inside-fd: ERROR TERMINATION at bsys.c:387 Could not open pid file. /var/run--with-subsys-dir/bacula-fd.9102.pid ERR=No such file or directory Ok, that tells us something. For some reason, the configuration is broken. The ./configure call you gave abovedoesn't tell me how hat happensed, but the problem is right there: The pid file should be /var/run/bacula-fd.9102.pid. The funny path with --with-subsys-dir inside surely doesn't exist. Simply change that setting in the bacula-fd.conf file, verify that the other configuration files are ok, and try a restart. By the way - when you need debug output in the future, consider using higher debug levels. 100 gives you a good overview of what the program does, 400 gives lots of details. This is again with selinux in the 'permissive' state which I believe it 'off'. I am not sure where to go from here except to go back to the config that was working. I had gotten that config to back up '/' on the default setup and looks like it is a good install. I also am starting to like keeping the build in a more focused place. I will keep working with the config that I get to work and setup a trial backup system to learn more about bacula use. If Arno or other folks have other install suggestions I can come back and try them. :-) Well, thanks. You will have to do somereading in the manual and some trying for yourself, though. As with allmost all good tools, there are many ways to achieve what you want, and interesting ways to usefully abuse the tools... once you've got your basic setup running you will surely encounter situations where bacula doesn't behave like you expect - in that case I'm sure you will find advice here. (Need I mention regex excludes? ;-) Arno Thanks, De
RE: [Bacula-users] Differentials Jobs referencing obsolete Full Job
Speaking as a bacula newbie who read the documentation, It did not seem obvious to me. Having been unfamiliar with bacula I was thinking of running Full backup jobs and Incremental/Differential backup jobs, not running a single job that was Full/Differential/Incremental based upon some other requirements. Something a bit more clear was needed for me to get it. I really don't care whether you apply the patch or not. I just wanted to be helpful, and offer my newbie perspective while I still have it. ;0) -Original Message- From: Phil Stracchino [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 1:02 PM To: Bennett, Silas (GE Infrastructure) Cc: Kern Sibbald; bacula-users@lists.sourceforge.net; Arno Lehmann Subject: Re: [Bacula-users] Differentials Jobs referencing obsolete Full Job >Bennett, Silas (GE Infrastructure) wrote: >> Here is a diff against >> http://www.bacula.org/rel-manual/Configuring_Director.html >> >> 565c565,569 >> < performed as requested. >> --- >> >>>performed as requested. >>>Note: Since the director looks for a previous >>>full backup with the same job name of your incrimental, you cannot do >>>incrementals against full backups with a different job name. Even if the >>>Client and Filesets are the same for both jobs. >> >> 626c630,634 >> < performed as requested. >> --- >> >>>performed as requested. >>>Note: Since the director looks for a previous >>>full backup with the same job name of your differential, you cannot do >>>differentials against full backups with a different job name. Even if the >>>Client and Filesets are the same for both jobs. > >You know, when I look at this, since the *very first* requirement >specified in the existing manual is that the reference job must have the >same job name, it seems perfectly clear to me. I really don't see how >it can be misunderstood. > > >-- > Phil Stracchino [EMAIL PROTECTED] >Renaissance Man, Unix generalist, Perl hacker > Mobile: 603-216-7037 Landline: 603-886-3518 > --- 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