[Bacula-users] Volume config problem
okay, i think it's time to bug you guys here with this ... i though i had figured bacula configuration out for my need but i guess i was wrong. yesterday it tried to append to a volume that should have been recycled ... ^^ thus failing misserably because the volume was almost full. now the question is what did i do wrong there ? weired thing is it worked a couple times already. i did set recycle flag to yes, volume retention to 6 days, maximum use duration to 6 days and i change the tape every day .. any flaws there ? my setup for 2 HD storages where always the older one gets recyled is working like a charm ^^ Florian --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] debugging bacula
On Monday, 19. September 2005 11:55, Florian Schnabel wrote: please note that status director can trigger a database cleanup which can easily take 15 minutes or longer if you back up a lot of files so try and just wait patiently untill it's done. Thank you for the quick answer. Seems like i really need to be more patient. When cancelling a status dir wich Ctrl-C the director can't connect to any client anymore. Is this a known bug ? Florian --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- NMMN - New Media Markets Networks GmbH - http://www.nmmn.com Gasstrasse 18, Haus 1 - 22761 Hamburg Tel.: +49 40 284 118-0 - Fax: +49 40 284 118-999 - Techn. Hotline -700 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] ClientRunAfterJob return code
Hello, maybe this issue has been clarified already - I just couldn't find it. Please don't spend time reading further if that is the case. Just give me a hint where to find the discussion. My understanding from the manual is that the entire Job will (should?) terminate as '*** Backup Error ***' if the ClientRunAfterJob command returns something non-zero. I am using a bash script as ClientRunAfterJob and tried two things: exit -1 and exit 5 when returning '-1' the job ends like this (Backup OK): [...] 15-Sep 21:05 dd-lx-oracle3.dd.net-linx: ClientRunAfterJob: Thu 15 Sep 2005 09:05:46 PM CEST - start backup check of Instance: DD31 15-Sep 21:05 dd-lx-oracle3.dd.net-linx: ClientRunAfterJob: Database Export of database DD31 was not successfull! Please check the logfile... 15-Sep 21:05 dd-lx-oracle3.dd.net-linx: DD31.2005-09-15_19.00.00 Fatal error: ClientRunAfterJob returned non-zero status=268435711. ERR=Unknown error during program execvp 15-Sep 21:05 dd-lx-backup.dd.net-linx: Bacula 1.36.3 (22Apr05): 15-Sep-2005 21:05:46 JobId: 876 Job:DD31.2005-09-15_19.00.00 Backup Level: Full (upgraded from Incremental) Client: dd-lx-oracle3 FileSet:Data-UNIX-Oracle 2005-08-05 19:00:01 Pool: disk4 Storage:disk4 Start time: 15-Sep-2005 19:00:01 End time: 15-Sep-2005 21:05:46 FD Files Written: 1 SD Files Written: 1 FD Bytes Written: 5,558,467,555 SD Bytes Written: 5,558,467,641 Rate: 736.7 KB/s Software Compression: 81.1 % Volume name(s): disk4-0004 Volume Session Id: 292 Volume Session Time:1125570766 Last Volume Bytes: 43,821,823,021 Non-fatal FD errors:0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK [...] when returning '5' it ends like this (Backup OK - with warnings) [...] 20-Sep 10:11 dd-lx-oracle3.dd.net-linx: DD31.2005-09-20_10.08.53 Fatal error: ClientRunAfterJob returned non-zero status=268435461. ERR=Child exited with code 5 20-Sep 10:11 dd-lx-backup.dd.net-linx: Bacula 1.36.3 (22Apr05): 20-Sep-2005 10:11:10 JobId: 983 Job:DD31.2005-09-20_10.08.53 Backup Level: Incremental, since=2005-09-15 19:00:01 Client: dd-lx-oracle3 FileSet:Data-UNIX-Oracle 2005-08-05 19:00:01 Pool: disk4 Storage:disk4 Start time: 20-Sep-2005 10:09:55 End time: 20-Sep-2005 10:11: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): disk4-0008 Volume Session Id: 1 Volume Session Time:1127203794 Last Volume Bytes: 385 Non-fatal FD errors:1 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK -- with warnings [...] Bacula is clearly detecting the return code. But the Job Termination is always 'Backup OK' (with or without warnings). I would expect to see '*** Backup Error ***' in that case. Is that something that should not be? Or is just my expectation wrong? (please note that the second output was a test where I modified the script to exit right away - so it did not produce any output and no data was transfered) thanks and regards, Stephan --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Autochanger with two drives query
Greetings Apologies if similar questions have been asked before. I have a Scalar100 autochanger with two tape drives and am running bacula-1.37.30. I have split the 60 tapes in to two pools, one for filesystem backups, the other for database backups. My problem is that I am struggling to configure Bacula in such a way that filesystem jobs and database jobs run in parallel, one on each drive. Currently the Filesystem backups are held up until the database backups are finished, and only one drive is in use at a time. Any help with this would be greatly appreciated, I seem to be stuck. Below are my Device definitions from bacula-sd.conf I do not have an Autochanger {} currently configured - should I? -- bacula-sd.conf Device { Name = Scalar100# Media Type = Ultrium-LTO-2 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; DriveIndex = 0; Changer Command = /usr/local/bacula-1.37.30/etc/mtx-changer %c %o %S %a %d Changer Device = /dev/sg1 AutoChanger = yes Alert Command = sh -c '/usr/local/mtx/sbin/tapeinfo -f %c |grep TapeAlert|cat' } # # Scalar100 second drive # Device { Name = Scalar100# Media Type = Ultrium-LTO-2 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; DriveIndex = 1; Changer Command = /usr/local/bacula-1.37.30/etc/mtx-changer %c %o %S %a %d Changer Device = /dev/sg1 AutoChanger = yes Alert Command = sh -c '/usr/local/mtx/sbin/tapeinfo -f %c |grep TapeAlert|cat' } -- Below is my Storage {} specification in bacula-dir.conf -- bacula-dir.conf: Storage { Name = Scalar100 # Do not use localhost here Address = breed..com# N.B. Use a fully qualified name here SDPort = 9103 Password = # password for Storage daemon Device = Scalar100 # must be same as Device in Storage daemon Media Type = Ultrium-LTO-2 # must be same as MediaType in Storage daemon # Autochanger = yes # enable for autochanger device } -- Many thanks, Regards Andrew --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger with two drives query
Andrew J. Millar wrote: Greetings Apologies if similar questions have been asked before. I have a Scalar100 autochanger with two tape drives and am running bacula-1.37.30. I have split the 60 tapes in to two pools, one for filesystem backups, the other for database backups. My problem is that I am struggling to configure Bacula in such a way that filesystem jobs and database jobs run in parallel, one on each drive. Currently the Filesystem backups are held up until the database backups are finished, and only one drive is in use at a time. Any help with this would be greatly appreciated, I seem to be stuck. When you say database backups, do you mean the Bacula catalog, or are you backing up some huge databases? It sounds at first glance as though you need to increase your Concurrency settings to allow more jobs to run simultaneously. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
RE: [Bacula-users] Autochanger with two drives query
Hi OK, I've increased the Max Concurrent Jobs to 2 in bacula-dir, and run two jobs - one in the Filesystem pool and one in the Oracle Database pool, however they again didn't run in parallel, and in fact, when the 2nd job ran, it used the same tape drive as the first, rather than the other drive. below is an excerpt from bconsole - status - 1 (director) -- Running Jobs: JobId Level Name Status == 736 Increme Breed.2005-09-20_11.22.52 is running 737 Increme Vilya_DB_FS.2005-09-20_11.23.02 is waiting for higher priority jobs to finish -- Perhaps I do need the Autochanger {} section? Regards Andrew When you say database backups, do you mean the Bacula catalog, or are you backing up some huge databases? Sorry, should've clarified that, yes I am backing up some huge oracle databases It sounds at first glance as though you need to increase your Concurrency settings to allow more jobs to run simultaneously. Doh! Should've have checked for that too - I've increased Max Concurrent Jobs to Two in bacula-dir.conf -- bacula-dir.conf Director {# define myself Name = breed-dir DIRport = 9101# where we listen for UA connections QueryFile = /usr/local/bacula-1.37.30/etc/query.sql WorkingDirectory = /usr/local/bacula-1.37.30/var/bacula/working PidDirectory = /var/run Maximum Concurrent Jobs = 2 Password = # Console password Messages = Daemon } -- I shall give this a go and see how it works out. Will let you know. Thanks, Regards Andrew --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problems with WX-Console
Hello, On 20.09.2005 03:27, Mike Pultz wrote: Hello, I'm having a weird problem when using the WX-Console in Restore mode. Unfortunately, I can't tell you what's wrong. But, as I tried the restore mode now, I found that I can select files correctly, but after submitting the job the wx-console behaves funny. In the console window, I see that it's always repeating these steps: Modify (mod), Select device (2, IIRC), then 4 (mydevice), then again mod - 2 - 4 ad infinitum. I could only cancel this by File/Disconnect menu action, after which wx-console was stuck. So, for the time being, I will use the command line interface for restores. I'd suggest you try that, too, and see if then you can select the files / directories you want to restore. I assume that works as I've never experienced problems using the CLI for restorations. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger with two drives query
Hi, On 20.09.2005 12:34, Andrew J. Millar wrote: Hi OK, I've increased the Max Concurrent Jobs to 2 in bacula-dir, and run two jobs - one in the Filesystem pool and one in the Oracle Database pool, however they again didn't run in parallel, and in fact, when the 2nd job ran, it used the same tape drive as the first, rather than the other drive. below is an excerpt from bconsole - status - 1 (director) -- Running Jobs: JobId Level Name Status == 736 Increme Breed.2005-09-20_11.22.52 is running 737 Increme Vilya_DB_FS.2005-09-20_11.23.02 is waiting for higher priority jobs to finish -- Perhaps I do need the Autochanger {} section? Most probably, you do. You might also consider upgrading to a newer beta version as, to my knowledge, Kern corrected some problems with the device reservation - just what you need when running multiple jobs to different devices. Arno Regards Andrew When you say database backups, do you mean the Bacula catalog, or are you backing up some huge databases? Sorry, should've clarified that, yes I am backing up some huge oracle databases It sounds at first glance as though you need to increase your Concurrency settings to allow more jobs to run simultaneously. Doh! Should've have checked for that too - I've increased Max Concurrent Jobs to Two in bacula-dir.conf -- bacula-dir.conf Director {# define myself Name = breed-dir DIRport = 9101# where we listen for UA connections QueryFile = /usr/local/bacula-1.37.30/etc/query.sql WorkingDirectory = /usr/local/bacula-1.37.30/var/bacula/working PidDirectory = /var/run Maximum Concurrent Jobs = 2 Password = # Console password Messages = Daemon } -- I shall give this a go and see how it works out. Will let you know. Thanks, Regards Andrew --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula and Postgreql-PITR
Hi there, yesterday I read about the nice point-in-time-recovery (PITR) feature of postgresql - and decided to use this in future. (See: http://www.postgresql.org/docs/8.0/interactive/backup-online.html) PITR gives you the ability to have really continuous backup of your postgresql-database. I saw mechanisms like that also on other databases like oracle and db2. In many cases the dbms-systems allow the definition of a hook-command which processes the arising dbms-logfiles. I.e. you can define such a hook in postgresql in that way: archive_command = 'cp -i %p /mnt/server/archivedir/%f /dev/null' My question is: How can I continuously backup these files to a spoolfile and write this file to a tape at the end of the day ? If there currently no way to do this - are there some design-concepts to write a plugin-interface for the backup and restore of databases ? Another idea would be the integration of inotify (http://www.edoceo.com/creo/inotify/) - but I suppose that this isn't that portable like the existing code of bacula. I think this would be a big advance to make bacula more suitable for professional usage. Best regards Marc Schoechlin -- I prefer non-proprietary document-exchange. http://sector7g.wurzel6.de/pdfcreator/ http://www.prooo-box.org/ --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Trouble building RPMS for 1.37.38
The spec file currently in cvs should build the server and client packages, what will be missing is the docs, rescue, gui etc. On Mon, 2005-09-19 at 11:41 +0200, Kern Sibbald wrote: On Monday 19 September 2005 09:43, Daniel Holtkamp wrote: Hi ! Kern Sibbald wrote: The spec files have not yet been updated from version 1.36.3, so until some work is done on them, they are not likely to work -- many things in the source have changed. Ouch, can anyone help quickly ? I was about to roll out the packages to our servers. Can anyone supply client-packages for bacula 1.37.38 ? I need RHEL2.1, RHEL3, RHEL4 and RH9. You might ask Scott Barninger who is our packager. As i said the packages compiled without major problems after some tweaking but you are sure they are broken right ? Had some test-systems run backups over the weekend and the director crashed twice already ... If you are experiencing crashes with the Director, please file a bug report. Given this situation, instead of asking Scott to rush creating the new .spec files, I think you would be much better off using the currently released version 1.36.3, which is already packaged for several of the distributions you want to use. Personally i have no idea about creating spec-files so i`m pretty lost out here ;) Best regards, --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SOLVED: Bacula 1.36.3 on FreeBSD 5.4: bconsole can't connect to director, then director silently quits
Dan, Bacula-users, The problem reported below turned out to be a system configuration issue, not a bacula issue. However, there may be an opportunity for improved logging and/or diagnostics here. I'm impressed with the fast response of the list though! Just in case this comes up for someone else, I'm including the answers to Dan's questions (and the solution to my problem, correctly specifying access in /etc/hosts.allow) inline: Dan Langille wrote: On 18 Sep 2005 at 22:29, Josh Homan wrote: I'm having a problem getting Bacula 1.36.3 to work on my FreeBSD 5.4 system. I've installed both /usr/ports/sysutils/bacula-server and /usr/ports/sysutils/bacula-client on the machine, created a MySQL database and user, populated the tables, and customized the bconsole.conf file to include the same password as the bacula-dir.conf file, and then fired bacula up by running /usr/local/etc/rc.d/z-bacula.sh.sample start. I then run the bconsole program, and immediately get back: # bconsole -c /usr/local/etc/bconsole.conf Connecting to Director 192.168.123.80:9101 18-Sep 21:58 bconsole: Fatal error: bnet.c:209 Packet size too big from Director daemon:192.168.123.80:9101. Terminating connection. Director authorization problem. Most likely the passwords do not agree. Please see http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for help. ERR= immediately tells me that bacula-dir is actually running. Correct. Verified several ways, including ps listings. Is it running at 192.168.123.80? Yes. sockstat showed that it was binding to all addresses. And I get a different message back from bconsole if bacula-dir isn't running. Anything in log files? /var/log/messages ? As stated, the only error message I found (because I hadn't looked hard enough) was the error message from bconsole which was logged in /var/log/messages. I did not, before posting to the list, look in /var/log/auth.log. Is this a /etc/hosts.allow issue? In fact, YES! It turned out to be an issue with /etc/hosts.allow -- I had neglected to allow any network access to bacula -- my default line in /etc/hosts.allow twists connections that I haven't explicitly allowed, reporting the message You are not welcome to use %d from %h. I am sure the password and name of the director are correctly specified in bconsole.conf and bacula-dir.conf. Prove it. Paste it to us. Since the problem has been solved, I'll skip this, but I did in fact cut the relevant lines out of the conf files and pasted them into separate files, and then diff'ed the result to prove to myself that they were the same. When I try to run the director in the foreground with the debug level kicked up, here's what I get: # /usr/local/sbin/bacula-dir -f -d99 -u bacula -g bacula -v -c /usr/local/etc/bacula-dir.conf bacula-dir: dird.c:131 Debug level = 99 bacula-dir: mysql.c:141 mysql_init done bacula-dir: mysql.c:161 mysql_real_connect done bacula-dir: mysql.c:163 db_user=bacula db_name=bacula db_password=x Then, nothing from the director until I try and connect from bconsole, at which point it just drops me back to my prompt. No mail is sent to root@, only the bconsole error is logged in my syslog, and no log file is created, so I'm sort of puzzled with where to go next. So the Director stops running? Yes, which was pretty curious to me. I even bumped the debug level up to 2000(!!), and there was _no_ message from the director, it just stopped running and silently dropped me back to a root prompt. I did finally get around to looking at auth.log (actually I was looking at it for reasons other than bacula) about an hour after I posted to the list, and there was the message I was looking for: Sep 19 01:51:37 myhost bacula-fd: twist myhost to /bin/echo You are not welcome to use mydir from myhost. As a test, I dropped an ALL : mynet : allow, and bacula is now working as expected. After some trial and error, I found that the hosts.allow listing needed to be the name of the particular bacula service, so for me it turned out to be myhost-dir, myhost-sd, and myhost-fd. While this seems counter-intuitive to me (the log messages and the hosts_access manpage led me to believe that specifying the daemon names, like bacula-dir, bacula-sd, and bacula-fd would be appropriate), I can see how it provides for much better flexibility. So after all this, I just found the bacula security issues web page, and all of this information is actually clearly documented: http://www.bacula.org/rel-manual/Bacula_Security_Issues.html Thanks again for the quick assistance! Regards, Josh --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list
[Bacula-users] Volume config problem
okay, i think it's time to bug you guys here with this ... i though i had figured bacula configuration out for my need but i guess i was wrong. yesterday it tried to append to a volume that should have been recycled ... ^^ thus failing misserably because the volume was almost full. now the question is what did i do wrong there ? weired thing is it worked a couple times already. i did set recycle flag to yes, volume retention to 6 days, maximum use duration to 6 days and i change the tape every day .. any flaws there ? my setup for 2 HD storages where always the older one gets recyled is working like a charm ^^ Florian --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problems with WX-Console
Mike Pultz [EMAIL PROTECTED] wrote: When I get to the restore tree page (where it lists all the files/directories, and you're supposed to select the files you want to restore), for some reason, if the directory I'm browsing it has more than a certain number of files (not sure exactly what that number is), it ends up in a never ending loop. Glad that I'm not the only one to run into this one! I can confirm that this problem exists here on the current stable release (RedHat RPM) using the wx-console package downloaded about three weeks ago (no version in help|about pulldown) and MySQL. I thought that it might be related to filesets, because I only observed it trying to browse the backups of /home , which is stored on a different partition. I just checked three of the machines that had this problem, and they have 171, 167, and 174 files+dirs respectively in the top directory of /home. If, per chance, it's building a recursive list at this stage, then I wouldn't even venture a guess at the number of files on that whole 60-gig partition. This isn't a show-stopper for me, but I'm curious to see if it's a bug or if I did something wrong with my setup... -Arthur --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Tape still busy after back-up.
Hello, On 19.09.2005 23:17, Erik P. Olsen wrote: On Mon, 2005-09-19 at 22:18 +0200, Arno Lehmann wrote: Hi, On 19.09.2005 22:06, Erik P. Olsen wrote: I am testing bacula at the moment, so it is not any serious production problem. After having finished a back-up correctly without any reported errors, the tape is still busy. I thought it might be doing a verify so I let it stay busy all day until I realised it could not have been a verify operation. But then is it normal that the tape remains busy and what should I do to unmount it? Er... what do you mean by busy? Is the busy light on, or can't you acces the drive using a command like mt? The busy light is on. Next question - does the busy light indicate Busy writing or reading, Tape mounted, Tape inserted, or only Magazine loaded? Depending on that the situation is quite different, obviously. In the first case, you should find out what programs are running. In the latter case, use the console command 'umount' - that should help. Have you tried the unmount or release commands? If these don't help, first verify if there's really no bacula job running, for example using the status 'storage command'. If that shows that bacula is not using the tape at the moment, you could stop (kill) the SD or the whole bacula system and see if things change. If they don't, you need to find the process using the tape - lsof is one way to do so. Usually, but that depends on your SD configuration, a tape drive is always open when the SD works with it. In that case, the driver of your OS should lock the device against use by other programs, which then report the drive as busy. Yes, I'll look over the SD config. I just copied the Linux definition of DDS-4 tape device but there may be more to it than that. That should not be too far from the settings you need, I think. Hope I could help you, Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and Postgreql-PITR
Marc Schoechlin wrote: I.e. you can define such a hook in postgresql in that way: archive_command = 'cp -i %p /mnt/server/archivedir/%f /dev/null' How can I continuously backup these files to a spoolfile and write this file to a tape at the end of the day ? Run a job at the end of every day which backs up /mnt/server/archivedir You might want to run a script which prunes old archive files either before or after the job (I'd suggest after, just in case your script goes crazy and deletes too much!) -- Russell Howe [EMAIL PROTECTED] --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Some questions
Dear list, we evaluate Bacula as our primary backup system and I have some question that you hopefully can answer me. We want to write our full backups to DVD, so what is if one full- backup is to big and has to be splitted over several DVDs, does Bacula automatically and prompt me to change the DVD? Let assume the following scenario: One Fileserver that should be backed up by bacula. We want to do daily incremental, weekly incremental and monthly full backup. The daily backups should be stored on disk and overwritten/recycled every week starting at the last weekly backup. And the weekly backups should be written to DVD and the used DVDs should never be overwritten nor recycled. Finally, the monthly backup should be the same as the weekly backup (no recycling and store to DVD). And my questions to this is: - A poll is just a set of volumes, right? - Is every DVD a volume? How would a pool configuration looks like? I think it has to look like the following: DailyPool: - Run every day - reuse it after 7 days - max. volumes 7 - save to disk as a file WeeklyPool: - Run every week - don't reuse it - save to DVD MonthlyPool: - Run every month - don't reuse it - save to DVD So let assume this works and we want to restore a backup 1 ago. Lets say the date is 05/20/2003. So the backup consists of one full backup (April, 2003) and 3 weekly backups (05/01/2005, 05/07/2005 and 05/14/2005). What have I to do to restores this backup and what does Bacula? Thanks for your help. -- Mit freundlichen Gruessen/Best Regards, Sebastian Haas --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problems with WX-Console
Hello Mike, Thanks for the report, it is a known bug of version 1.36.3 (see http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=304 ). Unfortunately there was no 1.36.4 version so this patch was not included in the latest 1.36 stable version. What you can do is either run restore from the console, either build and install wx-console from the latest 1.37 version (I think wx-console 1.37 is compatible with the 1.36 director). Best regards, Nicolas On Mon, 2005-09-19 at 18:27 -0700, Mike Pultz wrote: Hello, I'm having a weird problem when using the WX-Console in Restore mode. When I get to the restore tree page (where it lists all the files/directories, and you're supposed to select the files you want to restore), for some reason, if the directory I'm browsing it has more than a certain number of files (not sure exactly what that number is), it ends up in a never ending loop. For example- one of my machines has mail (Cyrus mail server) setup under /u/imap/ user mailboxes are stored under /u/imap/user/username If I try to browse to /u/imap/user/ to get a list of all the mailboxes under that root, the file browser simply loops back, and only shows a directory called user under the /u/imap/user/. If I then select user again, it just shows another directory called user (so, now, /u/imap/user/user/user) etc, etc the /u/imap/user/ directory has ~5000 directories (on for each mailbox on this sytem. From the console page, it reads: --snip-- $ cd /u/ cwd is: /u/ $ dir drwxrwxr-x 2 root operator 512 2005-04-29 15:09:35 /u/.snap/ drwxr-xr-x 2 root wheel 512 2005-05-12 21:56:14 /u/cvsup/ drwxr-xr-x 3 root wheel 512 2005-03-14 01:43:34 /u/home2/ drwxr-xr-x 4 60 60 512 2005-04-17 21:14:35 /u/imap/ drwxr-xr-x 6 root wheel 512 2005-04-17 21:09:27 /u/logs/ -rw-r- 1 root operator 2097120 2005-09-19 01:49:55 /u/quota.group -rw-r- 1 root operator 2097120 2005-09-19 01:49:55 /u/quota.user drwxr-xr-x 2 root wheel 512 2005-03-12 20:04:13 /u/src/ drwxr-xr-x 4 root wheel 512 2005-05-17 22:17:35 /u/www/ $ cd /u/imap/ cwd is: /u/imap/ $ dir drwx-- 2 60 60 512 2005-09-19 01:46:32 /u/imap/stage./ drwx-- 138 60 60 2560 2005-09-16 18:25:00 /u/imap/user/ $ cd /u/imap/user/ Invalid path given. cwd is: /u/imap/ $ dir drwx-- 2 60 60 512 2005-09-19 01:46:32 /u/imap/stage./ drwx-- 138 60 60 2560 2005-09-16 18:25:00 /u/imap/user/ $ cd /u/imap/user/ Invalid path given. cwd is: /u/imap/ $ dir drwx-- 2 60 60 512 2005-09-19 01:46:32 /u/imap/stage./ drwx-- 138 60 60 2560 2005-09-16 18:25:00 /u/imap/user/ $ cd /u/imap/user/ Invalid path given. cwd is: /u/imap/ $ dir drwx-- 2 60 60 512 2005-09-19 01:46:32 /u/imap/stage./ drwx-- 138 60 60 2560 2005-09-16 18:25:00 /u/imap/user/ $ cd /u/imap/user/ Invalid path given. cwd is: /u/imap/ $ dir drwx-- 2 60 60 512 2005-09-19 01:46:32 /u/imap/stage./ drwx-- 138 60 60 2560 2005-09-16 18:25:00 /u/imap/user/ $ quit --snip-- I'm guessing it has something to with the line Invalid path given ? (See an the attached image for a example I what I mean.) Thanks, Mike Pultz [EMAIL PROTECTED] -- Nicolas Boichat [EMAIL PROTECTED] --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Some questions
Hello, On 20.09.2005 13:27, Sebastian Haas wrote: Dear list, we evaluate Bacula as our primary backup system and I have some question that you hopefully can answer me. We want to write our full backups to DVD, so what is if one full- backup is to big and has to be splitted over several DVDs, does Bacula automatically and prompt me to change the DVD? Yes. Let assume the following scenario: One Fileserver that should be backed up by bacula. We want to do daily incremental, weekly incremental and monthly full backup. The daily backups should be stored on disk and overwritten/recycled every week starting at the last weekly backup. And the weekly backups should be written to DVD and the used DVDs should never be overwritten nor recycled. Finally, the monthly backup should be the same as the weekly backup (no recycling and store to DVD). Things to consider before using DVD backups: That part of bacula is, as far as I can see, not ready for general production use. I managed to get it working, but it needs some help. Recycling doesn't seem to work, but you don't need that. I could only get bacula to use DVD+RW media, -RW didn't work, and I haven't tried Read-Only disks yet. And my questions to this is: - A poll is just a set of volumes, right? Yes. - Is every DVD a volume? Yes. How would a pool configuration looks like? I think it has to look like the following: DailyPool: - Run every day - reuse it after 7 days - max. volumes 7 - save to disk as a file WeeklyPool: - Run every week - don't reuse it - save to DVD MonthlyPool: - Run every month - don't reuse it - save to DVD That looks ok. So let assume this works and we want to restore a backup 1 ago. Lets say the date is 05/20/2003. So the backup consists of one full backup (April, 2003) and 3 weekly backups (05/01/2005, 05/07/2005 and 05/14/2005). What have I to do to restores this backup and what does Bacula? You would have to do some manual work. Unfortunately, at this time, bacula can not without serious help from the operator restore from more than one device type (Media Type). Thanks for your help. If you've got some important data to save, I'd suggest using a tape drive or a high-quality RAID subsystem. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] What's this error?
Sherwood McGowan wrote: I get this error occasionally, and wonder why exactly I get it. All other backups (including ones to the same machine) work fine: *ERR=Non-authoritative for host not found, or ServerFail.* I'm using bacula 1.36 on CentOS 4.1 That error looks like a DNS failure. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Volume config problem
On Tue, 20 Sep 2005, Florian Schnabel wrote: that's why the maximum use duration is set .. No. Maximum use duration sets the maximum period that a tape will be used for backing up before being toggled from append into used mode. This is useful for ensuring tapes are changed out weekly, etc - without having error messages about the tape being missing when the next backup cycle starts. so bacula notices it should not append to that volume and recycle it instead .. but it doesn't always .. Most likely there are still jobs on the tape which haven't expired. A tape is only flagged as recyclable when there are no more current jobs on it, or when explicitly purged (which has the same effect) AB --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] BACULA 1.37.38 AIX 4.3
Hi, I trying to install bacula-1.37.38 on AIX 4.3. The installation returns me the folliwing error message: collect2: Library libtermcap not found gmake[1]: *** [bconsole] Error 1 gmake[1]: Leaving directory `/tmp/bacula/bacula-1.37.38/src/console' == Error in /tmp/bacula/bacula-1.37.38/src/console == Any Ideas about where can I find libtermcap for AIX? Thanks Fernanda
Re: [Bacula-users] BACULA 1.37.38 AIX 4.3
Hello, On 20.09.2005 14:17, Fernanda Santoro wrote: Hi, I trying to install bacula-1.37.38 on AIX 4.3. The installation returns me the folliwing error message: collect2: Library libtermcap not found gmake[1]: *** [bconsole] Error 1 gmake[1]: Leaving directory `/tmp/bacula/bacula-1.37.38/src/console' == Error in /tmp/bacula/bacula-1.37.38/src/console == Any Ideas about where can I find libtermcap for AIX? Even without any first-hand knowledge of AIX - assuming you've got a 'normal' build system yo might have to install the appropriate package or the corresponding devlopment package. Usually, and if the normal package management tools don't help you, find would be one program to help finding the necessary files (libtermcap.o and termcap.h). Of course, under AIX the termcap functions could be provided by another library, the manuals might help finding out... Arno Thanks Fernanda -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bscan : Using bscan to Recreate a Catalog from a Volume
Hello, In the Bacula User's Guide, the command to recreate a catalog from a volume is : ./bscan -V TestVolume1 -v -s -m -c bacula-sd.conf /dev/nst0 But my file bacula-sd.conf and my volume TestVolume1 are on a remote machine. TestVolume is a disk volume (not a tape). How can I modify the above command for recreate a catalog from my volume on my local machine where is the Catalog and the bacula director ? Thanks Evelyne --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
RE: [Bacula-users] BACULA 1.37.38 AIX 4.3
Hi Fernanda, collect2: Library libtermcap not found gmake[1]: *** [bconsole] Error 1 gmake[1]: Leaving directory `/tmp/bacula/bacula-1.37.38/src/console' termcap is available (I hope I spell it right now) at http://aixpdslib.seas.ucla.edu - ah, yes! ftp://aixpdslib.seas.ucla.edu/pub/termcap/RISC/4.3/exec/termcap.1.3.1.ta r.Z If You manage to create 4.3.3 binaries, I'd be thankful if You contact me off-list about any hacks You had to make to the sourcecode. I'll then try to re-build them and make them available. (Even if I'm not really keen on downgrading to 4.3.3) Florian --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ClientRunAfterJob return code
On Tue, 20 Sep 2005 11:02:04 +0200, Stephan Ebelt [EMAIL PROTECTED] said: Stephan maybe this issue has been clarified already - I just couldn't find it. Stephan Please don't spend time reading further if that is the case. Just give Stephan me a hint where to find the discussion. Stephan My understanding from the manual is that the entire Job will (should?) Stephan terminate as '*** Backup Error ***' if the ClientRunAfterJob command Stephan returns something non-zero. Stephan I am using a bash script as ClientRunAfterJob and tried two things: Stephan exit -1 Stephan and Stephan exit 5 Stephan when returning '-1' the job ends like this (Backup OK): Exit status values should be in the range 0 to 255. What happens if you use exit 255? The other difference between your two jobs is that one has been upgraded to Full. Maybe that causes the different behaviour? Did you get some other warning in the second job? Which version of bacula is running on dd-lx-oracle3? __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Tape still busy after back-up.
On Tue, 2005-09-20 at 12:57 +0200, Arno Lehmann wrote: The busy light is on. Next question - does the busy light indicate Busy writing or reading, Tape mounted, Tape inserted, or only Magazine loaded? Depending on that the situation is quite different, obviously. I think it was Busy writing or reading, but I would have looked for that information on todays test. However, the situation didn't occur again. I'll close this issue now and reopen in case I see it again. Thanks for trying to help me out. -- Regards, Erik P. Olsen --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Some questions
Hi, On 20.09.2005 14:41, Sebastian Haas wrote: Hello, first of all thanks for your quick response. Arno Lehmann wrote: How would a pool configuration looks like? I think it has to look like the following: ... That looks ok. Would it be also 3 different jobs? Did Bacula create any relations between this jobs. For me this backups belong together. Or could I define several jobs with the same name, so that Bacula know that they belongs together? Your intuition is right - these things belong together, so they are one job. The different levels are conrolled in the schedule. I want incremental backups based on the last full backup, some thing like this for one month: Monthly-Weekly-Daily Monday-Daily ...-Weekly-Daily ...-Weekly-Daily ...-Weekly You know what I mean? The different incremental backups should based on the previous incremental level. Daily should based on Weekly and Weekly on Monthly. Is it possible or did I not need it at all? Bacula does things as follows: Full backup Differential Backup, based on last full backup Incremental Backup, based on last backup at all. A common strategy is monthly full, weekly differential, daily incremental backups. About what you want, I think. So let assume this works and we want to restore a backup 1 ago. Lets say the date is 05/20/2003. So the backup consists of one full backup (April, 2003) and 3 weekly backups (05/01/2005, 05/07/2005 and 05/14/2005). What have I to do to restores this backup and what does Bacula? Usually, You select which jobs to restore (possibly by giving a date to restore from before that point in time), select the files you want back, where to put them, etc., and bacula prompts you for the necessary volumes. You would have to do some manual work. Unfortunately, at this time, bacula can not without serious help from the operator restore from more than one device type (Media Type). This would be no problem. Could it restore a backup splitted over several DVDs (for example the monthly full backup?) The latter is easily possible. What you say is no problem is quite definietly one, because you need some good knowledge about how bacula works. If you knew what you'd have to know, you wouldn't ask these questions :-) How can I identify a backup by a specific date or by specific changes? Is it possible to search for a file when it was deleted or added? There are many queries to baculas catalog pre-defined,and you can create your own. The basic selection, like take all files from this client before that date, is done by bacula itself. In other words: In most cases, you can easily find which jobs you need to restore any given file. When Bacula did a incremental backup did it safe/restore the whole files or just the changes/diffs? Always whole files. I suggest you start installing bacula on a test system and play around with it - you will lear more that way than by asking here... (although, in my opinion, your questions are the right questions, but many of them are answered once you managed the first trial backups and restores). Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bscan : Using bscan to Recreate a Catalog from a Volume
On Tue, 20 Sep 2005 15:25:09 +0200, Evelyne Cangini [EMAIL PROTECTED] said: Evelyne In the Bacula User's Guide, the command to recreate a catalog from a Evelyne volume is : Evelyne ./bscan -V TestVolume1 -v -s -m -c bacula-sd.conf /dev/nst0 Evelyne But my file bacula-sd.conf and my volume TestVolume1 are on a remote Evelyne machine. TestVolume is a disk volume (not a tape). Evelyne How can I modify the above command for recreate a catalog from my volume Evelyne on my local machine where is the Catalog and the bacula director ? Instead of /dev/nst0, use the volume file name. You have to run bscan on the machine that has that volume file and it will communicate with the Director using the bacula-sd.conf, just like bacula-sd does. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] (no subject)
I am trying to running bacula in a linux debian sarge on z/vm with tapes 3490, 3490e and 3480. On having run the test of the process of console it send me a mistake in: === Write, rewind, and re-read test === I'm going to write 1000 records and an EOF then write 1000 records and an EOF, then rewind, and re-read the data to verify that it is correct. This is an *essential* feature ... btape: btape.c:786 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/tape/0204/char/nonrewinding btape: btape.c:802 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/tape/0204/char/nonrewinding btape: btape.c:465 Wrote 1 EOF to /dev/tape/0204/char/nonrewinding btape: btape.c:811 Rewind OK. 1000 blocks re-read correctly. Got EOF on tape. 1000 blocks re-read correctly. === Test Succeeded. End Write, rewind, and re-read test === === Write, rewind, and position test === I'm going to write 1000 records and an EOF then write 1000 records and an EOF, then rewind, and position to a few blocks and verify that it is correct. This is an *essential* feature ... btape: btape.c:898 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/tape/0204/char/nonrewinding btape: btape.c:914 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/tape/0204/char/nonrewinding btape: btape.c:923 Rewind OK. Reposition to file:block 0:4 Block 5 re-read correctly. Reposition to file:block 0:200 Block 201 re-read correctly. Reposition to file:block 0:999 Block 1000 re-read correctly. Reposition to file:block 1:0 Block 1001 re-read correctly. Reposition to file:block 1:600 btape: btape.c:965 Reposition error. Since I form the files of bacula for this type of cassettes, in the manual does it indicate me ??. I suppose that the mistake of the test is for a bad definition of my tapes in the daemon of the storage. Since I define them? I am not sure if I must connect myself as client or as the director to run tape. This message was sent using IMP, the Internet Messaging Program. --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Serious question! Recycle versus wishful thinking...
On 18.09.2005 07:12, Joe Rhett wrote: Before I go to all of that trouble, could someone kindly look at the configuration I posted and tell me what is missing? I'm fairly certain that it is a configuration problem. I doubt that so many people using it wouldn't have found this problem before. Could someone please review the configuration for sanity? On Sun, Sep 18, 2005 at 11:32:43AM +0200, Arno Lehmann wrote: Why don't you simple comment out the Label Format directive, and see if that corrects the behaviour. If it does, file a bug report telling that the manual needs an update or the DIR behaviour should be changed. You mean this line? LabelFormat = liz This cannot be relevent to why bacula would continue making tapes named liztape001. The LabelFormat was liztape roughly a year ago, back when I was trying to persuade Kern to make bacula auto-label unlabelled tapes. It hasn't been liztape for quite some time now. And again, why would LabelFormat or LabelMedia create new media that doesn't exist? Auto-labelling new tapes is one thing, creating wishful thinking media entries is absurd. That's basically what I suggested in may last post(s), and I think you should try that first before you complain again and again. Because the problem is clearly much bigger than a bug in a single directive. -- Joe Rhett senior geek meer.net --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Serious question! Recycle versus wishful thinking...
On Sun, Sep 18, 2005 at 11:32:43AM +0200, Arno Lehmann wrote: Why don't you simple comment out the Label Format directive, and see if that corrects the behaviour. If it does, file a bug report telling that the manual needs an update or the DIR behaviour should be changed. That's basically what I suggested in may last post(s), and I think you should try that first before you complain again and again. So tell me, why exactly should LabelFormat control whether or not a tape is recycled? The error is this: Current Volume liz5 not acceptable because: 1998 Volume liz5 status is Full, but should be Append, Purged or Recycle. But the media shows this: +-++---+-+--+--+-+--+---+-+ | MediaId | VolumeName | VolStatus | VolBytes| VolFiles | VolRetention | Recycle | Slot | MediaType | LastWritten | +-++---+-+--+--+-+--+---+-+ | 9 | liz5 | Full | 14155350617 | 17 | 7776000 | 1 | 0| DDS-3 | 2005-06-27 23:12:20 | | 10 | liz6 | Full | 1907376 | 12 | 7776000 | 1 | 0| DDS-3 | 2005-07-19 16:35:47 | And the configuration shows this: # Tape pool definition Pool { Name = Tape Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes Recycle Oldest Volume = yes AutoPrune = yes # Prune expired volumes Volume Retention = 1 months # one month Accept Any Volume = yes # write on any volume in the pool } So why isn't this volume being recycled? -- Joe Rhett senior geek meer.net --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Serious question! Recycle versus wishful thinking...
Joe Rhett wrote: On 18.09.2005 07:12, Joe Rhett wrote: Before I go to all of that trouble, could someone kindly look at the configuration I posted and tell me what is missing? I'm fairly certain that it is a configuration problem. I doubt that so many people using it wouldn't have found this problem before. Could someone please review the configuration for sanity? On Sun, Sep 18, 2005 at 11:32:43AM +0200, Arno Lehmann wrote: Why don't you simple comment out the Label Format directive, and see if that corrects the behaviour. If it does, file a bug report telling that the manual needs an update or the DIR behaviour should be changed. You mean this line? LabelFormat = liz This cannot be relevent to why bacula would continue making tapes named liztape001. The LabelFormat was liztape roughly a year ago, back when I was trying to persuade Kern to make bacula auto-label unlabelled tapes. It hasn't been liztape for quite some time now. And again, why would LabelFormat or LabelMedia create new media that doesn't exist? Auto-labelling new tapes is one thing, creating wishful thinking media entries is absurd. This may be a silly question, especially since I don't know which version you're running, but have you executed an 'Update Pools' command since you changed the pool definition? I don't remember which was the first release in which the console always bautomatically/b did an Update Pools when started. If you have not done an update, and your Bacula version is old enough not to auto-update, it's entirely possible your Director is still working with old Pool definitions. What output do you get in the console from a 'show pools' command? -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] new bacula install
Hi, I am installing bacula on a dedicated backup server running gentoo. The server is a 3 GHz P4. The tapestreamer is an IBM Ultrium LTO 3 (400 GB tapes uncompressed). I am going to backup 11 servers. Most of them are straightforward, but 4 of them run large Postgresql databases, and I want to implement the new point in time recovery feature of postgresql 8. So far it seems to work ok. But my full backups take too long. I enabled concurrent jobs because no single server can deliver data as fast as the streamer can write it. The problem seems to be that the backup server goes to 100% CPU usage and the total throughput stays at 10-15 MB/s. I tested with dd, and managed to get about 73 MB/s copying a large file with random data to the tape. If possible, I would want to get as close to that as possible with the real backups. I installed with SQLlite for simplicy, and I realise that might be the problem. Also my catalog size seems to be 1 GB already after just a few days testing, and I read that SQLlite will only handle 2 GB catalog. So I am going to recompile to postgresql, unless you guys tell me mysql is really much better for this. I suppose I could let one of the large postgresql database servers take the load, but I would rather not, to prevent the backup system from generating huge amounts of useless transaction logs. The network is gigabit ethernet to all servers. Any suggestions for how to optimize my setup? Thanks, Baldur --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] new bacula install
Baldur Norddahl wrote: Hi, I am installing bacula on a dedicated backup server running gentoo. The server is a 3 GHz P4. The tapestreamer is an IBM Ultrium LTO 3 (400 GB tapes uncompressed). I am going to backup 11 servers. Most of them are straightforward, but 4 of them run large Postgresql databases, and I want to implement the new point in time recovery feature of postgresql 8. So far it seems to work ok. But my full backups take too long. I enabled concurrent jobs because no single server can deliver data as fast as the streamer can write it. The problem seems to be that the backup server goes to 100% CPU usage and the total throughput stays at 10-15 MB/s. I tested with dd, and managed to get about 73 MB/s copying a large file with random data to the tape. If possible, I would want to get as close to that as possible with the real backups. I installed with SQLlite for simplicy, and I realise that might be the problem. Also my catalog size seems to be 1 GB already after just a few days testing, and I read that SQLlite will only handle 2 GB catalog. So I am going to recompile to postgresql, unless you guys tell me mysql is really much better for this. I suppose I could let one of the large postgresql database servers take the load, but I would rather not, to prevent the backup system from generating huge amounts of useless transaction logs. SQLite is generally recommended only for small installations with no other DB. PostgreSQL or MySQL is much preferred. Of the two, many reports indicate that Bacula does not perform well with PostgreSQL on backups, because PostgreSQL is much slower than MySQL on writes. There are tuning factors that can influence this. Also, have you tried using spooling? It is designed for situations in which your tape device is much faster than your clients can supply data. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] wx-console under Linux
wx-console seems very flakey under Linux. The restore panel is not updated, and commands are not executed unless I constantly move my mouse over top the restore button after pressing it. It seems to work fine under Windows. Anyone else seen this behaviour? Doug Rintoul. --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] wx-console under Linux
Hello Doug, Which version of bacula are you using ? Are you using wxGTK 2.4 or 2.6 ? I had similar problems with wxGTK 2.4, please try to run wx-console with this command: # LD_ASSUME_KERNEL=2.4.19 wx-console or build it against wxGTK 2.6. Best regards, Nicolas On Tue, 2005-09-20 at 15:54 -0700, Doug Rintoul wrote: wx-console seems very flakey under Linux. The restore panel is not updated, and commands are not executed unless I constantly move my mouse over top the restore button after pressing it. It seems to work fine under Windows. Anyone else seen this behaviour? Doug Rintoul. --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Nicolas Boichat [EMAIL PROTECTED] --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users