Re: [Bacula-users] Cannot find any appendable volumes - Please use the label command to create a new Volume for:
Hi! Thanks for your answer. Here is the config for this pool: Pool { Name = xxx_daily Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 27 days Volume Use Duration = 10h } Thanks. Juergen Anton Albajes-Eizagirre schrieb: Juergen, I'm not really expert on Volume managing (i'm new on bacula's world :-$), but it might have some relations about the messages you're getting about volume purging and recycling time. You should check you retention periods for volumes, for example. I'm sure it would be very helpful for anyone having exact notions about all this if you could provide your config files (specially sections configuring pools). Hope this gives you some hints, anton On Thu, 2010-01-14 at 14:46 +0100, Juergen Mehmke wrote: Hi! We have a problem with Bacula 3.0.2 (Update from 2.x). Some backups starts normally. Bacula purged and recycled the inserted tape. Suddenly Bacula says Can not find any appendable volumes.Please use the label command to create a new volume for Exactly one hour later, then Bacula automatically turns on with the backup as if nothing had happened. At this point, Bacula has already found the right tape and prepared the tape for the next backup. Why then did he suddenly finds no tape anymore? That makes Bacula since the update to version 3.0.2. Here is the excerpt from the log: 13-Jan 23:15 xxx-dir JobId 23366: shell command: run BeforeJob /etc/bacula/scripts/autoupdateslots.sh 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Director xxx:9101 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 1000 OK: xxx-dir Version: 3.0.2 (18 July 2009) 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter a period to cancel a command. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: mount storage=Overland_ArcVault12 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Automatically selected Catalog: XXX 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Using Catalog XXX 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter autochanger slot: 2 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3001 Device HP_Ultrium3_SCSI (/dev/nst0) is mounted with Volume 002059L3 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: You have messages. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Director xxx:9101 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 1000 OK: xxx-dir Version: 3.0.2 (18 July 2009) 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter a period to cancel a command. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: update slots 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Automatically selected Catalog: XXX 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Using Catalog XXX 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: The defined Storage resources are: 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 1: File 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 2: Overland_ArcVault12 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3: Dell_PV-122T 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Select Storage resource (1-3): 2 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Storage daemon Overland_ArcVault12 at xxx:9103 ... 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3306 Issuing autochanger slots command. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Device Overland_ArcVault12 has 12 slots. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Storage daemon Overland_ArcVault12 at xxx:9103 ... 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3306 Issuing autochanger list command. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Catalog record for Volume 002018L3 updated to reference slot 3. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Catalog record for Volume 002059L3 updated to reference slot 2. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: You have messages. 13-Jan 23:15 xxx-dir JobId 23366: Start Backup JobId 23366, Job=backup_xxx.2010-01-13_23.15.00_32 13-Jan 23:15 xxx-dir JobId 23366: There are no more Jobs associated with Volume 002018L3. Marking it purged. 13-Jan 23:15 xxx-dir JobId 23366: All records pruned from Volume 002018L3; marking it Purged 13-Jan 23:15 xxx-dir JobId 23366: Recycled volume 002018L3 13-Jan 23:15 xxx-dir JobId 23366: Using Device HP_Ultrium3_SCSI 13-Jan 23:15 xxx-sd JobId 23366: Job backup_xxx.2010-01-13_23.15.00_32 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: HP_Ultrium3_SCSI (/dev/nst0) Pool: xxx_daily Media type: LTO3 14-Jan 00:15 xxx-sd JobId 23366: 3307 Issuing autochanger unload slot 2, drive 0 command. 14-Jan 00:16 xxx-sd JobId 23366: 3304 Issuing autochanger load slot 3, drive 0 command. 14-Jan 00:17 xxx-sd JobId 23366: 3305 Autochanger load slot 3, drive 0, status is OK. 14-Jan 00:17 xxx-sd JobId 23366: Recycled volume
Re: [Bacula-users] Q: Can 2.x clients talk to a 3.0.3 server?
On Thu, Jan 14, 2010 at 05:43:36PM +0100, Ulrich Leodolter wrote: On Thu, 2010-01-14 at 17:10 +0100, Ralf Gross wrote: Uwe Schuerkamp schrieb: Hi folks, I just set up the first 3.0.3 bacula server (compiled from source on CentOS 5.4) in our environment and was wondering wether 2.x clients cann still talk to a 3.x server version? I cannot test this right now without going through major changes because the new server is not at its final destination, read: our hosting facility yet. http://www.bacula.org/en/?page=news quote: Compatibility: As always, both the Director and Storage daemon must be upgraded at the same time. Older 3.0.x and possibly 2.4.x File Daemons are compatible with the 3.0.3 Director and Storage daemons. There should be no need to upgrade older File Daemons. You cannot use all new 3.0.x features for old 2.4.x fd clients, e.g ExcludeDirContaining thanks much for your replies, I'll give it a go next week then report back. For now, we're not planning to introduce any new features from 3.x to our backup strategy, it's a simple drop-in replacement for a 2.2.8 bacula server, so I don't expect too many problems. All the best, Uwe -- uwe.schuerk...@nionex.net fon: [+49] 5242.91 - 4740, fax:-69 72 Hauptsitz: Avenwedder Str. 55, D-33311 Gütersloh, Germany Registergericht Gütersloh HRB 4196, Geschäftsführer: H. Gosewehr, D. Suda NIONEX ist ein Unternehmen der DirectGroup Germany www.directgroupgermany.de -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] stuck job blocks all queue
Daniel De Marco wrote: * Dan Langille d...@langille.org [01/13/2010 20:03]: I think you need to read up on 'concurrent jobs'. If you want to run concurrent jobs you should keep these points in mind: * See Running Concurrent Jobs on how to setup concurrent jobs. * Bacula concurrently runs jobs of only one priority at a time. It will not simultaneously run a priority 1 and a priority 2 job. I see, I tought that since the first job was stuck it wouldn't block the queue and the above would not apply, but thinking about it, it makes sense. So it is not possible to have a workaround or a different configuration so that a stuck job would not block the queue?? *cough* I'm pretty sure you answered your own question. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] profiling a backup job
Hi, is there any facility of profiling a job in bacula. By that I mean, being able to gather information on the time taken for parts of the backups. I can see a job is taking a long time (on a senior staff member's laptop) and I can look at the status and see that it's spending large amounts of time in certain parts of the disk. However, this is just by running status client=. now and then which is not very accurate. Is there some way to profile a backup to see how long it spends in different parts of the filesystem and tell what's taking so long? We're running incremental backups with the accurate option which may be part of the trouble. Gavin -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Schedule verify init
Hello, I'm trying to run a daily verify job to see which files have changed from the previous verify. To do so I want to: 1) Run a daily verify job 2) Run a init catalog job when the verify finishes to refresh the database so the next time de verify is run I will only see the new changes. The problem is that the daily verify says it doesn't have an InitCatalog job ( because of the different jobs names?) How can I do this (daily init catalog and daily verify) automatically? Thanks. Jobs definition: Job { Name = Verify1 Client = client-fd FileSet = VerifyFileset Type = Verify Schedule = DailyVerify Level = Catalog Priority = 10 } Job { Name = VerifyInit1 Client = client-fd FileSet = VerifyFileset Type = Verify Schedule = DailyVerify Level = InitCatalog Priority = 20 } -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] adding exclude to fileset forces a full backup
Hi, this may be a very unreasonable request. If you run a full backup, then add to the fileset, then try and run an incremental, I can see why a full backup is triggered. I was taken by surprise recently when I added an exclude to a fileset and triggered a full backup. I guess the rule is any changes to the fileset will trigger a full backup but is that really necessary on an exclude? I can appreciate it might be quite complicated to work out what changes had been made and determine if a full backup is necessary. Gavin -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] adding exclude to fileset forces a full backup
On Friday 15 January 2010 14:07:20 Gavin McCullagh wrote: Hi, this may be a very unreasonable request. If you run a full backup, then add to the fileset, then try and run an incremental, I can see why a full backup is triggered. I was taken by surprise recently when I added an exclude to a fileset and triggered a full backup. I guess the rule is any changes to the fileset will trigger a full backup but is that really necessary on an exclude? I can appreciate it might be quite complicated to work out what changes had been made and determine if a full backup is necessary. Gavin There's an option Ignore Fileset Changes for not triggering full backup on every change. -- Silver -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Question about recycle = no
On 01/14/2010 11:05 PM, Phil Stracchino wrote: Jon Schewe wrote: On 1/12/10 5:40 PM, Timo Neuvonen wrote: So I'm backing data up to an external drive. I have maximum volume jobs set to 1, to ensure that each job uses a different volume. I would also like it such that volumes are not reused, so I assume I should set recycle to no. Now the question is, when the retention period comes up, will the volumes that are past the retention period be deleted? If they are not, I'll run out of space on my external drive. Bacula does not delete the volumes automatically. If recycling were allowed, the volumes would be re-used, but never actually deleted in that case either. If you need to delete the volumes, you have to do it manually, or using some sort of admin job or script. And before deleting the volume files, also delete the volumes from the catalog to prevent the catalog growing unnecessarily. Has anyone written such a script to handle this? I asked this same question recently. There isn't a standard one. I will be writing one shortly for my own needs. Turns out it was really easy, I wrote one last night. It's below. You just want to change the find part of the script to find the appropriate volumes, then run this as a before or after job script. You will want to check this by working with a test pool, as I did, just to be sure it's right. #!/bin/bash for file in `find /mnt/mybook/bacula -name 'Test-*'`; do volume=`basename ${file}` echo *** Deleting Vol ${volume} from bacula catalog /usr/sbin/bconsole EOF delete volume=${volume} yes quit EOF echo *** Deleteing ${file} from disk rm -f ${file} done -- Jon Schewe | http://mtu.net/~jpschewe If you see an attachment named signature.asc, this is my digital signature. See http://www.gnupg.org for more information. For I am convinced that neither death nor life, neither angels nor demons, neither the present nor the future, nor any powers, neither height nor depth, nor anything else in all creation, will be able to separate us from the love of God that is in Christ Jesus our Lord. - Romans 8:38-39 -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] adding exclude to fileset forces a full backup
On Friday 15 January 2010 14:42:06 Gavin McCullagh wrote: Hi, On Fri, 15 Jan 2010, Silver Salonen wrote: I was taken by surprise recently when I added an exclude to a fileset and triggered a full backup. I guess the rule is any changes to the fileset will trigger a full backup but is that really necessary on an exclude? There's an option Ignore Fileset Changes for not triggering full backup on every change. That's great, thanks. The manual is a little unclear on the effect of this though (except to point out that you lose guarantees). http://www.bacula.org/en/rel- manual/Configuring_Director.html#SECTION00147 If, for example, I exclude c:\pagefile.sys, will that exclusion be completely ignored until the next scheduled full backup (ie will it keep backing it up until then)? No, the option means just that the next job of the fileset is not going to be forced to full. The effect of exclusion etc. is still there though. If you're using accurate incremental backups and run a virtualfull, is that equivalent to a full for these purposes, or does a real full backup have to be run? I don't think VirtualFull backup uses fileset to see which files to check and which not to - I guess it just merges multiple backups. I'm not sure though. But if a file has been marked as deleted by an accurate incremental backup, it won't be included in VirtualFull. -- Silver -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] adding exclude to fileset forces a full backup
Hi, On Fri, 15 Jan 2010, Silver Salonen wrote: I was taken by surprise recently when I added an exclude to a fileset and triggered a full backup. I guess the rule is any changes to the fileset will trigger a full backup but is that really necessary on an exclude? There's an option Ignore Fileset Changes for not triggering full backup on every change. That's great, thanks. The manual is a little unclear on the effect of this though (except to point out that you lose guarantees). http://www.bacula.org/en/rel-manual/Configuring_Director.html#SECTION00147 If, for example, I exclude c:\pagefile.sys, will that exclusion be completely ignored until the next scheduled full backup (ie will it keep backing it up until then)? If you're using accurate incremental backups and run a virtualfull, is that equivalent to a full for these purposes, or does a real full backup have to be run? Many thanks for your help, Gavin -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Building from source on Fedora 12
I've just upgraded to FC12 and m facing exactly this issue. and would be happy to install from RPM's if someone could point to a guide please. I have been building bacula from source for years now as thats how I first did it, and guess its time now to break the habit. I'm not even sure what the RPM way is, I'd definitely prefer to use yum install bacula and be done with it but the last time I looked bacula wasn't in any repos I knew of. From: Robert Hartzell b...@rwhartzell.net To: bacula-users@lists.sourceforge.net Sent: Thu, 14 January, 2010 0:36:44 Subject: Re: [Bacula-users] Building from source on Fedora 12 On 01/12/10 03:02 PM, Thomas Bennett wrote: you might want to try yum update openssl yum is the package manager for Fedora and will resolve dependencies. You can also run yum deplist openssl |grep crypto which will probably show libcrypto.so.8 or newer and libk5crypto.so.3 or newer. It shows these on my Fedora 11 installation 64bit. Also, man yum to see all of the options, like how to force a reinstall of a package. you might want to reinstall of openssl with yum yum reinstall openssl This might take care of any missing or messed up dependencies. Thomas On Tuesday 12 January 2010 12:35:14 Robert Hartzell wrote: I've been asked by a friend to help setup bacula on a fedora 12 system. Now I admit that I know next to nothing about linux... the last time I installed a Linux system the distro was distributed a big stack of floppys ;-) Note: bacula builds and runs fine when disabling openssl. The problem I having is related to openssl and crypto.c. The specific error is: crypto.c: In function ‘ASN1_OCTET_STRING* openssl_cert_keyid(X509*)’: crypto.c:333: error: invalid conversion from ‘const X509V3_EXT_METHOD*’ to ‘X509V3_EXT_METHOD*’ and: make[1]: *** No rule to make target `../lib/libbacpy.la', needed by `bacula-sd'. Stop. I'm pretty sure all the needed openssl and zlib pkgs are installed: libpathfinder-openssl.x86_64 libpathfinder-openssl-devel.x86_64 nss_compat_ossl.x86_64 openssl.x86_64 1.0.0-0.13.beta4.fc12 openssl-devel.x86_64 openssl-perl.x86_64 openssl-static.x86_64 zlib.x86_641.2.3-23.fc12 @anaconda-InstallationRepo-200911081904.x86_64 zlib-devel.x86_64 1.2.3-23.fc12 @anaconda-InstallationRepo-200911081904.x86_64 zlib-static.x86_64 1.2.3-23.fc12 @fedora google has turned up a few related posts but no solutions that I have found. So can any of you Linux/fedora guru's out there point me towards a solution? TIA, Robert P.S. I know someone will probably say just install rpm's but I would rather build from source if possible since I'm not at all familiar with the rpm way of life. Thanks for the pointers... Will try them out this weekend and see what happens. -- Robert W Hartzell bear at rwhartzell.net RwHartzell.Net -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
Hello, 15.01.2010 08:25, Glyn wrote: Using 3.0.2 on Ubuntu 8.04 server with MySQL. It is now Friday of the 2nd week of January so the schedule A with Pool A should be used, I would have thought. However, this morning at 9:05 I get a message asking for a volume of drive B to be labelled. From Monday to Thursday the A schedule was used correctly but now suddenly on Friday, it wants to switch to the B schedule. Maybe I have something wrong in the dir.conf? The schedule section is below and any help would be appreciated. Given the number of schedules you have, you also have different backup jobs set up. A backup job can only be based upon previous backups of the same job. To achieve what you want, only use one job, and a schedule like Schedule { Name = WeeklyCycleAB Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 } That should help :-) Arno # When to do the backups Schedule { Name = WeeklyCycleB Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 } Schedule { Name = DayTimeB Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th tue-fri at 09:05 Run = Full Pool = Full-Pool-B 1st, 3rd, 5th mon at 09:05 } Schedule { Name = WeeklyCycleA Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 } Schedule { Name = DayTimeA Run = Incremental Pool = Incr-Pool-A 2nd, 4th tue-fri at 09:05 Run = Full Pool = Full-Pool-A 2nd, 4th mon at 09:05 } # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = WeeklyCycleAfterBackupB Run = Full 1st, 3rd, 5th mon-fri at 19:10 } Schedule { Name = WeeklyCycleAfterBackupA Run = Full 2nd, 4th mon-fri at 19:10 } Schedule { Name = DayTimeAfterBackupB Run = Full 1st, 3rd, 5th mon-fri at 09:10 } Schedule { Name = DayTimeAfterBackupA Run = Full 2nd, 4th mon-fri at 09:10 } -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Question about recycle = no
I asked this same question recently. There isn't a standard one. I will be writing one shortly for my own needs. Turns out it was really easy, I wrote one last night. It's below. You just want to change the find part of the script to find the appropriate volumes, then run this as a before or after job script. You will want to check this by working with a test pool, as I did, just to be sure it's right. #!/bin/bash for file in `find /mnt/mybook/bacula -name 'Test-*'`; do volume=`basename ${file}` echo *** Deleting Vol ${volume} from bacula catalog /usr/sbin/bconsole EOF delete volume=${volume} yes quit EOF echo *** Deleteing ${file} from disk rm -f ${file} done I think others were looking for the more complicated task of deleting file volumes automatically after their retention period had expired. John -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes - Please use the label command to create a new Volume for:
In my opinion, it looks correct mine is there with more information and it work fine Pool { Name = Weekly Pool Type = Backup Recycle = yes AutoPrune = yes VolumeRetention = 31d # recycle in 31 days (default) Maximum Volumes = 28 Purge Oldest Volume = yes Recycle Oldest Volume = yes #reciclo volume precedente Use Volume Once = yes } CIAO, Carlo 2010/1/15 Juergen Mehmke j.meh...@kabuco.de: Hi! Thanks for your answer. Here is the config for this pool: Pool { Name = xxx_daily Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 27 days Volume Use Duration = 10h } Thanks. Juergen Anton Albajes-Eizagirre schrieb: Juergen, I'm not really expert on Volume managing (i'm new on bacula's world :-$), but it might have some relations about the messages you're getting about volume purging and recycling time. You should check you retention periods for volumes, for example. I'm sure it would be very helpful for anyone having exact notions about all this if you could provide your config files (specially sections configuring pools). Hope this gives you some hints, anton On Thu, 2010-01-14 at 14:46 +0100, Juergen Mehmke wrote: Hi! We have a problem with Bacula 3.0.2 (Update from 2.x). Some backups starts normally. Bacula purged and recycled the inserted tape. Suddenly Bacula says Can not find any appendable volumes.Please use the label command to create a new volume for Exactly one hour later, then Bacula automatically turns on with the backup as if nothing had happened. At this point, Bacula has already found the right tape and prepared the tape for the next backup. Why then did he suddenly finds no tape anymore? That makes Bacula since the update to version 3.0.2. Here is the excerpt from the log: 13-Jan 23:15 xxx-dir JobId 23366: shell command: run BeforeJob /etc/bacula/scripts/autoupdateslots.sh 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Director xxx:9101 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 1000 OK: xxx-dir Version: 3.0.2 (18 July 2009) 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter a period to cancel a command. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: mount storage=Overland_ArcVault12 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Automatically selected Catalog: XXX 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Using Catalog XXX 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter autochanger slot: 2 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3001 Device HP_Ultrium3_SCSI (/dev/nst0) is mounted with Volume 002059L3 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: You have messages. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Director xxx:9101 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 1000 OK: xxx-dir Version: 3.0.2 (18 July 2009) 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter a period to cancel a command. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: update slots 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Automatically selected Catalog: XXX 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Using Catalog XXX 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: The defined Storage resources are: 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 1: File 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 2: Overland_ArcVault12 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3: Dell_PV-122T 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Select Storage resource (1-3): 2 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Storage daemon Overland_ArcVault12 at xxx:9103 ... 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3306 Issuing autochanger slots command. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Device Overland_ArcVault12 has 12 slots. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Storage daemon Overland_ArcVault12 at xxx:9103 ... 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3306 Issuing autochanger list command. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Catalog record for Volume 002018L3 updated to reference slot 3. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Catalog record for Volume 002059L3 updated to reference slot 2. 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: You have messages. 13-Jan 23:15 xxx-dir JobId 23366: Start Backup JobId 23366, Job=backup_xxx.2010-01-13_23.15.00_32 13-Jan 23:15 xxx-dir JobId 23366: There are no more Jobs associated with Volume 002018L3. Marking it purged. 13-Jan 23:15 xxx-dir JobId 23366: All records pruned from Volume 002018L3; marking it Purged 13-Jan 23:15 xxx-dir JobId 23366: Recycled volume 002018L3 13-Jan 23:15 xxx-dir JobId 23366: Using Device HP_Ultrium3_SCSI 13-Jan 23:15 xxx-sd JobId 23366: Job backup_xxx.2010-01-13_23.15.00_32 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for:
[Bacula-users] restore error
Hello, Using bacula in a french education distribution based on ubuntu 8.04, I have a problem during restore. Here is my bacula.log file... Could you help me? Should this error caused by a hardware problem? Arnaud 13-jan 17:27 127.0.0.1-dir JobId 3: Démarrage du Job de restauration RestoreLDAP.2010-01-13_17.27.36_03 13-jan 17:27 127.0.0.1-dir JobId 3: Using Device FileStorage 13-jan 17:27 127.0.0.1-sd JobId 3: Erreur fatale : Bootstrap file error: Keyword VolAddr not found : Line 6, col 7 of file /var/lib/bacula/127.0.0.1-sd.RestoreLDAP.2010-01-13_17.27.36_03.1.bootstrap VolAddr=206-92568046 13-jan 17:27 127.0.0.1-sd JobId 3: Erreur fatale : Error parsing bootstrap file. 13-jan 17:27 127.0.0.1-dir JobId 3: Erreur fatale : Mauvaise réponse à la commande Bootstrap : voulait 3000 OK bootstrap , pas 3904 Error bootstrap 13-jan 17:27 127.0.0.1-dir JobId 3 : Erreur : Bacula 127.0.0.1-dir 3.0.3 (18Oct09): 13-jan-2010 17:27:38 Build OS: i486-pc-linux-gnu ubuntu 8.04 JobId: 3 Job:RestoreLDAP.2010-01-13_17.27.36_03 Restore Client: 127.0.0.1-fd Start time: 13-jan-2010 17:27:38 End time: 13-jan-2010 17:27:38 Files Expected: 1 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 0 FD termination status: SD termination status: Termination:*** Restauration en erreur *** 13-jan 17:27 127.0.0.1-dir JobId 3 : Erreur : Bacula 127.0.0.1-dir 3.0.3 (18Oct09): 13-jan-2010 17:27:38 Build OS: i486-pc-linux-gnu ubuntu 8.04 JobId: 3 Job:RestoreLDAP.2010-01-13_17.27.36_03 Restore Client: 127.0.0.1-fd Start time: 13-jan-2010 17:27:38 End time: 13-jan-2010 17:27:38 Files Expected: 1 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 1 FD termination status: SD termination status: Termination:*** Restauration en erreur *** et le contenu du fichier ScribeBootStrap.bsr: # 12-jan-2010 17:58:13 - Complet.2010-01-12_17.51.31_08 - Full Volume=ScribeVolume-0001 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=206-36170 FileIndex=1-2429 Volume=ScribeVolume-0001 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=36171-1999872133 FileIndex=2429-7779 Volume=ScribeVolume-0001 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=1999872134-136645 FileIndex=7779-7779 Volume=ScribeVolume-0002 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=206-36186 FileIndex=7779-12555 Volume=ScribeVolume-0002 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=36187-1999872129 FileIndex=12555-20472 Volume=ScribeVolume-0002 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=1999872130-136641 FileIndex=20472-20472 Volume=ScribeVolume-0003 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=206-92568046 FileIndex=20472-21515 -- *Arnaud Bougeard* Sige3 Infrastructures EPLE Rectorat de Versailles 3 Bd Lesseps 78000 Versailles -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Building from source on Fedora 12
From: Bill Damage bill.dam...@yahoo.com I've just upgraded to FC12 and m facing exactly this issue. and would be happy to install from RPM's if someone could point to a guide please. I have been building bacula from source for years now as thats how I first did it, and guess its time now to break the habit. I'm not even sure what the RPM way is, I'd definitely prefer to use yum install bacula and be done with it but the last time I looked bacula wasn't in any repos I knew of. I used these rpms (v2.4 though) with CentOS and works fine... http://sourceforge.net/projects/bacula/files/rpms-contrib-fschwarz/ JD -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
Arno Lehmann wrote: Hello, 15.01.2010 08:25, Glyn wrote: Using 3.0.2 on Ubuntu 8.04 server with MySQL. It is now Friday of the 2nd week of January so the schedule A with Pool A should be used, I would have thought. However, this morning at 9:05 I get a message asking for a volume of drive B to be labelled. From Monday to Thursday the A schedule was used correctly but now suddenly on Friday, it wants to switch to the B schedule. Maybe I have something wrong in the dir.conf? The schedule section is below and any help would be appreciated. Given the number of schedules you have, you also have different backup jobs set up. A backup job can only be based upon previous backups of the same job. To achieve what you want, only use one job, and a schedule like Schedule { Name = WeeklyCycleAB Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 } That should help :-) Well done Arno. I looked at this early today, but couldn't figure it out. :) -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Building from source on Fedora 12
Bacula RPM Packaging instructions are at the Bacula http://www.bacula.org/manuals/en/utility/utility/Bacula_RPM_Packaging_FAQ.html RPM Packaging FAQ. I found I had to tweak the spec file a bit. The .spec included in the source tarball has the following issues: - Source file bacula-docs is now bz2 not gz - Logwatch location wrong for newer distros - Logwatch applybaculadate script not installed - Sqlite database not created with correct permissions - Passwords not set up correctly in conf files The bacula-3.0.3-1.src.rpm from the downloads page fixes the first two; if you need a patch to address the others I can send you one. Apparently a new release is due soon which I hope will fix them permanently. Moray. To err is human. To purr, feline A: Because it breaks the thread of the conversation. Q: Why is top-posting bad? From: Bill Damage [mailto:bill.dam...@yahoo.com] Sent: 15 January 2010 12:49 To: Robert Hartzell; bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Building from source on Fedora 12 I've just upgraded to FC12 and m facing exactly this issue. and would be happy to install from RPM's if someone could point to a guide please. I have been building bacula from source for years now as thats how I first did it, and guess its time now to break the habit. I'm not even sure what the RPM way is, I'd definitely prefer to use yum install bacula and be done with it but the last time I looked bacula wasn't in any repos I knew of. _ From: Robert Hartzell b...@rwhartzell.net To: bacula-users@lists.sourceforge.net Sent: Thu, 14 January, 2010 0:36:44 Subject: Re: [Bacula-users] Building from source on Fedora 12 On 01/12/10 03:02 PM, Thomas Bennett wrote: you might want to try yum update openssl yum is the package manager for Fedora and will resolve dependencies. You can also run yum deplist openssl |grep crypto which will probably show libcrypto.so.8 or newer and libk5crypto.so.3 or newer. It shows these on my Fedora 11 installation 64bit. Also, man yum to see all of the options, like how to force a reinstall of a package. you might want to reinstall of openssl with yum yum reinstall openssl This might take care of any missing or messed up dependencies. Thomas On Tuesday 12 January 2010 12:35:14 Robert Hartzell wrote: I've been asked by a friend to help setup bacula on a fedora 12 system. Now I admit that I know next to nothing about linux... the last time I installed a Linux system the distro was distributed a big stack of floppys ;-) Note: bacula builds and runs fine when disabling openssl. The problem I having is related to openssl and crypto.c. The specific error is: crypto.c: In function ‘ASN1_OCTET_STRING* openssl_cert_keyid(X509*)’: crypto.c:333: error: invalid conversion from ‘const X509V3_EXT_METHOD*’ to ‘X509V3_EXT_METHOD*’ and: make[1]: *** No rule to make target `../lib/libbacpy.la', needed by `bacula-sd'. Stop. I'm pretty sure all the needed openssl and zlib pkgs are installed: libpathfinder-openssl.x86_64 libpathfinder-openssl-devel.x86_64 nss_compat_ossl.x86_64 openssl.x86_641.0.0-0.13.beta4.fc12 openssl-devel.x86_64 openssl-perl.x86_64 openssl-static.x86_64 zlib.x86_641.2.3-23.fc12 @anaconda-InstallationRepo-200911081904.x86_64 zlib-devel.x86_64 1.2.3-23.fc12 @anaconda-InstallationRepo-200911081904.x86_64 zlib-static.x86_64 1.2.3-23.fc12 @fedora google has turned up a few related posts but no solutions that I have found. So can any of you Linux/fedora guru's out there point me towards a solution? TIA, Robert P.S. I know someone will probably say just install rpm's but I would rather build from source if possible since I'm not at all familiar with the rpm way of life. Thanks for the pointers... Will try them out this weekend and see what happens. -- Robert W Hartzell bear at rwhartzell.net RwHartzell.Net -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies.
Re: [Bacula-users] Question about recycle = no
On 1/15/10 7:48 AM, John Drescher wrote: I asked this same question recently. There isn't a standard one. I will be writing one shortly for my own needs. Turns out it was really easy, I wrote one last night. It's below. You just want to change the find part of the script to find the appropriate volumes, then run this as a before or after job script. You will want to check this by working with a test pool, as I did, just to be sure it's right. #!/bin/bash for file in `find /mnt/mybook/bacula -name 'Test-*'`; do volume=`basename ${file}` echo *** Deleting Vol ${volume} from bacula catalog /usr/sbin/bconsole EOF delete volume=${volume} yes quit EOF echo *** Deleteing ${file} from disk rm -f ${file} done I think others were looking for the more complicated task of deleting file volumes automatically after their retention period had expired. That's what I intend to do as well by changing the find to be this: find /mnt/mybook/bacula -mtime +65 This finds all files that haven't been modified in 65 days or more. If the retention period is set to 60 days, this would be a pretty safe way to do it. -- Jon Schewe | http://mtu.net/~jpschewe If you see an attachment named signature.asc, this is my digital signature. See http://www.gnupg.org for more information. For I am convinced that neither death nor life, neither angels nor demons, neither the present nor the future, nor any powers, neither height nor depth, nor anything else in all creation, will be able to separate us from the love of God that is in Christ Jesus our Lord. - Romans 8:38-39 -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Question about recycle = no
I think others were looking for the more complicated task of deleting file volumes automatically after their retention period had expired. That's what I intend to do as well by changing the find to be this: find /mnt/mybook/bacula -mtime +65 This finds all files that haven't been modified in 65 days or more. If the retention period is set to 60 days, this would be a pretty safe way to do it. Looks good to me. Some may want different retention periods per pool but with labeling the volumes this would be easy to adjust. John -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula 3.0.3 maintain ctime on restored files?
In the case here it's rather a large issue (granted due to other problems like hardware or software issues that require restores of data and is NOT something that I want to continue, however we are living in an imperfect world) but to give you an idea the dataset size is about 30-40TiB with restores anywhere from 2TiB to a full restore to back that back up again not only takes a LOT of tapes which is costly it also takes a LOT of time (day/weeks) where nothing else can be run. What I have been doing which is just painful is do a full restore, then have to do a full backup right after then continue so a restore is actually the time of about 2x of a full. (for a full set this is about 9-10 days on LTO4). This has happened about 3 times so far in the past 2 months. Have you considered breaking up such a big dataset into pieces that only take up perhaps 5 tapes or less each? I know it can be a pain to manage, but it seems like that would go a long way toward. The other benefit is that if a tape breaks during the restore (or is just discovered to be unreadable) you can still get 100% of the other datasets restored. IMHO, any time you realize you can't back up your fileset in one day or even one weekend that's a good opportunity to take a step back and re-think things. Perhaps you might even need to take the step of scheduling the fulls so they don't occur on the same schedule. I realize you that your periodic audits of your filesets to make sure you're not missing something become a lot more complicated, but a painful audit once per quarter seems like a lot better than what you've described above. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] restore problem
Hello, Using bacula in a french education distribution based on ubuntu 8.04, I have a problem during restore. Here is my bacula.log file... Could you help me? Should this error caused by a hardware problem? Arnaud 13-jan 17:27 127.0.0.1-dir JobId 3: Démarrage du Job de restauration RestoreLDAP.2010-01-13_17.27.36_03 13-jan 17:27 127.0.0.1-dir JobId 3: Using Device FileStorage 13-jan 17:27 127.0.0.1-sd JobId 3: Erreur fatale : Bootstrap file error: Keyword VolAddr not found : Line 6, col 7 of file /var/lib/bacula/127.0.0.1-sd.RestoreLDAP.2010-01-13_17.27.36_03.1.bootstrap VolAddr=206-92568046 13-jan 17:27 127.0.0.1-sd JobId 3: Erreur fatale : Error parsing bootstrap file. 13-jan 17:27 127.0.0.1-dir JobId 3: Erreur fatale : Mauvaise réponse à la commande Bootstrap : voulait 3000 OK bootstrap , pas 3904 Error bootstrap 13-jan 17:27 127.0.0.1-dir JobId 3 : Erreur : Bacula 127.0.0.1-dir 3.0.3 (18Oct09): 13-jan-2010 17:27:38 Build OS: i486-pc-linux-gnu ubuntu 8.04 JobId: 3 Job:RestoreLDAP.2010-01-13_17.27.36_03 Restore Client: 127.0.0.1-fd Start time: 13-jan-2010 17:27:38 End time: 13-jan-2010 17:27:38 Files Expected: 1 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 0 FD termination status: SD termination status: Termination:*** Restauration en erreur *** 13-jan 17:27 127.0.0.1-dir JobId 3 : Erreur : Bacula 127.0.0.1-dir 3.0.3 (18Oct09): 13-jan-2010 17:27:38 Build OS: i486-pc-linux-gnu ubuntu 8.04 JobId: 3 Job:RestoreLDAP.2010-01-13_17.27.36_03 Restore Client: 127.0.0.1-fd Start time: 13-jan-2010 17:27:38 End time: 13-jan-2010 17:27:38 Files Expected: 1 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 1 FD termination status: SD termination status: Termination:*** Restauration en erreur *** et le contenu du fichier ScribeBootStrap.bsr: # 12-jan-2010 17:58:13 - Complet.2010-01-12_17.51.31_08 - Full Volume=ScribeVolume-0001 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=206-36170 FileIndex=1-2429 Volume=ScribeVolume-0001 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=36171-1999872133 FileIndex=2429-7779 Volume=ScribeVolume-0001 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=1999872134-136645 FileIndex=7779-7779 Volume=ScribeVolume-0002 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=206-36186 FileIndex=7779-12555 Volume=ScribeVolume-0002 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=36187-1999872129 FileIndex=12555-20472 Volume=ScribeVolume-0002 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=1999872130-136641 FileIndex=20472-20472 Volume=ScribeVolume-0003 MediaType=File VolSessionId=1 VolSessionTime=1263287759 VolAddr=206-92568046 FileIndex=20472-21515 -- *Arnaud Bougeard* Sige3 Infrastructures EPLE Rectorat de Versailles 3 Bd Lesseps 78000 Versailles -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Building from source on Fedora 12
hi, fedora 12 comes with bacula-3.0.3, System - Administraton - Add/Remove Software on Desktop machine or yum install bacula-... on server machine. [ulr...@leodolter ~]$ yum search bacula Loaded plugins: fastestmirror, presto, refresh-packagekit === Matched: bacula bacula-client.x86_64 : Bacula backup client bacula-common.x86_64 : Common Bacula utilities bacula-console.x86_64 : Bacula management console bacula-console-bat.x86_64 : Bacula bat console bacula-console-gnome.x86_64 : Bacula console for the Gnome desktop environment bacula-console-wxwidgets.x86_64 : Bacula console using the wx widgets toolkit bacula-director-common.x86_64 : Common Bacula Director files bacula-director-mysql.x86_64 : Bacula Director with MySQL database support bacula-director-postgresql.x86_64 : Bacula Director with PostgresSQL database : support bacula-director-sqlite.x86_64 : Bacula Director with sqlite database support bacula-docs.x86_64 : Bacula documentation bacula-storage-common.x86_64 : Common Bacula storage daemon files bacula-storage-mysql.x86_64 : MySQL Bacula storage daemon files bacula-storage-postgresql.x86_64 : Common Bacula storage daemon files bacula-storage-sqlite.x86_64 : SQLite Bacula storage daemon files bacula-sysconfdir.x86_64 : /etc/bacula dependency for Bacula bacula-traymonitor.x86_64 : Bacula monitor for the Gnome and KDE system tray webacula.noarch : Web interface of a Bacula backup system On Tue, 2010-01-12 at 10:35 -0700, Robert Hartzell wrote: I've been asked by a friend to help setup bacula on a fedora 12 system. Now I admit that I know next to nothing about linux... the last time I installed a Linux system the distro was distributed a big stack of floppys ;-) Note: bacula builds and runs fine when disabling openssl. The problem I having is related to openssl and crypto.c. The specific error is: crypto.c: In function ‘ASN1_OCTET_STRING* openssl_cert_keyid(X509*)’: crypto.c:333: error: invalid conversion from ‘const X509V3_EXT_METHOD*’ to ‘X509V3_EXT_METHOD*’ and: make[1]: *** No rule to make target `../lib/libbacpy.la', needed by `bacula-sd'. Stop. I'm pretty sure all the needed openssl and zlib pkgs are installed: libpathfinder-openssl.x86_64 libpathfinder-openssl-devel.x86_64 nss_compat_ossl.x86_64 openssl.x86_64 1.0.0-0.13.beta4.fc12 openssl-devel.x86_64 openssl-perl.x86_64 openssl-static.x86_64 zlib.x86_641.2.3-23.fc12 @anaconda-InstallationRepo-200911081904.x86_64 zlib-devel.x86_64 1.2.3-23.fc12 @anaconda-InstallationRepo-200911081904.x86_64 zlib-static.x86_64 1.2.3-23.fc12 @fedora google has turned up a few related posts but no solutions that I have found. So can any of you Linux/fedora guru's out there point me towards a solution? TIA, Robert P.S. I know someone will probably say just install rpm's but I would rather build from source if possible since I'm not at all familiar with the rpm way of life. -- Ulrich Leodolter ulrich.leodol...@obvsg.at Oesterreichische Bibliothekenverbund und Service GmbH Bruennlbadgasse 17/2A, A-1090 Wien Fax +43 1 4035158-30 Tel +43 1 4035158-21 Web http://www.obvsg.at -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] IBM TS 3500 with Bacula?
Hello everyone. I wanted to do a community consultation: Somebody has set up bacula with IBM TS3500 autochanger through optical fiber? We've seen running for a 3582 IBM autochanger with SCSI drives, but with the TS 3500, is the first time. Thank you very much for the collaboration. Regards, -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula 2.4.4 and 'message resource' docs
Hello! We're using bacula-2.4.4 installed from ubuntu 9.04 repo. One of our bacula job resouces have run after job defined as follows: Job { name = testclient ... run after job = /usr/local/bin/bacula-script.sh \%n %e %l %v\ } and the script is run on the job termination. The problem is that the script receives %n in a form testclient.2010-01-15_00 and not as described in docs, that %n is a job name and in our case should be as testclient. Ofcourse we can correct received %n in the script, with shell tools, like cut/sed/awk, but the question is - is it an intended behaviour of bacula and the docs are wrong about %n or we should fill a bugreport agains 2.4.4 version of bacula? Thanks. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Question about recycle = no
That's what I intend to do as well by changing the find to be this: find /mnt/mybook/bacula -mtime +65 This finds all files that haven't been modified in 65 days or more. If the retention period is set to 60 days, this would be a pretty safe way to do it. Looks good to me. Some may want different retention periods per pool but with labeling the volumes this would be easy to adjust. True, there is that approach. What I'm actually thinking of is going the other way: get Bacula to tell me what volumes have been pruned and moved into the Scratch pool, then delete them and their disk files. That would be a little more complicated but more accurate as you are letting bacula decide what gets removed instead of externally forcing the issue. John -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
On Fri, 15 Jan 2010 09:25:29 +0200, Glyn said: Using 3.0.2 on Ubuntu 8.04 server with MySQL. It is now Friday of the 2nd week of January so the schedule A with Pool A should be used, I would have thought. However, this morning at 9:05 I get a message asking for a volume of drive B to be labelled. From Monday to Thursday the A schedule was used correctly but now suddenly on Friday, it wants to switch to the B schedule. Maybe I have something wrong in the dir.conf? The schedule section is below and any help would be appreciated. I think the problem is that today is the 3rd Friday, so B cycle match. The fact that it is the 2nd week starting on a Thursday is irrelevant for a day-of-week schedule. __Martin -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Question about recycle = no
John Drescher wrote: That's what I intend to do as well by changing the find to be this: find /mnt/mybook/bacula -mtime +65 This finds all files that haven't been modified in 65 days or more. If the retention period is set to 60 days, this would be a pretty safe way to do it. Looks good to me. Some may want different retention periods per pool but with labeling the volumes this would be easy to adjust. True, there is that approach. What I'm actually thinking of is going the other way: get Bacula to tell me what volumes have been pruned and moved into the Scratch pool, then delete them and their disk files. That would be a little more complicated but more accurate as you are letting bacula decide what gets removed instead of externally forcing the issue. John I posted a script recently on another thread which takes care of purging, deleting volumes and deleting the files based on individual retention periods. Check the archives over the last couple of weeks or so. -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items, including Jewellery, Greetings Cards and Gifts -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fatal error: Network error with FD during Backup: ERR=Connection timed out
Carlo Filippetto wrote: I tried disabling any power saving features.. but the backup faild!! I haven't any othe nic card (the server is 600km away) and I can't do nothig manually.. The driver is ok Now?? what can I tried?? Bacula requires the SD-FD connection stay up throughout the backup. If it is dropped for any reason, then you will see this error. Since the server is 600km away, that could be difficult. One solution might be to run SD locally and backup to local storage, then rsync backup volumes to the remote server. 2010/1/13 Josh Fisher jfis...@pvct.com: Carlo Filippetto wrote: Hi all, I have a problem when backup windows 2008 64 bit, with Exchange 2007 (bacula 3.0.3 on Centos 5.3) On google I found and insert Heartbeat Interval = 1 minutes on both client and server, but only one time the full backup goes well, after all the other faild with the erro in the title What can I do? I have had this problem before. It has always been related to the NIC or NIC driver in the client machine. Years ago this happened with the NIC built into the NFS4 Nvidia chipset and was fixed by a driver update from Nvidia. In a Lenovo laptop I believe power saving modes in the Windows NIC driver may have caused this. If the client doesn't transmit for a while because it is busy with compression or building a VSS snapshot then the driver may turn off the power to the NIC transmitter. That is just a guess, but a USB external NIC worked perfectly in the same machine. Start with disabling any power saving features of the NIC in the Windows machine. Try another NIC if possible. See if there is an updated NIC driver available. Grazie, ciao Carlo -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule verify init
On Fri, 15 Jan 2010 12:26:27 +0100, Jorge Cabello said: Hello, I'm trying to run a daily verify job to see which files have changed from the previous verify. To do so I want to: 1) Run a daily verify job 2) Run a init catalog job when the verify finishes to refresh the database so the next time de verify is run I will only see the new changes. The problem is that the daily verify says it doesn't have an InitCatalog job ( because of the different jobs names?) How can I do this (daily init catalog and daily verify) automatically? You definitely don't want two jobs. Normally it is done by changing the level to InitCatalog when the job is run. You could try adding a second Run line in the Schedule with Level=InitCatalog and make it run 1 minute after the verify. __Martin -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula 3.0.3 maintain ctime on restored files?
Yes, unfortunately the directory names and the amount of data in them varies dramatically (image file processing for each project) so there is no real way to break it apart without a large chance of missing something.Ideally I would like to have the SD multi-plex the files to different tape drives (i.e. get linear improvement with the number of drives) but haven't looked into it as it's only a problem with full backups/restores which /should/ be infrequent except now when we're having other problems. On 01/15/2010 09:02, Bob Hetzel wrote: In the case here it's rather a large issue (granted due to other problems like hardware or software issues that require restores of data and is NOT something that I want to continue, however we are living in an imperfect world) but to give you an idea the dataset size is about 30-40TiB with restores anywhere from 2TiB to a full restore to back that back up again not only takes a LOT of tapes which is costly it also takes a LOT of time (day/weeks) where nothing else can be run. What I have been doing which is just painful is do a full restore, then have to do a full backup right after then continue so a restore is actually the time of about 2x of a full. (for a full set this is about 9-10 days on LTO4). This has happened about 3 times so far in the past 2 months. Have you considered breaking up such a big dataset into pieces that only take up perhaps 5 tapes or less each? I know it can be a pain to manage, but it seems like that would go a long way toward. The other benefit is that if a tape breaks during the restore (or is just discovered to be unreadable) you can still get 100% of the other datasets restored. IMHO, any time you realize you can't back up your fileset in one day or even one weekend that's a good opportunity to take a step back and re-think things. Perhaps you might even need to take the step of scheduling the fulls so they don't occur on the same schedule. I realize you that your periodic audits of your filesets to make sure you're not missing something become a lot more complicated, but a painful audit once per quarter seems like a lot better than what you've described above. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Connection to Windows machine times out
Bacula 3.0.2 has been up and running properly on my server for a couple months. We have 2 desktop machines (A and B). Bacula is installed on a linux machine (S), backing up to a hard drive. Running Windows XP on both A and B. The server (S) and one of the desktops (B) crashed during power problems. When brought back up, bacula properly backed up A, but would not do B. I am getting Connection timed out errors when trying to backup B. I can ping S from B and B from S. I have changed the address of B in the bacula-dir.conf file to the IP address to eliminate any resolution issues. The passwords in bacula-fd.conf on A and B are identical. There is no firewall involved, the connections of A and B to S are identical. How do I figure out why I can't connect to B? -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Connection to Windows machine times out
nitmd wrote: Bacula 3.0.2 has been up and running properly on my server for a couple months. We have 2 desktop machines (A and B). Bacula is installed on a linux machine (S), backing up to a hard drive. Running Windows XP on both A and B. The server (S) and one of the desktops (B) crashed during power problems. When brought back up, bacula properly backed up A, but would not do B. I am getting Connection timed out errors when trying to backup B. I can ping S from B and B from S. I have changed the address of B in the bacula-dir.conf file to the IP address to eliminate any resolution issues. The passwords in bacula-fd.conf on A and B are identical. There is no firewall involved, the connections of A and B to S are identical. How do I figure out why I can't connect to B? Does status client work? Have you confirmed that Bacula client is running on B? -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Connection to Windows machine times out
nitmd wrote: --- On Fri, 1/15/10, Dan Langille d...@langille.org wrote: From: Dan Langille d...@langille.org Subject: Re: [Bacula-users] Connection to Windows machine times out To: nitmd ourspamt...@yahoo.com Cc: bacula-users bacula-users@lists.sourceforge.net Date: Friday, January 15, 2010, 4:29 PM nitmd wrote: Bacula 3.0.2 has been up and running properly on my server for a couple months. We have 2 desktop machines (A and B). Bacula is installed on a linux machine (S), backing up to a hard drive. Running Windows XP on both A and B. The server (S) and one of the desktops (B) crashed during power problems. When brought back up, bacula properly backed up A, but would not do B. I am getting Connection timed out errors when trying to backup B. I can ping S from B and B from S. I have changed the address of B in the bacula-dir.conf file to the IP address to eliminate any resolution issues. The passwords in bacula-fd.conf on A and B are identical. There is no firewall involved, the connections of A and B to S are identical. How do I figure out why I can't connect to B? Does status client work? Have you confirmed that Bacula client is running on B? Replying at the bottom makes it easy to follow the conversation. Also, remember to reply to the list, as well as me. This protects you by deterring me from giving you malicious advice. It also allows others to help/learn. You said: Bacula service appears in the tray on the windows machine, if I click it I get a status window. Status client gives me a connection timed out error. If you telnet to the port, do you get a reply? Something like this: $ telnet 10.0.0.1 9102 Trying 10.0.0.1... Connected to bast.example.org. Escape character is '^]'. test Connection closed by foreign host. Where: 10.0.0.1 is the IP address of the client test is what I typed after the system answered Try this on both the Bacula Server and on the Windows Server. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Networking diagnosis 101 - FAQ?
Does anyone wish to start documenting the basics on debugging Bacula network issues? If we don't already have one. It would be nice to point people to a sufficient how-to: here, do this. I will be willing to edit the document, but do not have the time to do the starting work. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Networking diagnosis 101 - FAQ?
On 1/15/2010 7:20 PM, Dan Langille wrote: Does anyone wish to start documenting the basics on debugging Bacula network issues? If we don't already have one. It would be nice to point people to a sufficient how-to: here, do this. I will be willing to edit the document, but do not have the time to do the starting work. If someone has a table of contents, I could probably make time to contribute a couple of chapters. -- Frank Sweetser fs at wpi.edu | For every problem, there is a solution that WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Networking diagnosis 101 - FAQ?
Frank Sweetser wrote: On 1/15/2010 7:20 PM, Dan Langille wrote: Does anyone wish to start documenting the basics on debugging Bacula network issues? If we don't already have one. It would be nice to point people to a sufficient how-to: here, do this. I will be willing to edit the document, but do not have the time to do the starting work. If someone has a table of contents, I could probably make time to contribute a couple of chapters. Starters: Assemble information - bacula-fd IP address - bacula-sd IP address - bacula-dir IP address Verify services are running on the right ports - telnet to each IP address on the port from within the system - ps auwx Verify network connections between nodes - telnet to other node from this node -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users