Re: [Bacula-users] client fileset
Danie Theron wrote: I assume the consideration for Win32 clients is also possible? ex: Include { Options { signature = SHA1 } File = \\/C:/filelist-on-client } Yes, this is also possible on Win32 clients. But I did not remember the exact syntax. Lois Lherbier LHERBIER Lois wrote: Hi, from the Bacula documentation : --- If you precede the less-than sign () with a backslash as in \, the file-list will be read on the Client machine instead of on the Director's machine. Please note that if the filename is given within quotes, you will need to use two slashes. Include { Options { signature = SHA1 } File = \\/home/xxx/filelist-on-client } --- With this it is easy to have a standard file on all the computers that can be modified by the users. Loïs Lherbier Sim Zacks wrote: Is there any way to allow the client computer to define the fileset that they would like backed up? The way I understand it all the FileSets must be defined in the director, which means if I want the users to define their own backup parameters then they would have to have access to the director, which obviously I don't want to give them. Thank You Sim --- 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 --- 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 --- 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] Tape ejecting problem
now for my (hopefully) last problem with bacula :-) the guy who had this job bevore me (he's not available for questions right now ..) did set it up so the tape gets ejected after the daily backup .. for some reason this doesn't work i don't know if it could have worked at all, i just know that some time ago when he was still here the tape did eject correctly .. dunno if he broke it ... snipet from bacula-dir.conf # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog Type = Backup Level = Full Client = -fd FileSet = Catalog Schedule = WeeklyCycleAfterBackup Storage = Tape Messages = Standard Pool = Default # This creates an ASCII copy of the catalog RunBeforeJob = /etc/bacula/scripts/make_catalog_backup bacula bacula RunAfterJob = /etc/bacula/eject_tape Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr Priority = 11 # run after main backup Max Start Delay = 22h } snipet from bacula report Termination:Backup OK 30-Aug 01:04 erde-dir: Begin pruning Jobs. 30-Aug 01:04 erde-dir: No Jobs found to prune. 30-Aug 01:04 erde-dir: Begin pruning Files. 30-Aug 01:04 erde-dir: No Files found to prune. 30-Aug 01:04 erde-dir: End auto prune. 30-Aug 01:04 erde-dir: RunAfter: Connecting to Director xxx.xxx.xxx.xxx:9101 30-Aug 01:04 erde-dir: RunAfter: 1000 OK: -dir Version: 1.36.3 (22 April 2005) 30-Aug 01:04 erde-dir: RunAfter: Enter a period to cancel a command. 30-Aug 01:04 erde-dir: RunAfter: unmount storage=Tape 30-Aug 01:04 erde-dir: RunAfter: Using default Catalog name=MyCatalog DB=bacula 30-Aug 01:04 erde-dir: RunAfter: 3901 Device /dev/nst0 is already unmounted. 30-Aug 01:04 erde-dir: RunAfter: You have messages. 30-Aug 01:04 erde-dir: RunAfter: /dev/st0: Permission denied 30-Aug 01:04 erde-dir: RunAfter: /dev/st0: Permission denied 30-Aug 01:04 erde-dir: BackupCatalog.2005-08-29_23.15.00 Warning: RunAfterJob error: ERR=Child exited with code 1 any clues to that ? all help appreciated :-) Florian --- 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] Tape ejecting problem
Florian Schnabel wrote: now for my (hopefully) last problem with bacula :-) the guy who had this job bevore me (he's not available for questions right now ..) did set it up so the tape gets ejected after the daily backup .. for some reason this doesn't work i don't know if it could have worked at all, i just know that some time ago when he was still here the tape did eject correctly .. dunno if he broke it ... snipet from bacula-dir.conf # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog Type = Backup Level = Full Client = -fd FileSet = Catalog Schedule = WeeklyCycleAfterBackup Storage = Tape Messages = Standard Pool = Default # This creates an ASCII copy of the catalog RunBeforeJob = /etc/bacula/scripts/make_catalog_backup bacula bacula RunAfterJob = /etc/bacula/eject_tape Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr Priority = 11 # run after main backup Max Start Delay = 22h } snipet from bacula report Termination:Backup OK 30-Aug 01:04 erde-dir: Begin pruning Jobs. 30-Aug 01:04 erde-dir: No Jobs found to prune. 30-Aug 01:04 erde-dir: Begin pruning Files. 30-Aug 01:04 erde-dir: No Files found to prune. 30-Aug 01:04 erde-dir: End auto prune. 30-Aug 01:04 erde-dir: RunAfter: Connecting to Director xxx.xxx.xxx.xxx:9101 30-Aug 01:04 erde-dir: RunAfter: 1000 OK: -dir Version: 1.36.3 (22 April 2005) 30-Aug 01:04 erde-dir: RunAfter: Enter a period to cancel a command. 30-Aug 01:04 erde-dir: RunAfter: unmount storage=Tape 30-Aug 01:04 erde-dir: RunAfter: Using default Catalog name=MyCatalog DB=bacula 30-Aug 01:04 erde-dir: RunAfter: 3901 Device /dev/nst0 is already unmounted. 30-Aug 01:04 erde-dir: RunAfter: You have messages. 30-Aug 01:04 erde-dir: RunAfter: /dev/st0: Permission denied 30-Aug 01:04 erde-dir: RunAfter: /dev/st0: Permission denied 30-Aug 01:04 erde-dir: BackupCatalog.2005-08-29_23.15.00 Warning: RunAfterJob error: ERR=Child exited with code 1 any clues to that ? all help appreciated :-) Florian --- 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 Hello, Can you show us the content of the file '/etc/bacula/eject_tape', please ? Loïs Lherbier --- 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] Tape ejecting problem
LHERBIER Lois wrote Hello, Can you show us the content of the file '/etc/bacula/eject_tape', please ? Loïs Lherbier whoops .. sorry, of course :-) #!/bin/sh bconsole -c /etc/bacula/bconsole.conf END_OF_DATA unmount storage=Tape END_OF_DATA # the following is a shell command mt -f /dev/st0 rewind mt -f /dev/st0 eject --- 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] Tape ejecting problem
Florian Schnabel wrote: LHERBIER Lois wrote Hello, Can you show us the content of the file '/etc/bacula/eject_tape', please ? Loïs Lherbier whoops .. sorry, of course :-) #!/bin/sh bconsole -c /etc/bacula/bconsole.conf END_OF_DATA unmount storage=Tape END_OF_DATA # the following is a shell command mt -f /dev/st0 rewind mt -f /dev/st0 eject seems an access right problem on /dev/st0. I think the simpler is to add in your Device configuration in bacula-sd.conf the directive : OfflineOnUnmount = yes Then you can remove the shell commands with 'mt' in your script. This directive will eject the tape if an 'umount' or a 'release' is issued. Hope it helps. Loïs Lherbier --- 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] client fileset
Ok , tested it : bacula-dir works with : Include { Options { signature = SHA1 } File = "\\C:/bacula/bin/include.txt" -forgot to remove the / } What is the correct syntax in the actual include.txt file ? I tried diff combinations : "c:/danie" - Could not stat "c:/danie": ERR=The filename, directory name, or volume label syntax is incorrect. c:/danie - this one didn't come up with an error but nothing is backed up Would really like to get this going on my win32 machines , so any help/hints/tips would be appreciated. LHERBIER Lois wrote: Danie Theron wrote: I assume the consideration for Win32 clients is also possible? ex: Include { Options { signature = SHA1 } File = "\\/C:/filelist-on-client" } Yes, this is also possible on Win32 clients. But I did not remember the exact syntax. Lois Lherbier LHERBIER Lois wrote: Hi, from the Bacula documentation : --- If you precede the less-than sign () with a backslash as in \, the file-list will be read on the Client machine instead of on the Director's machine. Please note that if the filename is given within quotes, you will need to use two slashes. Include { Options { signature = SHA1 } File = "\\/home/xxx/filelist-on-client" } --- With this it is easy to have a standard file on all the computers that can be modified by the users. Los Lherbier Sim Zacks wrote: Is there any way to allow the client computer to define the fileset that they would like backed up? The way I understand it all the FileSets must be defined in the director, which means if I want the users to define their own backup parameters then they would have to have access to the director, which obviously I don't want to give them. Thank You Sim --- 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 --- 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 --- 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 --- 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] Re: Open Source Funding idea (Kern Sibbald)
On Fri, 26 Aug 2005, Martin Simmons wrote: Alan Proprietary code including lesser GPL (lGPL) libraries is not forced into Alan the GPL either. Quite correct, but isn't there a common problem is that something is GPL but you want to use a small part of it as a library? If the libraries are covered by lGPL then you're fine, if not you have to write your own. The whole thrust of GPL is to prevent proprietary lockup of pooled common knowledge. Why should a company benefit/profit from using free code representing thousands of hours of work by hundreds of people, and not expect to contribute something in return? --- 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] Re: Open Source Funding idea (Kern Sibbald)
On Mon, 29 Aug 2005, Hendrik Weimer wrote: Companies which are totally risk-averse may decide to compile static images using proprietary libraries and compilers, at extra cost, but they retain 100% of their copyright even if having to pay distribution license royalties to Borland or Intel or whoever else I think that's rather the question if you want to spend money on licenses or on legal advice. Either way costs money. Avoiding both ways usually ends up costing more money or a lot of public egg on the face. GPL is not the boogeyman people make out. It is still a licensing method and in the end the author stil retains copyright. If anything it enhances the author's rights while still making the code available for use. Don't tell Microsoft that all the BSD-like code they use is illegal. :-) The BSD license allows for proprietary code lockup and that's regarded as a maojor problem with it in some circles. GPL was in some ways a reaction to what some comapnies were doing with BSD licensed code. Without GPL, it is impossible to legally use much code and that's where companies fall over - they always have the option of attempting to negotiate an indiivual copyright assignment with a software autohor if they don't want to use GPL. That depends on the development model. It is impossible to get a seperate license for the Linux kernel because there are too many copyright owners, probably including some who don't have to do anything with the kernel development at all. Which means that a company wanting to do a particular task would need to look at BSD, QNX, or even OSF1 kernels. Some authors refuse to negotiate individual licenses too - and that's fully within their rights to do so. Microsoft et al hate GPL because it means they have to publish the source code for derivative works, whereas if they use BSD-licensed code they can claim all derivatives as proprietary and simply acknowledge BSD - even then they failed to do this for a long time (MS has a fairly long history of code theft going right back to its foundation). Either way is making use of the intellectual property of others without paying for it, one allows higher profit margins. AB --- 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] client fileset
What do you mean by 'nothing is backed up' ? I think that you can validate your fileset with the 'estimate' command instead of running the backup. Loïs Lherbier Danie Theron wrote: Ok , tested it : bacula-dir works with : Include { Options { signature = SHA1 } File = \\C:/bacula/bin/include.txt -forgot to remove the / } What is the correct syntax in the actual include.txt file ? I tried diff combinations : c:/danie - Could not stat c:/danie: ERR=The filename, directory name, or volume label syntax is incorrect. c:/danie - this one didn't come up with an error but nothing is backed up Would really like to get this going on my win32 machines , so any help/hints/tips would be appreciated. LHERBIER Lois wrote: Danie Theron wrote: I assume the consideration for Win32 clients is also possible? ex: Include { Options { signature = SHA1 } File = \\/C:/filelist-on-client } Yes, this is also possible on Win32 clients. But I did not remember the exact syntax. Lois Lherbier LHERBIER Lois wrote: Hi, from the Bacula documentation : --- If you precede the less-than sign () with a backslash as in \, the file-list will be read on the Client machine instead of on the Director's machine. Please note that if the filename is given within quotes, you will need to use two slashes. Include { Options { signature = SHA1 } File = \\/home/xxx/filelist-on-client } --- With this it is easy to have a standard file on all the computers that can be modified by the users. Loïs Lherbier Sim Zacks wrote: Is there any way to allow the client computer to define the fileset that they would like backed up? The way I understand it all the FileSets must be defined in the director, which means if I want the users to define their own backup parameters then they would have to have access to the director, which obviously I don't want to give them. Thank You Sim --- 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 --- 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 --- 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 --- 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 --- 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] client fileset
It would be helpful if you send to this list in text format because some of us such as myself consider HTML to be a security problem (though rather minor). Be sure to check the development manual on this issue as the version shipped with 1.36.3 had a number of places where the text was out of date and thus erroneous. On Tuesday 30 August 2005 11:32, Danie Theron wrote: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head meta content=text/html;charset=ISO-8859-1 http-equiv=Content-Type /head body bgcolor=#ff text=#00 Ok , tested it :br br bacula-dir works with :br pre wrap=Include { Options { signature = SHA1 } File = \\lt;C:/bacula/bin/include.txt -forgot to remove the / }/pre What is the correct syntax in the actual include.txt file ?br br I tried diff combinations :br br c:/danie - Could not stat c:/danie: ERR=The filename, directory name, or volume label syntax is incorrect.br c:/danie - this one didn't come up with an error but nothing is backed upbr br Would really like to get this going on my win32 machines , so any help/hints/tips would be appreciated.br br br LHERBIER Lois wrote: blockquote cite=[EMAIL PROTECTED] type=cite pre wrap=Danie Theron wrote: /pre blockquote type=cite pre wrap=I assume the consideration for Win32 clients is also possible? ex: Include { Options { signature = SHA1 } File = \\lt;/C:/filelist-on-client } /pre /blockquote pre wrap=!Yes, this is also possible on Win32 clients. But I did not remember the exact syntax. Lois Lherbier /pre blockquote type=cite pre wrap= LHERBIER Lois wrote: /pre blockquote type=cite pre wrap=Hi, /pre /blockquote pre wrap=gt;from the Bacula documentation : /pre blockquote type=cite pre wrap=--- If you precede the less-than sign (lt;) with a backslash as in \lt;, the file-list will be read on the Client machine instead of on the Director's machine. Please note that if the filename is given within quotes, you will need to use two slashes. Include { Options { signature = SHA1 } File = \\lt;/home/xxx/filelist-on-client } --- With this it is easy to have a standard file on all the computers that can be modified by the users. Loiuml;s Lherbier Sim Zacks wrote: /pre blockquote type=cite pre wrap=Is there any way to allow the client computer to define the fileset that they would like backed up? The way I understand it all the FileSets must be defined in the director, which means if I want the users to define their own backup parameters then they would have to have access to the director, which obviously I don't want to give them. Thank You Sim --- SF.Net email is Sponsored by the Better Software Conference amp; EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile amp; Plan-Driven Development * Managing Projects amp; Teams * Testing amp; QA Security * Process Improvement amp; Measurement * a class=moz-txt-link-freetext href=http://www.sqe.com/bsce5sf;http://www.sqe.com/bsce5sf/a ___ Bacula-users mailing list a class=moz-txt-link-abbreviated href=mailto:Bacula-users@lists.sourceforge.net;[EMAIL PROTECTED] orge.net/a a class=moz-txt-link-freetext href=https://lists.sourceforge.net/lists/listinfo/bacula-users;https://li sts.sourceforge.net/lists/listinfo/bacula-users/a /pre /blockquote pre wrap= --- SF.Net email is Sponsored by the Better Software Conference amp; EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile amp; Plan-Driven Development * Managing Projects amp; Teams * Testing amp; QA Security * Process Improvement amp; Measurement * a class=moz-txt-link-freetext href=http://www.sqe.com/bsce5sf;http://www.sqe.com/bsce5sf/a ___ Bacula-users mailing list a class=moz-txt-link-abbreviated href=mailto:Bacula-users@lists.sourceforge.net;[EMAIL PROTECTED] orge.net/a a class=moz-txt-link-freetext href=https://lists.sourceforge.net/lists/listinfo/bacula-users;https://li sts.sourceforge.net/lists/listinfo/bacula-users/a /pre /blockquote /blockquote pre wrap=! --- SF.Net email is Sponsored by the Better Software Conference amp; EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile amp; Plan-Driven Development * Managing Projects amp; Teams * Testing amp; QA Security * Process Improvement amp; Measurement * a class=moz-txt-link-freetext href=http://www.sqe.com/bsce5sf;http://www.sqe.com/bsce5sf/a ___ Bacula-users mailing list a class=moz-txt-link-abbreviated
[Bacula-users] Bacula web config
The BaculaWeb test.php works OK (and the graphics show up just fine) but when I try to loadindex.php into my browser I just get the error message "DB Error: not found". I presume something is not right with the config. This is what appears in bacula.conf (omitting comments): [.DATABASE] host = 192.168.1.220 login = bacula pass = db_name = bacula db_type = mysql One of the comments says "create a user or give it permissions to access from web machine". In my case everything is running on the same SuSE 9.1 machine. Do I still need to do something with permissions? If so, what? TIA Graham Dicker
Re: [Bacula-users] Problem creating bootable CD for Bare metal recovery
Thanks for the guidance dude but yet another problem I have had a successfull cdburn but when I boot with this cd, its gives me this VFS:Mounted root (ext2 Filesystem) VFS: cannot open root device / or unknown-block(0,0) Please append a correct root= boot option Kernal Panic - not syncing :VFS:unable to root fs on unknow block(0,0) Any ideas? On 8/27/05, Kern Sibbald [EMAIL PROTECTED] wrote: Hello,You will need to remove the tar backup of the /etc/ files or modify the listand remove the files that don't exist on your system. This list is found inrescue/linux/cdrom/bacula/backup.etc.list On Friday 26 August 2005 12:20, Syed Ali Saim wrote: Hello List, I am trying to create cd iso for baremetal recovery, when I run make all Iget the following, Any ideas?? linux:/usr/local/bacula- 1.36.3/rescue/linux/cdrom # make all ./makekernel Updating modules in root RAM disk Coping /boot/vmlinuz-2.6.5-7.97-smp to /usr/local/bacula-1.36.3/rescue/linux/cdrom/cdtree/boot/isolinux/vmlinuz ./makebinaries Building root /sbin ... Could not find consoletype on your system Could not find dhclient on your system Could not find dhcpd on your system Could not find dump on your system Could not find getkey on your system Could not find ipcalc on your system Could not find ltrace on your system Could not find mgetty on your system Could not find mkbootdisk on your system Could not find nmap on your system Could not find rpc.statd on your system Could not find scsi_info on your system Building root shared libaries ... Building /etc ... Could not find /etc/bashrc in /etc Could not find /etc/gshadow in /etc ! Warning your /etc/ssh directory was copied. Keep this directory and the CDROM secure. ! make[1]: Entering directory `/usr/local/bacula-1.36.3/rescue/linux/cdrom/bacula' ./getdiskinfo Begin collecting system info ... sfdisk: ERROR: sector 0 does not have an msdos signature sfdisk: ERROR: sector 0 does not have an msdos signature Done collecting info. Begin creating scripts ... Done making partitioning scripts Begin making formatting script(s) ... Done building scripts. ./make_rescue_disk Tarring /etc files to current directory tar: Removing leading `/' from member names tar: /etc/gshadow: Cannot stat: No such file or directory tar: /etc/resolv.conf: Cannot stat: No such file or directory tar: Error exit delayed from previous errors make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/bacula- 1.36.3/rescue/linux/cdrom/bacula' make: *** [bacula] Error 2 --- 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--Best regards,Kern(/\V_V
Re: [Bacula-users] Problem creating bootable CD for Bare metal recovery
On Tuesday 30 August 2005 13:23, Syed Ali Saim wrote: Thanks for the guidance dude but yet another problem I have had a successfull cdburn but when I boot with this cd, its gives me this VFS:Mounted root (ext2 Filesystem) VFS: cannot open root device / or unknown-block(0,0) Please append a correct root= boot option Kernal Panic - not syncing :VFS:unable to root fs on unknow block(0,0) Any ideas? Yes, the 1.36.3 rescue CDROM doesn't work with 2.6 kernels. If you know how to pull a CVS, you can install the Bacula CVS project named rescue. I've carefully tested it on 2.6 kernels for RHEL 3, FC3 and FC4. I just finished testing it on FC4 yesterday. You can also pull a raw copy of the CVS tree from: www.sibbald.com/download/bacula-rescue-1.8.0.tar.gz Be sure to read the README file before starting as well as the development manual because there are some important configuration changes -- it is no longer integrated with Bacula. On 8/27/05, Kern Sibbald [EMAIL PROTECTED] wrote: Hello, You will need to remove the tar backup of the /etc/ files or modify the list and remove the files that don't exist on your system. This list is found in rescue/linux/cdrom/bacula/backup.etc.list On Friday 26 August 2005 12:20, Syed Ali Saim wrote: Hello List, I am trying to create cd iso for baremetal recovery, when I run make all Iget the following, Any ideas?? linux:/usr/local/bacula-1.36.3/rescue/linux/cdrom # make all ./makekernel Updating modules in root RAM disk Coping /boot/vmlinuz-2.6.5-7.97-smp to /usr/local/bacula-1.36.3/rescue/linux/cdrom/cdtree/boot/isolinux/vmlinu z ./makebinaries Building root /sbin ... Could not find consoletype on your system Could not find dhclient on your system Could not find dhcpd on your system Could not find dump on your system Could not find getkey on your system Could not find ipcalc on your system Could not find ltrace on your system Could not find mgetty on your system Could not find mkbootdisk on your system Could not find nmap on your system Could not find rpc.statd on your system Could not find scsi_info on your system Building root shared libaries ... Building /etc ... Could not find /etc/bashrc in /etc Could not find /etc/gshadow in /etc ! Warning your /etc/ssh directory was copied. Keep this directory and the CDROM secure. ! make[1]: Entering directory `/usr/local/bacula-1.36.3/rescue/linux/cdrom/bacula' ./getdiskinfo Begin collecting system info ... sfdisk: ERROR: sector 0 does not have an msdos signature sfdisk: ERROR: sector 0 does not have an msdos signature Done collecting info. Begin creating scripts ... Done making partitioning scripts Begin making formatting script(s) ... Done building scripts. ./make_rescue_disk Tarring /etc files to current directory tar: Removing leading `/' from member names tar: /etc/gshadow: Cannot stat: No such file or directory tar: /etc/resolv.conf: Cannot stat: No such file or directory tar: Error exit delayed from previous errors make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/bacula-1.36.3/rescue/linux/cdrom/bacula' make: *** [bacula] Error 2 --- 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 -- Best regards, Kern ( /\ V_V -- Best regards, Kern ( /\ V_V --- 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] schedule issue
-Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Sunday, August 28, 2005 6:41 AM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] schedule issue Hello, I'm trying to get this schedule to run at night, but time wise it runs during the day during system peaktimes, can someone tell me where my thoughts went wrong? Thanks. Dave # schedules Schedule { Name = sat_fdd Run = Full sat at 11:00 Run = Differential sun-fri at 12:00 } Hmm, just a guess, but I would read this as sun,mon,tue,wed,thu,fri at 12:00 (noon) If it's supposed to run at night maybe what you want is: Run = Differential sun-fri at 00:00 ? # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = WeeklyCycleAfterBackup Run = Full sun-sat at 3:30 } Kinds regards, Alex. --- 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] Multiple backup failures (1.37.36 + patches)
Last night five clients failed with the following error. These are clients that were successfully backed up Friday, with no change to any configs. 29-Aug 20:47 sioux-dir: auriga.2005-08-29_20.00.29 Fatal error: authenticate.c:99 Unable to authenticate with Storage daemon. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). Another Five clients failed with this error: 29-Aug 21:12 sioux-sd: sirius.2005-08-29_20.00.32 Fatal error: acquire.c:359 Wanted Volume 02, but device IBM-LTO2 (/ dev/nst0) is busy writing on 03 . 29-Aug 21:15 sirius-fd: sirius.2005-08-29_20.00.32 Fatal error: c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/job. c:1597 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data Any ideas? Thanks, Thomas --- 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] client fileset
Kern Sibbald wrote: It would be helpful if you send to this list in text format because some of us such as myself consider HTML to be a security problem (though rather minor). My humblest apologies *blush* , reinstalled my workstation and forgot to add lists.sourceforge.net (and sibbald.com :)) as my Plain Text domain. Be sure to check the development manual on this issue as the version shipped with 1.36.3 had a number of places where the text was out of date and thus erroneous. OK , my bacula-dir 's Fileset resource looks as follows : FileSet { Name = wks1old Set Include { Options { compression = GZIP6 wildfile = *.exe wildfile = *.mp3 wildfile = *.tmp exclude = yes } # File = f:/sqldumps File = \\C:/bacula/bin/include.txt } } And my include.txt file : c:/Documents and Settings/danie When I do an estimate : Connecting to Client wks1old-fd at wks1-old.verpakt.com:9102 2000 OK estimate files=0 bytes=0 Not sure where I'm going wrong seeing as all seems fine. Any help will be greatly appreciated TIA D --- 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] client fileset
Danie Theron wrote: Not sure where I'm going wrong seeing as all seems fine. Any help will be greatly appreciated Wild stab in the dark... try converting the text format on the Windows box to UNIX line endings... -- Russell Howe [EMAIL PROTECTED] --- 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] Multiple backup failures (1.37.36 + patches)
On Tuesday 30 August 2005 14:44, Thomas Simmons wrote: Last night five clients failed with the following error. These are clients that were successfully backed up Friday, with no change to any configs. 29-Aug 20:47 sioux-dir: auriga.2005-08-29_20.00.29 Fatal error: authenticate.c:99 Unable to authenticate with Storage daemon. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). Another Five clients failed with this error: 29-Aug 21:12 sioux-sd: sirius.2005-08-29_20.00.32 Fatal error: acquire.c:359 Wanted Volume 02, but device IBM-LTO2 (/ dev/nst0) is busy writing on 03 . 29-Aug 21:15 sirius-fd: sirius.2005-08-29_20.00.32 Fatal error: c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/job. c:1597 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data Any ideas? Upgrade to 1.37.37. I don't know about the first problem, but the second is fixed according to my tests and user feedback in version 1.37.37. Thanks, Thomas --- 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 -- Best regards, Kern ( /\ V_V --- 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] Multiple backup failures (1.37.36 + patches)
Thomas Simmons wrote: Last night five clients failed with the following error. These are clients that were successfully backed up Friday, with no change to any configs. 29-Aug 20:47 sioux-dir: auriga.2005-08-29_20.00.29 Fatal error: authenticate.c:99 Unable to authenticate with Storage daemon. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). Another Five clients failed with this error: 29-Aug 21:12 sioux-sd: sirius.2005-08-29_20.00.32 Fatal error: acquire.c:359 Wanted Volume 02, but device IBM-LTO2 (/ dev/nst0) is busy writing on 03 . 29-Aug 21:15 sirius-fd: sirius.2005-08-29_20.00.32 Fatal error: c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/job. c:1597 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data Any ideas? Thanks, Thomas Hello, I have the same error Unable to authenticate with Storage daemon randomly on our desktop computers. First of all I thought that the source of the problem was that I use concurrent jobs. But now I see that the problem occurs when three or more computers are not online ( Unable to connect to File Daemon error) during the backup, then the following (or the two following) jobs failed. Then, all the remaining jobs succeed again if the computers are online. Loïs --- 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] client fileset
Danie Theron wrote: Kern Sibbald wrote: It would be helpful if you send to this list in text format because some of us such as myself consider HTML to be a security problem (though rather minor). My humblest apologies *blush* , reinstalled my workstation and forgot to add lists.sourceforge.net (and sibbald.com :)) as my Plain Text domain. Be sure to check the development manual on this issue as the version shipped with 1.36.3 had a number of places where the text was out of date and thus erroneous. OK , my bacula-dir 's Fileset resource looks as follows : FileSet { Name = wks1old Set Include { Options { compression = GZIP6 wildfile = *.exe wildfile = *.mp3 wildfile = *.tmp exclude = yes } # File = f:/sqldumps File = \\C:/bacula/bin/include.txt } } And my include.txt file : c:/Documents and Settings/danie When I do an estimate : Connecting to Client wks1old-fd at wks1-old.verpakt.com:9102 2000 OK estimate files=0 bytes=0 Not sure where I'm going wrong seeing as all seems fine. Any help will be greatly appreciated TIA D I think that you can remove the quotes from include.txt. From what I remember, quotes are not needed when you include a file containting the files that you want to backup. Maybe at first try a simpler configuration without wildfiles and with only c:/bacula for instance in your include.txt. Then redo an 'estimate' to see if it is working. Loïs --- 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] parallel spooling/despooling
Hi, I have a [EMAIL PROTECTED] FreeBSD machine with a DDS3 Streamer attached to it. The streamer does about 1MB/s, when I use Bacula I can monitor the machine and streamer usage using systat -vm, when I do that I see that nothing is running at full steam, the streamer does about 0.8 MB/s, the CPU is at 80% usage, the harddisk is 5-20% usage. Of course this varies over time, but these values are pretty typical. I was wondering if I could optimize the usage to minimize the backup times. I was very happy to see that Bacula supports spooling at first, but I was kinda set back when I saw that spooling and despooling is done sequentially not in parallel. I had already set up a mfs based /tmp (128MB) to have Bacula spool to RAM (which the machine has plenty of), and CPU usage was indeed 100% as I had expected. Of course the CPU was basically unutilized when it came to unspooling the file. I wonder if it would be difficult to modify Bacula to use two spool files instead of one, so that: fd starts collecting files and creating the normal spool file, as soon as it is ready and signals sd to unspool the file, it does not wait until sd has finished but continues to collect files but stores them in a second file, right next to the normal spool file, as soon as sd has finished unspooling and fd spooling to the second file, the second file is renamed to the normal spool file and fd starts to collect for a new second file... I think this way the backup time could be significantly reduced in cases such as this one. Kind regards, Alex. --- 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] Switching from Backuppc to Bacula - tips / thoughts
After both enjoying and suffering with BackupPC for the past year, it is time to make a change. There are some great aspects of Backuppc and some not-so-great aspects and Im looking for a different set of trade-offs -- in particular, better support for WinXX clients. Has anyone here made the switch? Ill be backing up to disk, so if youve made the switch, how much more disk cost did you experience over Backuppc? Any things to watch out for? Thanks, Todd
Re: [Bacula-users] errors with 1.37.36 version
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Kern. (and list) I fix my config files for solve the problem, thank you for your help (and for your great program). But I still receive messages from bacula whith date 12/31/1969. I use the version 1.37.37 now. What could be ? The date of machine is ok. My line to send mail is that: mailcommand = /usr/sbin/bsmtp -h localhost -f \\(Bacula\) %r\ -s \Bacula: %t %e of %c (%n) %l on %v\ %r [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] operatorcommand = /usr/sbin/bsmtp -h localhost -f \\(Bacula\) %r\ - -s \Bacula: Intervention needed for %j\ %r [EMAIL PROTECTED] mail = [EMAIL PROTECTED] = all, !skipped operator = [EMAIL PROTECTED] = mount console = all, !skipped, !saved I have some users then receive this alerts. Just for document, my storage's problem solve with this configuration: bacula-sd.conf: Autochanger { Name = autoloader1 Device = Drive-1 Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d Changer Device = /dev/sg1 } Autochanger { Name = autoloader2 Device = Drive-2 Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d Changer Device = /dev/sg3 } Device { Name = Drive-1 Drive Index = 0 Media Type = LTO Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Device { Name = Drive-2 Drive Index = 0 Media Type = LTO Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } [ ]'s - -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified Núcleo de Processamento de Dados Universidade de Caxias do Sul May the Source be with you. - An unknown jedi programmer. http://jczucco.blogspot.com Kern Sibbald wrote: Hello, Well, the first thing that I see is that you are using an autochanger but have not defined an Autochanger resource in the SD. Under 1.37.30, this might have continued to work as it did in 1.36, because the new autochanger code was only partially implemented. In 1.37.36, you *must* use the new Autochanger resource and make a number of other changes to your SD and Director conf files, or it is not going to work. This is all described pretty well in the manual, and the ReleaseNotes say: Items to note!!! ... - If you use an Autochanger, you *must* update your SD conf file to use the new Autochanger resource. Otherwise, certain commands such as update slots may not work. I guess I should have removed the second sentence. I cannot say for sure your problems will go away with those changes, but without them, you are sure to have problems. On Tuesday 23 August 2005 21:32, Jeronimo Zucco wrote: Sorry, follow a description complete for my problems whith 1.37.36 version: We have 2 autoloaders (both have just one LTO2 drive) connected to one Intel server. We have being running bacula 1.37.30 without problems so far. Today we have upgraded to 1.37.36 and start to get this error: bacula-sd: 3302 Autochanger loaded drive 0, result: nothing loaded. 23-Ago 09:27 pan-fd: PanJob.2005-08-23_09.25.22 Fatal error: job.c:1588 Comm error with SD. bad response to Append Data. ERR=No data available The e-mail reporting errors and warnings of bacula come with date 12/30/1969 too. We have several jobs running concurrently (maximum 3 jobs) and about 25 servers (most of them are Linux, but there are a few Microsoft servers too). At least 3 servers run a script before backup (it does an export of an Oracle database) and it takes from 1 to 3 hours to accomplish this export and another hour to make the backup itself. Our bacula configuration files follow: bacula-fd.conf: Director { Name = bacula-dir Password = } Director { Name = bacula-mon Password = X Monitor = yes } FileDaemon { # this is me Name = bacula-fd FDport = 9102 # where we listen for the director WorkingDirectory = /var/bacula Pid Directory = /var/run Maximum Concurrent Jobs = 10 } Messages { Name = Standard director = bacula-dir = all, !skipped } bacula-sd.conf: Storage { # definition of myself Name = bacula-sd SDPort = 9103 # Director's port WorkingDirectory = /var/bacula Pid Directory = /var/run Maximum Concurrent Jobs = 10 } Director { Name = bacula-dir Password = XX } Director { Name = bacula-mon Password = Xx Monitor = yes } Device { Name = autoloader1# Media Type = LTO Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it
[Bacula-users] Broken Pipe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello there, I'm using bacula to backup some servers. All servers go 'Backup OK' everyday w/o a glitch. But my mail server (just it!) is stopping every day with a 'Broken Pipe'. I use spooling, and all the jobs runs concurrently, so I got: 29-Aug 20:03 portoalegre-sd: Spooling data ... 29-Aug 20:06 portoalegre-sd: Writing spooled data to Volume. Despooling 429,278,154 bytes ... 29-Aug 20:10 belem-fd: Belem.2005-08-29_20.00.01 Fatal error: backup.c:477 Network send error 32768 to SD. ERR=Broken pipe If I start the same job now, it'll work ok. Any idea about what's causing this 'Broken Pipe' to the SD? []s - -- José de Paula Eufrásio Júnior [EMAIL PROTECTED] Coordenador de Tecnologia de Informação Ministério das Cidades -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDFGBF5bbyhSboYZ0RAmpYAKDPztEHb4nSNbtc5dmn5kDyKhLtrQCgwxRR coP0GmdPjBW9seA7v/3TmNA= =YprE -END PGP SIGNATURE- --- 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] errors with 1.37.36 version
Jeronimo Zucco wrote: Hi, Kern. (and list) I fix my config files for solve the problem, thank you for your help (and for your great program). But I still receive messages from bacula whith date 12/31/1969. I use the version 1.37.37 now. What could be ? The date of machine is ok. It's a pretty safe bet that the date on ONE of your machines has to be wrong. Can you give us an example of one of the mis-dated messages? -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- 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] 1.37 as stable/RPM?
Hello! Thank you for your explanations. Is there a rough timetable for this next stable release (1.38)? I am curious to use the DVD-options. Kind regards, Jens Phil Stracchino schrieb: Jens Meyer wrote: Hello! I started first tests with bacula last week after a tipp of our system-adinistrator in our company. Now I am so enthusiastic like he is. ;-) I had problems with compilation of beta, so I installed the 1.36-rpms and am waiting for next release. Is there a rough timetable for release of 1.37 stable (as RPM) available? I assume there will be no 1.37 stable RPMs. The next stable release will be 1.38, which will be released when the current CVS codebase the 1.37 betas are drawn from is ready for release, and at that time the development version will become 1.39 (which will eventually be released as 1.40). --- 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] errors with 1.37.36 version
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Looking other mails, I think then bacula not put the date field on e-mail, then the mail server put the date 12/31/1969. If anyone want I send a copy for e-mail, please ask me. - -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified Núcleo de Processamento de Dados Universidade de Caxias do Sul May the Source be with you. - An unknown jedi programmer. http://jczucco.blogspot.com Phil Stracchino wrote: Jeronimo Zucco wrote: Hi, Kern. (and list) I fix my config files for solve the problem, thank you for your help (and for your great program). But I still receive messages from bacula whith date 12/31/1969. I use the version 1.37.37 now. What could be ? The date of machine is ok. It's a pretty safe bet that the date on ONE of your machines has to be wrong. Can you give us an example of one of the mis-dated messages? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDFGiXTCq0VJ4DIPwRAu35AKCbzUYaE2J51AAouJC8xyFF9sKYSwCcDN3y 1wrvULCm8n+ouxpY0nxo2MM= =xOuF -END PGP SIGNATURE- --- 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] 1.37 as stable/RPM?
Jens Meyer wrote: Hello! Thank you for your explanations. Is there a rough timetable for this next stable release (1.38)? I am curious to use the DVD-options. Soon. :) -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- 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] errors with 1.37.36 version
Jeronimo Zucco wrote: Stranger that headers have the correct date, but the client (many, include webmail) cannot interpret the date. Any caracter not recognized on the field date ? Follow an header for example: Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from gaia.ucs.br (unknown [200.160.143.250]) by ops.ucs.br (Postfix) with ESMTP id 49AD1280079; Tue, 30 Aug 2005 02:11:15 -0300 (BRT) Received: from gaia.ucs.br (localhost.localdomain [127.0.0.1]) by localhost.ucs.br (Postfix) with ESMTP id 167461902D9; Tue, 30 Aug 2005 02:11:15 -0300 (BRT) Received: from bacula.ucs.br (unknown [200.160.143.251])by gaia.ucs.br (Postfix) with ESMTP id E9A98190247;Tue, 30 Aug 2005 02:11:14 -0300 (BRT) Received: from bacula.ucs.br (localhost.localdomain [127.0.0.1])by bacula.ucs.br (8.13.4/8.13.4) with SMTP id j7U5BElS018112;Tue, 30 Aug 2005 02:11:14 -0300 Message-Id: [EMAIL PROTECTED] From: [EMAIL PROTECTED] (Bacula) Subject: Bacula: Backup OK of pavati-fd (PavatiJob) Full on QVD031L2 Sender: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Ter, 30 Ago 2005 02:11:14 -0300 .Yeah, I don't see anything wrong with that. Does the date-misreading problem occur on more than one machine? -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- 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] errors with 1.37.36 version
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Phil, thank you for your help. The problem ocours whith all machines backup (I do backup for 30 machines). Phil Stracchino wrote: Jeronimo Zucco wrote: Stranger that headers have the correct date, but the client (many, include webmail) cannot interpret the date. Any caracter not recognized on the field date ? Follow an header for example: Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from gaia.ucs.br (unknown [200.160.143.250]) by ops.ucs.br (Postfix) with ESMTP id 49AD1280079; Tue, 30 Aug 2005 02:11:15 -0300 (BRT) Received: from gaia.ucs.br (localhost.localdomain [127.0.0.1]) by localhost.ucs.br (Postfix) with ESMTP id 167461902D9; Tue, 30 Aug 2005 02:11:15 -0300 (BRT) Received: from bacula.ucs.br (unknown [200.160.143.251])by gaia.ucs.br (Postfix) with ESMTP id E9A98190247;Tue, 30 Aug 2005 02:11:14 -0300 (BRT) Received: from bacula.ucs.br (localhost.localdomain [127.0.0.1])by bacula.ucs.br (8.13.4/8.13.4) with SMTP id j7U5BElS018112;Tue, 30 Aug 2005 02:11:14 -0300 Message-Id: [EMAIL PROTECTED] From: [EMAIL PROTECTED] (Bacula) Subject: Bacula: Backup OK of pavati-fd (PavatiJob) Full on QVD031L2 Sender: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Ter, 30 Ago 2005 02:11:14 -0300 .Yeah, I don't see anything wrong with that. Does the date-misreading problem occur on more than one machine? - -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified Núcleo de Processamento de Dados Universidade de Caxias do Sul May the Source be with you. - An unknown jedi programmer. http://jczucco.blogspot.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDFGp3TCq0VJ4DIPwRAhT2AKC439QwWEEtCDheUlpgXlpgwaG16ACdEiNp ob5V+vZiLhcvIm/KdwH1GGc= =PIfW -END PGP SIGNATURE- --- 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] errors with 1.37.36 version
Jeronimo Zucco wrote: Looking other mails, I think then bacula not put the date field on e-mail, then the mail server put the date 12/31/1969. Ah! That would make sense. A Unix time field of zero would be interpreted as the epoch, defined as 00:00:00 01/01/1970 UTC. If your timezone is behind Greenwich time, then it would indeed show up as a date that many hours back into December 31 1969. The next question would be why some component of your Bacula installation is sending messages with a zero timestamp. Again, an example of one of the mis-dated messages would be useful here. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- 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] Cleaning Tape Drive
Hello List, i know i asked this already, but i didn´t get an answer who solves this yet. sorry... How can i get bacula to run every saturday a cleaning tape in my library? I already get the message that i should use an admin job, but how can i say use slot 8 from library? The cleaning tape has no Label so i couldn´t call it that way. Thanks for every hint! How do you clean your tape drives? Manually? regards, Timo -- --- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-70 Fax: +49-711-849910-934 WEB: http://www.dtnet.de/ Email: [EMAIL PROTECTED] --- 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-devel] Re: [Bacula-users] urgent question .. lil' help please - job migration and copy
Actually, this is closer to the volume set idea I alluded to -- being able to define a single volume name representing a set of volumes where any member of the set would be acceptable to satisfy a mount request for backup or restore. It's only moderately related to the migration issue in that migration makes the idea of multiple synchronized copies of the data much more useful (eg, be able to send the 2nd and subsequent copies to different offsites, etc). I believe I understand your volume set idea, but how is this really different from a pool? Couldn't a current Bacula pool be roughly equivalent to a Volume Set under your definition? Thinking a bit more (and after much more coffee), this is really a issue of individual file entities having multiple location attributes, eg a copy of this file exists on volume A at location X, and on volume B at location Y, etc. If a file could have a list of locations where it could be found, volume sets would be unnecessary. Files get associated with locations on more than one volume. If one of the file locations is unavailable (accidentally overwritten, operator dropped the tape and it broke, or just offsite), one of the other members can be transparently mounted in it's place (if possibly suboptimally in terms of effort and drive optimization). This also removes any synchronization problems with the volume set idea, and is much more flexible. Forget volume sets, then. So, if we introduce a management class that says files written with this management class are automatically duplicated on N distinct volumes from pools A, B, and C (allowing the N pools to be the same or different, eg A, A and A would be legal), then you would get the desired ability to have multiple copies of the data, be able to mark a specific volume as unavailable (ie, offsite or destroyed), and migration would still work properly as specified by the pool definitions. Yes I would like to divorce a Job from a Storage device, which I have partially done in 1.37 in that you can specify multiple storage devices and the SD selects which one to use. A management class might be able to encapsulate this though. See above. That might be the way to go to do this. --- 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] Bacula performance
Hello all, for some time I am playing with bacula to find out if should use it for personal backups at home and maybe use it in the my company to backup some Linux servers. I have tried 1.36 and some 1.37 up to 1.37.37 on my ibook G4 running under MacOS X 10.4.2. While performing the default backup scenario (local disk to disk) using the sqlite3 database engine, I get the following results: 27-Aug 16:59 uwes-ibook-dir: Bacula 1.37.37 (24Aug05): 27-Aug-2005 16:59:09 JobId: 1 Job:Client1.2005-08-27_16.41.12 Backup Level: Full (upgraded from Incremental) Client: uwes-ibook-fd powerpc-apple- darwin8.2.1,darwin,8.2.1 FileSet:Full Set 2005-08-27 16:41:15 Pool: Default Storage:File Scheduled time: 27-Aug-2005 16:41:10 Start time: 27-Aug-2005 16:41:15 End time: 27-Aug-2005 16:59:09 Priority: 10 FD Files Written: 1,696 SD Files Written: 1,696 FD Bytes Written: 61,572,564 SD Bytes Written: 61,839,775 Rate: 57.3 KB/s Software Compression: None Volume name(s): Test Volume Session Id: 1 Volume Session Time:1125153539 Last Volume Bytes: 61,951,484 Non-fatal FD errors:0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK This seems fairly poor to me as I think that disk backups must perform faster. I won't dare to backup my root partition (~30GB) with that speed. Is there something I miss? Tuned settings? Other database backend? Best Regards, Uwe --- 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] Multiple backup failures (1.37.36 + patches)
On Tuesday 30 August 2005 14:59, LHERBIER Lois wrote: Thomas Simmons wrote: Last night five clients failed with the following error. These are clients that were successfully backed up Friday, with no change to any configs. 29-Aug 20:47 sioux-dir: auriga.2005-08-29_20.00.29 Fatal error: authenticate.c:99 Unable to authenticate with Storage daemon. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). Another Five clients failed with this error: 29-Aug 21:12 sioux-sd: sirius.2005-08-29_20.00.32 Fatal error: acquire.c:359 Wanted Volume 02, but device IBM-LTO2 (/ dev/nst0) is busy writing on 03 . 29-Aug 21:15 sirius-fd: sirius.2005-08-29_20.00.32 Fatal error: c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/job. c:1597 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data Any ideas? Thanks, Thomas Hello, I have the same error Unable to authenticate with Storage daemon randomly on our desktop computers. First of all I thought that the source of the problem was that I use concurrent jobs. But now I see that the problem occurs when three or more computers are not online ( Unable to connect to File Daemon error) during the backup, then the following (or the two following) jobs failed. Then, all the remaining jobs succeed again if the computers are online. What you describe is most likely insufficient simultaneous jobs in the Storage daemon. Each one of the Clients that cannot be contacted holds an open connection with the Storage daemon. This is because the Storage daemon is contacted before the Client. I believe that the error message that is being printed is telling you what the problem is. Loïs --- 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 -- Best regards, Kern ( /\ V_V --- 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] client fileset
On Tuesday 30 August 2005 14:48, Danie Theron wrote: Kern Sibbald wrote: It would be helpful if you send to this list in text format because some of us such as myself consider HTML to be a security problem (though rather minor). My humblest apologies *blush* , reinstalled my workstation and forgot to add lists.sourceforge.net (and sibbald.com :)) as my Plain Text domain. Don't worry, it was not serious. Be sure to check the development manual on this issue as the version shipped with 1.36.3 had a number of places where the text was out of date and thus erroneous. OK , my bacula-dir 's Fileset resource looks as follows : FileSet { Name = wks1old Set Include { Options { compression = GZIP6 wildfile = *.exe wildfile = *.mp3 wildfile = *.tmp exclude = yes } # File = f:/sqldumps File = \\C:/bacula/bin/include.txt } } And my include.txt file : c:/Documents and Settings/danie Double quotes are not permitted in your include.txt file. If that doesn't fix the problem, try turning on debug level 100 or 200, you should be able to see what is going on. When I do an estimate : Connecting to Client wks1old-fd at wks1-old.verpakt.com:9102 2000 OK estimate files=0 bytes=0 Not sure where I'm going wrong seeing as all seems fine. Any help will be greatly appreciated TIA D -- Best regards, Kern ( /\ V_V --- 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] errors with 1.37.36 version
On Tuesday 30 August 2005 16:05, Jeronimo Zucco wrote: Stranger that headers have the correct date, but the client (many, include webmail) cannot interpret the date. Any caracter not recognized on the field date ? I suspect that your clients (webmail) don't understand Portuguese. Follow an header for example: Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from gaia.ucs.br (unknown [200.160.143.250]) by ops.ucs.br (Postfix) with ESMTP id 49AD1280079; Tue, 30 Aug 2005 02:11:15 -0300 (BRT) Received: from gaia.ucs.br (localhost.localdomain [127.0.0.1]) by localhost.ucs.br (Postfix) with ESMTP id 167461902D9; Tue, 30 Aug 2005 02:11:15 -0300 (BRT) Received: from bacula.ucs.br (unknown [200.160.143.251])by gaia.ucs.br (Postfix) with ESMTP id E9A98190247;Tue, 30 Aug 2005 02:11:14 -0300 (BRT) Received: from bacula.ucs.br (localhost.localdomain [127.0.0.1])by bacula.ucs.br (8.13.4/8.13.4) with SMTP id j7U5BElS018112;Tue, 30 Aug 2005 02:11:14 -0300 Message-Id: [EMAIL PROTECTED] From: [EMAIL PROTECTED] (Bacula) Subject: Bacula: Backup OK of pavati-fd (PavatiJob) Full on QVD031L2 Sender: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Ter, 30 Ago 2005 02:11:14 -0300 Phil Stracchino wrote: Jeronimo Zucco wrote: Hi, Kern. (and list) I fix my config files for solve the problem, thank you for your help (and for your great program). But I still receive messages from bacula whith date 12/31/1969. I use the version 1.37.37 now. What could be ? The date of machine is ok. It's a pretty safe bet that the date on ONE of your machines has to be wrong. Can you give us an example of one of the mis-dated messages? -- Best regards, Kern ( /\ V_V --- 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] Cleaning Tape Drive
On Tuesday 30 August 2005 17:22, Timo Eissler wrote: Hello List, i know i asked this already, but i didn´t get an answer who solves this yet. sorry... How can i get bacula to run every saturday a cleaning tape in my library? This is a bad idea. On most modern drives, you clean when the cleaning light comes on. If you have a DDS drive, cleaning once a month should be sufficient. If you run TapeAlert, and your drive is not too old, you will see when errors are occurring -- that also indicates the need for cleaning. I already get the message that i should use an admin job, but how can i say use slot 8 from library? The cleaning tape has no Label so i couldn´t call it that way. Thanks for every hint! How do you clean your tape drives? Manually? I have DLT, the cleaning light comes on about once a year. regards, Timo -- Best regards, Kern ( /\ V_V --- 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] errors with 1.37.36 version
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No, this happens only for mails from bacula. I test on webmail imp and thunderbird client. Kern Sibbald wrote: On Tuesday 30 August 2005 16:05, Jeronimo Zucco wrote: Stranger that headers have the correct date, but the client (many, include webmail) cannot interpret the date. Any caracter not recognized on the field date ? I suspect that your clients (webmail) don't understand Portuguese. Follow an header for example: Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from gaia.ucs.br (unknown [200.160.143.250]) by ops.ucs.br (Postfix) with ESMTP id 49AD1280079; Tue, 30 Aug 2005 02:11:15 -0300 (BRT) Received: from gaia.ucs.br (localhost.localdomain [127.0.0.1]) by localhost.ucs.br (Postfix) with ESMTP id 167461902D9; Tue, 30 Aug 2005 02:11:15 -0300 (BRT) Received: from bacula.ucs.br (unknown [200.160.143.251])by gaia.ucs.br (Postfix) with ESMTP id E9A98190247;Tue, 30 Aug 2005 02:11:14 -0300 (BRT) Received: from bacula.ucs.br (localhost.localdomain [127.0.0.1])by bacula.ucs.br (8.13.4/8.13.4) with SMTP id j7U5BElS018112;Tue, 30 Aug 2005 02:11:14 -0300 Message-Id: [EMAIL PROTECTED] From: [EMAIL PROTECTED] (Bacula) Subject: Bacula: Backup OK of pavati-fd (PavatiJob) Full on QVD031L2 Sender: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Ter, 30 Ago 2005 02:11:14 -0300 Phil Stracchino wrote: Jeronimo Zucco wrote: Hi, Kern. (and list) I fix my config files for solve the problem, thank you for your help (and for your great program). But I still receive messages from bacula whith date 12/31/1969. I use the version 1.37.37 now. What could be ? The date of machine is ok. It's a pretty safe bet that the date on ONE of your machines has to be wrong. Can you give us an example of one of the mis-dated messages? - -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified Núcleo de Processamento de Dados Universidade de Caxias do Sul May the Source be with you. - An unknown jedi programmer. http://jczucco.blogspot.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDFIPnTCq0VJ4DIPwRAmcKAJ9555kYdD8VRGIwrKQBx60WiB7SgwCeKadV nytc4UYlzEQOKy5cVsBTaEA= =O427 -END PGP SIGNATURE- --- 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-devel] Re: [Bacula-users] urgent question .. lil' help please - job migration and copy
On Friday 26 August 2005 16:18, David Boyes wrote: Actually, this is closer to the volume set idea I alluded to -- being able to define a single volume name representing a set of volumes where any member of the set would be acceptable to satisfy a mount request for backup or restore. It's only moderately related to the migration issue in that migration makes the idea of multiple synchronized copies of the data much more useful (eg, be able to send the 2nd and subsequent copies to different offsites, etc). I believe I understand your volume set idea, but how is this really different from a pool? Couldn't a current Bacula pool be roughly equivalent to a Volume Set under your definition? Thinking a bit more (and after much more coffee), this is really a issue of individual file entities having multiple location attributes, eg a copy of this file exists on volume A at location X, and on volume B at location Y, etc. If a file could have a list of locations where it could be found, volume sets would be unnecessary. Files get associated with locations on more than one volume. If one of the file locations is unavailable (accidentally overwritten, operator dropped the tape and it broke, or just offsite), one of the other members can be transparently mounted in it's place (if possibly suboptimally in terms of effort and drive optimization). This also removes any synchronization problems with the volume set idea, and is much more flexible. Forget volume sets, then. So, if we introduce a management class that says files written with this management class are automatically duplicated on N distinct volumes from pools A, B, and C (allowing the N pools to be the same or different, eg A, A and A would be legal), then you would get the desired ability to have multiple copies of the data, be able to mark a specific volume as unavailable (ie, offsite or destroyed), and migration would still work properly as specified by the pool definitions. Yes, being able to have Bacula know that the same file is backed up in multiple places would be useful. Bacula currently is able to cope with multiple copies of the same file, and when a restore is done, it simply takes the most current one. After thinking about this a bit, it seems to me that Bacula would correctly deal with multiple identical copies of a file, because in constructing the in memory tree, it automatically ensures that only one copy is restored. However, it would be better if it explicitly knew that two copies were identical, if for no other reason than it wouldn't be very efficient if it accepted say the first copy of file X and the second copy of file Y as it would require unnecessary tape mounts. Making Bacula explicitly aware of exact copies is probably not too hard to do, but I would need to think about it. Yes I would like to divorce a Job from a Storage device, which I have partially done in 1.37 in that you can specify multiple storage devices and the SD selects which one to use. A management class might be able to encapsulate this though. See above. That might be the way to go to do this. --- 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 -- Best regards, Kern ( /\ V_V --- 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] Bacula performance
On Saturday 27 August 2005 18:22, Uwe Hees wrote: Hello all, for some time I am playing with bacula to find out if should use it for personal backups at home and maybe use it in the my company to backup some Linux servers. I have tried 1.36 and some 1.37 up to 1.37.37 on my ibook G4 running under MacOS X 10.4.2. While performing the default backup scenario (local disk to disk) using the sqlite3 database engine, I get the following results: 27-Aug 16:59 uwes-ibook-dir: Bacula 1.37.37 (24Aug05): 27-Aug-2005 16:59:09 JobId: 1 Job:Client1.2005-08-27_16.41.12 Backup Level: Full (upgraded from Incremental) Client: uwes-ibook-fd powerpc-apple- darwin8.2.1,darwin,8.2.1 FileSet:Full Set 2005-08-27 16:41:15 Pool: Default Storage:File Scheduled time: 27-Aug-2005 16:41:10 Start time: 27-Aug-2005 16:41:15 End time: 27-Aug-2005 16:59:09 Priority: 10 FD Files Written: 1,696 SD Files Written: 1,696 FD Bytes Written: 61,572,564 SD Bytes Written: 61,839,775 Rate: 57.3 KB/s Software Compression: None Volume name(s): Test Volume Session Id: 1 Volume Session Time:1125153539 Last Volume Bytes: 61,951,484 Non-fatal FD errors:0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK This seems fairly poor to me as I think that disk backups must perform faster. I won't dare to backup my root partition (~30GB) with that speed. Is there something I miss? Perhaps you didn't read the ReleaseNotes where I indicate that SQLite3 in my tests was 4 to 10 times slower than SQLite 2. Tuned settings? Other database backend? Try SQLite 2 or MySQL. Best Regards, Uwe --- 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 -- Best regards, Kern ( /\ V_V --- 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] Bitrate problems using Bacula
On Mon, 29 Aug 2005, Romain wrote: Now I have bacula backuping 30 servers and it seems to work fine. I backup 1,5GB a day and the total file retention is near 52 Gb. The problem is that all backups seem to run very slow. The average bitrate I have is between 600 and 700 kb/s. But all my servers are plugged on 100Mb switches and the backup server is composed with 3 RAID5 146 Gb 10kt SCSI disks (note : all backups are made direct to disk). My experience is that the bottleneck is not archiving the files -- to tape or file or whatever -- but inserting the file attributes into the storage database. Worst case on our network is our cvs/subversion server that hosts 2.2 million files taking up only 90 GB of space. It takes only 4 hours to write the data to an LTO-1 tape drive. It then takes 26 hours to insert 715 MB of file attributes into the sqlite database. The archiving operation is quite fast, ca. 6.4 MB/s, but the overall rate is only in the range of 820 KB/s. Best case for us is our mail server, which still uses the old mailbox storage, with many messages per file, so we back up lots of data in relatively few files. With far less attribute spooling, these backups run 3.5 to 4 times faster (overall) than the worst case. My suggestion would be for you to identify the local bottleneck a bit more thoroughly. If the database operations are slowing you down, you might consider moving to a more efficient RDBMS or beefing up your server (faster disks, more RAM, ...). -- Paul Heinlein [EMAIL PROTECTED] www.madboa.com --- 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] errors with 1.37.36 version
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When I save the e-mail, the date are correct, but the e-mail I receive, become with date 10/28/47... Then the server translate to 12/31/69 (unix zero date). Any configuration to bacula to recognize another formats of date? I use on server Fedora 4 with the environment variable LANG=pt_BR.UTF-8. In my country, the format of date is DD/MM/YY, not MM/DD/YY. I think this is the problem. I will try to unset the environment variable and test, then I will report to you. Thanks, - -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified Núcleo de Processamento de Dados Universidade de Caxias do Sul May the Source be with you. - An unknown jedi programmer. http://jczucco.blogspot.com Phil Stracchino wrote: Jeronimo Zucco wrote: Hi Phil. Here is an e-mail for example. I not put the message on the list for obvius reasons. Umm. I must be missing something. I don't see any incorrect dates in this. They all look correct. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDFIdyTCq0VJ4DIPwRAoP2AJwOYhYwJc1sf4QiUqwOWrJcuysWjgCg3PRs 3jhq8uGbQR/XdMafXEyiRGY= =uFi2 -END PGP SIGNATURE- --- 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] errors with 1.37.36 version
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yeaah !!! This is a problem! Then on my script to start bacula, I unset the environment variable with the command unset LANG before start bacula. On version 1.36.30, this is not happens. Thank you Philip and Kern for your help. Include my name for bacula test list users :-) - -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified Núcleo de Processamento de Dados Universidade de Caxias do Sul May the Source be with you. - An unknown jedi programmer. http://jczucco.blogspot.com Jeronimo Zucco wrote: When I save the e-mail, the date are correct, but the e-mail I receive, become with date 10/28/47... Then the server translate to 12/31/69 (unix zero date). Any configuration to bacula to recognize another formats of date? I use on server Fedora 4 with the environment variable LANG=pt_BR.UTF-8. In my country, the format of date is DD/MM/YY, not MM/DD/YY. I think this is the problem. I will try to unset the environment variable and test, then I will report to you. Thanks, -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified Núcleo de Processamento de Dados Universidade de Caxias do Sul May the Source be with you. - An unknown jedi programmer. http://jczucco.blogspot.com Phil Stracchino wrote: Jeronimo Zucco wrote: Hi Phil. Here is an e-mail for example. I not put the message on the list for obvius reasons. Umm. I must be missing something. I don't see any incorrect dates in this. They all look correct. - --- 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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDFIsmTCq0VJ4DIPwRApZzAKCuP4XaF6tkROIUfJeoXlUcrXcEfwCfdnqi mkuNK/Fz2gYau7dZZT97lVk= =0XCF -END PGP SIGNATURE- --- 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] parallel spooling/despooling
This functionality has been discussed on the -devel list recently there are plans to implement it. Unfortunately, there is no specific timetable on the subject as of yet. In short, It's coming...eventually. :-) Thanks, Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Kuehn Sent: Tuesday, 30 August, 2005 08:03 To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] parallel spooling/despooling Hi, I have a [EMAIL PROTECTED] FreeBSD machine with a DDS3 Streamer attached to it. The streamer does about 1MB/s, when I use Bacula I can monitor the machine and streamer usage using systat -vm, when I do that I see that nothing is running at full steam, the streamer does about 0.8 MB/s, the CPU is at 80% usage, the harddisk is 5-20% usage. Of course this varies over time, but these values are pretty typical. I was wondering if I could optimize the usage to minimize the backup times. I was very happy to see that Bacula supports spooling at first, but I was kinda set back when I saw that spooling and despooling is done sequentially not in parallel. I had already set up a mfs based /tmp (128MB) to have Bacula spool to RAM (which the machine has plenty of), and CPU usage was indeed 100% as I had expected. Of course the CPU was basically unutilized when it came to unspooling the file. I wonder if it would be difficult to modify Bacula to use two spool files instead of one, so that: fd starts collecting files and creating the normal spool file, as soon as it is ready and signals sd to unspool the file, it does not wait until sd has finished but continues to collect files but stores them in a second file, right next to the normal spool file, as soon as sd has finished unspooling and fd spooling to the second file, the second file is renamed to the normal spool file and fd starts to collect for a new second file... I think this way the backup time could be significantly reduced in cases such as this one. Kind regards, Alex. --- 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 --- 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] Bitrate problems using Bacula
Romain wrote: Hi ! Now I have bacula backuping 30 servers and it seems to work fine. I backup 1,5GB a day and the total file retention is near 52 Gb. The problem is that all backups seem to run very slow. The average bitrate I have is between 600 and 700 kb/s. But all my servers are plugged on 100Mb switches and the backup server is composed with 3 RAID5 146 Gb 10kt SCSI disks (note : all backups are made direct to disk). The network utilisation is near from 10% so i don't understand why my bitrate is so low. Technical details : - Backup server : Dell PowerEdge 2.8Ghz, 1gb, Fedora Core4 / Bacula 1.36.3 - Clients : 1Ghz servers under Redhat 6.2 or 7.3, all have bacula-fd compiled and installed. Do you need more informations to help me ? What back-end database are you using? As Kern has already pointed out to at least one other user today, sqlite -- particularly sqlite 3 -- can be VERY slow indeed. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- 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] Bacula performance
Hi, Kern Sibbald wrote: On Saturday 27 August 2005 18:22, Uwe Hees wrote: Hello all, for some time I am playing with bacula to find out if should use it for personal backups at home and maybe use it in the my company to backup some Linux servers. I have tried 1.36 and some 1.37 up to 1.37.37 on my ibook G4 running under MacOS X 10.4.2. While performing the default backup scenario (local disk to disk) using the sqlite3 database engine, I get the following results: (slow backup speed) ... Perhaps you didn't read the ReleaseNotes where I indicate that SQLite3 in my tests was 4 to 10 times slower than SQLite 2. Also, don't forget that notebook HDs (2.5) are usually a lot slower than than desktop or even server disks... and in backing up the same machine, you use the slow disk three times: reading, writing, database. Now, I don't have disk performance comparisons between an iBook and a more typical server setup, but I'd bet that the iBook is really slow in comparison... about 650 kB/s is what I get storing the (dumped) catalog database on my backupserver - the server is slower than your iBook, but still this is what the tape drive can handle - but this server only does the backups, the catalog is on another machine, and there are no other processes using lots of memory or bus throughput. In short: Try it with a setup which resembles your planned use of bacula, and with some consideration you will get good results. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.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] Bitrate problems using Bacula
Hi, Paul Heinlein wrote: ... lots of useful things. On Mon, 29 Aug 2005, Romain wrote: My suggestion would be for you to identify the local bottleneck a bit more thoroughly. If the database operations are slowing you down, you might consider moving to a more efficient RDBMS or beefing up your server (faster disks, more RAM, ...). To identify if the catalog operations are the bottleneck, you could use spooling and see where the time is spent. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.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] Problem restoring windows files with 1.37.30
Hello, I am having a problem restoring files to a Windows 2000 machine with bacula 1.37.30 (bacula-fd is 1.37.32 on windows) Here is the error I see in messages: 30-Aug 18:26 bashful-fd: RestoreFiles.2005-08-30_18.08.31 Error: c:\cygwin\home\kern\bacula\k\src\win32\findlib\../../findlib/create_file .c:334 Could not open J:/D/Backups/: ERR=The process cannot access the file because it is being used by another process. The J: drive is an empty drive to test the restores and the files were actually on the D: drive. The restore had processed through about 17GB of data before this error popped up. Has anyone seen the error before - if so, is there a solution? Thank you for your help. Tom. Thomas Boyda Consultant Daou Systems, Inc. [EMAIL PROTECTED] 276-739-2314 --- 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] Work with Ten Tapes
Hi all... I have 10 Tapes and I wanna use five of this tapes in a week an another five tapes in a immediately week after. Exemple: 5 tapes I use in a first week of a month; 5 tapes I use in a second week Some knows how can I implement some schedule with this schema!?!?!?! I Hope that make me understanding! Acesse o link abaixo para conhecer nossa empresa: http://www.selbetti.com.br/apresentacao __ Nome: Gilberto Nunes - Analista de Suporte Selbetti Equip. Escritorio Ltda Fone = 441-6034 www.selbetti.com.br --- 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] Work with Ten Tapes
Well... In another way, how can I force Bacula to use different tape each week on a month, consider a month with 5 weeks, and I have 10 tapes for this job? Thanks again On Wed, 31 Aug 2005 02:47:30 +0400, Gilberto Nunes Ferreira,,441-6034,, wrote Hi all... I have 10 Tapes and I wanna use five of this tapes in a week an another five tapes in a immediately week after. Exemple: 5 tapes I use in a first week of a month; 5 tapes I use in a second week Some knows how can I implement some schedule with this schema!?!?!?! I Hope that make me understanding! Acesse o link abaixo para conhecer nossa empresa: http://www.selbetti.com.br/apresentacao __ Nome: Gilberto Nunes - Analista de Suporte Selbetti Equip. Escritorio Ltda Fone = 441-6034 www.selbetti.com.br --- 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 Acesse o link abaixo para conhecer nossa empresa: http://www.selbetti.com.br/apresentacao __ Nome: Gilberto Nunes - Analista de Suporte Selbetti Equip. Escritorio Ltda Fone = 441-6034 www.selbetti.com.br --- 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] Work with Ten Tapes
Just for show what I use... I use this schedule: Schedule { Name = Noturno Run = Level=Full Pool=Noturno 1st at 23:30 Run = Level=Full Pool=Noturno 3rd at 23:30 Run = Level=Full Pool=Noturno 5th at 23:30 } Schedule { Name = Noturno- Run = Level=Full Pool=Noturno- 2nd at 23:30 Run = Level=Full Pool=Noturno- 4th at 23:30 } Schedule { Name = Catalogo Run = Level=Full Pool=Noturno 1st at 07:30 Run = Level=Full Pool=Noturno 3rd at 07:30 Run = Level=Full Pool=Noturno 5th at 07:30 } Schedule { Name = Catalogo- Run = Level=Full Pool=Noturno- 2nd at 07:30 Run = Level=Full Pool=Noturno- 4th at 07:30 } Schedule { Name = Sabado Run = Level=Full Pool=Sabado Saturday at 09:00 } But I'm not safe if this working!... On Wed, 31 Aug 2005 02:56:21 +0400, Gilberto Nunes Ferreira wrote Well... In another way, how can I force Bacula to use different tape each week on a month, consider a month with 5 weeks, and I have 10 tapes for this job? Thanks again On Wed, 31 Aug 2005 02:47:30 +0400, Gilberto Nunes Ferreira,,441- 6034,, wrote Hi all... I have 10 Tapes and I wanna use five of this tapes in a week an another five tapes in a immediately week after. Exemple: 5 tapes I use in a first week of a month; 5 tapes I use in a second week Some knows how can I implement some schedule with this schema!?!?!?! I Hope that make me understanding! Acesse o link abaixo para conhecer nossa empresa: http://www.selbetti.com.br/apresentacao __ Nome: Gilberto Nunes - Analista de Suporte Selbetti Equip. Escritorio Ltda Fone = 441-6034 www.selbetti.com.br --- 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 Acesse o link abaixo para conhecer nossa empresa: http://www.selbetti.com.br/apresentacao __ Nome: Gilberto Nunes - Analista de Suporte Selbetti Equip. Escritorio Ltda Fone = 441-6034 www.selbetti.com.br --- 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 Acesse o link abaixo para conhecer nossa empresa: http://www.selbetti.com.br/apresentacao __ Nome: Gilberto Nunes - Analista de Suporte Selbetti Equip. Escritorio Ltda Fone = 441-6034 www.selbetti.com.br --- 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] trying to get bacula working again
Hi there, My database (sqlite) got corrupted when it became too full for the partition it was on. I tried to compact it, but it seems it was too late, I kept getting errors about duplicate file names.So then I tried to rebuild my database with bscan, but this also did not work. It seemed to work fine, but when I tried to restart bacula, I got duplicate file names again. No matter what I tried, I either got this message or a version error for the database (shown below). So then I decided to just start from scratch, and wipe everything (just keeping a copy of my config files). So, after re-installing, this is the error message I get: Starting Bacula Director: 30-Aug 12:46 bacula-dir: Fatal error: Version error for database bacula. Wanted 8, got 0 30-Aug 12:46 bacula-dir: Fatal error: Could not open database bacula. 30-Aug 12:46 bacula-dir: Fatal error: Version error for database bacula. Wanted 8, got 0 30-Aug 12:46 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf This is the same bacula-dir.conf I was using before, and I can't see how anything has changed in it to cause a problem, but I can't figure out what to do with the database to get it working either. I am running bacula 1.36.3-2 on debian. thanks for your help, maria # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 1.36.1 (26 November 2004) -- debian 3.1 # # You might also want to change the default email address # from root to your address. See the mail and operator # directives in the Messages resource. # Director {# define myself Name = billie-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 1 Password = sde24dg329 # Console password Messages = Daemon } # home and lab Schedule { Name = NightlySave Run = Level=Full Pool=Monthly 1st sat at 01:05 Run = Level=Full Pool=Weekly 2nd-5th sat at 01:05 Run = Level=Incremental Pool=Daily sun-fri at 01:05 } # This schedule does the catalog. It starts after all other jobs Schedule { Name = WeeklyCycleAfterBackup Run = Level=Full Pool=Daily sun-sat at 1:15 } # mail Schedule { Name = MailBackup Run = Level=Full Pool=Weekly 2nd-5th sat at 01:10 } # miles - key directories for recovery Schedule { Name = SeverBackup Run = Level=Full Pool=Monthly 1st sat at 01:10 } JobDefs { Name = DefaultJob Type = Backup Level = Full Client = billie-fd FileSet = Full Set Messages = Standard Pool = Weekly Priority = 10 Storage = Exabyte } Job { Name = NightlySave JobDefs = DefaultJob Pool = Daily Schedule = NightlySave Write Bootstrap = /var/lib/bacula/NightlySave.bsr } # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefaultJob Type = Backup Level = Full Client = billie-fd FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog RunBeforeJob = /etc/bacula/scripts/make_catalog_backup bacula bacula # This deletes the copy of the catalog RunAfterJob = /etc/bacula/scripts/delete_catalog_backup Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr Priority = 11 # run after main backup } Job { Name = MailBackup JobDefs = DefaultJob Client = ella-fd Pool = Weekly Schedule = MailBackup FileSet = Mail Set Write Bootstrap = /var/lib/bacula/ella.bsr } Job { Name = ServerBackup JobDefs = DefaultJob Client = miles-fd ClientRunBeforeJob = /root/createfile.sh Pool = Monthly Schedule = SeverBackup FileSet = Server Set Write Bootstrap = /var/lib/bacula/miles.bsr } # Definition of file storage device Storage { Name = Exabyte Address = billie SDPort = 9103 Password = jkiuhk93 Device = Exabyte Media Type = VXA-2 } # List of files to be backed up FileSet { Name = Full Set Include { Options { signature = MD5 } File = /home File = /lab } } # This is the backup of the catalog FileSet { Name = Catalog Include { Options { signature = MD5 } File = /var/lib/bacula/bacula.sql } } # List of files to be backed up FileSet { Name = Mail Set Include { Options { signature = MD5 } File = /var/cyrus/mail } } # List of files to be backed up FileSet { Name = Server Set Include { Options { signature = MD5 } File = /etc File = /usr/local File = /root/miles.selections File = /tftpboot/kernel } } # Standard Restore template, to be changed by Console program Job { Name = RestoreFiles Type = Restore Client=billie-fd FileSet=Full Set Storage = Exabyte Pool
Re: [Bacula-users] errors with 1.37.36 version
On Tuesday 30 August 2005 18:21, Jeronimo Zucco wrote: When I save the e-mail, the date are correct, but the e-mail I receive, become with date 10/28/47... Then the server translate to 12/31/69 (unix zero date). Any configuration to bacula to recognize another formats of date? I use on server Fedora 4 with the environment variable LANG=pt_BR.UTF-8. In my country, the format of date is DD/MM/YY, not MM/DD/YY. I think this is the problem. I will try to unset the environment variable and test, then I will report to you. Unsetting the environment variable will probably fix the problem. It has nothing to do with DD/MM/YY or MM/DD/YY because the format is very specific and independent of date order. On the other hand, if you localize your site the date will be in Portuguese. Thanks, -- Best regards, Kern ( /\ V_V --- 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] trying to get bacula working again
Did you run the create_bacula_database script? --- Maria McKinley [EMAIL PROTECTED] wrote: Hi there, My database (sqlite) got corrupted when it became too full for the partition it was on. I tried to compact it, but it seems it was too late, I kept getting errors about duplicate file names.So then I tried to rebuild my database with bscan, but this also did not work. It seemed to work fine, but when I tried to restart bacula, I got duplicate file names again. No matter what I tried, I either got this message or a version error for the database (shown below). So then I decided to just start from scratch, and wipe everything (just keeping a copy of my config files). So, after re-installing, this is the error message I get: Starting Bacula Director: 30-Aug 12:46 bacula-dir: Fatal error: Version error for database bacula. Wanted 8, got 0 30-Aug 12:46 bacula-dir: Fatal error: Could not open database bacula. 30-Aug 12:46 bacula-dir: Fatal error: Version error for database bacula. Wanted 8, got 0 30-Aug 12:46 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf This is the same bacula-dir.conf I was using before, and I can't see how anything has changed in it to cause a problem, but I can't figure out what to do with the database to get it working either. I am running bacula 1.36.3-2 on debian. thanks for your help, maria # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 1.36.1 (26 November 2004) -- debian 3.1 # # You might also want to change the default email address # from root to your address. See the mail and operator # directives in the Messages resource. # Director {# define myself Name = billie-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 1 Password = sde24dg329 # Console password Messages = Daemon } # home and lab Schedule { Name = NightlySave Run = Level=Full Pool=Monthly 1st sat at 01:05 Run = Level=Full Pool=Weekly 2nd-5th sat at 01:05 Run = Level=Incremental Pool=Daily sun-fri at 01:05 } # This schedule does the catalog. It starts after all other jobs Schedule { Name = WeeklyCycleAfterBackup Run = Level=Full Pool=Daily sun-sat at 1:15 } # mail Schedule { Name = MailBackup Run = Level=Full Pool=Weekly 2nd-5th sat at 01:10 } # miles - key directories for recovery Schedule { Name = SeverBackup Run = Level=Full Pool=Monthly 1st sat at 01:10 } JobDefs { Name = DefaultJob Type = Backup Level = Full Client = billie-fd FileSet = Full Set Messages = Standard Pool = Weekly Priority = 10 Storage = Exabyte } Job { Name = NightlySave JobDefs = DefaultJob Pool = Daily Schedule = NightlySave Write Bootstrap = /var/lib/bacula/NightlySave.bsr } # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefaultJob Type = Backup Level = Full Client = billie-fd FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog RunBeforeJob = /etc/bacula/scripts/make_catalog_backup bacula bacula # This deletes the copy of the catalog RunAfterJob = /etc/bacula/scripts/delete_catalog_backup Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr Priority = 11 # run after main backup } Job { Name = MailBackup JobDefs = DefaultJob Client = ella-fd Pool = Weekly Schedule = MailBackup FileSet = Mail Set Write Bootstrap = /var/lib/bacula/ella.bsr } Job { Name = ServerBackup JobDefs = DefaultJob Client = miles-fd ClientRunBeforeJob = /root/createfile.sh Pool = Monthly Schedule = SeverBackup FileSet = Server Set Write Bootstrap = /var/lib/bacula/miles.bsr } # Definition of file storage device Storage { Name = Exabyte Address = billie SDPort = 9103 Password = jkiuhk93 Device = Exabyte Media Type = VXA-2 } # List of files to be backed up FileSet { Name = Full Set Include { Options { signature = MD5 } File = /home File = /lab } } # This is the backup of the catalog FileSet { Name = Catalog Include { Options { signature = MD5 } File = /var/lib/bacula/bacula.sql } } # List of files to be backed up FileSet { Name = Mail Set Include { Options { signature = MD5 } File = /var/cyrus/mail } } # List of files to be backed up FileSet { Name = Server Set Include { Options { signature = MD5 }
Re: [Bacula-users] trying to get bacula working again
Hi, Maria McKinley wrote: Hi there, My database (sqlite) got corrupted when it became too full for the partition it was on. I tried to compact it, but it seems it was too late, I kept getting errors about duplicate file names.So then I tried to rebuild my database with bscan, but this also did not work. It seemed to work fine, but when I tried to restart bacula, I got duplicate file names again. You could have tried baculas own database correction program dbcheck first... No matter what I tried, I either got this message or a version error for the database (shown below). So then I decided to just start from scratch, and wipe everything (just keeping a copy of my config files). So, after re-installing, this is the error message I get: Starting Bacula Director: 30-Aug 12:46 bacula-dir: Fatal error: Version error for database bacula. Wanted 8, got 0 30-Aug 12:46 bacula-dir: Fatal error: Could not open database bacula. 30-Aug 12:46 bacula-dir: Fatal error: Version error for database bacula. Wanted 8, got 0 30-Aug 12:46 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf You need to prepare the catalog using the supplied scripts, probably make_sqlite_tables. Arno This is the same bacula-dir.conf I was using before, and I can't see how anything has changed in it to cause a problem, but I can't figure out what to do with the database to get it working either. I am running bacula 1.36.3-2 on debian. thanks for your help, maria # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 1.36.1 (26 November 2004) -- debian 3.1 # # You might also want to change the default email address # from root to your address. See the mail and operator # directives in the Messages resource. # Director {# define myself Name = billie-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 1 Password = sde24dg329 # Console password Messages = Daemon } # home and lab Schedule { Name = NightlySave Run = Level=Full Pool=Monthly 1st sat at 01:05 Run = Level=Full Pool=Weekly 2nd-5th sat at 01:05 Run = Level=Incremental Pool=Daily sun-fri at 01:05 } # This schedule does the catalog. It starts after all other jobs Schedule { Name = WeeklyCycleAfterBackup Run = Level=Full Pool=Daily sun-sat at 1:15 } # mail Schedule { Name = MailBackup Run = Level=Full Pool=Weekly 2nd-5th sat at 01:10 } # miles - key directories for recovery Schedule { Name = SeverBackup Run = Level=Full Pool=Monthly 1st sat at 01:10 } JobDefs { Name = DefaultJob Type = Backup Level = Full Client = billie-fd FileSet = Full Set Messages = Standard Pool = Weekly Priority = 10 Storage = Exabyte } Job { Name = NightlySave JobDefs = DefaultJob Pool = Daily Schedule = NightlySave Write Bootstrap = /var/lib/bacula/NightlySave.bsr } # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefaultJob Type = Backup Level = Full Client = billie-fd FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog RunBeforeJob = /etc/bacula/scripts/make_catalog_backup bacula bacula # This deletes the copy of the catalog RunAfterJob = /etc/bacula/scripts/delete_catalog_backup Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr Priority = 11 # run after main backup } Job { Name = MailBackup JobDefs = DefaultJob Client = ella-fd Pool = Weekly Schedule = MailBackup FileSet = Mail Set Write Bootstrap = /var/lib/bacula/ella.bsr } Job { Name = ServerBackup JobDefs = DefaultJob Client = miles-fd ClientRunBeforeJob = /root/createfile.sh Pool = Monthly Schedule = SeverBackup FileSet = Server Set Write Bootstrap = /var/lib/bacula/miles.bsr } # Definition of file storage device Storage { Name = Exabyte Address = billie SDPort = 9103 Password = jkiuhk93 Device = Exabyte Media Type = VXA-2 } # List of files to be backed up FileSet { Name = Full Set Include { Options { signature = MD5 } File = /home File = /lab } } # This is the backup of the catalog FileSet { Name = Catalog Include { Options { signature = MD5 } File = /var/lib/bacula/bacula.sql } } # List of files to be backed up FileSet { Name = Mail Set Include { Options { signature = MD5 } File = /var/cyrus/mail } } # List of files to be backed up FileSet { Name = Server Set Include { Options { signature = MD5 } File = /etc
Re: [Bacula-users] trying to get bacula working again
So, I did still have the original corrupted database in my root directory, and went ahead and tried to run dbcheck on it. This is what I got: Query failed: SELECT FilenameId,Name from Filename WHERE Name LIKE '%/': ERR=database disk image is malformed I got this for a good deal of the checks. Oh, well. -maria Arno Lehmann wrote: Hi, Maria McKinley wrote: Hi there, My database (sqlite) got corrupted when it became too full for the partition it was on. I tried to compact it, but it seems it was too late, I kept getting errors about duplicate file names.So then I tried to rebuild my database with bscan, but this also did not work. It seemed to work fine, but when I tried to restart bacula, I got duplicate file names again. You could have tried baculas own database correction program dbcheck first... No matter what I tried, I either got this message or a version error for the database (shown below). So then I decided to just start from scratch, and wipe everything (just keeping a copy of my config files). So, after re-installing, this is the error message I get: Starting Bacula Director: 30-Aug 12:46 bacula-dir: Fatal error: Version error for database bacula. Wanted 8, got 0 30-Aug 12:46 bacula-dir: Fatal error: Could not open database bacula. 30-Aug 12:46 bacula-dir: Fatal error: Version error for database bacula. Wanted 8, got 0 30-Aug 12:46 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf You need to prepare the catalog using the supplied scripts, probably make_sqlite_tables. Arno This is the same bacula-dir.conf I was using before, and I can't see how anything has changed in it to cause a problem, but I can't figure out what to do with the database to get it working either. I am running bacula 1.36.3-2 on debian. thanks for your help, maria # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 1.36.1 (26 November 2004) -- debian 3.1 # # You might also want to change the default email address # from root to your address. See the mail and operator # directives in the Messages resource. # Director {# define myself Name = billie-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 1 Password = sde24dg329 # Console password Messages = Daemon } # home and lab Schedule { Name = NightlySave Run = Level=Full Pool=Monthly 1st sat at 01:05 Run = Level=Full Pool=Weekly 2nd-5th sat at 01:05 Run = Level=Incremental Pool=Daily sun-fri at 01:05 } # This schedule does the catalog. It starts after all other jobs Schedule { Name = WeeklyCycleAfterBackup Run = Level=Full Pool=Daily sun-sat at 1:15 } # mail Schedule { Name = MailBackup Run = Level=Full Pool=Weekly 2nd-5th sat at 01:10 } # miles - key directories for recovery Schedule { Name = SeverBackup Run = Level=Full Pool=Monthly 1st sat at 01:10 } JobDefs { Name = DefaultJob Type = Backup Level = FullClient = billie-fd FileSet = Full Set Messages = Standard Pool = Weekly Priority = 10 Storage = Exabyte } Job { Name = NightlySave JobDefs = DefaultJob Pool = Daily Schedule = NightlySave Write Bootstrap = /var/lib/bacula/NightlySave.bsr } # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefaultJob Type = Backup Level = Full Client = billie-fd FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog RunBeforeJob = /etc/bacula/scripts/make_catalog_backup bacula bacula # This deletes the copy of the catalog RunAfterJob = /etc/bacula/scripts/delete_catalog_backup Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr Priority = 11 # run after main backup } Job { Name = MailBackup JobDefs = DefaultJob Client = ella-fd Pool = Weekly Schedule = MailBackup FileSet = Mail Set Write Bootstrap = /var/lib/bacula/ella.bsr } Job { Name = ServerBackup JobDefs = DefaultJob Client = miles-fd ClientRunBeforeJob = /root/createfile.sh Pool = Monthly Schedule = SeverBackup FileSet = Server Set Write Bootstrap = /var/lib/bacula/miles.bsr } # Definition of file storage device Storage { Name = Exabyte Address = billie SDPort = 9103 Password = jkiuhk93 Device = Exabyte Media Type = VXA-2 } # List of files to be backed up FileSet { Name = Full Set Include { Options { signature = MD5 } File = /home File = /lab } } # This is the backup of the catalog FileSet { Name = Catalog Include { Options { signature = MD5
Re: [Bacula-users] trying to get bacula working again
I swear I tried make_sqlite_tables bunches of times earlier, and it didn't work, but it worked this time. Bacula is back up and running, whew. Thanks a bunch, I'll try dbcheck if this happens again. Hopefully I will be able to keep my database under control now, and won't have to deal with this again... -maria Arno Lehmann wrote: Hi, Maria McKinley wrote: Hi there, My database (sqlite) got corrupted when it became too full for the partition it was on. I tried to compact it, but it seems it was too late, I kept getting errors about duplicate file names.So then I tried to rebuild my database with bscan, but this also did not work. It seemed to work fine, but when I tried to restart bacula, I got duplicate file names again. You could have tried baculas own database correction program dbcheck first... No matter what I tried, I either got this message or a version error for the database (shown below). So then I decided to just start from scratch, and wipe everything (just keeping a copy of my config files). So, after re-installing, this is the error message I get: Starting Bacula Director: 30-Aug 12:46 bacula-dir: Fatal error: Version error for database bacula. Wanted 8, got 0 30-Aug 12:46 bacula-dir: Fatal error: Could not open database bacula. 30-Aug 12:46 bacula-dir: Fatal error: Version error for database bacula. Wanted 8, got 0 30-Aug 12:46 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf You need to prepare the catalog using the supplied scripts, probably make_sqlite_tables. Arno This is the same bacula-dir.conf I was using before, and I can't see how anything has changed in it to cause a problem, but I can't figure out what to do with the database to get it working either. I am running bacula 1.36.3-2 on debian. thanks for your help, maria # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 1.36.1 (26 November 2004) -- debian 3.1 # # You might also want to change the default email address # from root to your address. See the mail and operator # directives in the Messages resource. # Director {# define myself Name = billie-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 1 Password = sde24dg329 # Console password Messages = Daemon } # home and lab Schedule { Name = NightlySave Run = Level=Full Pool=Monthly 1st sat at 01:05 Run = Level=Full Pool=Weekly 2nd-5th sat at 01:05 Run = Level=Incremental Pool=Daily sun-fri at 01:05 } # This schedule does the catalog. It starts after all other jobs Schedule { Name = WeeklyCycleAfterBackup Run = Level=Full Pool=Daily sun-sat at 1:15 } # mail Schedule { Name = MailBackup Run = Level=Full Pool=Weekly 2nd-5th sat at 01:10 } # miles - key directories for recovery Schedule { Name = SeverBackup Run = Level=Full Pool=Monthly 1st sat at 01:10 } JobDefs { Name = DefaultJob Type = Backup Level = FullClient = billie-fd FileSet = Full Set Messages = Standard Pool = Weekly Priority = 10 Storage = Exabyte } Job { Name = NightlySave JobDefs = DefaultJob Pool = Daily Schedule = NightlySave Write Bootstrap = /var/lib/bacula/NightlySave.bsr } # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefaultJob Type = Backup Level = Full Client = billie-fd FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog RunBeforeJob = /etc/bacula/scripts/make_catalog_backup bacula bacula # This deletes the copy of the catalog RunAfterJob = /etc/bacula/scripts/delete_catalog_backup Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr Priority = 11 # run after main backup } Job { Name = MailBackup JobDefs = DefaultJob Client = ella-fd Pool = Weekly Schedule = MailBackup FileSet = Mail Set Write Bootstrap = /var/lib/bacula/ella.bsr } Job { Name = ServerBackup JobDefs = DefaultJob Client = miles-fd ClientRunBeforeJob = /root/createfile.sh Pool = Monthly Schedule = SeverBackup FileSet = Server Set Write Bootstrap = /var/lib/bacula/miles.bsr } # Definition of file storage device Storage { Name = Exabyte Address = billie SDPort = 9103 Password = jkiuhk93 Device = Exabyte Media Type = VXA-2 } # List of files to be backed up FileSet { Name = Full Set Include { Options { signature = MD5 } File = /home File = /lab } } # This is the backup of the catalog FileSet { Name = Catalog Include { Options { signature =
Re: [Bacula-users] trying to get bacula working again
Hi, Maria McKinley wrote: So, I did still have the original corrupted database in my root directory, and went ahead and tried to run dbcheck on it. This is what I got: Query failed: SELECT FilenameId,Name from Filename WHERE Name LIKE '%/': ERR=database disk image is malformed I got this for a good deal of the checks. Oh, well. That looks like your database is seriously corrupted. Now, I don't know SQLite, but I assume that there exist tools to correct some errors and at least make the database file(s) usable again. You should look in the database manuals, I guess. Arno -maria Arno Lehmann wrote: Hi, Maria McKinley wrote: Hi there, My database (sqlite) got corrupted when it became too full for the partition it was on. I tried to compact it, but it seems it was too late, I kept getting errors about duplicate file names.So then I tried to rebuild my database with bscan, but this also did not work. It seemed to work fine, but when I tried to restart bacula, I got duplicate file names again. You could have tried baculas own database correction program dbcheck first... No matter what I tried, I either got this message or a version error for the database (shown below). So then I decided to just start from scratch, and wipe everything (just keeping a copy of my config files). So, after re-installing, this is the error message I get: Starting Bacula Director: 30-Aug 12:46 bacula-dir: Fatal error: Version error for database bacula. Wanted 8, got 0 30-Aug 12:46 bacula-dir: Fatal error: Could not open database bacula. 30-Aug 12:46 bacula-dir: Fatal error: Version error for database bacula. Wanted 8, got 0 30-Aug 12:46 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf You need to prepare the catalog using the supplied scripts, probably make_sqlite_tables. Arno This is the same bacula-dir.conf I was using before, and I can't see how anything has changed in it to cause a problem, but I can't figure out what to do with the database to get it working either. I am running bacula 1.36.3-2 on debian. thanks for your help, maria # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 1.36.1 (26 November 2004) -- debian 3.1 # # You might also want to change the default email address # from root to your address. See the mail and operator # directives in the Messages resource. # Director {# define myself Name = billie-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 1 Password = sde24dg329 # Console password Messages = Daemon } # home and lab Schedule { Name = NightlySave Run = Level=Full Pool=Monthly 1st sat at 01:05 Run = Level=Full Pool=Weekly 2nd-5th sat at 01:05 Run = Level=Incremental Pool=Daily sun-fri at 01:05 } # This schedule does the catalog. It starts after all other jobs Schedule { Name = WeeklyCycleAfterBackup Run = Level=Full Pool=Daily sun-sat at 1:15 } # mail Schedule { Name = MailBackup Run = Level=Full Pool=Weekly 2nd-5th sat at 01:10 } # miles - key directories for recovery Schedule { Name = SeverBackup Run = Level=Full Pool=Monthly 1st sat at 01:10 } JobDefs { Name = DefaultJob Type = Backup Level = FullClient = billie-fd FileSet = Full Set Messages = Standard Pool = Weekly Priority = 10 Storage = Exabyte } Job { Name = NightlySave JobDefs = DefaultJob Pool = Daily Schedule = NightlySave Write Bootstrap = /var/lib/bacula/NightlySave.bsr } # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefaultJob Type = Backup Level = Full Client = billie-fd FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog RunBeforeJob = /etc/bacula/scripts/make_catalog_backup bacula bacula # This deletes the copy of the catalog RunAfterJob = /etc/bacula/scripts/delete_catalog_backup Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr Priority = 11 # run after main backup } Job { Name = MailBackup JobDefs = DefaultJob Client = ella-fd Pool = Weekly Schedule = MailBackup FileSet = Mail Set Write Bootstrap = /var/lib/bacula/ella.bsr } Job { Name = ServerBackup JobDefs = DefaultJob Client = miles-fd ClientRunBeforeJob = /root/createfile.sh Pool = Monthly Schedule = SeverBackup FileSet = Server Set Write Bootstrap = /var/lib/bacula/miles.bsr } # Definition of file storage device Storage { Name = Exabyte Address = billie SDPort = 9103 Password = jkiuhk93 Device = Exabyte
Re: [Bacula-users] Multiple backup failures (1.37.36 + patches)
Kern Sibbald wrote: On Tuesday 30 August 2005 14:44, Thomas Simmons wrote: Last night five clients failed with the following error. These are clients that were successfully backed up Friday, with no change to any configs. 29-Aug 20:47 sioux-dir: auriga.2005-08-29_20.00.29 Fatal error: authenticate.c:99 Unable to authenticate with Storage daemon. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). Another Five clients failed with this error: 29-Aug 21:12 sioux-sd: sirius.2005-08-29_20.00.32 Fatal error: acquire.c:359 Wanted Volume 02, but device IBM-LTO2 (/ dev/nst0) is busy writing on 03 . 29-Aug 21:15 sirius-fd: sirius.2005-08-29_20.00.32 Fatal error: c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/job. c:1597 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data Any ideas? Upgrade to 1.37.37. I don't know about the first problem, but the second is fixed according to my tests and user feedback in version 1.37.37. I upgraded to 1.37.37, but tonight the same failures occured. The first night (full backups), this didn't happen, which is when I would think a timeout issue would be more likely to occur. Another thing I notice is all the jobs that fail, have the level listed as Full (upgraded from Incremental), which is odd because the last full listed for some of these clients is OK. Below is an example from the logs. 30-Aug 20:50 sioux-dir: Start Backup JobId 109, Job=sirius.2005-08-30_20.00.32 30-Aug 21:07 sioux-sd: sirius.2005-08-30_20.00.32 Fatal error: acquire.c:359 Wanted Volume 02, but device IBM-LTO2 (/dev/nst0) is busy writing on 03 . 30-Aug 21:11 sirius-fd: sirius.2005-08-30_20.00.32 Fatal error: c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/job.c:1597 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data 30-Aug 21:07 sioux-dir: sirius.2005-08-30_20.00.32 Error: Bacula 1.37.37 (24Aug05): 30-Aug-2005 21:07:59 JobId: 109 Job:sirius.2005-08-30_20.00.32 Backup Level: Full (upgraded from Incremental) Client: sirius-fd Windows XP,MVS,NT 5.1.2600 FileSet:sirius-fileset 2005-08-27 03:36:12 Pool: Full-Pool Storage:Dell-PowerVault-132T Scheduled time: 30-Aug-2005 20:00:31 Start time: 30-Aug-2005 20:50:27 End time: 30-Aug-2005 21:07:59 Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 SD Bytes Written: 0 Rate: 0.0 KB/s Software Compression: None Volume name(s): Volume Session Id: 30 Volume Session Time:1125416678 Last Volume Bytes: 337,686,490,410 Non-fatal FD errors:0 SD Errors: 0 FD termination status: Error SD termination status: Error Termination:*** Backup Error *** As for the other error, a few clients failed with it also. Below is the log created for one of our clients. After this failure occured, I manually ran a backup from bconsole and it successfully completed, no services were restarted between the backups. 30-Aug 20:34 sioux-dir: Start Backup JobId 106, Job=auriga.2005-08-30_20.00.29 30-Aug 20:44 sioux-dir: auriga.2005-08-30_20.00.29 Fatal error: authenticate.c:99 Unable to authenticate with Storage daemon. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for help. 30-Aug 20:44 sioux-dir: auriga.2005-08-30_20.00.29 Error: Bacula 1.37.37 (24Aug05): 30-Aug-2005 20:44:27 JobId: 106 Job:auriga.2005-08-30_20.00.29 Backup Level: Incremental, since=2005-08-27 03:04:07 Client: auriga-fd Windows XP,MVS,NT 5.1.2600 FileSet:auriga-fileset 2005-08-27 03:04:07 Pool: Inc-Pool Storage:Dell-PowerVault-132T Scheduled time: 30-Aug-2005 20:00:28 Start time: 30-Aug-2005 20:34:26 End time: 30-Aug-2005 20:44:27 Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 SD Bytes Written: 0 Rate: 0.0 KB/s Software Compression: None Volume name(s): Volume Session Id: 0 Volume Session Time:0 Last Volume Bytes: 0 Non-fatal FD errors:0 SD Errors: 0 FD termination status: SD termination status: Termination:*** Backup Error *** Thanks, Thomas --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development