[Bacula-users] Error running the console
Hey everyone, I installed bacula a few days ago, and haven't actually verified if its working fine. Well, when I start the console and wait for a couple seconds, it gives me the following output: 18-Dez 13:32 BUS JobId 0: Fatal error: bsock.c:129 Unable to connect to Client: backup-fd on backup:9102. ERR=Connection refused 18-Dez 22:45 BUS JobId 17: No prior Full backup Job record found. 18-Dez 22:45 BUS JobId 17: No prior or suitable Full backup found in catalog. Doing FULL backup. 18-Dez 22:45 BUS JobId 17: Start Backup JobId 17, Job=Dayly.2008-12-18_22.45.04 18-Dez 22:45 BUS JobId 17: Warning: bsock.c:123 Could not connect to Storage daemon on ares:9103. ERR=Connection refused Retrying ... 18-Dez 22:50 BUS JobId 17: Warning: bsock.c:123 Could not connect to Storage daemon on ares:9103. ERR=Connection refused Retrying ... 18-Dez 22:55 BUS JobId 17: Warning: bsock.c:123 Could not connect to Storage daemon on ares:9103. ERR=Connection refused Retrying ... 18-Dez 23:00 BUS JobId 17: Warning: bsock.c:123 Could not connect to Storage daemon on ares:9103. ERR=Connection refused Retrying ... 18-Dez 23:05 BUS JobId 17: Warning: bsock.c:123 Could not connect to Storage daemon on ares:9103. ERR=Connection refused Retrying ... 18-Dez 23:11 BUS JobId 17: Warning: bsock.c:123 Could not connect to Storage daemon on ares:9103. ERR=Connection refused Retrying ... 18-Dez 23:15 BUS JobId 17: Fatal error: bsock.c:129 Unable to connect to Storage daemon on ares:9103. ERR=Connection refused 18-Dez 23:15 BUS JobId 17: Error: Bacula BUS 2.2.8 (26Jan08): 18-Dez-2008 23:15:07 Build OS: i486-pc-linux-gnu debian lenny/sid JobId: 17 Job:Dayly.2008-12-18_22.45.04 Backup Level: Full (upgraded from Incremental) Client: backup-fd FileSet:Dayly Set 2008-12-18 13:17:53 Pool: Scratch (From Job resource) Storage:File (From Pool resource) Scheduled time: 18-Dez-2008 22:45:00 Start time: 18-Dez-2008 22:45:02 End time: 18-Dez-2008 23:15:07 Elapsed time: 30 mins 5 secs Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS:no Storage Encryption: no Volume name(s): Volume Session Id: 0 Volume Session Time:0 Last Volume Bytes: 0 (0 B) Non-fatal FD errors:0 SD Errors: 0 FD termination status: SD termination status: Termination:*** Backup Error *** 18-Dez 23:15 BUS JobId 17: message.c:482 Mail prog: bsmtp: bsmtp.c:435 Fatal connect error to localhost: ERR=Connection refused 18-Dez 23:15 BUS JobId 17: Error: message.c:493 Mail program terminated in error. CMD=/usr/lib/bacula/bsmtp -h localhost -f (Bacula) echnaton.birkm...@inew-cs.com -s Bacula: Backup Fatal Error of backup-fd Full echnaton.birkm...@inew-cs.com ERR=Child exited with code 1 18-Dez 23:15 BUS JobId 18: BeforeJob: run command /usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v cat1=BUSCatalog /etc/bacula/bacula-dir.conf 18-Dez 23:15 BUS JobId 18: BeforeJob: awk: /etc/bacula/scripts/make_catalog_backup_awk:3: echo .dump | /usr/bin/sqlite bacula.db bacula.sql 18-Dez 23:15 BUS JobId 18: BeforeJob: awk: /etc/bacula/scripts/make_catalog_backup_awk:3:^ syntax error 18-Dez 23:15 BUS JobId 18: BeforeJob: awk: /etc/bacula/scripts/make_catalog_backup_awk:3: echo .dump | /usr/bin/sqlite bacula.db bacula.sql 18-Dez 23:15 BUS JobId 18: BeforeJob: awk: /etc/bacula/scripts/make_catalog_backup_awk:3: ^ syntax error 18-Dez 23:15 BUS JobId 18: BeforeJob: awk: /etc/bacula/scripts/make_catalog_backup_awk:3: echo .dump | /usr/bin/sqlite bacula.db bacula.sql 18-Dez 23:15 BUS JobId 18: BeforeJob: awk: /etc/bacula/scripts/make_catalog_backup_awk:3: ^ syntax error 18-Dez 23:15 BUS JobId 18: Error: Runscript: BeforeJob returned non-zero status=1. ERR=Child exited with code 1 18-Dez 23:15 BUS JobId 18: message.c:482 Mail prog: bsmtp: bsmtp.c:435 Fatal connect error to localhost: ERR=Connection refused 18-Dez 23:15 BUS JobId 18: Error: message.c:493 Mail program terminated in error. CMD=/usr/lib/bacula/bsmtp -h localhost -f (Bacula) echnaton.birkm...@inew-cs.com -s Bacula: Backup Error of backup-fd Full echnaton.birkm...@inew-cs.com ERR=Child exited with code 1 Any help, or suggestions would be much appreciated!!! Thanks a milli in advance! Echnaton Birkmann I-NEW Communicative Solutions GmbH Am Anger I-New Building A-7210 Mattersburg Office: +43 2626 20720 Mobile.: +43 676 42 24 962 Fax: +43 2626 20720.1 online: http://www.inew-cs.com www.inew-cs.com --
[Bacula-users] update slots doesn't handle removed volumes
Hi, I've noticed that running update slots marks as added any volumes which have been added to the autochanger but doesn't mark as removed any which have been removed. Here's a sample output: *update slots Automatically selected Storage: Autochanger Connecting to Storage daemon Autochanger at ford:9103 ... 3306 Issuing autochanger slots command. Device Autochanger has 47 slots. Connecting to Storage daemon Autochanger at ford:9103 ... 3306 Issuing autochanger list command. Catalog record for Volume 19L4 updated to reference slot 12. Catalog record for Volume 17L4 updated to reference slot 15. Catalog record for Volume 16L4 updated to reference slot 19. Catalog record for Volume 18L4 updated to reference slot 20. Catalog record for Volume 09L4 updated to reference slot 34. Catalog record for Volume 04L4 updated to reference slot 35. Catalog record for Volume 01L4 updated to reference slot 36. Catalog record for Volume 06L4 updated to reference slot 41. Catalog record for Volume 07L4 updated to reference slot 42. Catalog record for Volume 03L4 updated to reference slot 44. I seem to remember in the past that it listed all the slots, including empty ones but don't have anything else to compare against. As a workaround I've been setting InChanger to 0 for all media in the database and then running update slots. It's a Dell TL4000 and bacula 2.4.3. Any thoughts? Rob -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Mixing tape and file backup same host
Hello, I would like to make daily backup of one host to disk and a weekly backup of this host to tape. But I can't define 2 different pool (the pool for daily and the pool for weekly) for this host. Is it possible in other way ? Otherwise, do I have to define a new host for the weekly tape backup ? I'm using bacula 2.2.8 on Debian. Thanks. Pierre __ Ce message contient des informations dont le contenu est susceptible d'etre confidentiel. Il est destine au(x) destinataire(s) indique(s) exclusivement. A moins que vous ne fassiez partie de la liste des destinataires, ou que vous soyez habilite a recevoir le mail a leur place, il vous est interdit de le copier, de l'utiliser ou de devoiler son contenu a un tiers. Si vous avez recu cet email par erreur, merci de prendre contact avec l'emetteur. Les opinions exprimees dans cet e-mail sont celles de l'emetteur et ne refletent pas necessairement celles de l'entreprise. Ce e-mail peut contenir des pieces jointes dont certaines pourraient contenir des virus qui pourraient endommager votre systeme informatique. La compagnie a pris toutes dispositions afin de minimiser ce risque et decline toute responsabilite pour toute perte ou dommage resultant directement ou indirectement de l'utilisation de cet email ou de son contenu. Il vous appartient d'effectuer vos propres controles anti-virus avant d'ouvrir la ou les pieces jointes. __-- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Mixing tape and file backup same host
Hi, Yes, its posible. You have to make two pools. one with the file storage and one with the tape storage. And make 2 schedules (tape and file storage) and define in the schedule the pool on witch you want to backup. regards, Jan Jaap Date: Fri, 19 Dec 2008 10:44:59 +0100 From: pdgatouil...@fr.scc.com To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Mixing tape and file backup same host Hello, I would like to make daily backup of one host to disk and a weekly backup of this host to tape. But I can't define 2 different pool (the pool for daily and the pool for weekly) for this host. Is it possible in other way ? Otherwise, do I have to define a new host for the weekly tape backup ? I'm using bacula 2.2.8 on Debian. Thanks. Pierre __ Ce message contient des informations dont le contenu est susceptible d'etre confidentiel. Il est destine au(x) destinataire(s) indique(s) exclusivement. A moins que vous ne fassiez partie de la liste des destinataires, ou que vous soyez habilite a recevoir le mail a leur place, il vous est interdit de le copier, de l'utiliser ou de devoiler son contenu a un tiers. Si vous avez recu cet email par erreur, merci de prendre contact avec l'emetteur. Les opinions exprimees dans cet e-mail sont celles de l'emetteur et ne refletent pas necessairement celles de l'entreprise. Ce e-mail peut contenir des pieces jointes dont certaines pourraient contenir des virus qui pourraient endommager votre systeme informatique. La compagnie a pris toutes dispositions afin de minimiser ce risque et decline toute responsabilite pour toute perte ou dommage resultant directement ou indirectement de l'utilisation de cet email ou de son contenu. Il vous appartient d'effectuer vos propres controles anti-virus avant d'ouvrir la ou les pieces jointes. __ _ Nieuw: nu ook chatten op je mobiel! http://www.overaljevriendenbijje.nl/#superdeal -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error running the console
Echnaton Birkmann schrieb: I installed bacula a few days ago, and haven't actually verified if its working fine. Well, obviously it doesn't. Well, when I start the console and wait for a couple seconds, it gives me the following output: 18-Dez 13:32 BUS JobId 0: Fatal error: bsock.c:129 Unable to connect to Client: backup-fd on backup:9102. ERR=Connection refused Your director cannot talk to the file daemon. 18-Dez 22:45 BUS JobId 17: Warning: bsock.c:123 Could not connect to Storage daemon on ares:9103. ERR=Connection refused Nor to the storage daemon. Termination:*** Backup Error *** So it's not really a surprise that the backup job didn't work. 18-Dez 23:15 BUS JobId 17: message.c:482 Mail prog: bsmtp: bsmtp.c:435 Fatal connect error to localhost: ERR=Connection refused Sending notification mail didn't work either. 18-Dez 23:15 BUS JobId 18: BeforeJob: run command /usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v cat1=BUSCatalog /etc/bacula/bacula-dir.conf That command line doesn't look right. The angle brackets around BUSCatalog would be interpreted by the shell as file redirections and overwrite your director configuration file. 18-Dez 23:15 BUS JobId 18: BeforeJob: awk: /etc/bacula/scripts/make_catalog_backup_awk:3:^ syntax error Your AWK script is broken, too. Any help, or suggestions would be much appreciated!!! I'm afraid your installation is thoroughly messed up. Connection refused typically means the daemon in question isn't even running. (Though there are other possible reasons.) That, as well as the syntax errors in your configuration files and scripts, seems to indicate you missed some crucial steps during installation. My best recommendation would be to start over, closely following the instructions and checking every step very carefully to make sure you got it right. In particular, check whether you can reach all the daemons and try a simple manual backup before proceeding to create scheduled jobs and customized scripts. If you need more help, please post essential information about your environment, like machines and network topology involved, operating system(s), Bacula version(s), how you installed and configured it. HTH Tilman -- Tilman Schmidt Phoenix Software GmbH Bonn, Germany signature.asc Description: OpenPGP digital signature -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Daily Tape Rotation questions
GATOUILLAT Pierre-Damien wrote: Hi, In your pool, you have Maximum Volume Jobs = 2. I suppose you put the backup of catalog on tape every day ? With the directive, your volume should be Used after the daily backup cycle. No I backup catalog on hard disk, because I put backup of some computers on the disk. I have some kind of mixed backup. Should I reduce Maximum Volume Jobs to 1 for tape, because on every tape it will be really only one job? Riho Did you label your volume with the directive Maximum Volume Jobs = 2 set ? You can check it with llist media (llist with two l) and look at the Maximum Volume Jobs line. You can update this with the update command. Hope that help. Pierre -Message d'origine- De : Riho Lodi [mailto:riho.l...@pta.ee] Envoyé : vendredi 19 décembre 2008 08:31 À : bacula-users Objet : [Bacula-users] Daily Tape Rotation questions Hi! I am useing daily tape rotation. I change tape every day and useing Full backup Level on each tape. Each tape has it's own volume and vaolume retention time is 6 days and 12 days for friday tape (I have 2 of friday tapes). Point is that after retention time Bacula automatically purges volume and makes tape writable again, so after every 7 days bacula would write brand new data to tape. But it don't do this, it marks tape Append, don't purge it and don't write new data to it. What could be wrong. For Bacula configuration I used description on http://www.bacula.org/en/rel-manual/Backup_Strategies.html#SEC TION00303 I attach example of my configuration too: Job { Name = ntserver Type = Backup Level = Full Client = ntserver-fd FileSet = Ntserver Set Schedule = TapeCycle Storage = DAT72 Messages = Standard Pool = Default RunAfterJob = /etc/bacula/scripts/end_of_backup.sh Write Bootstrap = /var/lib/bacula/ntserver.bsr Priority = 10 # Max Start Delay = 22h } FileSet { Name = Ntserver Set Include { Options { compression=GZIP } File = e:/ShareFiles File = e:/dok } } Schedule { Name = TapeCycle Run = Level=Full Pool=MondayPool Tuesday at 0:00am Run = Level=Full Pool=TuesdayPool Wednesday at 0:00am Run = Level=Full Pool=WednesdayPool Thursday at 0:00am Run = Level=Full Pool=ThursdayPool Friday at 0:00am Run = Level=Full Pool=WeeklyPool Saturday at 0:00am } Client { Name = ntserver-fd Address = 192.168.1.100 FDPort = 9102 Catalog = MyCatalog Password = testparool # password for FileDaemon File Retention = 12 days# 12 days Job Retention = 6 days# 6 days AutoPrune = yes # Prune expired Jobs/Files } Storage { Name = DAT72 # Do not use localhost here Address = 192.168.1.42# N.B. Use a fully qualified name here SDPort = 9103 Password = testparool # password for Storage daemon Device = DAT72 # must be same as Device in Storage daemon Media Type = DAT # must be same as MediaType in Storage daemon # Autochanger = yes # enable for autochanger device } Pool { Name = MondayPool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 6d Maximum Volume Jobs = 2 } -- Riho Lodi E-mail: riho.l...@pta.ee Skype: riholodi -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users __ Ce message contient des informations dont le contenu est susceptible d'etre confidentiel. Il est destine au(x) destinataire(s) indique(s) exclusivement. A moins que vous ne fassiez partie de la liste des destinataires, ou que vous soyez habilite a recevoir le mail a leur place, il vous est interdit de le copier, de l'utiliser ou de devoiler son contenu a un tiers. Si vous avez recu cet email par erreur, merci de prendre contact avec l'emetteur. Les opinions exprimees dans cet e-mail sont celles de l'emetteur et ne refletent pas necessairement celles de l'entreprise. Ce e-mail peut contenir des pieces jointes dont certaines pourraient contenir des virus qui pourraient endommager votre systeme informatique. La compagnie a pris toutes dispositions afin de minimiser ce risque et decline toute responsabilite pour toute perte ou dommage resultant directement ou indirectement de l'utilisation de cet email ou de son contenu. Il vous appartient d'effectuer vos propres controles anti-virus avant d'ouvrir la ou les pieces jointes. __ -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net
Re: [Bacula-users] Mixing tape and file backup same host
GATOUILLAT Pierre-Damien schrieb: I would like to make daily backup of one host to disk and a weekly backup of this host to tape. But I can't define 2 different pool (the pool for daily and the pool for weekly) for this host. Why can't you? Otherwise, do I have to define a new host for the weekly tape backup ? I guess you could do that, but two pools would really be the proper solution. -- Tilman Schmidt Phoenix Software GmbH Bonn, Germany signature.asc Description: OpenPGP digital signature -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Mixing tape and file backup same host
GATOUILLAT Pierre-Damien schrieb: I made two pools and my schedule is : Schedule { Name = NightlySave Run = Level=Full Pool=Weekly 1st-5th sat at 01:05 Run = Level=Incremental Pool=DailyFile tue-fri at 00:05 } This looks good and should work. But in the job config of the client, we have to set one pool directive, we can't set two pools. (I tried it but bacula complains with error) You need just one pool here, the pool that will be used comes from the Run line in your schedule resource. This will override the settings in your job resource. Job { Name = client Client = client-fd Type = Backup FileSet = FileSet-coheris-tgv Pool = DailyFile #Pool = Weekly Storage = HP_LTO2 Storage = File Schedule = NightlySave Write Bootstrap = /var/lib/bacula/client.bsr Messages = Standard } When I ask list nextvol for the client : Could not find next Volume for Job client (Pool=Weekly, Level=Full). I would try a testbackup, maybe change the schedule for this, so that you don't have to wait a whole day for the incremantal backup. Ralf -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] update slots doesn't handle removed volumes
Robert Horton wrote: Hi, I've noticed that running update slots marks as added any volumes which have been added to the autochanger but doesn't mark as removed any which have been removed. Here's a sample output: *update slots Automatically selected Storage: Autochanger Connecting to Storage daemon Autochanger at ford:9103 ... 3306 Issuing autochanger slots command. Device Autochanger has 47 slots. Connecting to Storage daemon Autochanger at ford:9103 ... 3306 Issuing autochanger list command. Catalog record for Volume 19L4 updated to reference slot 12. Catalog record for Volume 17L4 updated to reference slot 15. Catalog record for Volume 16L4 updated to reference slot 19. Catalog record for Volume 18L4 updated to reference slot 20. Catalog record for Volume 09L4 updated to reference slot 34. Catalog record for Volume 04L4 updated to reference slot 35. Catalog record for Volume 01L4 updated to reference slot 36. Catalog record for Volume 06L4 updated to reference slot 41. Catalog record for Volume 07L4 updated to reference slot 42. Catalog record for Volume 03L4 updated to reference slot 44. I seem to remember in the past that it listed all the slots, including empty ones but don't have anything else to compare against. As a workaround I've been setting InChanger to 0 for all media in the database and then running update slots. Take a look at the update-slots patch here: http://sourceforge.net/project/showfiles.php?group_id=50727package_id=93946 -- 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 -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Possible to back up from a VMWare-loop mounted partition? (vmware-mount zombie)
We're looking at using Bacula to back up the contents of VMware virtual machines from snapshots of the filesystem containing the VMDK file. In particular, we have a test instance of FreeNAS in a VMware virtual machine, and a server running Bacula that makes snapshots and performs from-snapshot and from-client backups reliably (although more slowly than we would like). I wrote a BeforeJob script like the following: ## (omitting our standard command that makes and mounts a snapshot) sudo mount /mnt/iofreenastest -o remount,rw yes | sudo /opt/vmware-server/bin/vmware-mount.pl \ /mnt/iofreenastest/FreeNAS.vmdk 6 /mnt/freenas-6 \ -o ufstype=5xbsd,ro sleep 3 mount | grep 'on /mnt/freenas-6' || exit 1 However, when the job ran, the director never picked up after the BeforeJob. A few hours later, I checked on it. Here's what some of ps aefx looked like: 17247 ?Ssl2:02 /usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf - 19430 ?Z 0:00 \_ [freenas_before] defunct 19575 ?S 0:00 sh -c '/opt/vmware-server/bin/vmware-loop' -q '/mnt/i 19576 ?S 0:01 \_ /opt/vmware-server/bin/vmware-loop -q /mnt/iofree 19577 ?S 0:00 \_ /opt/vmware-server/bin/vmware-loop -q /mnt/io (there was a yes process in there as well, but it has scrolled off my screen) I tried unsticking it by killing the yes process and the sh process, both with no effect. Killing the vmware-loop process got it going again, but of course that unmounted the directory I wanted to back up, and actually caused the job to fail: 18-Dec 19:46 backup-test2-dir: BeforeJob: run command /etc/bacula/scripts/freenas_before 18-Dec 19:46 backup-test2-dir: BeforeJob: Snapshot already exists. 18-Dec 19:46 backup-test2-dir: BeforeJob: Cleaning up stale snapshot bacula-immediate-6135a of 10.x.y.z... 18-Dec 19:46 backup-test2-dir: BeforeJob: deleting snapshot... 18-Dec 19:46 backup-test2-dir: BeforeJob: LUN unmapped OK. 18-Dec 19:46 backup-test2-dir: BeforeJob: creating snapshot... 18-Dec 19:46 backup-test2-dir: BeforeJob: lun map: auto-assigned Backup=0 18-Dec 19:46 backup-test2-dir: BeforeJob: iscsiadm: No active sessions. 18-Dec 19:46 backup-test2-dir: BeforeJob: 10.x.y.z:3260,2000 iqn.1992-08.com.netapp:sn.sn 18-Dec 19:46 backup-test2-dir: BeforeJob: Login session [iface: default, target: iqn.1992-08.com.netapp:sn.sn, portal: 10.x.y.z,3260] 18-Dec 19:46 backup-test2-dir: BeforeJob: Rescanning session [sid: 58, iface: , target: iqn.1992-08.com.netapp:sn.sn, portal: 10.x.y.z,3260] 18-Dec 19:46 backup-test2-dir: BeforeJob: 18-Dec 19:46 backup-test2-dir: BeforeJob: 18-Dec 19:46 backup-test2-dir: BeforeJob: VMware for Linux - Virtual Hard Disk Mounter 18-Dec 19:46 backup-test2-dir: BeforeJob: Version: 1.0 build-* 18-Dec 19:46 backup-test2-dir: BeforeJob: Copyright 1998 VMware, Inc. All rights reserved. -- VMware Confidential 18-Dec 19:46 backup-test2-dir: BeforeJob: 18-Dec 19:46 backup-test2-dir: BeforeJob: 18-Dec 19:46 backup-test2-dir: BeforeJob: It has been reported that this program does not work correctly with 2.4+ Linux 18-Dec 19:46 backup-test2-dir: BeforeJob: kernels in some cases, and you are currently running such a kernel. Do you 18-Dec 19:46 backup-test2-dir: BeforeJob: really want to continue? [N] 18-Dec 19:46 backup-test2-dir: BeforeJob: Network Block Device driver detected. 18-Dec 19:46 backup-test2-dir: BeforeJob: 18-Dec 19:46 backup-test2-dir: BeforeJob: Client: The partition is now mapped on the /dev/nb0 Network Block Device. 18-Dec 19:46 backup-test2-dir: BeforeJob: 18-Dec 19:46 backup-test2-dir: BeforeJob: Using another terminal, you can now browse your Virtual Hard Disk partition in 18-Dec 19:46 backup-test2-dir: BeforeJob: /mnt/freenas-6. Hit Control-C in this terminal when done. 19-Dec 09:46 backup-test2-dir: BeforeJob: Warning: The NBD_DO_IT ioctl returned an error: Broken pipe 19-Dec 09:46 backup-test2-dir: TestBackupFreeNASVmwareLoop.2008-12-18_16.55.02 Error: Runscript: BeforeJob returned non-zero status=1. ERR=Child exited with code 1 I guess the vmware-loop process is still somehow related to the director, which is why Bacula hung. Has anyone gotten Bacula to mount and back up an idle VMDK file, either with vmware-mount.pl or invoking vmware-loop directly, or by some other program? -- David Lee Lambert Yahoo! IM: davidleelambert * MSN IM: lambe...@cse.msu.edu Slashdot/Sourceforge UID: lamber45 -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] status director and scheduled jobs
I have several tapes in several pools. I use Volume Use Duration = 23 hours for each pool. Sometimes when I run the stat dir command within the bconsole, I see *unknown* for the scheduled jobs volume. That's because all volumes in the pool have status used. The moment the backup starts, he changed the status to purged for the expired volumes. Is there a way I can display the correct output for scheduled jobs volume without manually pruning the expired volumes ?. It would be handy because I have no library. Bacula 2.4.3 CentOS 5.2 Thanks in advance -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Time for change
On Thu, 18 Dec 2008, Jesper Krogh wrote: I'm multiplexing anything up to 20 jobs at a time. To ensure that small incremental and diff jobs are dumped in one hit and to ensure that full backups are laid in as large chunks as possible, this is the kindof size which is required. Are you having that many clients or is it actually larger volumes that have been split up in smaller filesets? Mostly larger volumes broken into 1Tb filesets. There are about 150 desktop boxes being backed up but their load is minor. Yes, I use spooling even for our +2TB volumes. I hope you've benchmarked restore times. Between the sheer volume of data and the possibilities of several million files, we settled on 1Tb as a workable unit for current technology and even that's had trouble when restoring some filesystems (10 million file restores make Bacula-dir unhappy!) 250Tb startup, 1Pb within 18 months, and growing past that. Filesizes measured in tens of Mb apiece. Still over Gigabit netwok or do you have better infrastructure? Right now the links are Gb, with some LACP overlaying being done, but as this larger fileset comes online most stuff will be moved to 8Gb/s fibre (IP over F/O) and 10Gb/s ethernet. Prices on this gear (especially switches!) are falling fast so it makes sense to not deploy until actually needed. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] documentation templates
Hi, If anyone has a documentation template for especially suitable for documenting a Bacula implementation, preferably some standards- based or following ITIL guidelines.. and of course, if it's license permits it, please contribute it. I know, this might sound a pretty stupid for some of you (if it does, do not waste time answering to this message), but it would REALLY save time from many of us. Not everyone (me including) have studied the ITIL books through, so this kind of contribution would also bring some credibility for business users. j -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Postgres functions for interpreting the bacula LStat column
The advantage of a C stored procedure is speed: bacula=# SELECT MAX('a'||bacula_lstat_mtime(lstat)) FROM file WHERE fileid100 ; max - a2008-02-27 20:24:10-05 (1 row) Time: 70.689 ms bacula=# SELECT MAX(base64_decode_lstat(12,lstat)*interval '1 second' + timestamptz 'epoch') FROM file WHERE fileid100 ; max 2008-02-27 20:24:10-05 (1 row) Time: 762.390 ms Otherwise, the PL/perl function does the same thing; thanks for the pointer! ebollengier wrote: You can also use the bweb pure PL function for that (see bweb/scripts/bweb-postgresql.sql). DavidLeeLambert wrote: I was looking into making queries for a particular file in a Bacula Postgres database, and came up with the attached functions. [...] -- David Lee Lambert Software Developer, Precision Motor Transport Group, LLC -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Postgres functions for interpreting the bacula LStat column
Le Friday 19 December 2008 20:15:37 David Lee Lambert, vous avez écrit : The advantage of a C stored procedure is speed: Yes, for sure but it's also a bit more complex to install... To speedup things (for reading), it's also possible to create an index (i will add the IMMUTABLE parameter) Bye bacula=# SELECT MAX('a'||bacula_lstat_mtime(lstat)) FROM file WHERE fileid100 ; max - a2008-02-27 20:24:10-05 (1 row) Time: 70.689 ms bacula=# SELECT MAX(base64_decode_lstat(12,lstat)*interval '1 second' + timestamptz 'epoch') FROM file WHERE fileid100 ; max 2008-02-27 20:24:10-05 (1 row) Time: 762.390 ms Otherwise, the PL/perl function does the same thing; thanks for the pointer! ebollengier wrote: You can also use the bweb pure PL function for that (see bweb/scripts/bweb-postgresql.sql). DavidLeeLambert wrote: I was looking into making queries for a particular file in a Bacula Postgres database, and came up with the attached functions. [...] -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem in recycle file
Hello, I use the media device below: Device { Name = FileStorage Media Type = File Archive Device = /mnt/backup/ LabelMedia = yes; Random Access = Yes; AutomaticMount = Yes; RemovableMedia = No; AlwaysOpen = No; } And all jobs are 15 days of retentions. My pools' configuration: Pool { Name = Default Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 15 days Use Volume Once = yes } But after 30 days, or 45 days, etc, my file in /mnt/backup is growing. Some ideia? Ever I have that remove volume and recreate in the hand. I don't want it. Recycle isn't working. Samuel Rios Carvalho -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fwd: Problem in recycle file
-- Forwarded message -- From: John Drescher dresche...@gmail.com Date: Sat, Dec 20, 2008 at 12:07 AM Subject: Re: [Bacula-users] Problem in recycle file To: Samuel Rios Carvalho nhaw...@gmail.com On Fri, Dec 19, 2008 at 3:53 PM, Samuel Rios Carvalho nhaw...@gmail.com wrote: Hello, I use the media device below: Device { Name = FileStorage Media Type = File Archive Device = /mnt/backup/ LabelMedia = yes; Random Access = Yes; AutomaticMount = Yes; RemovableMedia = No; AlwaysOpen = No; } And all jobs are 15 days of retentions. My pools' configuration: Pool { Name = Default Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 15 days Use Volume Once = yes } But after 30 days, or 45 days, etc, my file in /mnt/backup is growing. Some ideia? Ever I have that remove volume and recreate in the hand. I don't want it. Recycle isn't working. Remember that volume retention period begins after a volume is marked Full or Used. Unless you limit its size or usage (which you have not done) it will grow till the disk fills up because it will not be marked Full or Used. Activating your volume retention period. http://bacula.org/en/rel-manual/Basic_Volume_Management.html#SECTION002611000 John -- John M. Drescher -- John M. Drescher -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users