Re: [Bacula-users] What kind of GUI do you like?
Hello, This idea sounds very promising for organizing the GUI and how to present the info. I know it is a bit of a pain, but a couple of screen shots could help us with the details a bit. E.g. does clicking on one of the different categories on the left expand it, then when you reach the bottom, does it show the information in the right window much like a file browser? On Thursday 24 November 2005 05:12, Ryan Novosielski wrote: HP's Data Protector is reasonably well designed on a very basic level. More interesting/difficult functionality is very poorly designed, but at far as interface goes, it works reasonably well. What they did was to include several different trees on the left side for each category of object. Clicking on the category name (ie. media) would do the equivalent of list pools in the right pane. Clicking on a pool would do the equivalent of a more brief form list media pool=blah, and clicking on a volume would show all of the info on the volume (ie. a slightly more detailed view of list media, but with only the tape in question). The same was done when delving into schedules. Filesets were lumped into schedules, however, there was a template section that could be about the same. Hope this helps. I could take screenshots, but I think the concept should suffice. Lucas Di Pentima wrote: Hi people! I'm trying to contribute to the bacula project by making a graphical user interface, and I would like to ask you if you have any example of a well designed user interface for a backup software, so that I can get some ideas from it. If you can make some screenshots, they'll be very welcome! Best regards, --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-devel] Re: [Bacula-users] Feature Request
On Wednesday 23 November 2005 17:18, David Boyes wrote: On 22/11/05, Kern Sibbald [EMAIL PROTECTED] wrote: Notes: By Kern: I would prefer to have a single new Resource called RunScript, and within that resource an additional directive: RunBeforeJob = Yes|No If no, it runs it after the job. Would this take into account people who want to run scripts both before *and* after josbs? For example, perhaps stopping a database instances before the Job then starting afterwards? Will. Why not adopt a init-like model where the same script is used in both cases, but it is passed a Before/After argument on invocation, eg: If a script is defined for a job, Bacula calls the script as 'action-script before' before the job runs, and 'action-script after' after the job runs. The script parses the argument and runs a case statement with options for 'before' and 'after'. If you don't want anything done before the job runs, the before section is 'exit 0'. If you don't want anything done after, the after section is 'exit 0'. Avoids cluttering the command space with a zillion options, and puts the smarts in the script instead of making Bacula deal with it. I've added this idea to the project file ... thanks. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-devel -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with dividing backups over days
What system is your client running on? Concindering the number of support requests, there seems to be some problem with wildcard and regular expression matching that I don't understand. Is there anyone who has a bit of time to experiment and test these features? I'd like to do two things: 1. include wildcard and regular expression matching in the Bacula regression scripts and, 2. add more examples to the doc ... On Wednesday 23 November 2005 17:32, PCextreme - Updates wrote: Hello, I have a little bit of a problem with Bacula and i can't figure a way to fix it. I have a server with around 350GB of data in /home and i wan't to backup all the data. The server has a lot to do and doens't make it to make a full backup of the whole /home in 1 night. So i wanted to devide in in 4 slides: Day 1 /home/a* /home/b* /home/c* Day 2 /home/h* /home/i* etc, etc, i guess you know what i mean. So i made 4 filesets that look all like this. FileSet { Name = slashhome-day1 Include { Options { signature = MD5; compression=GZIP; wilddir = /home/a*; wilddir = /home/b*; wilddir = /home/c*; wilddir = /home/d*; wilddir = /home/e*; wilddir = /home/f*; wilddir = /home/g*; } File = /home } } Well this does NOT work at all, everything get's back-upped multiple times by day1, day2, day3, day4. My bacula-dir.conf is a little big, so i won't post the whole config file here. My Job: Job { Name = fileserver-nl02-home-day1 Type = Backup Client = fileserver.nl02 FileSet = slashhome-day1 Schedule = FullOnmonday Storage = backup02-02 Messages = Standard Pool = fileserver-nl02 Priority = 10 Write Bootstrap = /var/lib/bacula/fileserver-nl02-home-day1.bsr Max Run Time = 21600 Max Start Delay = 7200 } Is this the way to divide my backups over the week or is this totally wrong? Wido den Hollander --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Pool
Sir Kern and Ryan I understand what you said, but I ask for my company to by more tape and the answer is NO WAY, MAKE A MIRACLE :-) ... I have only 10 tape for my all jobs... I need that bacula recycling a tape after 10 days of used. I keep my data for 7 days in a single tape. Acording to manual, a tape is recycling only if your status is Full, right?!?!? How set bacula to change the status to Full?!?! My company almost want change your software backup to another solution, but I try to keep bacula working on my net... Please any help is welcome. Thanks so much! On Wed, 23 Nov 2005 17:07:24 +0100, Kern Sibbald wrote On Wednesday 23 November 2005 16:52, Ryan Novosielski wrote: Exactly -- read the manual and look for the config parameters that I mentioned below. Perhaps this doesn't apply to Gilberto, but I suspect so: I would add to what Ryan says because we have seen a lot of similar complaints lately, and the bottom line of all of them is that most of you are running on the ragged edge. This means, in general, that you have no margin of safety. Most of you are asking Bacula to destroy a previous backup that is still valid. I.e. you want to write over a tape that has the only full backup say from last week. Bacula won't normally do this without a lot of arm twisting. The features exist, you just need to read the document to find them. Some of them are marked The use of this directive is not recommended If you find yourself in this situation, you may be risking your company's data, and the simple solution is to buy more tapes and use a longer cycle so you are sure you are not writing over the last full backup made a week ago. All this is in the manual. The manual is big, so sometimes it is hard to find, but look at the table of contents and the index, and read, read, read. For those of you who do not easily read English -- I'm sorry, its our only manual at the current time ... :-( _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630 Gilberto Nunes Ferreira wrote: Well The resume is this: My Pool don't recycling any tape, because the volume stay in append status... I have to change the status for Full manually and I not want to do so... How can I set bacula to do this automatic?!?!? On Tue, 22 Nov 2005 22:16:28 -0500, Ryan Novosielski wrote I don't know what you're writing to the tapes -- you really haven't said (not what, really, but how much and how many times). Try looking into the Maximum Volume Jobs and Volume Use Duration (I may be hazy on the names). This should be a clue. Gilberto Nunes Ferreira wrote: Hi all My problem is so quiet simple (I hope): I have this pool in bacula-dir.conf: Pool { Name = Night Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 14 days Maximum Volumes = 10 } # Default pool definition Pool { Name = Saturday Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 7 days Maximum Volumes = 2 } I have 10 tapes in the Night Pool, with this labels: monday tuesday wednesday thursday friday monday-2 tuesday-2 wednesday-2 thursday-2 friday-2 I use the five first tapes to one week and the other five tape for the next week immediately following... The backup runs every night, execpt Saturday and Sunday night, at 23hs00. And the saturday pool, i have two tapes, whit this labels: Saturday Saturday-2 I use this two tape one saturday yes and one saturday no... The backup runs every saturday, at 13hs00. The Pool called Saturday work very well... But the Pool Night is so complicated... The night pool backup the file very well. But when the schedule Catalog runs, the tape is not mark whit Full Status... How can I set bacula to mark tape whit Full status, by recycling the volume to used the same volume that to be use another day? Thanks Acesse o link abaixo para conhecer nossa empresa: http://www.selbetti.com.br/apresentacao __
[Bacula-users] Fatal error: Socket error from Filed on Include command: ERR=Connection reset by peer
Hello, I got a working bacula installation that's been running fine in production for 3 months now. Now I added a new client to be backed up, same configuration as previous clients. When I run the job I get: 24-Nov 10:27 tingeling-dir: No prior Full backup Job record found.24-Nov 10:27 tingeling-dir: No prior or suitable Full backup found. Doing FULL backup.24-Nov 10:27 tingeling-dir: Start Backup JobId 160, Job=dedic25379.2005-11-24_10.27.3724-Nov 10:27 tingeling-dir: dedic25379.2005-11-24_10.27.37 Fatal error: Socket error from Filed on Include command: ERR=Connection reset by peer24-Nov 10:27 tingeling-dir: dedic25379.2005-11-24_10.27.37 Error: bnet.c:238 Read error from File daemon:dedic25379.mydomain.se:9102: ERR=Connection reset by peer24-Nov 10:27 tingeling-dir: dedic25379.2005-11-24_10.27.37 Error: Bacula 1.36.2 (28Feb05): 24-Nov-2005 10:27:40 JobId: 160 Job: dedic25379.2005-11-24_10.27.37 Backup Level: Full (upgraded from Incremental) Client: dedic25379-fd FileSet: "Dedic25379 Full FileSet" 2005-11-23 02:00:02 Pool: "Dedic25379-Full-Pool" Storage: "File2" Start time: 24-Nov-2005 10:27:39 End time: 24-Nov-2005 10:27:40 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: 2 Volume Session Time: 1132823629 Last Volume Bytes: 0 Non-fatal FD errors: 1 SD Errors: 0 FD termination status: SD termination status: Waiting on FD Termination: *** Backup Error *** Which is weird since if I check netstat -an| grep LISTEN on the client I can see that its listening on port 9102 If I try this from the director I get a connection: telnet dedic25379.mydomain.se 9102 The director and client is on the same switch and subnet... All other clients are working fine though... I have no idea what's wrong here... Thanks for your help... Best Regards Goran
[Bacula-users] Ports information
Hello, I'd like to add a bit more information about various ports of Bacula to the web site support page. The problem is that I am running Fedora, and thus I don't understand the ins and outs of each of the ports. Specifically, I would like to direct users who have problems with prepared ports such as: FreeBSD, Debian, Gentoo, Solaris, Mac, ... to the ports specific web site if one exists, and possibly to an email address. This should help by directing users to where they can find ports of Bacula, and where they can get help with the details of those ports (i.e. install problems ...). For example, for FreeBSD, I think it is reasonable to direct FreeBSD users to: http://www.freshports.org/sysutils/bacula-server/ Just to be clear, the idea is not to offload Bacula support problems, but to point users to where they can get help on problems most of us don't understand. You suggestions and comments would be welcome ... -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Pool
Hi, I don't know if this could make a miracle, but did you think about modifying your Night pool like this ? Pool { Name = Night Pool Type = Backup Recycle = yes AutoPrune = yes Volume Use Duration = 24h Volume Retention = 13 days (LabelFormat = ${Pool}_$NumVols) Maximum Volumes = 10 } Ludovic. Gilberto Nunes Ferreira a écrit : Sir Kern and Ryan I understand what you said, but I ask for my company to by more tape and the answer is NO WAY, MAKE A MIRACLE :-) ... I have only 10 tape for my all jobs... I need that bacula recycling a tape after 10 days of used. I keep my data for 7 days in a single tape. Acording to manual, a tape is recycling only if your status is Full, right?!?!? How set bacula to change the status to Full?!?! My company almost want change your software backup to another solution, but I try to keep bacula working on my net... Please any help is welcome. Thanks so much! On Wed, 23 Nov 2005 17:07:24 +0100, Kern Sibbald wrote On Wednesday 23 November 2005 16:52, Ryan Novosielski wrote: Exactly -- read the manual and look for the config parameters that I mentioned below. Perhaps this doesn't apply to Gilberto, but I suspect so: I would add to what Ryan says because we have seen a lot of similar complaints lately, and the bottom line of all of them is that most of you are running on the ragged edge. This means, in general, that you have no margin of safety. Most of you are asking Bacula to destroy a previous backup that is still valid. I.e. you want to write over a tape that has the only full backup say from last week. Bacula won't normally do this without a lot of arm twisting. The features exist, you just need to read the document to find them. Some of them are marked The use of this directive is not recommended If you find yourself in this situation, you may be risking your company's data, and the simple solution is to buy more tapes and use a longer cycle so you are sure you are not writing over the last full backup made a week ago. All this is in the manual. The manual is big, so sometimes it is hard to find, but look at the table of contents and the index, and read, read, read. For those of you who do not easily read English -- I'm sorry, its our only manual at the current time ... :-( _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630 Gilberto Nunes Ferreira wrote: Well The resume is this: My Pool don't recycling any tape, because the volume stay in append status... I have to change the status for Full manually and I not want to do so... How can I set bacula to do this automatic?!?!? On Tue, 22 Nov 2005 22:16:28 -0500, Ryan Novosielski wrote I don't know what you're writing to the tapes -- you really haven't said (not what, really, but how much and how many times). Try looking into the Maximum Volume Jobs and Volume Use Duration (I may be hazy on the names). This should be a clue. Gilberto Nunes Ferreira wrote: Hi all My problem is so quiet simple (I hope): I have this pool in bacula-dir.conf: Pool { Name = Night Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 14 days Maximum Volumes = 10 } # Default pool definition Pool { Name = Saturday Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 7 days Maximum Volumes = 2 } I have 10 tapes in the Night Pool, with this labels: monday tuesday wednesday thursday friday monday-2 tuesday-2 wednesday-2 thursday-2 friday-2 I use the five first tapes to one week and the other five tape for the next week immediately following... The backup runs every night, execpt Saturday and Sunday night, at 23hs00. And the saturday pool, i have two tapes, whit this labels: Saturday Saturday-2 I use this two tape one saturday yes and one saturday no... The backup runs every saturday, at 13hs00. The Pool called Saturday work very well... But the Pool Night is so complicated... The night pool backup the file very well. But when the schedule Catalog runs, the tape is not mark whit Full Status... How can I set bacula to mark tape whit Full status, by recycling the volume to used the same volume that to be use another day? Thanks Acesse o link abaixo para conhecer nossa empresa: http://www.selbetti.com.br/apresentacao __ Nome:
[Bacula-users] waiting to reserve a device?
Hello. I have recently upgraded to Bacula 1.38.1, and I'm doing both backups of the local host (running FreeBSD 6.0) and of a host running Windows XP. For some reason, I get the following message when the automatic backup job of the Windows XP-host is being run: 24-Nov 08:07 vimes-sd: Job Backup-lapdog.2005-11-22_01.05.02 waiting to reserve a device. The storage is to files on disk. Does anyone have suggestions as to where I should start looking to find out why this happens? -- Regards / Hilsen Eivind Olsen [EMAIL PROTECTED] --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Pool
On Thursday 24 November 2005 10:20, Gilberto Nunes Ferreira wrote: Sir Kern and Ryan I understand what you said, but I ask for my company to by more tape and the answer is NO WAY, MAKE A MIRACLE :-) ... Good luck. I have only 10 tape for my all jobs... I need that bacula recycling a tape after 10 days of used. I keep my data for 7 days in a single tape. Acording to manual, a tape is recycling only if your status is Full, right?!?!? Not quite, but you are getting close. It must be Purged first. How set bacula to change the status to Full?!?! update volume My company almost want change your software backup to another solution, but I try to keep bacula working on my net... Please any help is welcome. For more automatic ways, see: http://www.bacula.org/dev-manual/Configuring_Director.html#SECTION000141 Scroll down to Recycle Oldest Volume = yes|no Recycle Current Volume = yes|no Purge Oldest Volume = yes|no Thanks so much! On Wed, 23 Nov 2005 17:07:24 +0100, Kern Sibbald wrote On Wednesday 23 November 2005 16:52, Ryan Novosielski wrote: Exactly -- read the manual and look for the config parameters that I mentioned below. Perhaps this doesn't apply to Gilberto, but I suspect so: I would add to what Ryan says because we have seen a lot of similar complaints lately, and the bottom line of all of them is that most of you are running on the ragged edge. This means, in general, that you have no margin of safety. Most of you are asking Bacula to destroy a previous backup that is still valid. I.e. you want to write over a tape that has the only full backup say from last week. Bacula won't normally do this without a lot of arm twisting. The features exist, you just need to read the document to find them. Some of them are marked The use of this directive is not recommended If you find yourself in this situation, you may be risking your company's data, and the simple solution is to buy more tapes and use a longer cycle so you are sure you are not writing over the last full backup made a week ago. All this is in the manual. The manual is big, so sometimes it is hard to find, but look at the table of contents and the index, and read, read, read. For those of you who do not easily read English -- I'm sorry, its our only manual at the current time ... :-( _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. | III $| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 | (2-0922) \__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630 Gilberto Nunes Ferreira wrote: Well The resume is this: My Pool don't recycling any tape, because the volume stay in append status... I have to change the status for Full manually and I not want to do so... How can I set bacula to do this automatic?!?!? On Tue, 22 Nov 2005 22:16:28 -0500, Ryan Novosielski wrote I don't know what you're writing to the tapes -- you really haven't said (not what, really, but how much and how many times). Try looking into the Maximum Volume Jobs and Volume Use Duration (I may be hazy on the names). This should be a clue. Gilberto Nunes Ferreira wrote: Hi all My problem is so quiet simple (I hope): I have this pool in bacula-dir.conf: Pool { Name = Night Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 14 days Maximum Volumes = 10 } # Default pool definition Pool { Name = Saturday Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 7 days Maximum Volumes = 2 } I have 10 tapes in the Night Pool, with this labels: monday tuesday wednesday thursday friday monday-2 tuesday-2 wednesday-2 thursday-2 friday-2 I use the five first tapes to one week and the other five tape for the next week immediately following... The backup runs every night, execpt Saturday and Sunday night, at 23hs00. And the saturday pool, i have two tapes, whit this labels: Saturday Saturday-2 I use this two tape one saturday yes and one saturday no... The backup runs every saturday, at 13hs00. The Pool called Saturday work very well... But the Pool Night is so complicated... The night pool backup the file very well. But when the schedule Catalog runs, the tape is not mark whit Full Status... How can I set bacula to mark tape whit Full status, by recycling the volume to used the same volume that to be use another day? Thanks Acesse o
Re: [Bacula-users] Seagate STT8000A IDE Tape Drive Help
*** REPLY SEPARATOR *** On 22/11/2005 at 1:46 PM Kern Sibbald wrote: On Tuesday 22 November 2005 12:05, __DireWolf wrote: *** REPLY SEPARATOR *** On 22/11/2005 at 11:33 AM Kern Sibbald wrote: Hello, On Tuesday 22 November 2005 10:11, __DireWolf wrote: From reading a few of the archives, getting an IDE Tape drive working in bacula is a real nightmare. Welcome to my Nightmare ;) Yea, I have been through this before. It wasn't easy. Good luck ... Sorry if this looks like too much info but I always see flames about not including enough detail to help troubleshoot. Hey, didn't anyone tell you that we don't flame on this list? Well, maybe once or twice in 5 years :-) I'm pleased to see you following the suggestions. It really helps. See the end of your email for a suggestion ... Anyway, I've started off at the Testing Your Tape Drive With Bacula page here: http://bacula.org/dev-manual/Testing_Your_Tape_Drive.html I first looked for my drive === [EMAIL PROTECTED] ~]# dmesg | grep TAPE hdc: Seagate STT8000A, ATAPI TAPE drive === Then loaded the ide-scsi driver === [EMAIL PROTECTED] ~]# /sbin/modprobe ide-scsi === Made sure it worked === [EMAIL PROTECTED] ~]# mt -f /dev/nst0 status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 512 bytes. Density code 0x45 (QIC-3095-MC (TR-4)). Soft error count since last status=0 General status bits on (4101): BOT ONLINE IM_REP_EN Ok, I'm ready to start test number one = [EMAIL PROTECTED] ~]# mt -f /dev/nst0 erase [EMAIL PROTECTED] ~]# mt -f /dev/nst0 rewind [EMAIL PROTECTED] ~]# tar cvf /dev/nst0 . ./ ./install.log ./.bashrc ./.bash_profile ./.gnupg/ ./.gnupg/secring.gpg ./.gnupg/trustdb.gpg ./.gnupg/pubring.gpg~ ./.gnupg/pubring.gpg ./.gnupg/gpg.conf ./.cpan/ ./.cpan/sources/ ./.cpan/sources/MIRRORED.BY ./.mysql_history ./.bash_logout ./.cshrc ./.bash_history ./.tcshrc ./anaconda-ks.cfg ./install.log.syslog [EMAIL PROTECTED] ~]# mt -f /dev/nst0 rewind [EMAIL PROTECTED] ~]# tar tvf /dev/nst0 drwxr-x--- root/root 0 2005-11-19 20:05:45 ./ -rw-r--r-- root/root 13431 2005-05-30 17:47:26 ./install.log -rw-r--r-- root/root 176 2005-02-22 03:22:18 ./.bashrc -rw-r--r-- root/root 191 2005-02-22 03:22:18 ./.bash_profile drwx-- root/root 0 2005-11-21 23:29:40 ./.gnupg/ -rw--- root/root 0 2005-05-30 17:46:09 ./.gnupg/secring.gpg -rw--- root/root 1200 2005-08-01 21:24:12 ./.gnupg/trustdb.gpg -rw--- root/root 4010 2005-06-08 23:41:41 ./.gnupg/pubring.gpg~ -rw--- root/root 5263 2005-07-19 13:26:17 ./.gnupg/pubring.gpg -rw--- root/root 8075 2005-05-30 17:46:09 ./.gnupg/gpg.conf drwxr-xr-x root/root 0 2005-11-19 20:05:45 ./.cpan/ drwxr-xr-x root/root 0 2005-11-19 20:06:00 ./.cpan/sources/ -rw-r--r-- root/root147970 2005-11-19 20:06:00 ./.cpan/sources/MIRRORED.BY -rw--- root/root 0 2005-06-02 19:34:04 ./.mysql_history -rw-r--r-- root/root24 2005-02-22 03:22:18 ./.bash_logout -rw-r--r-- root/root 100 2005-02-22 03:22:18 ./.cshrc -rw--- root/root 3506 2005-11-20 21:39:53 ./.bash_history -rw-r--r-- root/root 102 2005-02-22 03:22:18 ./.tcshrc -rw-r--r-- root/root 1050 2005-05-30 17:47:27 ./anaconda-ks.cfg -rw-r--r-- root/root 3281 2005-05-30 17:46:09 ./install.log.syslog === So far so good. In bacula-dir.conf I placed === Storage { Name = Tarvan Address = localhost SDPort = 9103 Password = Device = /dev/nst0 Media Type = Tarvan } and in bacula-sd.conf I placed this (based on the OnStream tape drive Device { Name = Tarvan Description = Tarvan drive on Linux Media Type = Tarvan-4 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes Offline On Unmount = no Fast Forward Space File = no#inserted this after test error # The min/max blocksizes of 32768 are *required* Minimum Block Size = 32768 Maximum Block Size = 32768 } Ok now to test it out [EMAIL PROTECTED] ~]# /usr/sbin/btape -c /etc/bacula/bacula-sd.conf /dev/nst0
[Bacula-users] Bacula projects ...
Hello, Concerning the .nsr files and the CACHEDIR.TAG directories, here is an idea that merits discussion that seconds my comments that the Networker syntax is a bit hard to understand. The idea presented here gives some of the same features in a more Bacula like style syntax ... -- Forwarded Message -- Subject: [Bacula-devel] Request for .bacula FileSet includes Date: Tuesday 22 March 2005 15:36 From: John Stoffel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi Kern, One of the things in Bacula that I miss from Legato Networker is the concept of directives files, which can change the behavior of how a backup runs without having to change the master configuration. They're called '.nsr' files in Legato and you can use them to skip or pre-process certain files during backups. Useful. Not that Legato has it done perfectly, the syntax (and man page examples) are baroque. But the idea is nice. It would be great if we could get .bacula files, which you could drop into a directory and have it either skip or ignore various files which you don't want backed up. Off the top of my head, a syntax like this might work: Directory: . { Skip: *.jpeg Skip+: core Allow: Filter: *.mp3 { Backup: /some/path/to/tool -backup Restore: /some/path/to/tool -restore } } The idea would be that you could specify the Skip directive to just skip files in the current directory. The Skip+ directive would skip files in the current and all descendent directories. The Allow: would let sub directories with .bacula files influence backups. Deny: would invert that obviously. The Filter: one would let you specify a tool which reads the various files (via STDIN probably) and writes the output to STDOUT so that bacula could them backup and restore the file(s) with a user provided script. Sorta like how the backups of the Catalog are done now, but more flexible. The whole idea is to allow admins/users to control what gets backed up. Of course, there would be a report (optional?) that would say what was Skipped or Filtered so you could at least get an idea of what wasn't going to tape. I just hate having to update the Director configuration and muck with the Ignore Fileset Changes toggle, just to make sure I don't backup MySQL databases in their raw format. What do people think? John --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-devel --- -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula projects ...
Good suggestion (.bacula with a more Bacula-styled syntax). That way one could always write a script that converts ones .nsr files to .bacula ones when (note: not if :-) one migrates from Networker to Bacula :-) - Peter On Thu, 24 Nov 2005, Kern Sibbald wrote: Hello, Concerning the .nsr files and the CACHEDIR.TAG directories, here is an idea that merits discussion that seconds my comments that the Networker syntax is a bit hard to understand. The idea presented here gives some of the same features in a more Bacula like style syntax ... -- Forwarded Message -- Subject: [Bacula-devel] Request for .bacula FileSet includes Date: Tuesday 22 March 2005 15:36 From: John Stoffel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi Kern, One of the things in Bacula that I miss from Legato Networker is the concept of directives files, which can change the behavior of how a backup runs without having to change the master configuration. They're called '.nsr' files in Legato and you can use them to skip or pre-process certain files during backups. Useful. Not that Legato has it done perfectly, the syntax (and man page examples) are baroque. But the idea is nice. It would be great if we could get .bacula files, which you could drop into a directory and have it either skip or ignore various files which you don't want backed up. Off the top of my head, a syntax like this might work: Directory: . { Skip: *.jpeg Skip+: core Allow: Filter: *.mp3 { Backup: /some/path/to/tool -backup Restore: /some/path/to/tool -restore } } The idea would be that you could specify the Skip directive to just skip files in the current directory. The Skip+ directive would skip files in the current and all descendent directories. The Allow: would let sub directories with .bacula files influence backups. Deny: would invert that obviously. The Filter: one would let you specify a tool which reads the various files (via STDIN probably) and writes the output to STDOUT so that bacula could them backup and restore the file(s) with a user provided script. Sorta like how the backups of the Catalog are done now, but more flexible. The whole idea is to allow admins/users to control what gets backed up. Of course, there would be a report (optional?) that would say what was Skipped or Filtered so you could at least get an idea of what wasn't going to tape. I just hate having to update the Director configuration and muck with the Ignore Fileset Changes toggle, just to make sure I don't backup MySQL databases in their raw format. What do people think? John --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Bacula-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-devel --- -- Peter Eriksson [EMAIL PROTECTED]Phone:+46 13 28 2786 Computer Systems Manager/BOFHCell/GSM: +46 705 18 2786 Physics Department, Linköping University Room: Building F, F203 SE-581 83 Linköping, Sweden http://www.ifm.liu.se/~peter --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
RE: [Bacula-users] Seagate STT8000A IDE Tape Drive Help
-Original Message- From: __DireWolf [mailto:[EMAIL PROTECTED] Sent: Thursday, November 24, 2005 11:47 AM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Seagate STT8000A IDE Tape Drive Help . snipped message part . I double checked bacula-dir.conf and bacula-sd.conf but I can't see any problems. I have this entry in bacula-dir.conf Storage { Name = Travan Address = localhost SDPort = 9103 Password = filepassword Device = /dev/nst0 Media Type = TR-4 } === and I have this entry in bacula-sd.conf == Device { Name = Travan Description = Travan drive on Linux Media Type = TR-4 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes Offline On Unmount = no Fast Forward Space File = no Hardware End of Medium = no Minimum Block Size = 512 Maximum Block Size = 512 } == Can anyone see why I get this error?? Storage { Name = Travan Address = localhost SDPort = 9103 Password = filepassword Device = /dev/nst0 # -- WRONG! Should be: Travan # - it is a reference to the name of the Device in bacula-sd.conf Media Type = TR-4 } --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Pool
On Thu, 24 Nov 2005, Gilberto Nunes Ferreira wrote: I understand what you said, but I ask for my company to by more tape and the answer is NO WAY, MAKE A MIRACLE :-) ... Talk to your accountant about legal liabilities for lost data, along with cost of recovery. Tape is cheap, recovering lost data is _VERY_ expensive. If you don't use at least 3 generations of backup, then you have system failure designed in from the outset and eventually it _will_ hurt you. AB --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Suse 9.3 prof MySQL 5.x
On Wed, 23 Nov 2005 17:33:16 +0100, [EMAIL PROTECTED] said: On Wed, 2005-11-23 at 01:17, [EMAIL PROTECTED] wrote: Is there any possiblity to connect to the MySql version 5.x database (bucula-dir is not to be connected ) ? I use mysql-5.0.15 (compiled on Solaris 10 FCS) with no problems so far. Robert. Here are the error-messages : asterix: # bacula-dir -c /etc/bacula/bacula-dir.conf 22-Nov 23:00 bacula-dir: Fatal error: Could not open database bacula. 22-Nov 23:00 bacula-dir: Fatal error: mysql.c:170 Unable to nnect to MySQL server.| Database=bacula User=bacula It is probably not running or your password is incorrect. 22-Nov 23:00 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf asterix: # Here is my bacula-dir.conf (only a part) : # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; user = bacula; password = ''; } Did you compile yourself or used a rpm-package ? Self compiled, Solaris doesn't use rpm's. If you compiled yourself : Did you use a special distribution from MySql ? Thanks... I have compiled with standard source available from mysql's website. I'm quit sure that your problems are because you have not setup mysql properly as others have pointed out. This is all covered in the mysql Reference manual located at: http://dev.mysql.com/doc/refman/5.0/en/index.html Take a look at the section (2.9 Post-installation Setup and Testing) You cannot proceed with bacula until your mysql setup is working correctly, then all you have to do is run the bacula scripts to create the bacula data base (This is covered in the bacula manual). If there is a root password setup in mysql you need to use the -p option something like: ./create_bacula_database -p and enter the password when asked. http://dev.mysql.com/doc/refman/5.0/en/index.html Robert My MySql-database is now running since 2 Month without any problems. I could access it by php-programs (5.x), mysql-administrator and so on. For Bacula I followed the described steps: 1. MySQL-Database is running 2. /etc/bacula/create_mysql_database 3. /etc/bacula/create_mysql_tables 4. /etc/bacula/grant_mysql_privileges == the database was created == the user bacula was created for the hosts 1. % 2. localhost 3. asterix (my host-name) including all rights to bacula If I used - bacula-dir with database=bacula,user=bacula,password= == fault - bacula-dir with database=bacula,user=root,password= == fault (I deleted the password for user root for this test) - bacula-dir with database=mysql,user=root,passeword= == fault So it´s not possible to connect with bacula-dir from my server to my server. I looked into the source-code and found only mysql.c wich made the connection to MySql. I checked my config-prot from bacula (config.prot config.out) again: all path´s are correct and bacula found all mysql-files and libraries. Have you tried adding the log option to mysqld to see if bacula is connecting at all or connecting and failing? See http://dev.mysql.com/doc/refman/5.0/en/query-log.html. Also, check that the Director is linking to the correct mysql lib by using $ ldd bacula-dir __Martin --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: gnome 1 and 1.38
Quoting D. Scott Barninger [EMAIL PROTECTED]: Unless you think otherwise I will commit the new spec as platforms/redhat/bacula-rh7.spec.in, probably next weekend when I have time to adjust the configure script. I don't wish to maintain two separate spec files going forward so I'm asking now for a volunteer from the RedHat 7.x community to take over maintenance of those packages. I'll be happy to provide whatever assistance I can to that individual. Hmmm... I've just built Bacula 1.38.2 on RHL 7.3 using standard bacula.spec file with minimal changes to disable gnome and bacula-gconsole package for this build. Yeah, lack of nested if structures is kind of pain, but there are ways around it... I'm not volunteering to take over RHL 7.3 community, however I can submit a patch to get 7.3 back into default bacula.spec file ;-). If you'r interested... Actually, what I was thinking was to reorganize bacula.spec a bit to remove all that reduntant stuff. I'm planning that for more than a month now, however haven't had time to put my hands on it. Too many projects on the radar, closing fast :-( This message was sent using IMP, the Internet Messaging Program. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] default UID/GID for bacula?
Is there default UID/GID that could be used for bacula? If not, it might be nice if Bacula could get default UID and GID assigned at least in several major distributions (such as Red Hat, Debian, Suse, Mandrake). This message was sent using IMP, the Internet Messaging Program. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] default UID/GID for bacula?
Aleksandar Milivojevic wrote: Is there default UID/GID that could be used for bacula? If not, it might be nice if Bacula could get default UID and GID assigned at least in several major distributions (such as Red Hat, Debian, Suse, Mandrake). it's using bacula:bacula in debian ... don't know about otheres florian --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] default UID/GID for bacula?
On Thursday 24 November 2005 15:54, Aleksandar Milivojevic wrote: Is there default UID/GID that could be used for bacula? If not, it might be nice if Bacula could get default UID and GID assigned at least in several major distributions (such as Red Hat, Debian, Suse, Mandrake). Yes, not a bad idea. Since, as far as I know, Debian is the only distribution to officially support Bacula (thanks to José Luis), we probably should adopt what they have chosen, assuming they have chosen something ... The RedHat, SuSE, and Mandrivia packages are all built by Scott ... This will have to be organized by someone other than me ... This message was sent using IMP, the Internet Messaging Program. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: bacula on gentoo help resources
Harry Putnam [EMAIL PROTECTED] writes: [...] # mysql -p and when it asks for the password enter the root password. If that works I think we have solved this one. Just type quit to quit and then call each script above (create_bacula_database ...) with a -p paramater. It should ask you for the root password. [...] I can't try your test command (-p) because mysql will not start now. root # /etc/init.d/mysql status * status: stopped root # /etc/init.d/mysql start * working on 0 * Starting mysqld0 (/etc/mysql/my.cnf) ... .. * MySQL NOT started (0) So my clean up campaing seems to set me back even further... OK, I've now backed to 5.15 and can at least start it without errors with: /etc/init.d/mysql start * working on 0 * Starting mysqld0 (/etc/mysql/my.cnf) ... [ ok ] Now trying the test you suggested: mysql -p Enter password: rootpw ENTER ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) This is really getting to be a major pain in the butt. Any other suggestions? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] autochanger problem with slots
Hello, i have just upgraded from 1.36.0 to 1.38.2. And now i can´t do an update slots command for my autochanger, because i will only get *update Using default Catalog name=MyCatalog DB=bacula Update choice: 1: Volume parameters 2: Pool from resource 3: Slots from autochanger Choose catalog item to update (1-3): 3 The defined Storage resources are: 1: File 2: LIB-D81_changer 3: DLT-4000 Select Storage resource (1-3): 2 Connecting to Storage daemon LIB-D81_changer at maintain.dtnet.de:9103 ... Connecting to Storage daemon LIB-D81_changer at maintain.dtnet.de:9103 ... 3306 Issuing autochanger slots command. Device LIB-D81 has 0 slots. No slots in changer to scan. This is going to make me crazy, because i think i upgraded my configs the right way. bacula-dir.conf Storage { Name = LIB-D81_changer Address = maintain.dtnet.de SDPort = 9103 Password = iWair9qu Device = LIB-D81 MediaType = AIT-2 Autochanger = yes Maximum Concurrent Jobs = 1 } bacula-sd.conf Autochanger { Name = LIB-D81 Device = SDX-500V Changer Device = /dev/sg2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d } Device { Name = SDX-500V Description = Sony SDX-500V Drive Index = 0 Media Type = AIT-2 Archive Device = /dev/nst0 AutomaticMount = yes AlwaysOpen = yes RemovableMedia = yes RandomAccess = no Label media = no Autochanger = yes Changer Device = /dev/sg2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' Spool Directory = /srv/bacula-spool/LIB-D81 Maximum Spool Size = 32212254720 } Please can someone show me a way to solve this problem? I tested so much thinks like /etc/bacula/scripts/mtx-changer /dev/sg2 slots 1 /dev/nst0 0 which gives me the correct number of slots. I think i can´t solve this my own. Thanks for any help. 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] --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] default UID/GID for bacula?
checked my installations since they are all debian. doesn't look like it got a fixed UID/GID ... got 104/104 twice and twice 105/105 ^^ just curious .. but what good would a fixed UID/GID do ? Florian Kern Sibbald wrote: On Thursday 24 November 2005 15:54, Aleksandar Milivojevic wrote: Is there default UID/GID that could be used for bacula? If not, it might be nice if Bacula could get default UID and GID assigned at least in several major distributions (such as Red Hat, Debian, Suse, Mandrake). Yes, not a bad idea. Since, as far as I know, Debian is the only distribution to officially support Bacula (thanks to José Luis), we probably should adopt what they have chosen, assuming they have chosen something ... The RedHat, SuSE, and Mandrivia packages are all built by Scott ... This will have to be organized by someone other than me ... --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] autochanger problem with slots
Sorry i made a stupid little mistake... The user bacula has no right to execute the mtx-changer script! The problem was, that doing an update slots or mount command there was no hint. But now i run umount which says that it has no permission. Sorry! Timo Eissler schrieb: Hello, i have just upgraded from 1.36.0 to 1.38.2. And now i can´t do an update slots command for my autochanger, because i will only get *update Using default Catalog name=MyCatalog DB=bacula Update choice: 1: Volume parameters 2: Pool from resource 3: Slots from autochanger Choose catalog item to update (1-3): 3 The defined Storage resources are: 1: File 2: LIB-D81_changer 3: DLT-4000 Select Storage resource (1-3): 2 Connecting to Storage daemon LIB-D81_changer at maintain.dtnet.de:9103 ... Connecting to Storage daemon LIB-D81_changer at maintain.dtnet.de:9103 ... 3306 Issuing autochanger slots command. Device LIB-D81 has 0 slots. No slots in changer to scan. This is going to make me crazy, because i think i upgraded my configs the right way. bacula-dir.conf Storage { Name = LIB-D81_changer Address = maintain.dtnet.de SDPort = 9103 Password = iWair9qu Device = LIB-D81 MediaType = AIT-2 Autochanger = yes Maximum Concurrent Jobs = 1 } bacula-sd.conf Autochanger { Name = LIB-D81 Device = SDX-500V Changer Device = /dev/sg2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d } Device { Name = SDX-500V Description = Sony SDX-500V Drive Index = 0 Media Type = AIT-2 Archive Device = /dev/nst0 AutomaticMount = yes AlwaysOpen = yes RemovableMedia = yes RandomAccess = no Label media = no Autochanger = yes Changer Device = /dev/sg2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' Spool Directory = /srv/bacula-spool/LIB-D81 Maximum Spool Size = 32212254720 } Please can someone show me a way to solve this problem? I tested so much thinks like /etc/bacula/scripts/mtx-changer /dev/sg2 slots 1 /dev/nst0 0 which gives me the correct number of slots. I think i can´t solve this my own. Thanks for any help. 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] --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Monthly backup with removable harddisk
Hi, I need to do a monthly backup to a removable harddisk. Everything is fine, but I wan't to schedule the backup to every 1st Monday of the month. The problem: I wan't to bacula send a e-mail to operators requesting to mount the harddisk. The removable harddisk will be disconnect of the bacula-sd machine. Them the operator will shutdown the machine, plug the harddisk, and turn on again, and I hope bacula will do the job. After this the operator will shutdown again and remove the harddisk. Is this possible? Thanks, Pedro Mazzoni --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] default UID/GID for bacula?
Quoting Florian Schnabel [EMAIL PROTECTED]: checked my installations since they are all debian. doesn't look like it got a fixed UID/GID ... got 104/104 twice and twice 105/105 ^^ just curious .. but what good would a fixed UID/GID do ? It is convinient to have fixed UID/GIDs accross systems. For example, the files will have correct ownership when moved accross systems (when using UID/GID based archive formats or over NFS). This is especially important when restoring files without having entry for bacula in /etc/passwd file. Furthermore, it would be nice to have two usernames for Bacula project. The file daemon usually needs to run as root and does not require new username. The director and storage daemon would be best running as two separate non-root users. This is because director doesn't need (and shouldn't have) access to devices. Storage daemon might need access to tape devices (which could be given by either adding SD user to appropriate group, for example disk group on Red Hat systems, or changing the owner of backup device). I usually use bacula-d and bacula-s for director and storage daemon respectively (both have bacula group as their primary group, bacula-s is additionally member of disk group). Alternatively, if Debian already uses username bacula, usernames could be bacula for director and bacula-s for storage daemon. This message was sent using IMP, the Internet Messaging Program. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] default UID/GID for bacula?
On Thursday 24 November 2005 16:26, Florian Schnabel wrote: checked my installations since they are all debian. doesn't look like it got a fixed UID/GID ... got 104/104 twice and twice 105/105 ^^ just curious .. but what good would a fixed UID/GID do ? For one, it keeps file permissions from getting screwed up when you copy from machine to machine. Florian Kern Sibbald wrote: On Thursday 24 November 2005 15:54, Aleksandar Milivojevic wrote: Is there default UID/GID that could be used for bacula? If not, it might be nice if Bacula could get default UID and GID assigned at least in several major distributions (such as Red Hat, Debian, Suse, Mandrake). Yes, not a bad idea. Since, as far as I know, Debian is the only distribution to officially support Bacula (thanks to José Luis), we probably should adopt what they have chosen, assuming they have chosen something ... The RedHat, SuSE, and Mandrivia packages are all built by Scott ... This will have to be organized by someone other than me ... --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Feature Requests and Bacula projects
Hello, I have now added all the Feature Requests that I have received to the projects file, or at least I think I have. If you submitted a project, and it wasn't rejected, and it isn't in the the file (below), please let me know. I'll allow submissions until early next week, then will send an email requesting you to vote. Last year we had a good participation in the (yea, it took a lot of work to count the vote!), so this year, I hope there is even more. Please wait until I send you voting instructions next week ... As I explained in a recent email, voting is a way that you can help determine the priority given to particular projects. Of course, a high priority doesn't automatically mean a project will be implemented in the next release -- it requires someone to program it, but I generally focus at least 80% of my programming effort in the high priorty projects ... As also mentioned previously, I will be signing up for fewer projects and probably choosing ones that appeal to me more than in the past -- this will give me more time to ensure that the increasing volume of contributed code is well integrated into Bacula. For the moment, I have chosen to work the following projects: Item 1: Implement a Migration job type that will move the job data from one device to another. Item 3: Implement a Bacula GUI/management tool using Python and Qt. Item 5: Implement more Python events in Bacula. Item 12: Implement red/black binary tree routines. I have put #3 on hold because Lucas is making good progress on the same project, but for GTK+ rather than Qt, which is OK with me. Item 5 is rather small and on going, I will get to it over time ... Item 12: the red/black class methods are already implemented. Integrating them into the Bacula restore in-memory tree routines is a different story. I'm not 100% sure I will complete this ... Item 1 is a big project. Normally, I wouldn't be working on it at this point because I'm a bit tired of the Storage daemon after the multiple autochanger project. However, Riege Software International GmbH has made a *very* generous pledge of a 2,500 Euro contribution to the Bacula project to be made in three stages for the completion of this project. I should be beginning the project sometime next week, and hope to have it in beta testing by April 2006 and in production by June 2006. Below, I include the latest projects file. Best regards, Kern Projects: Bacula Projects Roadmap 24 November 2005 Below, you will find more information on future projects: Item 1: Implement a Migration job type that will move the job data from one device to another. Origin: Sponsored by Riege Sofware International GmbH. Contact: Daniel Holtkamp holtkamp at riege dot com Date: 28 October 2005 Status: Partially coded in 1.37 -- much more to do. Assigned to Kern. What: The ability to copy, move, or archive data that is on a device to another device is very important. Why:An ISP might want to backup to disk, but after 30 days migrate the data to tape backup and delete it from disk. Bacula should be able to handle this automatically. It needs to know what was put where, and when, and what to migrate -- it is a bit like retention periods. Doing so would allow space to be freed up for current backups while maintaining older data on tape drives. Notes: Riege Software have asked for the following migration triggers: Age of Job Highwater mark (stopped by Lowwater mark?) Notes: Migration could be additionally triggered by: Number of Jobs Number of Volumes Item 2: Implement extraction of Win32 BackupWrite data. Origin: Thorsten Engel thorsten.engel at matrix-computer dot com Date: 28 October 2005 Status: Assigned to Thorsten. Implemented in current CVS What: This provides the Bacula File daemon with code that can pick apart the stream output that Microsoft writes for BackupWrite data, and thus the data can be read and restored on non-Win32 machines. Why:BackupWrite data is the portable=no option in Win32 FileSets, and in previous Baculas, this data could only be extracted using a Win32 FD. With this new code, the Windows data can be extracted and restored on any OS. Item 3: Implement a Bacula GUI/management tool using Python and Qt. Origin: Kern Date: 28 October 2005 Status: What: Implement a Bacula console, and management tools using Python and Qt. Why:Don't we already have a wxWidgets GUI? Yes, but it is written in C++ and changes to the user interface must be hand tailored using C++ code. By developing
Re: [Bacula-users] Feature Requests and Bacula projects
Kern, not in the list, but wanted by me (and several other people): Daily summarisation of jobs run. I have management grumbling loudly about receiving perhaps 80 messages from Bacula per day when all they want to see is xyz jobs run, xy sucessful, z failed on whatever reason Was someone working on this? AB --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Feature Requests and Bacula projects
On Thursday 24 November 2005 18:05, Alan Brown wrote: Kern, not in the list, but wanted by me (and several other people): Daily summarisation of jobs run. I have management grumbling loudly about receiving perhaps 80 messages from Bacula per day when all they want to see is xyz jobs run, xy sucessful, z failed on whatever reason Was someone working on this? This has been implemented by a user: please see examples/bacula_mail_summary.sh -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] What do I need to do to get bacula talking to mysql
NEWUSER ALERT! I'm running mysql-5.15 and bacula-1.36.3 the latest I have access to on a gentoo linux box running stable progs. Using the scripts supplied with the install: ./create_bacula_database -p hpreader Creating MySQL database Enter password: *** regardless what is entered here.. it fails: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) Creation of bacula database failed. I was queried for a password when installing mysql, using that one here gets the same results. What does it want? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Suse 9.3 prof MySQL 5.x
On Wed, 23 Nov 2005 17:33:16 +0100, [EMAIL PROTECTED] said: On Wed, 2005-11-23 at 01:17, [EMAIL PROTECTED] wrote: Is there any possiblity to connect to the MySql version 5.x database (bucula-dir is not to be connected ) ? I use mysql-5.0.15 (compiled on Solaris 10 FCS) with no problems so far. Robert. Here are the error-messages : asterix: # bacula-dir -c /etc/bacula/bacula-dir.conf 22-Nov 23:00 bacula-dir: Fatal error: Could not open database bacula. 22-Nov 23:00 bacula-dir: Fatal error: mysql.c:170 Unable to nnect to MySQL server.| Database=bacula User=bacula It is probably not running or your password is incorrect. 22-Nov 23:00 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf asterix: # Here is my bacula-dir.conf (only a part) : # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; user = bacula; password = ''; } Did you compile yourself or used a rpm-package ? Self compiled, Solaris doesn't use rpm's. If you compiled yourself : Did you use a special distribution from MySql ? Thanks... I have compiled with standard source available from mysql's website. I'm quit sure that your problems are because you have not setup mysql properly as others have pointed out. This is all covered in the mysql Reference manual located at: http://dev.mysql.com/doc/refman/5.0/en/index.html Take a look at the section (2.9 Post-installation Setup and Testing) You cannot proceed with bacula until your mysql setup is working correctly, then all you have to do is run the bacula scripts to create the bacula data base (This is covered in the bacula manual). If there is a root password setup in mysql you need to use the -p option something like: ./create_bacula_database -p and enter the password when asked. http://dev.mysql.com/doc/refman/5.0/en/index.html Robert My MySql-database is now running since 2 Month without any problems. I could access it by php-programs (5.x), mysql-administrator and so on. For Bacula I followed the described steps: 1. MySQL-Database is running 2. /etc/bacula/create_mysql_database 3. /etc/bacula/create_mysql_tables 4. /etc/bacula/grant_mysql_privileges == the database was created == the user bacula was created for the hosts 1. % 2. localhost 3. asterix (my host-name) including all rights to bacula If I used - bacula-dir with database=bacula,user=bacula,password= == fault - bacula-dir with database=bacula,user=root,password= == fault (I deleted the password for user root for this test) - bacula-dir with database=mysql,user=root,passeword= == fault So it´s not possible to connect with bacula-dir from my server to my server. I looked into the source-code and found only mysql.c wich made the connection to MySql. I checked my config-prot from bacula (config.prot config.out) again: all path´s are correct and bacula found all mysql-files and libraries. Have you tried adding the log option to mysqld to see if bacula is connecting at all or connecting and failing? See http://dev.mysql.com/doc/refman/5.0/en/query-log.html. Also, check that the Director is linking to the correct mysql lib by using $ ldd bacula-dir __Martin Not entry (from bacula-dir) in the protocol. ldd bacula-dir --- WRONG library ! It used a library from the standard-path : /usr/lib In my compile-procedure I have the option ./configure \ --with-mysql=/etc/newpath/mysql \ ... \ -- some-more-options So I tested the Flag LDFLAGS=-L/etc/newpath/mysql -- AND NOW IT WORK After that, I changed the /etc/ld.so.conf (extra line with my mysql- library-path), flushed the loader´s cache, delete the above named compiler options -- AND It WORK´s too Thx a lot ... ! --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backup Windows Open Files...?
pedro moreno wrote: Hi guys. I want to try bacula on FreeBSD 5.4-p8, the OS that i want to backup are: 1; Win 2k3 Standard Edition 2; Win NT PDC+BDC 3; Linux + SAMBA (Red Hat 9) The questions is this one, in the samba server we are running one database Pervasive that some times users let running aplicationes and some files are open went we backup those files. I read that Bacula cannot backup OPEN FILES, this is correct or is no more a problem. Them, if bacula cannot bakup open files, can someone have a idea how to handle this problem with bacula...? Backing up open files is a problem only on Windows. They should be backed up fine on your Samba server. The latest Win32 client supports VSS, and this should work on your Windows 2003 machines. Open files on your NT machine may present a problem. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] What do I need to do to get bacula talking to mysql
On Thursday 24 November 2005 19:40, Harry Putnam wrote: NEWUSER ALERT! ;) Using the scripts supplied with the install: ./create_bacula_database -p hpreader Creating MySQL database Enter password: *** regardless what is entered here.. it fails: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) Creation of bacula database failed. MySQL doesn't accept your username (root) and password (...) for accesses from the current client (localhost). It's a permissions problem in the MySQL privilege system you need to fix here. If you do not know how to accomplish that you may want to read: http://dev.mysql.com/doc/refman/5.1/en/privilege-system.html Go create an account that has the appropriate permissions to the database you use for Bacula. If you are completely lost and don't even have a password to access the database any more then you can also start your mysqld (the server process of MySQL) with the --skip-grant-tables option. This will allow you to administer/use the database without any security. Then fix the permissions and quickly remove that option again. Christoph -- ~ ~ .signature [Modified] 1 line --100%--1,48 All --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot find any appendable volumes on already labeled tapes.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kern Sibbald wrote: On Monday 21 November 2005 22:46, Cedric Charest wrote: Cool, thanks a lot! It fixed my problem! Thanks for the confirmation. By the way, did you apply the whole patch or just the single file? I applied the full patch and since then, I had no problem at all since then Thanks! Cédric Charest Administrateur de Systèmes / System Administrator Terrascale Technologies Inc. Kern Sibbald wrote: You ran into a bug in 1.38.x that causes the Director to incorrectly handle Pool names containing spaces. Bug #492 has a patch file that will add all current patches to 1.38.1 generating 1.38.2. Note, this patch file is preliminary because there may be additional changes before the 1.38.2 release. If you only want to fix the current problem, look at the patch for src/dird/catreq.c. That part of the patch file contains a one line addition that fixes your bug ... -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDhiGpudvjQGGRi3oRAvNNAJ0ZfW4XkOq0Nmlj6LpkI9c+M1V96ACgj4Xg pUCdbnbukXJ78rLS4UUlB7g= =D0q8 -END PGP SIGNATURE- --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: What do I need to do to get bacula talking to mysql
Christoph Haas [EMAIL PROTECTED] writes: MySQL doesn't accept your username (root) and password (...) for accesses from the current client (localhost). It's a permissions problem in the MySQL privilege system you need to fix here. If you do not know how to accomplish that you may want to read: http://dev.mysql.com/doc/refman/5.1/en/privilege-system.html I've gotten a little further along by discovering I could access the server by giving a username like bacula. Also able to run some of the bacula scripts in /var/lib/bacula However a cursory read of the material you pointed out seems to indicate one needs to be a mysql heavy to run bacula. I was under the impression that bacula did the heavy lifting there. Maybe you can help me decide how to proceed: I came to learn to use bacula, is it also required to become thoroughly proficient with mysql? I know nothing about databases, does that rule me out as a bacula user? If that is the case there are many other choices for backup that do not require learning some whole other area of expertise other than the tool in hand. Bacula has already proven to be a huge time sinc with no real kick back so far. If I were to count the hours I've spent on bacula in the 2 times I started trying to learn it they would top out pretty high like 20-30 solid hours over weeks. I have yet to backup a single file with bacula. Would I be better off spending my time with something more direct and to the point? I looked at bacula because of the network capability. I've come to need a network backup tool since my home network has grown to 5-7 machines and some have at least semi-important data on them. I've been using rsync/rsnaphot which is fully network capable from my linux machines and for what I don't get with rsync, I use ghost from the windows machines, which has some network capability although ghost is grossly overrated as a network tool. Very primitive in that regard. And is really only a whole partition/disc backup tool. There are some problems related to running rsync from linux onto windows shares and again bacula looked promising since it has a client on the actual architecture and I'm guessing that would solve most of those kind of problems. What kind of time frame might I expect to begin to see something getting backed up... That is, for a novice with databases and bacula but a fair bit of experience in things linux. I'm not in a terrific hurry and am under no actual time constraint. Only how long I can maintain an interest compared to effort required. And how long this list will put up with me... : ) I'm a retiree so have a fair bit of available time. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users