[Bacula-users] Client Run Before Job overriding
Hello, I use the following jobdefs definition: JobDefs { Name = "MysqlFullJob" Type = Backup Level = Full Client = myserver-fd Fileset = "Mysql Full" Schedule = "OneFullPerDay" Storage = File Messages = Standard Pool = File Priority = 10 Maximum Concurrent Jobs = 20 Accurate = yes Client Run Before Job = /etc/bacula/scripts/mysql_backup.sh } Here is my job definition: Job { Name = "Backup_bckclient_mysql" Client = bckclient-fd JobDefs = "MysqlFullJob" Client Run Before Job = /usr/local/bacula/etc/scripts/mysql_backup.sh } The client has not been installed as all other ones, I would like to replace the value of Client Run Before job. With this setup, both commands run... and the one defined in the jobdefs definition fails... How could I do it ? (I would like to avoid to create an entire jobdefs for one machine) Best regards. Jerome Blion. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Question
Juan, try upgrading to 5.2.6 and use these settings: == FileSet { Name = "Root-set" Include { Options { signature = MD5 compression = GZIP Sparse = yes aclsupport = yes xattrsupport = yes } File = / } } Job { Name = "client-base-fd-data" JobDefs = "jobbaculadefs" Client = stor-server3-fd FileSet = "Root-set" Storage = File Pool = File Level = Base } Job { Name = "client-fd-data" JobDefs = "jobbaculadefs" Client = stor-server3-fd FileSet = "Root-set" Base = client-base-fd-data Storage = File Pool = File Accurate = yes } === You may need to insert some extra settings in the jobs above. # Reload bacula and run the base job: run job=client-base-fd-data # Let it finish and run the FULL run job=client-fd-data level=FULL # Let it finish, check to make sure that this FULL used the Base job in the report. # Now run a differential: run job=client-fd-data level=Differential # The report should come back with almost no changes, the differential is really a incremental from the last full. Let me know. Pablo - Original Message - From: "Juan Diaz" To: "Pablo Marques" Cc: "José Frederico" , bacula-users@lists.sourceforge.net Sent: Wednesday, March 28, 2012 9:44:37 AM Subject: Re: [Bacula-users] Question Pablo, I have tried all day with your configuration and it doesn't work. Could you please send me the complete configuration for search the differences between the two of them. We work with Bacula 5.0.2 and linux debian 2.6.32-5-amd64. Also I tried deduplication with the same machine I did first base after full and lately differential and the differential was smaller. But when I use that base with another machine the differential is bigger than full backup and that doesn't make sense. I CC the group in case there's someone who had the same trouble. Thank you very much four your help, Juan David DIAZ INSA de Lyon Universidad ICESI +33 6 49 59 23 86 - Mail original - De: "Juan Diaz" À: "Pablo Marques" Cc: "José Frederico" , bacula-users@lists.sourceforge.net Envoyé: Mercredi 28 Mars 2012 09:47:23 Objet: Re: [Bacula-users] Question Thank you Pablo but it didn't worked. The incremental or differential continues being bigger than the full backup. Juan David DIAZ INSA Lyon Universidad ICESI +33 6 49 59 23 86 - Mail original - De: "Pablo Marques" À: "Juan Diaz" Cc: "José Frederico" , bacula-users@lists.sourceforge.net Envoyé: Mardi 27 Mars 2012 17:40:41 Objet: Re: [Bacula-users] Question Juan: That is no happening to us and the only obvious difference between our set up and yours is in the fileset definition. Can you remove these lines in your fileset and give it a try? BaseJob = pmugcs5 Accurate = mcs Verify = pin5 This is our fileset: FileSet { Name = "Root-set" Include { Options { signature = MD5 compression = LZO Sparse = yes aclsupport = yes xattrsupport = yes } File = / } } Good luck Pablo - Original Message - From: "Juan Diaz" To: bacula-users@lists.sourceforge.net Cc: "José Frederico" Sent: Tuesday, March 27, 2012 9:35:27 AM Subject: [Bacula-users] Question Hello, Right now we're evaluating and deciding which is going to be our Backup software, Bacula is the most optioned so far but we're having troubles with the implementation of the file DE duplication. When we make a base job of the machine virtual that is going to be the base, his size is 553 Mb. After that when we make a full backup of a machine that was created from the machine "base". His size is 242 Mb that’s ok because it only has to make backup of the files that are different of files of the base. The problem comes when we make a differential backup right after the full backup. The result must be 0 Mb or something really small, but we're getting backups of 462 Mb. We used one configuration similar to the one we found in the Bacula’s manual. http://www.bacula.org/5.2.x-manuals/en/main/main.pdf Chapter 34. We have tried removing BaseJob, Accurate and Verify from FileSet but it didn’t worked. We have always the same sizes that don't make sense. We would like to know if you have a solution for our problem, because it worked when we don't use DE duplication (just with full and Differential), but we are very interested in using it, that would save us a lot of space on ours hard drives. We attached here the job’s configuration: ob { Name = "BackupBasse" Type = Backup Level = Base Client = basse-fd FileSet = "TOUT" Schedule = "programme2" Storage = File Messages = Standard Pool = File Priority = 10 Write Bootstrap = "/var/lib/bacula/%c.bsr" } Schedule{ Name = "programme2" Run = at 14:30 } Job { Name = "Backupftp" Type = Backup Base = Backupftp, BackupBasse Accurate=yes Client = basseftp-fd FileSet = "TOUT" S
Re: [Bacula-users] recall previous command in bconsole
When I compiled Bacula I have not compiled it with readline (--with-readline) support. So it did not work. -Original Message- From: Konstantin Khomoutov [mailto:flatw...@users.sourceforge.net] Sent: Wednesday, March 28, 2012 11:52 AM To: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] recall previous command in bconsole On Wed, 28 Mar 2012 10:21:44 -0500 "Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]" wrote: > In Bacula 5.2.6 when I go to "bconsole" and type commands and later if > I want to recall the previous command it does not work. Normally this > worked in old versions of Bacula if I pressed the "up arrow" > button on my key board. Is there a way to recall the previous command > in bconsole? Please let me know. Check if your actual bconsole binary ("bconsole" itself may be a shell script running an actual binary) is linked against a library providing those advanced features like history. Usually it's either libreadline or libedit. Supposedly you have built bacula from source and failed to properly configure it so that bconsole wasn't linked against one of such libraries. For instance, on my Debian system running Bacula 5.0.2: $ ldd /usr/sbin/bacula-console |egrep 'readline|edit' libreadline.so.6 => /lib/libreadline.so.6 (0xb780) -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Full backup forced if client changes
2012/3/24 Steve Thompson > more than one client is available to backup the (shared) storage. If I > change the name of the client in the Job definition, a full backup always > occurs the next time a job is run. How do I avoid this? > Avoid changing a client's name. You can change IP resolution or switch a dedicated "backup client IP" to the desired server. If this is a cluster you can use its framework for the job. best regards -- Radosław Korzeniewski rados...@korzeniewski.net -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] PostgreSQL - pg_dump
I am having some hardware issues because of several HVAC outages. So if I am doing a pg_dump of the bacula database on PostgreSQL, do I need to include oids? From pg_dump man -o --oids Dump object identifiers (OIDs) as part of the data for every table. Use this option if your application references the OID columns in some way (e.g., in a foreign key constraint). Otherwise, this option should not be used. This is Bacula 3 PostgreSQL 8. Thanks, Thomas Thomas McMillan Grant Bennett Appalachian State University Operations & Systems AnalystP O Box 32026 University LibraryBoone, North Carolina 28608 (828) 262 6587 Library Systems http://www.library.appstate.edu -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] recall previous command in bconsole
Hello, 2012/3/28 Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] < uthra.r@nasa.gov> > In Bacula 5.2.6 when I go to “bconsole” and type commands and later if I > want to recall the previous command it does not work. Normally this worked > in old versions of Bacula if I pressed the “up arrow” button on my key > board. Is there a way to recall the previous command in bconsole? Please > let me know. > You have to configure your Bacula 5.2.6 with following switches: --disable-conio --with-readline It is working as expected. best regards -- Radosław Korzeniewski rados...@korzeniewski.net -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] recall previous command in bconsole
On Wed, 28 Mar 2012 10:21:44 -0500 "Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]" wrote: > In Bacula 5.2.6 when I go to "bconsole" and type commands and later > if I want to recall the previous command it does not work. Normally > this worked in old versions of Bacula if I pressed the "up arrow" > button on my key board. Is there a way to recall the previous command > in bconsole? Please let me know. Check if your actual bconsole binary ("bconsole" itself may be a shell script running an actual binary) is linked against a library providing those advanced features like history. Usually it's either libreadline or libedit. Supposedly you have built bacula from source and failed to properly configure it so that bconsole wasn't linked against one of such libraries. For instance, on my Debian system running Bacula 5.0.2: $ ldd /usr/sbin/bacula-console |egrep 'readline|edit' libreadline.so.6 => /lib/libreadline.so.6 (0xb780) -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] recall previous command in bconsole
In Bacula 5.2.6 when I go to "bconsole" and type commands and later if I want to recall the previous command it does not work. Normally this worked in old versions of Bacula if I pressed the "up arrow" button on my key board. Is there a way to recall the previous command in bconsole? Please let me know. Uthra -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Question about restore
Hi all, I have a production server and his clone as disaster recovery, I would like to use bacula to maintain the clone aligned to the production one. I have to use the restore job, the question is: the restore process overwrite all or only the file changed? there's a particolar tag that I have to insert into the job? Other solution? Thank's --- Carlo -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Question
You could try with Bacula 5.2.6 in case there is a bug fix. __Martin > On Wed, 28 Mar 2012 15:44:37 +0200 (CEST), Juan Diaz said: > > Pablo, > > I have tried all day with your configuration and it doesn't work. Could you > please send me the complete configuration for search the differences between > the two of them. > > We work with Bacula 5.0.2 and linux debian 2.6.32-5-amd64. > > Also I tried deduplication with the same machine I did first base after full > and lately differential and the differential was smaller. But when I use that > base with another machine the differential is bigger than full backup and > that doesn't make sense. > > I CC the group in case there's someone who had the same trouble. > > Thank you very much four your help, > > > Juan David DIAZ > INSA de Lyon > Universidad ICESI > +33 6 49 59 23 86 > > > - Mail original - > De: "Juan Diaz" > À: "Pablo Marques" > Cc: "José Frederico" , > bacula-users@lists.sourceforge.net > Envoyé: Mercredi 28 Mars 2012 09:47:23 > Objet: Re: [Bacula-users] Question > > Thank you Pablo but it didn't worked. The incremental or differential > continues being bigger than the full backup. > > Juan David DIAZ > INSA Lyon > Universidad ICESI > +33 6 49 59 23 86 > > > - Mail original - > De: "Pablo Marques" > À: "Juan Diaz" > Cc: "José Frederico" , > bacula-users@lists.sourceforge.net > Envoyé: Mardi 27 Mars 2012 17:40:41 > Objet: Re: [Bacula-users] Question > > Juan: > > That is no happening to us and the only obvious difference between our set up > and yours is in the fileset definition. > > Can you remove these lines in your fileset and give it a try? > BaseJob = pmugcs5 > Accurate = mcs > Verify = pin5 > > This is our fileset: > > FileSet { > Name = "Root-set" > Include { > Options { > signature = MD5 > compression = LZO > Sparse = yes > aclsupport = yes > xattrsupport = yes > } > File = / > } > } > > Good luck > > Pablo > > - Original Message - > From: "Juan Diaz" > To: bacula-users@lists.sourceforge.net > Cc: "José Frederico" > Sent: Tuesday, March 27, 2012 9:35:27 AM > Subject: [Bacula-users] Question > > Hello, > > Right now we're evaluating and deciding which is going to be our Backup > software, Bacula is the most optioned so far but we're having troubles with > the implementation of the file DE duplication. > > When we make a base job of the machine virtual that is going to be the base, > his size is 553 Mb. After that when we make a full backup of a machine that > was created from the machine "base". His size is 242 Mb that’s ok because it > only has to make backup of the files that are different of files of the base. > > The problem comes when we make a differential backup right after the full > backup. The result must be 0 Mb or something really small, but we're getting > backups of 462 Mb. > > We used one configuration similar to the one we found in the Bacula’s manual. > http://www.bacula.org/5.2.x-manuals/en/main/main.pdf Chapter 34. > > We have tried removing BaseJob, Accurate and Verify from FileSet but it > didn’t worked. We have always the same sizes that don't make sense. > > We would like to know if you have a solution for our problem, because it > worked when we don't use DE duplication (just with full and Differential), > but we are very interested in using it, that would save us a lot of space on > ours hard drives. > > We attached here the job’s configuration: > > ob { > Name = "BackupBasse" > Type = Backup > Level = Base > Client = basse-fd > FileSet = "TOUT" > Schedule = "programme2" > Storage = File > Messages = Standard > Pool = File > Priority = 10 > Write Bootstrap = "/var/lib/bacula/%c.bsr" > } > Schedule{ > Name = "programme2" > Run = at 14:30 > } > > Job { > Name = "Backupftp" > Type = Backup > Base = Backupftp, BackupBasse > Accurate=yes > Client = basseftp-fd > FileSet = "TOUT" > Schedule = "programme" > Storage = File > Messages = Standard > Pool = File > Priority = 10 > Write Bootstrap = "/var/lib/bacula/%c.bsr" > } > > Schedule{ > Name = "programme" > Run = Level=Full at 14:31 > Run = Level=Incremental at 14:32 > > } > > FileSet { > Name = "TOUT" > Include { > Options { > BaseJob = pmugcs5 > Accurate = mcs > Verify = pin5 > } > File = / > } > } > > Thank you very much for your help, > > Juan David DIAZ > > -- > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- > This SF email is sponsosred by: > Try Windows Azure free for
Re: [Bacula-users] Question
Pablo, I have tried all day with your configuration and it doesn't work. Could you please send me the complete configuration for search the differences between the two of them. We work with Bacula 5.0.2 and linux debian 2.6.32-5-amd64. Also I tried deduplication with the same machine I did first base after full and lately differential and the differential was smaller. But when I use that base with another machine the differential is bigger than full backup and that doesn't make sense. I CC the group in case there's someone who had the same trouble. Thank you very much four your help, Juan David DIAZ INSA de Lyon Universidad ICESI +33 6 49 59 23 86 - Mail original - De: "Juan Diaz" À: "Pablo Marques" Cc: "José Frederico" , bacula-users@lists.sourceforge.net Envoyé: Mercredi 28 Mars 2012 09:47:23 Objet: Re: [Bacula-users] Question Thank you Pablo but it didn't worked. The incremental or differential continues being bigger than the full backup. Juan David DIAZ INSA Lyon Universidad ICESI +33 6 49 59 23 86 - Mail original - De: "Pablo Marques" À: "Juan Diaz" Cc: "José Frederico" , bacula-users@lists.sourceforge.net Envoyé: Mardi 27 Mars 2012 17:40:41 Objet: Re: [Bacula-users] Question Juan: That is no happening to us and the only obvious difference between our set up and yours is in the fileset definition. Can you remove these lines in your fileset and give it a try? BaseJob = pmugcs5 Accurate = mcs Verify = pin5 This is our fileset: FileSet { Name = "Root-set" Include { Options { signature = MD5 compression = LZO Sparse = yes aclsupport = yes xattrsupport = yes } File = / } } Good luck Pablo - Original Message - From: "Juan Diaz" To: bacula-users@lists.sourceforge.net Cc: "José Frederico" Sent: Tuesday, March 27, 2012 9:35:27 AM Subject: [Bacula-users] Question Hello, Right now we're evaluating and deciding which is going to be our Backup software, Bacula is the most optioned so far but we're having troubles with the implementation of the file DE duplication. When we make a base job of the machine virtual that is going to be the base, his size is 553 Mb. After that when we make a full backup of a machine that was created from the machine "base". His size is 242 Mb that’s ok because it only has to make backup of the files that are different of files of the base. The problem comes when we make a differential backup right after the full backup. The result must be 0 Mb or something really small, but we're getting backups of 462 Mb. We used one configuration similar to the one we found in the Bacula’s manual. http://www.bacula.org/5.2.x-manuals/en/main/main.pdf Chapter 34. We have tried removing BaseJob, Accurate and Verify from FileSet but it didn’t worked. We have always the same sizes that don't make sense. We would like to know if you have a solution for our problem, because it worked when we don't use DE duplication (just with full and Differential), but we are very interested in using it, that would save us a lot of space on ours hard drives. We attached here the job’s configuration: ob { Name = "BackupBasse" Type = Backup Level = Base Client = basse-fd FileSet = "TOUT" Schedule = "programme2" Storage = File Messages = Standard Pool = File Priority = 10 Write Bootstrap = "/var/lib/bacula/%c.bsr" } Schedule{ Name = "programme2" Run = at 14:30 } Job { Name = "Backupftp" Type = Backup Base = Backupftp, BackupBasse Accurate=yes Client = basseftp-fd FileSet = "TOUT" Schedule = "programme" Storage = File Messages = Standard Pool = File Priority = 10 Write Bootstrap = "/var/lib/bacula/%c.bsr" } Schedule{ Name = "programme" Run = Level=Full at 14:31 Run = Level=Incremental at 14:32 } FileSet { Name = "TOUT" Include { Options { BaseJob = pmugcs5 Accurate = mcs Verify = pin5 } File = / } } Thank you very much for your help, Juan David DIAZ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Question
Thank you Pablo but it didn't worked. The incremental or differential continues being bigger than the full backup. Juan David DIAZ INSA Lyon Universidad ICESI +33 6 49 59 23 86 - Mail original - De: "Pablo Marques" À: "Juan Diaz" Cc: "José Frederico" , bacula-users@lists.sourceforge.net Envoyé: Mardi 27 Mars 2012 17:40:41 Objet: Re: [Bacula-users] Question Juan: That is no happening to us and the only obvious difference between our set up and yours is in the fileset definition. Can you remove these lines in your fileset and give it a try? BaseJob = pmugcs5 Accurate = mcs Verify = pin5 This is our fileset: FileSet { Name = "Root-set" Include { Options { signature = MD5 compression = LZO Sparse = yes aclsupport = yes xattrsupport = yes } File = / } } Good luck Pablo - Original Message - From: "Juan Diaz" To: bacula-users@lists.sourceforge.net Cc: "José Frederico" Sent: Tuesday, March 27, 2012 9:35:27 AM Subject: [Bacula-users] Question Hello, Right now we're evaluating and deciding which is going to be our Backup software, Bacula is the most optioned so far but we're having troubles with the implementation of the file DE duplication. When we make a base job of the machine virtual that is going to be the base, his size is 553 Mb. After that when we make a full backup of a machine that was created from the machine "base". His size is 242 Mb that’s ok because it only has to make backup of the files that are different of files of the base. The problem comes when we make a differential backup right after the full backup. The result must be 0 Mb or something really small, but we're getting backups of 462 Mb. We used one configuration similar to the one we found in the Bacula’s manual. http://www.bacula.org/5.2.x-manuals/en/main/main.pdf Chapter 34. We have tried removing BaseJob, Accurate and Verify from FileSet but it didn’t worked. We have always the same sizes that don't make sense. We would like to know if you have a solution for our problem, because it worked when we don't use DE duplication (just with full and Differential), but we are very interested in using it, that would save us a lot of space on ours hard drives. We attached here the job’s configuration: ob { Name = "BackupBasse" Type = Backup Level = Base Client = basse-fd FileSet = "TOUT" Schedule = "programme2" Storage = File Messages = Standard Pool = File Priority = 10 Write Bootstrap = "/var/lib/bacula/%c.bsr" } Schedule{ Name = "programme2" Run = at 14:30 } Job { Name = "Backupftp" Type = Backup Base = Backupftp, BackupBasse Accurate=yes Client = basseftp-fd FileSet = "TOUT" Schedule = "programme" Storage = File Messages = Standard Pool = File Priority = 10 Write Bootstrap = "/var/lib/bacula/%c.bsr" } Schedule{ Name = "programme" Run = Level=Full at 14:31 Run = Level=Incremental at 14:32 } FileSet { Name = "TOUT" Include { Options { BaseJob = pmugcs5 Accurate = mcs Verify = pin5 } File = / } } Thank you very much for your help, Juan David DIAZ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users <>-- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users