[Bacula-users] Win32 SD/DIR
Pardon for sounding forgetful , but I remember something about a win32 port of the SD and DIR , of which I am more interested in the SD port. Any updates/files on this , would like to test it out. Thanks Daniel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Database Corrupt?
Hi , I've noticed this morning that my backups are failing , see below : 17-Mar 10:42 venus-dir: apollousers.2006-03-17_09.29.35 Fatal error: sql_create.c:851 sql_create.c:851 insert INSERT INTO Filename (Name) VALUES ('Copy of phone list new .xls') failed: Incorrect key file for table: 'Filename'. Try to repair it 17-Mar 10:42 venus-dir: apollousers.2006-03-17_09.29.35 Fatal error: sql_create.c:853 Create db Filename record INSERT INTO Filename (Name) VALUES ('Copy of phone list new .xls') failed. ERR=Incorrect key file for table: 'Filename'. Try to repair it 17-Mar 10:42 venus-dir: apollousers.2006-03-17_09.29.35 Fatal error: catreq.c:371 Attribute create error. sql_create.c:853 Create db Filename record INSERT INTO Filename (Name) VALUES ('Copy of phone list new .xls') failed. ERR=Incorrect key file for table: 'Filename'. Try to repair it Is it possible that my database can be corrupt? TIA Daniel --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Some advise needed
Hi Grant , sorry for late response been under the weather Syadmin wrote: Holy Snikeys! That sounds link no fun at all. First of all, doing a cp -v --preserve=all is not sufficient for backups, at the minimum you need to use tar (you do not need to make a tar archive, you can pipe with tar and just use it as a transport and archiving medium) or cpio. Cp will break under certain conditions and if there is a problem with any data on the disk it will simply fail, where as tar is designed to do mass archives so it will not break no matter how large (there are limits) the directory structure is and cpio will copy bad sectors happily. So which one would you recommend , tar or cpio , baring in mind I haven't used these commands.Could you maybe give a sample command to use? Doing incremental and differentials is kind of a waste of time as the differential will do all the same work as you're incremental's so you are doing the work over again. Differentials do incremental backups based on changes from the last full backup, where as incremental just save changes from the last incremental backup. I see what you mean here , so you would recommend doing only differentials ? How much data are you backing up from how many servers? What kind of recovery ability do you want to have as that will dictate what kind of backup methods you need to use, for example we do web hosting so I need to be able to provide full backups of several weeks (we all know hosting customers are notorious for updating sites with bad data and then not knowing about it for a while...) as well as provide reasonable backup and recovery times so the 1 full and 6 diff's fit our needs. What are your backup and recovery needs? Well , a full backup are about 60GB of data , and this get's done once a month. I then run incrementals on a daily basis and diffirentials bi-weekly. We are running some SQL servers with data that is faily critical , at the moment we are using 3rd party software to backup the SQL databases to a shared Windows drive and then bacula fetches those backups. I also backup our file servers ( both Win2000Server) , and our mail server. As for per workstation backup , I have only done this to our mission critical users (the CEO :) and some others). As for recovery , on the database side that is most important , as well as the file servers. I have done some dummy restores without problems , but to be honest have not really looked at a whole disaster recovery solution :) , which I am thinking is a good idea now. Of course it is easier to automate the backup and restore processes with scripts or bacula, but if all you want to do is archive the data with minimal recovery, all you REALLY need to do is use rsync and mirror the data from one disk to another then you can rotate those mirrors as often as you wish. Currently I have to shutdown the server , insert the 2 offsite disks (one for my SQL one for the rest) , copy the volumes over using cp *cringe* , dismount the offsites , shutdown the server and remove the offsite disks. Obviously this is not an ideal situation , shutting down a server every day , so I think I'll look into buying external media (USB hardrive). -Grant -Original Message- From: Danie Theron [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 2:19 AM To: Syadmin Cc: 'Bacula-Users' Subject: Re: [Bacula-users] Some advise needed Hi , Yes I only run disk based backups. I run one full backup monthly , with differentials every second week and then incrementals weekly. My offsites I use a straight 'cp -v --preserve=all' to copy those over to an offsite disk of which I have 3 I rotate. The copying is quite a lengthy process (creating dirs etc) , was wondering if won't be easier to automate it with either a script or bacula. Syadmin wrote: I take it you do not have a tape library or a drive, so you are doing backups to disk? What do you WANT to have happen? What is your offsite procedure? I have a 10 tape library and I run a full once a week and swap out those full tapes on a weekly basis so I always have 4 weeks of full backups in the library and a 5 week off site. Are you trying to accomplish something like the above? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danie Theron Sent: Thursday, March 09, 2006 9:49 AM To: Bacula-Users Subject: [Bacula-users] Some advise needed Hi All , I've been using bacula for a while now , and need to do a harddrive (SATA) upgrade (or shall I say bluntly I'm running out of disk space!).My problem is , I only have a 2U server (4 300GB SATA in RAID 5 array) , and 2 trays for my offsite disks.So , to briefly explain my setup (and please tell me where I need to specify more): 2U Intel Server with SATA RAID controller OS - Fedora Core 3 , resides on the RAID 5 array , 4 300GB Seagates (not sure if it's the safest bet) Bacula version - Version: 1.38.0
[Bacula-users] Some advise needed
Hi All , I've been using bacula for a while now , and need to do a harddrive (SATA) upgrade (or shall I say bluntly I'm running out of disk space!).My problem is , I only have a 2U server (4 300GB SATA in RAID 5 array) , and 2 trays for my offsite disks.So , to briefly explain my setup (and please tell me where I need to specify more): 2U Intel Server with SATA RAID controller OS - Fedora Core 3 , resides on the RAID 5 array , 4 300GB Seagates (not sure if it's the safest bet) Bacula version - Version: 1.38.0 (28 October 2005) For the offsites (and once again probably not the best way , any suggestions?) , I pop in the disk , mount it and then copy over the previous nights volumes. This however I've seen is quite tedious , and could possibly get confusing and difficult to manage. Would it be possible to rather setup a USB/Firewire disk , with a mount point for offsites and let bacula then backup the volumes? OK , so basically I need some advise on how to move forward with either this setup , or rethink my strategy. Also I must add I'm not an expert at this and it's basically been given to me to sort out. TIA Daniel --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Some advise needed
Hi , Yes I only run disk based backups. I run one full backup monthly , with differentials every second week and then incrementals weekly. My offsites I use a straight 'cp -v --preserve=all' to copy those over to an offsite disk of which I have 3 I rotate. The copying is quite a lengthy process (creating dirs etc) , was wondering if won't be easier to automate it with either a script or bacula. Syadmin wrote: I take it you do not have a tape library or a drive, so you are doing backups to disk? What do you WANT to have happen? What is your offsite procedure? I have a 10 tape library and I run a full once a week and swap out those full tapes on a weekly basis so I always have 4 weeks of full backups in the library and a 5 week off site. Are you trying to accomplish something like the above? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danie Theron Sent: Thursday, March 09, 2006 9:49 AM To: Bacula-Users Subject: [Bacula-users] Some advise needed Hi All , I've been using bacula for a while now , and need to do a harddrive (SATA) upgrade (or shall I say bluntly I'm running out of disk space!).My problem is , I only have a 2U server (4 300GB SATA in RAID 5 array) , and 2 trays for my offsite disks.So , to briefly explain my setup (and please tell me where I need to specify more): 2U Intel Server with SATA RAID controller OS - Fedora Core 3 , resides on the RAID 5 array , 4 300GB Seagates (not sure if it's the safest bet) Bacula version - Version: 1.38.0 (28 October 2005) For the offsites (and once again probably not the best way , any suggestions?) , I pop in the disk , mount it and then copy over the previous nights volumes. This however I've seen is quite tedious , and could possibly get confusing and difficult to manage. Would it be possible to rather setup a USB/Firewire disk , with a mount point for offsites and let bacula then backup the volumes? OK , so basically I need some advise on how to move forward with either this setup , or rethink my strategy. Also I must add I'm not an expert at this and it's basically been given to me to sort out. TIA Daniel --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula FileSet Problem
Try the following : FileSet { Name = fileset Include { File = c:/*.ppt File = c:/*.xls File = c:/*.txt } } KeenLearner (sent by Nabble.com) wrote: Hi to all, i am new to Bacula, so need ur help regarding File Set syntax. i have a mixed platform clients .like win-98, win-2000, win-xp, linux my requirement is to take backup of every txt, ppt, xls,sxw files from all the client machines. But as far as i knw abt bacula..we can exclude the file but cant say that take backup of only this extensions of files. If any one knw this then pls let me knw.. i have tried like this: FileSet { Name = fileset Include { File = c:/*.ppt File = c:/*.xls File = c:/*.txt } } but this is not at all working.. Pls help me out..this is little urgent Thanks Regards, KeenLearner View this message in context: Bacula FileSet Problem http://www.nabble.com/Bacula-FileSet-Problem-t1068670.html#a2779798 Sent from the Bacula - Users http://www.nabble.com/Bacula---Users-f547.html forum at Nabble.com. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Database errors
Hi , I did a dbcheck to clean up some orphaned jobs etc , now after backups I get the following errors : 12-Jan 11:34 venus-dir: mailx3.2006-01-11_21.05.07 Fatal error: sql_update.c:118 Update problem: affected_rows=0 12-Jan 11:34 venus-dir: mailx3.2006-01-11_21.05.07 Warning: Error updating job record. sql_update.c:174 Update problem: affected_rows=0 12-Jan 11:34 venus-dir: server.2006-01-11_21.05.08 Fatal error: sql_update.c:118 Update problem: affected_rows=0 12-Jan 11:34 venus-dir: server.2006-01-11_21.05.08 Warning: Error updating job record. sql_update.c:174 Update problem: affected_rows=0 12-Jan 11:34 venus-dir: BackupCatalog.2006-01-12_01.10.00 Fatal error: sql_update.c:118 Update problem: affected_rows=0 12-Jan 11:34 venus-dir: BackupCatalog.2006-01-12_01.10.00 Warning: Error updating job record. sql_update.c:174 Update problem: affected_rows=0 Not being a database expert , I'm not sure where to go from here , think i might have in my ignorance broken something :( TIA Daniel --- 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] Database
Hi , this is probably a newbie question , or I'm doing something wrong , but when i run the ./update_bacula_tables script I get: ERROR 1044 at line 1: Access denied for user: '@localhost' to database 'bacula' ERROR 1046 at line 3: No Database Selected ERROR 1046 at line 4: No Database Selected ERROR 1046 at line 5: No Database Selected ERROR 1046 at line 7: No Database Selected ERROR 1046 at line 8: No Database Selected ERROR 1046 at line 9: No Database Selected ERROR 1046 at line 10: No Database Selected ERROR 1046 at line 11: No Database Selected ERROR 1046 at line 13: No Database Selected ERROR 1046 at line 14: No Database Selected ERROR 1046 at line 17: No Database Selected ERROR 1046 at line 24: No Database Selected ERROR 1046 at line 31: No Database Selected ERROR 1046 at line 50: No Database Selected ERROR 1046 at line 56: No Database Selected ERROR 1046 at line 78: No Database Selected ERROR 1046 at line 79: No Database Selected Update of Bacula MySQL tables succeeded. Now I haven't changed the bacula database password or anything , where do I go look for the username and password that the script uses? TIA Daniel --- 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] WEB Interface to Bacula
Phil Stracchino wrote: Yu Safin wrote: is there any WEB Interface to Bacula that would do some or all of what you can do with ./bconsole for restores? Our servers don't have any X but they run Apache. There is not at this time any Bacula web administration GUI. I believe several people are working on creating one. There is a distro that includes a Web interface for bacula (not bconsole though) , goto www.clarkconnect.org --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Restore Problems
Hi , sorry for the long post :) Wanted to do a test restore , and it seems either my catalog is doing funny things , or I messed up in the Pool defs : +---+---+--+-+--+---+--++ | JobId | Level | JobFiles | StartTime | VolumeName | StartFile | VolSessionId | VolSessionTime | +---+---+--+-+--+---+--++ | 2,389 | F | 46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 | 2 |3 | 1,128,326,240 | | 2,389 | F | 46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 | 1 |3 | 1,128,326,240 | | 2,389 | F | 46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 | 1 |3 | 1,128,326,240 | | 2,389 | F | 46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 | 1 |3 | 1,128,326,240 | | 2,389 | F | 46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 | 1 |3 | 1,128,326,240 | | 2,389 | F | 46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 | 0 |3 | 1,128,326,240 | | 2,389 | F | 46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 | 0 |3 | 1,128,326,240 | | 2,389 | F | 46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 | 0 |3 | 1,128,326,240 | | 2,389 | F | 46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 | 0 |3 | 1,128,326,240 | | 2,389 | F | 46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 | 0 |3 | 1,128,326,240 | | 2,465 | D | 394 | 2005-10-09 01:14:41 | apollusersdiff-0001 | 0 | 20 | 1,128,695,386 | | 2,470 | I | 42 | 2005-10-09 21:31:35 | apollousersincr-0014 | 0 | 24 | 1,128,695,386 | | 2,482 | I | 109 | 2005-10-10 21:32:39 | apollousersincr-0011 | 0 |3 | 1,128,959,605 | | 2,482 | I | 109 | 2005-10-10 21:32:39 | apollousersincr-0011 | 0 |3 | 1,128,959,605 | | 2,482 | I | 109 | 2005-10-10 21:32:39 | apollousersincr-0011 | 0 |3 | 1,128,959,605 | +---+---+--+-+--+---+--++ Now , correct me if I'm wrong , but shouldn't it use the latest full , diff , as well as ALL the incr vols? Yet if I do a list media : *list media pool=apollousersincr +-+--+---+---+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-+--+---+---+--+--+-+--+---+---+-+ | 67 | apollousersincr-0001 | Used | 2,628,320,758 |0 |1,728,000 | 1 |0 | 0 | File | 2005-09-27 21:48:43 | | 76 | apollousersincr-0002 | Used | 2,500,204,331 |0 |1,728,000 | 1 |0 | 0 | File | 2005-09-23 21:45:27 | | 77 | apollousersincr-0003 | Used | 2,173,623,654 |0 |1,728,000 | 1 |0 | 0 | File | 2005-09-26 21:32:30 | | 78 | apollousersincr-0004 | Used | 5,658,242 |0 |1,728,000 | 1 |0 | 0 | File | 2005-09-25 21:17:45 | | 82 | apollousersincr-0005 | Used | 1,207,803,363 |0 |1,728,000 | 1 |0 | 0 | File | 2005-09-29 21:35:33 | | 89 | apollousersincr-0006 | Used | 1,187,813,180 |0 |1,728,000 | 1 |0 | 0 | File | 2005-10-06 21:31:37 | | 96 | apollousersincr-0007 | Used | 2,459,398,536 |0 |1,728,000 | 1 |0 | 0 | File | 2005-09-30 21:43:38 | | 103 | apollousersincr-0008 | Used | 2,864,756,783 |0 |1,728,000 | 1 |0 | 0 | File | 2005-10-07 21:48:15 | | 111 | apollousersincr-0009 | Used | 939,941,338 |0 |1,728,000 | 1 |0 | 0 | File | 2005-10-04 21:17:49 | | 120 | apollousersincr-0010 | Used | 229,669,022 |0 |1,728,000 | 1 |0 | 0 | File | 2005-10-08 21:20:27 | | 128 | apollousersincr-0011 | Used | 2,782,895,686 |0 |1,728,000 | 1 |0 | 0 | File | 2005-10-10 22:05:28 | | 136 | apollousersincr-0012 | Used | 2,898,126,863 |0 |1,728,000 | 1 |0 | 0 | File | 2005-10-05 21:49:40 | | 143 | apollousersincr-0013 | Used | 170,845,487 |0 |1,728,000 | 1 |
Re: [Bacula-users] I must have made someone mad
There is a distro built on CentOS 4.1 and some RHEL 4 , called ClarkConnect Home 3.0 (www.clarkconnect.org).It has its own web interface for bacula (very nice for beginners :).Haven't tried it out myself , but if you looking for a 'no frills no fuss' installation I think this is a good start. Just my 2c D Jo wrote: Hi Sherwood, I don't think you made anyone mad. It's just that we are very few here to help out. I don't feel very good at helping either. I'm having enough trouble to keep my own stuff running... My main problem with helping out other people is that it's very hard for me to live myself in into the other's situation. Anyway, FWIW, I also compiled Bacula 1.36.3 on CentOS 4.1 and here it behaves very well. If you look for a post of mine a few weeks back you'll find a very detailed description of what I did and which packages I needed to install before it would work. This is the mail I sent back then: People don't like Mandriva around here, so I'm forced to use a RH clone. Anyway, this is what I had to do in order to get it to install: Who knows? It might be useful for somebody. MySQL: rpm -ivh mysql-4.1.10a-2.RHEL4.1.i386.rpm mysql-devel-4.1.10a-2.RHEL4.1.i386.rpm mysql-server-4.1.10a-2.RHEL4.1.i386.rpm perl-DBD-MySQL-2.9004-3.1.i386.rpm perl-DBI-1.40-8.i386.rpm rpm -ivh mysqlclient10-3.23.58-4.RHEL4.1.i386.rpm mysqlclient10-devel-3.23.58-4.RHEL4.1.i386.rpm I didn't install a compiler during installation: rpm -ivh gcc-3.4.3-22.1.i386.rpm gcc-c++-3.4.3-22.1.i386.rpm glibc-devel-2.3.4-2.9.i386.rpm glibc-headers-2.3.4-2.9.i386.rpm glibc-kernheaders-2.4-9.1.87.i386.rpm libstdc++-devel-3.4.3-22.1.i386.rpm For conio: rpm -ivh ncurses-devel-5.4-13.i386.rpm rpm -ivh libtermcap-devel-2.0.8-39.i386.rpm For compression: rpm -ivh zlib-devel-1.2.1.2-1.i386.rpm cd /root mkdir bacula cd bacula wget http://heanet.dl.sourceforge.net/sourceforge/bacula/bacula-1.36.3.tar.gz tar xvzf bacula-1.36.3.tar.gz cd bacula-1.36.3 make distclean ./configure --with-mysql --enable-conio make make install It probably doesn't help, though I hope it does. Enjoy your weekend and get some rest! If you'd like I can also mail you the compiled daemons. They should work on any CentOS 4.1 system, I think. Jo --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Schedule behavior
Hi , For some reason my Schedule is not running as supposed.Here is a snip of my bacula-dir: Schedule { Name = WeeklyCycle Run = Full 1st mon at 21:05 # Run = Differential 2nd-5th sun at 1:05 Run = Incremental mon-sun at 21:05 } Schedule { Name = WeeklydiffCycle Run = Full 1st mon at 21:05 Run = Differential 2nd-5th sun at 1:05 Run = Incremental mon-sun at 21:05 } As you can see certain Jobs I run with a differential included , and some not.I made this alteration quite recently and now my full backups are not happening as expected.I have basically used the example in the manual Using Pools to recycle Volumes to cycle through my volumes.I also did a status all , and found the following: Level Type Pri Scheduled Name Volume === IncrementalBackup 1 06-Sep-05 21:05apolloprof server-0003 IncrementalBackup 2 06-Sep-05 21:05apollosql server-0003 IncrementalBackup 3 06-Sep-05 21:05apollousers server-0003 IncrementalBackup 3 06-Sep-05 21:05apollodesign server-0003 IncrementalBackup 6 06-Sep-05 21:05sql server-0003 IncrementalBackup 6 06-Sep-05 21:05te_hdrive server-0003 IncrementalBackup 7 06-Sep-05 21:05verpaktshare server-0003 IncrementalBackup 8 06-Sep-05 21:05mailx3 server-0003 IncrementalBackup10 06-Sep-05 21:05server *unknown* Full Backup11 07-Sep-05 01:10BackupCatalog *unknown* IncrementalBackup 6 07-Sep-05 03:05tyrone server-0003 IncrementalBackup 6 07-Sep-05 03:05craig server-0003 IncrementalBackup 6 07-Sep-05 03:05jeremy server-0003 IncrementalBackup 6 07-Sep-05 03:05wks1old server-0003 Not sure why it wants to use the same volume for each job , but yet it uses the right volumes when the backup actually starts: 02-Sep 21:12 venus-dir: Start Backup JobId 2019, Job=apollodesign.2005-09-02_21.05.03 02-Sep 21:13 apollo-fd: DIR and FD clocks differ by 41 seconds, FD automatically adjusting. 02-Sep 21:12 venus-dir: Pruned 1 Job on Volume apollodesignincr-0018 from catalog. 02-Sep 21:12 venus-dir: Pruned 1 Job on Volume apollodesignincr-0019 from catalog. 02-Sep 21:12 venus-dir: Recycled volume apollodesignincr-0018 02-Sep 21:12 venus-sd: Recycled volume apollodesignincr-0018 on device /arch/apollo/design, all previous data lost. 02-Sep 21:13 venus-dir: Max Volume jobs exceeded. Marking Volume apollodesignincr-0018 as Used. 02-Sep 21:13 venus-dir: Bacula 1.36.3 (22Apr05): 02-Sep-2005 21:13:17 Is my Catalog corrupted *cringe* ?Obviously I was not aware of my problem as all the backups appeared to be running smoothly untill now :( If needed I can post my whole bacula-dir.conf (quite lengthy) for a more complete analysis.Oh one last question , when I manually run full Jobs , I have to manually label the volumes , is this correct? TIA Danie --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] client fileset
Ok , tested it : bacula-dir works with : Include { Options { signature = SHA1 } File = "\\C:/bacula/bin/include.txt" -forgot to remove the / } What is the correct syntax in the actual include.txt file ? I tried diff combinations : "c:/danie" - Could not stat "c:/danie": ERR=The filename, directory name, or volume label syntax is incorrect. c:/danie - this one didn't come up with an error but nothing is backed up Would really like to get this going on my win32 machines , so any help/hints/tips would be appreciated. LHERBIER Lois wrote: Danie Theron wrote: I assume the consideration for Win32 clients is also possible? ex: Include { Options { signature = SHA1 } File = "\\/C:/filelist-on-client" } Yes, this is also possible on Win32 clients. But I did not remember the exact syntax. Lois Lherbier LHERBIER Lois wrote: Hi, from the Bacula documentation : --- If you precede the less-than sign () with a backslash as in \, the file-list will be read on the Client machine instead of on the Director's machine. Please note that if the filename is given within quotes, you will need to use two slashes. Include { Options { signature = SHA1 } File = "\\/home/xxx/filelist-on-client" } --- With this it is easy to have a standard file on all the computers that can be modified by the users. Los Lherbier Sim Zacks wrote: Is there any way to allow the client computer to define the fileset that they would like backed up? The way I understand it all the FileSets must be defined in the director, which means if I want the users to define their own backup parameters then they would have to have access to the director, which obviously I don't want to give them. Thank You Sim --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] client fileset
Kern Sibbald wrote: It would be helpful if you send to this list in text format because some of us such as myself consider HTML to be a security problem (though rather minor). My humblest apologies *blush* , reinstalled my workstation and forgot to add lists.sourceforge.net (and sibbald.com :)) as my Plain Text domain. Be sure to check the development manual on this issue as the version shipped with 1.36.3 had a number of places where the text was out of date and thus erroneous. OK , my bacula-dir 's Fileset resource looks as follows : FileSet { Name = wks1old Set Include { Options { compression = GZIP6 wildfile = *.exe wildfile = *.mp3 wildfile = *.tmp exclude = yes } # File = f:/sqldumps File = \\C:/bacula/bin/include.txt } } And my include.txt file : c:/Documents and Settings/danie When I do an estimate : Connecting to Client wks1old-fd at wks1-old.verpakt.com:9102 2000 OK estimate files=0 bytes=0 Not sure where I'm going wrong seeing as all seems fine. Any help will be greatly appreciated TIA D --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] client fileset
I assume the consideration for Win32 clients is also possible? ex: Include { Options { signature = SHA1 } File = "\\/C:/filelist-on-client" } LHERBIER Lois wrote: Hi, from the Bacula documentation : --- If you precede the less-than sign () with a backslash as in \, the file-list will be read on the Client machine instead of on the Director's machine. Please note that if the filename is given within quotes, you will need to use two slashes. Include { Options { signature = SHA1 } File = "\\/home/xxx/filelist-on-client" } --- With this it is easy to have a standard file on all the computers that can be modified by the users. Los Lherbier Sim Zacks wrote: Is there any way to allow the client computer to define the fileset that they would like backed up? The way I understand it all the FileSets must be defined in the director, which means if I want the users to define their own backup parameters then they would have to have access to the director, which obviously I don't want to give them. Thank You Sim --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Web interface?
Jesse Keating wrote: On Mon, 2005-07-11 at 14:18 -0400, Rushowr wrote: I've heard tell about a web interface for bacula that is out and about, not the wekula project (which hasn't released anything). I even googled, found nothing, but DID find someone's online web interface that does indeed access a bacula system. Anyone know where I can find this? I like the console but my other admins prefer a web interface Only one I know of is bacula-web which is just reporting on past jobs and such, not actually running jobs. You might want to look at ClarkConnect , seems they've incorporated it in their distro , looks promising... http://www.clarkconnect.org/projects/backup.php My 2cents D --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Web interface?
Kern Sibbald wrote: On Tuesday 12 July 2005 09:59, Danie Theron wrote: Jesse Keating wrote: On Mon, 2005-07-11 at 14:18 -0400, Rushowr wrote: I've heard tell about a web interface for bacula that is out and about, not the wekula project (which hasn't released anything). I even googled, found nothing, but DID find someone's online web interface that does indeed access a bacula system. Anyone know where I can find this? I like the console but my other admins prefer a web interface Only one I know of is bacula-web which is just reporting on past jobs and such, not actually running jobs. You might want to look at ClarkConnect , seems they've incorporated it in their distro , looks promising... http://www.clarkconnect.org/projects/backup.php They seem to have a nice web interface to Bacula cc-bacula. They also mention that they have made a good number of bug fixes to Bacula (too bad they are apparently not submitting them to the bugs database). Does anyone know where the source of their changes are? I cannot seem to find them -- the only thing I find are the ISOs. I've sent an email request to their support just a few minutes ago requesting the source. Maybe try the forums as well http://www.clarkconnect.org/forums/showflat.php?Cat=Board=backupNumber=70645page=0view=expandedsb=5o=fpart=1 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backup by most recent timestamp/job
Misty Stanley-Jones wrote: On Friday 03 June 2005 10:20 am, Josh Valmas wrote: Bacula does auto file naming for me, so my retention period (week-diff/month- full) will keep backup files around for ahwhile on the disk, and then recycle them the next time through. I want to grab the most recent volumes that bacula records to, and plop them on a disk. But because it could be server-Full-001, or server-Full-001, etc., I don't know how to tell the backup-to-tape fileset to grab the most recent volume, and leave the rest alone because I have no desire to backup EVERYTHING to tape, just the previous nights backup jobs. Thanks in advance for any help/ideas you guys have to offer. Josh V. Here is what I did. This will have to work for me until the clone feature makes it into a released version. In the job def I have: Run After Job = /root/bacula_postexec.sh %v The %v gets expanded to the volume name. Here is the shell script. It is simple and gets the job done. I could not get bcopy to work. With this way you will have to restore the volume to the disk before you can use it. -- #!/bin/bash # Take the volume name from the command line disk_volume=$1 # Take the week number from a file (we have 3 weeks of tapes) weeknum=`cat /root/weeknum` # Take the day of the week for the tape label day=`date -d yesterday +%a|tr '[A-Z]' '[a-z]'` cd /etc/bacula # Rewind the tape -- we will have every job in the volume and don't need more mt rewind # Write the volume to the tape with a label tar cvf /dev/nst0 -V oink-$day-$weeknum /backup/$disk_volume # This lets me know the copy finished mt offline # Increment the weeknum at the end of the week if [ $weekday='sat' ] then let weeknum=$weeknum+1 if [ $weeknum 3 ] then weeknum=1 fi echo $weeknum /root/weeknum fi Hi , I'm basically doing the same , but I copy my volumes to disk for offsite usage. Now I am a bit fo a newbie when it comes to scripts , but this script looks like exactly what I need to automate my offsite backups , however I will probably manually run the script everyday. If anyone has the time / patience to guide me through this I would greatly appreciate it. I run a full backup 1st Sun of every month with daily Incrementals after that (hope this is an OK strategy?) , and I copy the latest (the previous day's) volumes to the offsite disk.Basically what I do is to create a dir wth the date , and then copy the volumes to their respective dir on the offsite disk ex: mkdir /offsite1/apollo/2005-06-06 cp -v --preserve=all /arch/apollo/apollousersincr-0010 /offsite1/apollo/2005-06-06 Thanks in advance! D --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] RAID1
Mike Reinehr wrote: On Wednesday 25 May 2005 04:34 am, Jo wrote: Danie Theron wrote: Hi , I know this is a bit off bacula topic probably. I want to remove RAID1 from a disk , everytime I boot it it's looking for the 2nd disk. I want to simpy boot into a normal vanilla disk. Can I edit the fstab and just change the /dev/md0 device to whatever the disk is (/dev/hda) ? I'm really at odds here , if anyone can maybe help me or point me in the right direction that would be great. You formatted gave that partition on /dev/hda a RAID type. So it will be impossible to access it directly that way. The best thing to do is to add a disk, copy everything over and then reformat the disk with the RAID partition and copy it all back. Or else keep everything on the new disk. I don't think that's really necessary, since RAID1 is mirroring. I've been able to mount the individual partitions (with RAID not running) as regular linux partitions (usually ext3) with no untoward effects. The RAID superblock doesn't seem to interfere with the file system. All that's necessary is to change the partition type so that the kernel doesn't identify it as a RAID partition and keep trying to start the array. You can then zero the RAID superblock for good measure. Of course the even better thing would be to rebuild your RAID array with such a new disk. raidhotadd is your friend. Don't forget to modify your /etc/raidtab if you go that way. I would recommend using mdadm. I found it much easier to learn and very reliable. Jo Hi guys , Thanks a mill for your inputs.I basically removed all the info in the raidtab file and then rebooted the OS , and it seemed all worked fine now. I am just concerned that the superblock may become corrupt? (sorry limited knowledge and paranoia talking here). D --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] RAID1
Hi , I know this is a bit off bacula topic probably. I want to remove RAID1 from a disk , everytime I boot it it's looking for the 2nd disk. I want to simpy boot into a normal vanilla disk. Can I edit the fstab and just change the /dev/md0 device to whatever the disk is (/dev/hda) ? I'm really at odds here , if anyone can maybe help me or point me in the right direction that would be great. Thanks in advance! Danie --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Upgraded to 1.36.3 , still Restores everything
Hi , OK , upgraded to 1.36.3 ( thanks goes to Arno and Andrew). Did a test restore of a users directory , but still it seems bacula wants to restore everything. I'm running the following setup : Fedora Core 3 with RAID 5 (4 x 300GB Seagate Barracudas) , running /usr/bin/mysqladmin Ver 8.23 Distrib 3.23.58, for redhat-linux-gnu on i386 The job will require the following Volumes: apollousersfull-0005 9 files selected to be restored. The defined Restore Job resources are: 1: RestoreFiles 2: RestoreApolloUsersIncr Select Restore Job (1-2): 2 Defined Clients: 1: mailx3-fd 2: danie-fd 3: rock-fd 4: venus-fd 5: apollo-fd 6: mercury-fd 7: tyrone-fd 8: errol-fd Select the Client (1-8): 2 Run Restore job JobName:RestoreApolloUsersIncr Bootstrap: /var/bacula/restore.bsr Where: /e/tmp/bacula-restores Replace:always FileSet:apollousers Set Client: danie-fd Storage:verpaktshareFile When: 2005-05-18 10:03:42 Catalog:MyCatalog Priority: 10 OK to run? (yes/mod/no): mod Parameters to modify: 1: Level 2: Storage 3: Job 4: FileSet 5: Client 6: When 7: Priority 8: Bootstrap 9: Where 10: Replace 11: JobId Select parameter to modify (1-11): 8 Please enter the Bootstrap file name: /var/bacula/apollousers.bsr Run Restore job JobName:RestoreApolloUsersIncr Bootstrap: /var/bacula/apollousers.bsr Where: /e/tmp/bacula-restores Replace:always FileSet:apollousers Set Client: danie-fd Storage:verpaktshareFile When: 2005-05-18 10:03:42 Catalog:MyCatalog Priority: 10 OK to run? (yes/mod/no): mod Parameters to modify: 1: Level 2: Storage 3: Job 4: FileSet 5: Client 6: When 7: Priority 8: Bootstrap 9: Where 10: Replace 11: JobId Select parameter to modify (1-11): 2 The defined Storage resources are: 1: verpaktshareFile 2: mailx3File 3: apolloprofFile 4: apollosqlFile 5: apollousersFile 6: rocksqlFile 7: rockprofFile 8: sqlFile 9: winFile 10: File Select Storage resource (1-10): 5 Run Restore job JobName:RestoreApolloUsersIncr Bootstrap: /var/bacula/apollousers.bsr Where: /e/tmp/bacula-restores Replace:always FileSet:apollousers Set Client: danie-fd Storage:apollousersFile When: 2005-05-18 10:03:42 Catalog:MyCatalog Priority: 10 OK to run? (yes/mod/no): mod Parameters to modify: 1: Level 2: Storage 3: Job 4: FileSet 5: Client 6: When 7: Priority 8: Bootstrap 9: Where 10: Replace 11: JobId Select parameter to modify (1-11): 4 The defined FileSet resources are: 1: verpaktshare Set 2: mailx3 Set 3: apollosql Set 4: apolloprof Set 5: apollousers Set 6: apollodesign Set 7: te_hdrive Set 8: rocksql Set 9: rockprof Set 10: sql Set 11: Windows 2000 Set 12: Full Set 13: Catalog Select FileSet resource (1-13): 5 Run Restore job JobName:RestoreApolloUsersIncr Bootstrap: /var/bacula/apollousers.bsr Where: /e/tmp/bacula-restores Replace:always FileSet:apollousers Set Client: danie-fd Storage:apollousersFile When: 2005-05-18 10:03:42 Catalog:MyCatalog Priority: 10 OK to run? (yes/mod/no): yes Job started. JobId=627 *messages 18-May 10:04 venus-dir: Start Restore Job RestoreApolloUsersIncr.2005-05-18_10.04.23 *messages You have no messages. *messages You have no messages. *messages You have no messages. *messages You have no messages. *messages 18-May 10:04 venus-sd: Ready to read from volume apollousersfull-0005 on device /arch/apollo/users. danie-fd: drwxrwxrwx 1 00 0 2003-12-10 17:05:17 /e/tmp/bacula-restores/d//Users/Admin/ danie-fd: -rwxrwxrwx 1 00 45103616 2004-08-16 08:02:00 /e/tmp/bacula-restores/d//Users/antoinette/Personal Folders(1).pst *messages You have no messages. *messages You have no messages. *messages You have no messages. *messages You have no messages. *messages You have no messages. *messages You have no messages. *messages You have no messages. *cancel Automatically selected Job: RestoreApolloUsersIncr.2005-05-18_10.04.23 Confirm cancel (yes/no): yes 2001 Job RestoreApolloUsersIncr.2005-05-18_10.04.23 marked to be canceled. 3000 Job RestoreApolloUsersIncr.2005-05-18_10.04.23 marked to be canceled. You have messages. *messages 18-May 10:04 venus-sd: RestoreApolloUsersIncr.2005-05-18_10.04.23 Fatal error: read.c:132 Error sending to File daemon. ERR=Input/output error 18-May 10:04 venus-sd: RestoreApolloUsersIncr.2005-05-18_10.04.23 Error: bnet.c:411 Wrote -4 bytes to client:192.168.135.153:36643, but only 19279 accepted. 18-May 10:06 danie-fd: RestoreApolloUsersIncr.2005-05-18_10.04.23 Fatal error: ..\filed\../../filed/restore.c:125 Data record error. ERR=The operation completed successfully. 18-May 10:04 venus-dir: Bacula 1.36.3 (22Apr05): 18-May-2005 10:04:47 JobId:
Re: [Bacula-users] Upgrading from 1.34.6 to 1.36.3
Andrew Paterson wrote: Hi, I am considering upgrading from 1.34.6 to 1.36.3 and am (double!) checking the required DB updates. It appears that the Database schema follows its own versioning independent of the bacula source code (seems sensible). I conclude that I am running a Version 7 database schema (select * from Version;). Bacula 1.36.3 requires me to upgrade to a Version 8 database schema. What I am a little uncertain about is as follows: There are two scripts for upgrading the schema from V7 to V8: updatedb/update_mysql_tables_7_to_8 and src/cats/update_mysql_tables These scripts are similar, except that the one in src/cats has been built by configure and points to where my DB utils (mysql-4.0.21) reside and will therefore execute successfully - I would need to fix paths in the updatedb script. In addition, the src/cats script does not verify that the current DB version is V7 before continuing whereas the updatedb script does (i.e. the src/cats version just assumes this to be the case - rerunning it would I assume just result in a load of harmless sql errors). Most significantly, the src/cats script creates a new table (CDImages) whereas the updateeb script does not. I conclude that for my upgrade (1.34.6-1.36.3) (Mysql database V7-V8) I only need to run the src/cats/update_mysql_tables script. The script in updatedb being redundant in this case. Can some kind soul who has been through this upgrade already verify this for me? Andrew R Paterson Systems Engineer DS Ltd Hi Andrew , I have also posted questions about upgrading to 1.36.3 , no answers yet. Did you install bacula from the rpms (which I did) or from the .tar package? I would really like to upgrade (having some restore issues with my current version 1.36.2) , and I DON'T want to muck up my current installation. Could you possibly (if you already have) explain to me how you went about upgrading. Thanks in advance! D --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore Question
Kern Sibbald wrote: I just upgrade and see if that solves the problem? Yes please upgrade -- be careful, I believe there is a database upgrade. OK , I read the documentation on upgrading , I have however used the install binaries for FC3. Does this change the upgrade procedure in any way ? Will the rpm handle the database upgrade aswell ? (obviously I'm making a dump of my database etc). Awaiting your response and thanks in advance D --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore Question
Kern Sibbald wrote: It looks to me like you are running on a pretty old version of Bacula since the bsr file does not contain counts. What version are you using? If you are on anything older than 1.36.2, then please upgrade to 1.36.3 and retry. If it produces the same thing, please submit a bug report with the commands you used to do the restore (as you have below), the bsr file (as below), and the job report output from the restore job as you have summarized it below, but please also include the Job Report Summary written at the end of the job. On Wednesday 11 May 2005 09:28, Danie Theron wrote: Kern Sibbald wrote: On Tuesday 10 May 2005 16:15, Danie Theron wrote: Hi , I want to do a restore of a single user directory from a full volume , and everytime it wants to restore ALL the files of that full backup. I have defined the bootstrap , Filestorage etc correctly... Why would this happen? *restore First you select one or more JobIds that contain files to be restored. You will be presented several methods of specifying the JobIds. Then you will be allowed to select which files from those JobIds are to be restored. To select the JobIds, you have the following choices: 1: List last 20 Jobs run 2: List Jobs where a given File is saved 3: Enter list of comma separated JobIds to select 4: Enter SQL list command 5: Select the most recent backup for a client 6: Select backup for a client before a specified time 7: Enter a list of files to restore 8: Enter a list of files to restore before a specified time 9: Cancel Select item: (1-9): 3 Enter JobId(s), comma separated, to restore: 157 You have selected the following JobId: 157 Building directory tree for JobId 157 ... + 1 Job, 20,229 files inserted into the tree. cwd is: / $ unmark * 20230 files unmarked. $ count 20,230 total files/dirs. 0 marked to be restored. $ cd d:/Users/rudolf cwd is: d:/Users/rudolf/ $ mark * 3,248 files marked. $ count 20,230 total files/dirs. 3,251 marked to be restored. All is fine , I modify the needed parameters , but it restores everything It is hard to believe, please show me the output and the bootstrap file. Kern , Here's a snip of the restore job 10-May 17:59 venus-dir: Start Restore Job RestoreApolloUsersFull.2005-05-10_17.59.56 10-May 18:00 venus-sd: Ready to read from volume apollousersfull-0002 on device /arch/apollo/users. danie-fd: drwxrwxrwx 1 00 0 2003-12-10 17:05:17 /e/tmp/bacula-restores/d//Users/Admin/ danie-fd: drwxrwxrwx 1 00 0 2003-12-10 17:05:58 /e/tmp/bacula-restores/d//Users/antoinette/ danie-fd: drwxrwxrwx 1 00 0 2003-12-10 16:09:05 /e/tmp/bacula-restores/d//Users/Barry/ danie-fd: -rwxrwxrwx 1 00 1997 2005-02-11 10:46:35 /e/tmp/bacula-restores/d//Users/ben/Credit.csv danie-fd: -rwxrwxrwx 1 00 118272 2005-02-11 10:49:44 /e/tmp/bacula-restores/d//Users/ben/Problem on Casper.doc danie-fd: -rwxrwxrwx 1 00 0 2005-02-23 16:22:49 /e/tmp/bacula-restores/d//Users/ben/ danie-fd: drwxrwxrwx 1 00 0 2005-02-04 15:05:44 /e/tmp/bacula-restores/d//Users/ben/ danie-fd: -rwxrwxrwx 1 00 19968 2005-02-21 16:13:12 /e/tmp/bacula-restores/d//Users/celeste/Celeste/Interview Questions.doc danie-fd: -rwxrwxrwx 1 00 20480 2005-02-23 17:47:24 /e/tmp/bacula-restores/d//Users/celeste/Celeste/LIST OF THINGS TO DO FOR NEW PA.doc danie-fd: -rwxrwxrwx 1 00 22016 2005-01-06 15:47:32 /e/tmp/bacula-restores/d//Users/celeste/Celeste/Terminology.doc danie-fd: drwxrwxrwx 1 00 0 2005-01-06 15:47:27 /e/tmp/bacula-restores/d//Users/celeste/Celeste/ danie-fd: -rwxrwxrwx 1 00 41984 2004-11-24 10:12:56 /e/tmp/bacula-restores/d//Users/celeste/Correspondence/E.Goott Balance Sheet.doc danie-fd: -rwxrwxrwx 1 00 33280 2004-11-15 09:58:45 /e/tmp/bacula-restores/d//Users/celeste/Correspondence/MLS address change.doc danie-fd: -rwxrwxrwx 1 00 108544 2005-01-31 17:48:06 /e/tmp/bacula-restores/d//Users/celeste/Correspondence/Pierre Lease Norwood.doc danie-fd: -rwxrwxrwx 1 00 43520 2004-11-24 11:20:01 /e/tmp/bacula-restores/d//Users/celeste/Correspondence/Sandra Mart Letter.doc danie-fd: -rwxrwxrwx 1 00 41472 2004-11-24 10:57:33 /e/tmp/bacula-restores/d//Users/celeste/Correspondence/Std Bank Delivery Balance Sheet.doc danie-fd: drwxrwxrwx 1 00 0 2004-11-15 09:57:43 /e/tmp/bacula-restores/d//Users/celeste/Correspondence/ danie-fd: -rwxrwxrwx 1 00 23040 2004-12-14 15:10:08 /e/tmp/bacula-restores/d//Users/celeste/Errol/Expenses London Nebraska Nov04.xls danie-fd: drwxrwxrwx 1 00 0 2004-12-14 15:10:01 /e/tmp/bacula-restores/d//Users/celeste/Errol/ danie-fd
Re: [Bacula-users] Restore Question
Kern Sibbald wrote: On Wednesday 11 May 2005 10:52, Danie Theron wrote: Kern Sibbald wrote: It looks to me like you are running on a pretty old version of Bacula since the bsr file does not contain counts. What version are you using? If you are on anything older than 1.36.2, then please upgrade to 1.36.3 and retry. If it produces the same thing, please submit a bug report with the commands you used to do the restore (as you have below), the bsr file (as below), and the job report output from the restore job as you have summarized it below, but please also include the Job Report Summary written at the end of the job. ... Well, if I understand what you are doing, you are using the restore command, but at the last minute you set the Bootstrap file to none. If that is the case, I am surprised that it works at all, and if it does work, surely it is going to restore everything. In effect, you shot yourself in the foot. Without a bootstrap file you cannot restore only a portion of the files. Kern , I ran the same job with the bootstrap specified (sorry for the long paste , thought I'd include all the steps I did) Building directory tree for JobId 495 ... ++ 1 Job, 184 files inserted into the tree. You are now entering file selection mode where you add (mark) and remove (unmark) files to be restored. No files are initially added, unless you used the all keyword on the command line. Enter done to leave this mode. cwd is: / $ unmark No files unmarked. $ cd d: cwd is: d:/ $ cd Users cwd is: d:/Users/ $ cd kaygee cwd is: d:/Users/kaygee/ $ mark * 1 files marked. $ done Bootstrap records written to /var/bacula/restore.bsr The job will require the following Volumes: apollousersincr-0022 1 file selected to be restored. The defined Restore Job resources are: 1: RestoreFiles 2: RestoreApolloUsersFull Select Restore Job (1-2): 2 Defined Clients: 1: mailx3-fd 2: danie-fd 3: rock-fd 4: venus-fd 5: apollo-fd 6: mercury-fd 7: tyrone-fd 8: errol-fd Select the Client (1-8): 2 Run Restore job JobName:RestoreApolloUsersFull Bootstrap: /var/bacula/restore.bsr Where: /e/tmp/bacula-restores Replace:always FileSet:apollousers Set Client: danie-fd Storage:verpaktshareFile When: 2005-05-11 11:05:47 Catalog:MyCatalog Priority: 10 OK to run? (yes/mod/no): mod Parameters to modify: 1: Level 2: Storage 3: Job 4: FileSet 5: Client 6: When 7: Priority 8: Bootstrap 9: Where 10: Replace 11: JobId Select parameter to modify (1-11): 8 Please enter the Bootstrap file name: /var/bacula/apollousers.bsr Run Restore job JobName:RestoreApolloUsersFull Bootstrap: /var/bacula/apollousers.bsr Where: /e/tmp/bacula-restores Replace:always FileSet:apollousers Set Client: danie-fd Storage:verpaktshareFile When: 2005-05-11 11:05:47 Catalog:MyCatalog Priority: 10 OK to run? (yes/mod/no): mod Parameters to modify: 1: Level 2: Storage 3: Job 4: FileSet 5: Client 6: When 7: Priority 8: Bootstrap 9: Where 10: Replace 11: JobId Select parameter to modify (1-11): 2 The defined Storage resources are: 1: verpaktshareFile 2: mailx3File 3: apolloprofFile 4: apollosqlFile 5: apollousersFile 6: rocksqlFile 7: rockprofFile 8: sqlFile 9: winFile 10: File Select Storage resource (1-10): 5 Run Restore job JobName:RestoreApolloUsersFull Bootstrap: /var/bacula/apollousers.bsr Where: /e/tmp/bacula-restores Replace:always FileSet:apollousers Set Client: danie-fd Storage:apollousersFile When: 2005-05-11 11:05:47 Catalog:MyCatalog Priority: 10 OK to run? (yes/mod/no): mod Parameters to modify: 1: Level 2: Storage 3: Job 4: FileSet 5: Client 6: When 7: Priority 8: Bootstrap 9: Where 10: Replace 11: JobId Select parameter to modify (1-11): 4 The defined FileSet resources are: 1: verpaktshare Set 2: mailx3 Set 3: apollosql Set 4: apolloprof Set 5: apollousers Set 6: te_hdrive Set 7: rocksql Set 8: rockprof Set 9: sql Set 10: Windows 2000 Set 11: Full Set 12: Catalog Select FileSet resource (1-12): 5 Run Restore job JobName:RestoreApolloUsersFull Bootstrap: /var/bacula/apollousers.bsr Where: /e/tmp/bacula-restores Replace:always FileSet:apollousers Set Client: danie-fd Storage:apollousersFile When: 2005-05-11 11:05:47 Catalog:MyCatalog Priority: 10 OK to run? (yes/mod/no): yes Job started. JobId=529 Still it restores everything. not sure what I'm doing wrong , should I just upgrade and see if that solves the problem? --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now
Re: [Bacula-users] Webmin module for Bacula
Roland Giesler wrote: Is there a webmin module for bacula that allows complete config and operation of bacula? I see there is a restore module at http://webadminmodules.sourceforge.net/?page=Servers, but what about the make backup module? If there is none, then how can I adminstrate the bacula service remotely via the SSH or webinterface? I've searched google endlessly this morning, but cannot find it, only KDE or GNOME management tools. Thanks Roland Giesler Roland , If you are looking at a clean install backup server try http://www.clarkconnect.org/projects/backup.php Still in beta phase , so maybe wait for the official release if you're interested. Alternatively just ssh into the box and user bconsole (obviously after you have read the manual etc) --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Restore Question
Hi , I want to do a restore of a single user directory from a full volume , and everytime it wants to restore ALL the files of that full backup. I have defined the bootstrap , Filestorage etc correctly... Why would this happen? *restore First you select one or more JobIds that contain files to be restored. You will be presented several methods of specifying the JobIds. Then you will be allowed to select which files from those JobIds are to be restored. To select the JobIds, you have the following choices: 1: List last 20 Jobs run 2: List Jobs where a given File is saved 3: Enter list of comma separated JobIds to select 4: Enter SQL list command 5: Select the most recent backup for a client 6: Select backup for a client before a specified time 7: Enter a list of files to restore 8: Enter a list of files to restore before a specified time 9: Cancel Select item: (1-9): 3 Enter JobId(s), comma separated, to restore: 157 You have selected the following JobId: 157 Building directory tree for JobId 157 ... + 1 Job, 20,229 files inserted into the tree. cwd is: / $ unmark * 20230 files unmarked. $ count 20,230 total files/dirs. 0 marked to be restored. $ cd d:/Users/rudolf cwd is: d:/Users/rudolf/ $ mark * 3,248 files marked. $ count 20,230 total files/dirs. 3,251 marked to be restored. All is fine , I modify the needed parameters , but it restores everything -- Danie Theron IT Consultant [EMAIL PROTECTED] +27833552998 -- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -- --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Using bls hangs on large files
[EMAIL PROTECTED] wrote: I have been trying to use bls on my backup files to determine what jobs are in them. It works on small test files but on real backups which are approx 35 GBytes it gets stuck after printing a few lines. The backups are all made to files using USB disk drives and contain jobs for multiple clients. Can anyone suggest how I can fix this problem please? TIA Graham Dicker Graham , Maybe try and use the query command in bconsole to see what jobs have been run for a particular client. -- Danie Theron IT Consultant [EMAIL PROTECTED] +27833552998 -- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -- --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula1.36.3-pre1 question
Hi , Is the cloning feature included in this new release , where you can have multiple storage resources for one job? Currently I'm just copying my volumes to a different disk for offsite storageprob not best practise but all I have at the mo -- Danie Theron IT Consultant [EMAIL PROTECTED] +27833552998 -- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -- -- Danie Theron IT Consultant [EMAIL PROTECTED] +27833552998 -- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -- --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Excludes
Hi , Just a quick question , wildcards (*.zip etc) does work , does this also imply that it works for let's say a file beginning with filefull (filefull*).Will this work? Regards , Danie Theron Network Administrator : Verpakt Management Services email: [EMAIL PROTECTED] -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 2005/04/11 --- 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_ide95alloc_id396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Error when adding 3rd backup resource in dir.conf
{ Name = apollosqlincr Pool Type = Backup Recycle = yes Autoprune = yes Volume Retention = 20 days Accept Any Volume = yes Maximum Volume Jobs = 6 Label Format = apollosqlincr- Maximum Volumes = 5 } Pool { Name = apollosqldiff Pool Type = Backup Recycle = yes Autoprune = yes Volume Retention = 40 days Accept Any Volume = yes Maximum Volume Jobs = 1 Label Format = apollosqldiff- Maximum Volumes = 6 } # END APOLLO SQL DEFINITIONS After I added the last definition set I got that error. Regards , Danie Theron Network Administrator : Verpakt Management Services email: [EMAIL PROTECTED] tel: +2711 6020117 cell : +27833552998 If you dislike change, you're going to dislike being irrelevant even more. I am root. If you see me laughing, you better have a backup. -- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -- -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 2005/04/01 --- 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_ide95alloc_id396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bextract error
Hi , Ok tried the bextract cmd again got : bextract -V apolloprofilesfull-0001 /offsite1/apolloprofiles /tmp bextract: butil.c:258 Using device: /offsite1/apolloprofiles for reading. 01-Apr 13:14 bextract: bextract Warning: Could not unserialize Volume label: ERR=label.c:205 Expecting Volume Label, got FI=SOS_LABEL Stream=16 len=181 Mount Volume apolloprofilesfull-0001 on device /offsite1/apolloprofiles and press return when ready: This was after I used bcopy to copy the original volume to the offite disk.My sd.conf is as follows: #START APOLLOPROFILES OFFSITE1 STORAGE DEFINITIONS Device { Name = apolloprofilesoffsite1FileStorage Media Type = File Archive Device = /offsite1/apolloprofiles LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } I basically just recreated the Storage definition for the offsite disk (although I don't actually run a job for it from the console) , will it work if I change RemovableMedia to yes? Regards , Danie Theron --- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bcopy
Hi , Used bcopy to copy one volume to one offsite disk and got the following : bcopy /arch/mailx3/mailx3full-0001 /offsite1/mailx3/mailx3full-0001 bcopy: butil.c:258 Using device: /arch/mailx3 for reading. 30-Mar 12:06 bcopy: Ready to read from volume mailx3full-0001 on device /arch/mailx3. bcopy: butil.c:258 Using device: /offsite1/mailx3 for writing. 30-Mar 12:06 bcopy: bcopy Error: Requested Volume mailx3full-0001 on /offsite1/mailx3 is not a Bacula labeled Volume, because: ERR=block.c:793 Read zero bytes at 0:0 on device /offsite1/mailx3. 30-Mar 12:06 bcopy: Volume mailx3full-0001 previously written, moving to end of data. bcopy: bcopy.c:218 Volume label not copied. 30-Mar 12:11 bcopy: End of Volume at file 3 on device /arch/mailx3, Volume mailx3full-0001 30-Mar 12:11 bcopy: End of all volumes. bcopy: bcopy.c:245 EOT label not copied. bcopy: bcopy.c:183 1 Jobs copied. 475581 records copied. Read up on the bcopy options and it seems I will need to bscan the volume back into the catalog? Can't I just specify the bootstrap file to ensure correct restore of an offsite volume? Regards , Danie Theron Network Administrator : Verpakt Management Services email: [EMAIL PROTECTED] tel: +2711 6020117 cell : +27833552998 If you dislike change, you're going to dislike being irrelevant even more. --- 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_ide95alloc_id396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] test
Regards , Danie Theron Network Administrator : Verpakt Management Services email: [EMAIL PROTECTED] tel: +2711 6020117 cell : +27833552998 If you dislike change, you're going to dislike being irrelevant even more. --- 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_ide95alloc_id396op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users