[Bacula-users] Usability with multiple catalogs
Hi, I am planning to use multiple catalogs for different pools. While creating the needed databases, I realised three points, what would be a real pushup in usability. 1. I have to start three scripts to create a catalog. Every script itself starts another script, depending on the DBMS I use. I usually skip the first script, and start directly the scripts for my DBMS. But it would be much easier to have one script, maybe called create_catalog.sh, which checks for the used DMBS and then starts the three scripts in a row. 2. The databasename bacula is hardcoded in the scripts for creating the database. It is useful to have a default, but when want to I create another database for a different catalog, I have to change the scripts. Giving the database name as parameter is IMHO more useful. 3. Making backups of the database. I can give the database-name as parameter to the delivered make_catalog_backup.sh-script. To create a generic way of backing up a catalog, it would be useful to extract the parameters databasename, databaseuser, etc from the given catalog for the backupjob. In that case I don't have to worry about keeping the credentials up to date in two places. Any comments? Regards Daniel -- Daniel Bloemer - BusinessCoDe GmbH Systemadministration and Support Phone: +49 (0)228 / 28925-43 http://www.business-code.de Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Confusion about Size of Volumes/Files while using File as Storage
Hi, Martin Simmons wrote: On Wed, 05 Jul 2006 01:14:48 +0200, Daniel Bloemer said: Hi, I am a bit confused about the handling of file sizes while using Storage Type = File for the sd. The following two options are clear, they limit the size of the volumes, if they are not limited by the hardware. 1. A record in the Storage daemons Device resource Maximum Volume Size 2. A record in the Directors Pool resource Maximum Volume Bytes (so much for consistency) Then I found this in the documentation: Maximum File Size = size No more than size bytes will be written into a given logical file on the volume. Once this size is reached, an end of file mark is written on the volume and subsequent data are written into the next file. Breaking long sequences of data blocks with file marks permits quicker positioning to the start of a given stream of data and can improve recovery from read errors on the volume. The default is one Gigabyte. According to this entry in the documentation I would expect bacula to split a Volume limited by Maximum Volume Bytes in size into physical files limited by Maximum File Size on my harddisc. While testing the backup-system I changed this parameter without any visible effect. I have created new volumes after changing the parameter, to make the change effective. Can someone enlighten me about this? It's a confusion about the word file -- the logical file mentioned above is a chunk of bytes within the volume. With Bacula's tape volumes, each logical file is represented using what is traditionally called a file on the tape. With Bacula's file volumes, a single operating system file is used for the whole volume and its size is limited by Maximum Volume Bytes/Size. There is only one logical file within the file volume. Thanks for the info. That does explain it. Daniel -- Daniel Bloemer - BusinessCoDe GmbH Systemadministration and Support Phone: +49 (0)228 / 28925-43 http://www.business-code.de Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Confusion about Size of Volumes/Files while using File as Storage
Hi, I am a bit confused about the handling of file sizes while using Storage Type = File for the sd. The following two options are clear, they limit the size of the volumes, if they are not limited by the hardware. 1. A record in the Storage daemons Device resource Maximum Volume Size 2. A record in the Directors Pool resource Maximum Volume Bytes (so much for consistency) Then I found this in the documentation: Maximum File Size = size No more than size bytes will be written into a given logical file on the volume. Once this size is reached, an end of file mark is written on the volume and subsequent data are written into the next file. Breaking long sequences of data blocks with file marks permits quicker positioning to the start of a given stream of data and can improve recovery from read errors on the volume. The default is one Gigabyte. According to this entry in the documentation I would expect bacula to split a Volume limited by Maximum Volume Bytes in size into physical files limited by Maximum File Size on my harddisc. While testing the backup-system I changed this parameter without any visible effect. I have created new volumes after changing the parameter, to make the change effective. Can someone enlighten me about this? Regards Daniel P.S. the bacula-version in question is 1.38.9-1 -- Daniel Bloemer - BusinessCoDe GmbH Systemadministration and Support Phone: +49 (0)228 / 28925-43 http://www.business-code.de Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula 1.38.6 on SuSE 10.0 X86_64 with postgresql 8.1 (Solution)
Hi, Daniel Bloemer wrote: I am trying to run bacula 1.38.6 on a X86-64 bit System with SuSE 10.0 installed on it. I have installed the SuSE 10.0 RPMs from the sourceforge-website. So far so good. When I try to start the director it mourns the libpq.so.4 as missing. That library is definitely in the system, but it is in /usr/lib64 not /usr/lib since the whole system including the database is installed as 64-bit-Version. My guess is, what the RPM was linked against the 32-bit-Version of this library. Does anyone have encountered this before, and knows an easier way to go around this, than rebuilding the RPM? I found my error. Like I assumed, the bacula-RPMS are linked against the 32-bit-Version of postgresql, which caused the error above. You have to install the 32-bit-Libs additionally, to get it working. For those you are trying to get this working: SuSE ships the postgresql-Version 8.0 with SuSE 10.0. Since postgresql 8.1 is much faster and has a working autovacuum, I wanted to use 8.1. SuSE also provides the newer version of postgresql on its FTP-Server like on this german mirror: ftp://ftp.gwdg.de/pub/linux/suse/projects/postgresql There you find the X64-Version of postgresql. For some reason the package postgresql-libs-32bit-8.1.4-1.1.x86_64.rpm is located in the i386-tree, not in the x64-tree. (I don get, why) I installed that package after I found it there. Et voilá, it works. Now the sourceforge-bacula-rpm is up and running smoothly. So far for this one. Regards Daniel -- Daniel Bloemer - BusinessCoDe GmbH Systemadministration and Support Phone: +49 (0)228 / 28925-43 http://www.business-code.de Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula 1.38.6 on SuSE 10.0 X86_64 with postgresql 8.1
Hi, I am trying to run bacula 1.38.6 on a X86-64 bit System with SuSE 10.0 installed on it. I have installed the SuSE 10.0 RPMs from the sourceforge-website. So far so good. When I try to start the director it mourns the libpq.so.4 as missing. That library is definitely in the system, but it is in /usr/lib64 not /usr/lib since the whole system including the database is installed as 64-bit-Version. My guess is, what the RPM was linked against the 32-bit-Version of this library. Does anyone have encountered this before, and knows an easier way to go around this, than rebuilding the RPM? Regards Daniel -- Daniel Bloemer - BusinessCoDe GmbH Systemadministration and Support Phone: +49 (0)228 / 28925-43 http://www.business-code.de ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula 1.38.6 on SuSE 10.0 X86_64 with postgresql 8.1
Hi, Michael Galloway wrote: i'm a suse user, but i've always built bacula from src. it builds easily. Yep, building is easy. But I prefer RPMs since I use this on more than one maschine ;-) I'll try the RPM-rebuild tomorrow. Regards Daniel -- Daniel Bloemer - BusinessCoDe GmbH Systemadministration and Support Phone: +49 (0)228 / 28925-43 http://www.business-code.de ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] strange behaviour while trying to use an autochanger with simulated barcodes
Hi, I have come across some strange behaviour of bacula today and I would like to know if someone else has encountered this one. About my scenario: I use a SATA-Backplane with 4 harddiscs for backup. bacula is configured to accept this as an autochanger wiht 4 slots and starts an autochanger-script which mounts and unmounts the correct volume. This works pretty fine. Today I was about to change the discs again and wanted to use the opportunity to give this system the ability to read the labels and update the labels from the script. I adapted my script according to the manual to produce the right output for the command list. So far so good. When I try to run the command update slots (scan) in the console it fails. bacula complains that the device is not an auto changer. 3995 Device /mnt/backup-disc is not an autochanger. This is a fact, but all the time bacula accepts this device as an autochanger, when I start backups. It rotates the discs, mount them properly and so on. Is there a difference in the treatment of this device between backing up an scanning, which could explain this? The used bacula version is bacula-postgresql-1.36.2-1. I have added excerpts of the used config-files. Best regards Daniel Blömer bacula-sd.conf: Device { Name = SATAStorage Media Type = File Archive Device = /mnt/backup-disc LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = yes; AlwaysOpen = yes; Changer Command = /etc/bacula/changedisc %o %a %v Changer Device = /dev/null Autochanger = yes } bacula-dir.conf: Storage { Name = SATA ... Device = SATAStorage Media Type = File Autochanger = Yes } changescript: #!/bin/bash # Usage chagedisc %c %a %v # Command Archive Volume case $1 in ... list) echo 1:`/sbin/e2label /dev/sda1` echo 2:`/sbin/e2label /dev/sdb1` echo 3:`/sbin/e2label /dev/sdc1` echo 4:`/sbin/e2label /dev/sdd1` exit 0 ;; esac exit 0 -- Daniel Bloemer - BusinessCoDe GmbH Systemadministration and Support Phone: +49 (0)228 / 28925-43 http://www.business-code.de --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Does someone have a IOMEGA REV working with bacula
Hi, This question has brought up before on 2004-07-02, but there was no answer until now. So I wonder if in the meantime someone has tried one of these drives with bacula. Regards Daniel Blömer -- Daniel Bloemer - BusinessCoDe GmbH Systemadministration and Support Phone: +49 (0)228 / 28925-43 http://www.business-code.de --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] mount USB disk
Hello, Josh Fisher wrote: A RunBeforeJob script could mount the device with a simple mount command. It could also tell if the drive was inserted by testing whether or not the mountpoint existed. A RunAfterJob could unmount the device just as easily. Of course, if multiple drives were being used it would be neccessary to always insert the devices in the correct order so that the device with a particular bacula volume label was at the correct device node and mountpoint. A better approach would be for the RunBeforeJob script to read the bacula volume label from all inserted devices, find the mountpoint of the device containing the desired label, mount it, and then create a symlink to the mountpoint. The bacula job would use the symlink as its ArchiveDevice. I have not tried this, and I'm not sure if the RunAfterJob script could then figure out which device to unmount. Unfortunately there is no RunStorageBeforeJob-Command. Since Director and Storage are not on the same maschine here, a RunBeforeJob-script has to do this stuff remote on another maschine. Regards Daniel -- Daniel Bloemer - BusinessCoDe GmbH Systemadministration and Support Phone: +49 (0)228 / 28925-43 http://www.business-code.de --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] mount USB disk
Hi, Alan Brown wrote: On Sun, 7 Aug 2005, Mick wrote: I use an USB disk as backup target for Bacula. It works fine. But there is one issue: I want to mount it immediatly before the backup and unmount it afterwards. There is even a mount option for the config file (sd.config I think), but this option is not allowed for a harddisk. Assuming you're using a linux system, why not allow hotplug and subfs to do this for you automagically? I am working on a similiar solution here. The problem is, that the hotplug-agent doesnt mount the USB-Harddisc on a fixed mountpoint. I tried to define a fixed mountpoint myself, but the hotplug-agent has avoided all my attempts until now. Regards Daniel -- Daniel Bloemer - BusinessCoDe GmbH Systemadministration and Support Phone: +49 (0)228 / 28925-43 http://www.business-code.de --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] General questions about saving big discs on small tapes and bundling jobs
Hi, for the last week I have checked out bacula, since I need to replace the mt-scripts here with a better solution. I have done several testing and reading in the documentation and what I have found out is quite promising. But I have some open questions. Maybe someone here with more experience in bacula can answer some of that. The general situation is a lot of data, distributed on several Linux/Windows-hosts, are to be backuped on tape. For now I have a seagate tape-drive with 20GB capacity, which tapes has to be changed manually. Some of the backupjobs are bigger than that. It there a way to convince bacula to deal with this properly? I would expect something like: Starting a fulldump on the first tape until it is full, and then start with a incremental backup of the contents of the first tape followed by full backup of the remainung data until everything is on the tapes. I have tested to do a fullbackup over several tapes and then starting incremental, which is quite unsatifiing since it takes up to 6 hours to write one tape and I can run just one tape per day. So there is a lot of change in the data in the time the backup runs. Spooling the data to a holding-disc helps me to keep the tape-contents consistent, but it doesn't solve the problem at all. The second major question is how to bundle jobs. I also have several small jobs. I could schedule everyone of them to a single time, but this would cause the tape-drive to be started several times with a lot of rewinding. I would like to avoid this by scheduling several jobs as a bundle. Is that possible? Thanks in advance. Regards Daniel Bloemer -- Daniel Bloemer - BusinessCoDe GmbH Systemadministration and Support Phone: +49 (0)228 / 28925-31 http://www.business-code.de --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users