Re: [Bacula-users] Please help me volume status showing full
Hello, On 3/30/2006 9:32 AM, david robert wrote: i really appriciate your help and my *sd configuration* is as follows i am new to bacula please help me how to fix this problem or i need to change any setting in sd configuration.I am using dell DLT 114T tape drive on debian sarge 3.1 kernel version 2.4.27.The tape status will change to full after 5 or 6 jobs i am really need in help mate. I do not think that you have a problem with your setup. As indicated earlier in this thread, the SD receives a tape write error and thus concludes the tape is full. To understand why this error is generated you need to leave bacula and the btape test procedure. btapes fill command might be worth a try, also observing the system log during tape operations, and you could try to test the tapes using dd or tar. I can't do more than giving you these hints - the other option would be to buy a pre-configured Bacula system from me, in which case I definitely could do more for you... Arno Here is my bacula-sd configuration Device { Name = DLT-VS160# Media Type = DLT Archive Device = /dev/nst0 AutomaticMount = yes;# !! mount drive after job Always Open = yes; # not unmount, via new bconsole script (if console unmount) RemovableM edia = yes; RandomAccess = no; } *my batpe output as follows* btape -c /etc/bacula/bacula-sd.conf /dev/nst0 Tape block granularity is 1024 bytes. btape: butil.c:258 Using device: /dev/nst0 for writing. btape: btape.c:335 open_dev /dev/nst0 OK *test === 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/nst0 btape: btape.c:802 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 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/nst0 btape: btape.c:914 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 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 Block 1601 re-read correctly. Reposition to file:block 1:999 Block 2000 re-read correctly. === Test Succeeded. End Write, rewind, and re-read test === === Append files test === This test is essential to Bacula. I'm going to write one record in file 0, two records in file 1, and three records in file 2 btape: btape.c:435 Rewound /dev/nst0 btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 btape: btape.c:335 open_dev /dev/nst0 OK btape: btape.c:435 Rewound /dev/nst0 btape: btape.c:1052 Now moving to end of medium. btape: btape.c:482 Moved to end of medium. We should be in file 3. I am at file 3. This is correct! Now the important part, I am going to attempt to append to the tape. btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 btape: btape.c:435 Rewound /dev/nst0 Done appending, there should be no I/O errors Doing Bacula scan of blocks: 1 block of 64448 bytes in file 1 End of File mark. 2 blocks of 64448 bytes in file 2 End of File mark. 3 blocks of 64448 bytes in file 3 End of File mark. 1 block of 64448 bytes in file 4 End of File mark. Total files=4, blocks=7, bytes = 451,136 End scanning the tape. We should be in file 4. I am at file 4. This is correct! The above Bacula scan should have output identical to what follows. Please double check it ... === Sample correct output === 1 block of 64448 bytes in file 1 End of File
Re: [Bacula-users] Restore performance using concurrent backups
Hello, On 3/30/2006 9:38 AM, Christoph Litauer wrote: Hi, I just searched the archives but didn't find hints. Sorry if this question has been asked before. I am using bacula-1.36.3 for the backup of about 12 linux clients. At the moment I just use an external hardware raid as (File-)backup device: Device { Name = FileStorage Media Type = File Archive Device = /storage LabelMedia = yes; Random Access = Yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; Maximum Volume Size = 2147483648 # 2GB } The backups are done in parallel with a maximum of 20 concurrent jobs. The most recent backup of one of the clients (about 1,6 GB of data) consists of a full, 1 differential and 2 incrememtal backups, located on 16 backup files (FileStorage). Running the restore I get a Rate of about 500 KB/sec (restoring to a local filesystem on the storage server). The raid device is able to deliver 12MB/sec. The local filesystem is able to write about 10MB/sec, My conclusion for that degraded performance is that even if I use FileStorage as a random access media, the restore process recovers the data by sequentially reading all the 16 backup files searching for the right files. I would have expected a rate of nearly native disk speed because the backup files could be seeked. As far as I know, there are some problems using seeking instead of reading and interpreting which lead to Kern disabling volume seeking for file volumes, so your conclusion is right. A solution would be to not perform concurrent backups. But then the backup window gets significantly wider (especially for the incrementals). Any solutions, hints? Would my problem disappear if I upgrade to 1.38.x? Perhaps, I don't know if that peculiar problem is resolved by now. You might read through the release notes of the 1.38 versions. Possible solution, assuming you've got enough disk space: Use spooling. It's - theoretically - nonsense doing this with file volumes, but might reslove the performance problems you see. Try to put the spool space onto different physical disks and a different filesystem than the real storage space! Arno Thanks a lot in advance. If you need more of my configuration files, no problem, please tell me. -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- 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] Please help me volume status showing full
thanks for your help i don't think it is over riding any job below one is my job definitionJob { Name = "Nightlybackup" Type = Backup Client = bacman-fd FileSet = "Full Set" Schedule = "WeeklyCycle" Storage = DLT Messages = Standard Pool = Default Write Bootstrap = "/var/lib/bacula/NightlySave1.bsr" RunBeforeJob = "/etc/bacula/start_of_backup.sh" Max Start Delay = 15h Priority = 11 }Arno Lehmann [EMAIL PROTECTED] wrote: Hello,On 3/30/2006 9:32 AM, david robert wrote: i really appriciate your help and my *sd configuration* is as follows i am new to bacula please help me how to fix this problem or i need to change any setting in sd configuration.I am using dell DLT 114T tape drive on debian sarge 3.1 kernel version 2.4.27.The tape status will change to full after 5 or 6 jobs i am really need in help mate.I do not think that you have a problem with your setup.As indicated earlier in this thread, the SD receives a tape write error and thus concludes the tape is full.To understand why this error is generated you need to leave bacula and the btape test procedure. btapes fill command might be worth a try, also observing the system log du ring tape operations, and you could try to test the tapes using dd or tar.I can't do more than giving you these hints - the other option would be to buy a pre-configured Bacula system from me, in which case I definitely could do more for you...Arno Here is my bacula-sd configuration Device { Name = DLT-VS160 # Media Type = DLT Archive Device = /dev/nst0 AutomaticMount = yes; # !! mount drive after job Always Open = yes; # not unmount, via new bconsole script (if console unmount) RemovableM edia = yes; RandomAccess = no; } *my batpe output as follows* btape -c /etc/bacula/bacula-sd.conf /dev/nst0 Tape block granularity is 1024 bytes. btape: butil.c:258 Using device: "/dev/nst0" for writing. btape: btape.c:335 open_dev /dev/nst0 OK *test === Write, rewind, and re-read test === I'm g oing 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/nst0 btape: btape.c:802 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 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/nst0 btape: btape.c:914 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 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 Block 1601 re-read correctly. Reposition to file:block 1:999 Block 2000 re-read correctly. === Test Succeeded. End Write, rewind, and re-read test === === Append files test === This test is essential to Bacula. I'm going to write one record in file 0, two records in file 1, and three records in file 2 btape: btape.c:435 Rewound /dev/nst0 btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 btape: btape.c:335 open_dev /dev/nst0 OK btape: btape.c:435 Rewound /dev/nst0 btape: btape.c:1052 Now moving to end of medium. btape: btape.c:482 Moved to end of medium. We should be in file 3. I am at file 3. This is correct! Now the important part, I am going to attempt to append to the tape. btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 btape: btape.c:435 Rewound /dev/nst0 Done appending, there should be no I/O errors Doing Bacula scan of blocks: 1 block of 64448 bytes in file 1 End of File mark. 2 blocks of 64448 bytes in file 2 End of File mark. 3 blocks of 64448 bytes in file 3 End of File mark. 1 block of 64448 bytes
[Bacula-users] Bacula jobstatus codes
Hi! I'm looking for bacula codes about jobstatus, but I can't find them in the bacula online manual. (Am I blind? ehehe ) Can anyone tell me where can I find them please? Thanks for your time! Giuseppe --- 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] Mount Anonymous Volumes directive
On Thu, 30 Mar 2006 12:04:49 +0200, Michel Meyers [EMAIL PROTECTED] said: Does somebody know more about subject directive? I found it in an example Autochanger config but cannot find it documented in the manual. (Or maybe I'm not looking hard enough) What does it do exactly? According to the source, it allows Mount without knowing volume name but it was removed sometime in 2004. __Martin --- 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
[Bacula-users] Mysql databases backup
Hi! This is not really a problem, I'm just asking which is the best way to do a thing. I've to backup about 13GB of Mysql Databases, so I 've 2 possibile solutions: 1) include /var/lib/mysql in fileset resource 2) run mysqldump --all-databases before job Should I stop mysqld before a backup? Which is the best way to do so? Any other suggestion is well accepted! :) Thanks! Giuseppe --- 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] Mount Anonymous Volumes directive
On Thursday 30 March 2006 12:04, Michel Meyers wrote: Hello, Does somebody know more about subject directive? I found it in an example Autochanger config but cannot find it documented in the manual. (Or maybe I'm not looking hard enough) What does it do exactly? It was never implemented and has been removed though a few unused pieces remain in the code. -- Best regards, Kern ( /\ V_V --- 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
[Bacula-users] Re: Bacula codes
Probably better in the mailing list... On 3/30/2006 11:15 AM, Giuseppe wrote: Hi! I'm looking for bacula codes about jobstatus, but I can't find them in the bacula online manual. (Am I blind? ehehe ) Can anyone tell me where can I find them please? See the Bacula wiki, address should be somewhere in the list archive... I remember that someone announced that the codes are in there. Arno Thanks for your time! Giuseppe -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- 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] Mysql databases backup
Hello Giuseppe, i would suggest the second approach (mysqldump) because bacula is using the database (the director) and if you stop mysql. :-)) btw... it's never a good idea to save the database-storage without any procedure to lock databases before (and i don't know if there's such procedure in mysql). christian -- I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside. - Unknown Unix Jedi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giuseppe Sent: Thursday, March 30, 2006 12:33 PM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Mysql databases backup Hi! This is not really a problem, I'm just asking which is the best way to do a thing. I've to backup about 13GB of Mysql Databases, so I 've 2 possibile solutions: 1) include /var/lib/mysql in fileset resource 2) run mysqldump --all-databases before job Should I stop mysqld before a backup? Which is the best way to do so? Any other suggestion is well accepted! :) Thanks! Giuseppe --- 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=241720; dat=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=lnkkid0944bid$1720dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Mysql databases backup
Giuseppe wrote: Hi! This is not really a problem, I'm just asking which is the best way to do a thing. I've to backup about 13GB of Mysql Databases, so I 've 2 possibile solutions: 1) include /var/lib/mysql in fileset resource 2) run mysqldump --all-databases before job Should I stop mysqld before a backup? Which is the best way to do so? Any other suggestion is well accepted! :) Thanks! Giuseppe --- 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 Hi Giuseppe, Might I suggest a look at mysqlhotcopy. This would be quite a bit faster than mysqldump and may do what you need it to do given the size of your DB's. You can find out about it here http://dev.mysql.com/doc/refman/5.0/en/mysqlhotcopy.html I'm not sure of the version that you are using but this hasn't changed much since it first came in. There is also a java version shown on the web page. Regards -- David Logan South Australia when in trouble, or in doubt run in circles, scream and shout --- 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
[Bacula-users] Verify job hangs on data error?
Hi! I just tried to test a tape I suspect to be faulty. In addition I dd'ed random data somewhere onto that tape to test drive speed. I started a verify on the first job I wrote to the tape, fully expecting it to fail. Instead I just got a message: 30-Mar 11:57 mail-sd: verify.2006-03-30_11.49.06 Error: block.c:263 Volume data error at 1:0! Wanted ID: BB02, got /m. Buffer discarded. The full log is: Mar 30 11:49:08 mail bacula-dir: mail-dir: Verifying against JobId=13 Job=system.2006-03-29_20.14.52 Mar 30 11:49:08 mail bacula-dir: mail-dir: Bootstrap records written to /var/bacula/working/mail-dir.restore.verify.2006-03-30_11.49.06.bsr Mar 30 11:49:08 mail bacula-dir: mail-dir: Mar 30 11:49:08 mail bacula-dir: mail-dir: The job will require the following Volumes: Mar 30 11:49:08 mail bacula-dir: mail-dir: Mar 30 11:49:08 mail bacula-dir: mail-dir:test Mar 30 11:49:08 mail bacula-dir: mail-dir: Mar 30 11:49:08 mail bacula-dir: mail-dir: Start Verify JobId=16 Level=VolumeToCatalog Job=verify.2006-03-30_11.49.06 Mar 30 11:49:15 mail bacula-dir: mail-sd: Ready to read from volume test on device DLT (/dev/nst0). Mar 30 11:49:15 mail bacula-dir: mail-sd: Forward spacing to file:block 0:1. Mar 30 11:57:11 mail bacula-dir: mail-sd: verify.2006-03-30_11.49.06 Error: block.c:263 Volume data error at 1:0! Wanted ID: BB02, got /m. Buffer discarded. ... and now bacula is doing nothing. The tape drive is in ready state. No report from the verification, negative or otherwise. What is it waiting for? bacula status all reports: *stat all mail-dir Version: 1.38.5 (18 January 2006) i686-pc-linux-gnu redhat (Rawhide) Daemon started 30-Mar-06 11:48, 0 Jobs run since started. Scheduled Jobs: Level Type Pri Scheduled Name Volume === IncrementalBackup10 30-Mar-06 17:30full Di IncrementalBackup50 30-Mar-06 17:30catalogDi Admin 99 30-Mar-06 17:30closing Running Jobs: JobId Level Name Status == 16 VolumeT verify.2006-03-30_11.49.06 is running Terminated Jobs: JobId Level Files Bytes Status FinishedName 3 Full803,049 172,003,756,473 OK 28-Mar-06 17:34 full 4 Incr 0 0 Error28-Mar-06 17:34 full 7 Incr 9,788 5,295,056,880 OK 28-Mar-06 19:16 full 5 Full 0 0 Error28-Mar-06 19:16 catalog 8 Full 1101,405,753 OK 28-Mar-06 19:18 catalog 60 0 Error28-Mar-06 19:18 closing 90 0 OK 28-Mar-06 19:19 closing 13 Full329,348 25,759,638,860 OK 29-Mar-06 21:58 system 14 Full 2,891 21,471,037 OK 29-Mar-06 22:01 sysconfig 15 Full129,929 6,002,950,158 OK 29-Mar-06 22:27 web Connecting to Storage daemon Tape at 192.168.1.1:9103 mail-sd Version: 1.38.5 (18 January 2006) i686-pc-linux-gnu redhat (Rawhide) Daemon started 30-Mar-06 11:17, 0 Jobs run since started. Running Jobs: Reading: Verify Volume to Catalog Restore job verify JobId=16 Volume=test pool=Daily device=DLT (/dev/nst0) Files=0 Bytes=0 Bytes/sec=0 FDReadSeqNo=216 in_msg=215 out_msg=57804 fd=6 Jobs waiting to reserve a drive: Terminated Jobs: JobId Level Files Bytes Status FinishedName == 1 Full 0 0 Cancel 27-Mar-06 10:56 full 2 Full 48,749 5,034,132,295 Error27-Mar-06 11:22 full 3 Full803,049 172,116,756,062 OK 28-Mar-06 17:34 full 7 Incr 9,788 5,296,341,639 OK 28-Mar-06 19:16 full 8 Full 1101,405,868 OK 28-Mar-06 19:18 catalog 10 Full 0 0 Cancel 29-Mar-06 19:06 full 13 Full329,348 25,805,134,850 OK 29-Mar-06 21:58 system 14 Full 2,891 21,792,454 OK 29-Mar-06 22:01 sysconfig 15 Full129,929 6,022,744,232 OK 29-Mar-06 22:27 web Device status: Device DLT (/dev/nst0) is mounted with Volume=test Pool=*unknown* Total Bytes Read=999,871,488 Blocks Read=15,499 Bytes/block=64,512 Positioned at File=1 Block=0 In Use Volume status: test on device DLT (/dev/nst0) Connecting to Client mail-fd at 192.168.1.1:9102 mail-fd Version: 1.38.5 (18 January 2006) i686-pc-linux-gnu redhat (Rawhide) Daemon started 30-Mar-06 11:17, 0 Jobs run since started. Terminated Jobs: JobId Level Files Bytes Status FinishedName == 1 Full 0
Re: [Bacula-users] Bacula jobstatus codes
On Thu, Mar 30, 2006 at 12:32:23PM +0200, Giuseppe wrote: I'm looking for bacula codes about jobstatus, but I can't find them in the bacula online manual. (Am I blind? ehehe ) They're stored in the database: bacula=# select * from status; jobstatus | jobstatuslong ---+- C | Created, not yet running R | Running B | Blocked T | Completed successfully E | Terminated with errors e | Non-fatal error f | Fatal error D | Verify found differences A | Canceled by user F | Waiting for Client S | Waiting for Storage daemon m | Waiting for new media M | Waiting for media mount s | Waiting for storage resource j | Waiting for job resource c | Waiting for client resource d | Waiting on maximum jobs t | Waiting on start time p | Waiting on higher priority jobs (19 rows) -- John Kodis. --- 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] Concurrent Jobs
Hello! I've fixed problem fault with devices, but it isn't help for my issue :( I set Max Concurrent Job = 20 in bacula-sd.conf for storage, in bacula-dir.conf for all clients and for storages and in bacula-fd.conf on all of clients... Storage: name=HDD2 address=10.1.2.24 SDport=9103 MaxJobs=20 DeviceName=STORAGE2 MediaType=HDD2 StorageId=2 Storage: name=HDD3 address=10.1.2.24 SDport=9103 MaxJobs=20 DeviceName=STORAGE3 MediaType=HDD3 StorageId=3 Client: name=box44 address=10.1.2.44 FDport=9102 MaxJobs=20 JobRetention=1 month FileRetention=1 month AutoPrune=1 -- Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula db_user=bacula MutliDBConn=0 . Here is my config in attached files. Director { Name = backup1-dir Description = director DIRport = 9101 DirAddress = 10.1.2.24 QueryFile = /usr/local/bacula/etc/query.sql WorkingDirectory = /usr/local/bacula/var/bacula/working PidDirectory = /var/run Maximum Concurrent Jobs = 20 Password = fewfwefwef # Console password Messages = StdMail } # List of files to be backed up FileSet { Name = Full Set Include { Options {signature=MD5}; File = /etc/bacula } } JobDefs { Name = DefaultJob Type = Backup Level = Incremental FileSet = Full Set Schedule = WeeklyCycle Storage = HDD2 Messages = StdMail Pool = Default Priority = 10 } # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; user = bacula; password = } # This is the backup of the catalog FileSet { Name = Catalog Include { Options {signature=MD5}; File = /var/lib/bacula/bacula.sql } } Pool { Name = full_catalog.pool Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes LabelFormat = full_catalog_ AutoPrune = yes # Prune expired volumes Volume Retention = 5 weeks Accept Any Volume = yes # write on any volume in the pool Cleaning Prefix = CLN } # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefJob2 Level = Full FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog RunBeforeJob = /usr/lib/bacula/make_catalog_backup bacula # This deletes the copy of the catalog RunAfterJob = /usr/lib/bacula/delete_catalog_backup Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr Priority = 11 # run after main backup Client = box24 Full Backup Pool = full_catalog.pool } Job { Name = RestoreFiles Type = Restore Client = box24 FileSet = Full Set Storage = HDD2 Pool = Default Messages = StdMail Where = /tmp/bacula-restored } # # When to do the backups, full backup on first sunday of the month, # differential (i.e. incremental since full) every other sunday, # and incremental backups other days Schedule { Name = WeeklyCycle Run = Full 1st sun at 1:05 Run = Differential 2nd-5th sun at 1:05 Run = Incremental mon-sat at 1:05 } # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = WeeklyCycleAfterBackup Run = Full sun-sat at 1:10 } # Define Pools -- Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes LabelFormat = Default AutoPrune = yes # Prune expired volumes Volume Retention = 365 days Accept Any Volume = yes # write on any volume in the pool Cleaning Prefix = CLN } ## @/usr/local/bacula/etc/director-addon.conf# # Default Bacula File Daemon Configuration file # # For Bacula release 1.34.5 (21 June 2004) -- mandrake for # # There is not much to change here except perhaps the # File daemon Name to # # # List Directors who are permitted to contact this File daemon # Director { Name = backup1-dir Password = fewfwefwef } # # Global File daemon configuration specifications # FileDaemon { # this is me Name = backup1-fd FDport = 9102 # where we listen for the director Maximum Concurrent Jobs = 20 WorkingDirectory = /var/lib/bacula Pid Directory = /var/run } # Send all messages except skipped files back to Director Messages { Name = Standard director = backup1-dir = all, !skipped }# # Default Bacula Storage Daemon Configuration file # # For Bacula release 1.34.5 (21 June 2004) -- mandrake for # # You may need to change the name of your tape drive # on the Archive Device directive in the Device # resource. If you change the Name and/or the # Media Type in the Device resource, please ensure # that dird.conf has corresponding changes. # Storage {
[Bacula-users] Tape request: Too Many Tries
I updated to 1.38.6 last night, and got this after a tape error on the catalog backup tape caused it to be marked full (and the SD wanted a second tape to continue:) 30-Mar 07:25 duct-sd: BackupCatalog.2006-03-29_23.59.00 Warning: Director wanted Volume Catalog-0019 for device ATL1Drive (/dev/nst3).Current Volume Catalog-0010 not acceptable because:1998 Volume Catalog-0010 status is Full, but should be Append, Purged or Recycle. 30-Mar 07:25 duct-sd: Please mount Volume Catalog-0010 on Storage Device ATL1Drive (/dev/nst3) for Job BackupCatalog.2006-03-29_23.59.00 30-Mar 07:26 duct-sd: Please mount Volume Catalog-0019 on Storage Device ATL1Drive (/dev/nst3) for Job BackupCatalog.2006-03-29_23.59.00 30-Mar 07:27 duct-sd: BackupCatalog.2006-03-29_23.59.00 Fatal error: Too many tries: Wrong Volume mounted on device ATL1Drive (/dev/nst3): Wanted Catalog-0019 have Catalog-0010 It started at 3:57, took till 7:37 to hit the Too many tries:. It did this 101 times. Where is this set at? I'm having a tough time finding anything related in the docs. I'd rather it just wait, even if it does tie the tape drive up (as it did in 1.38.0) Thanks! Mark --- 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] Running Jobs simultaneously on two streamers of same type - Sorry to come back up ;-) with this again
Hello, meanwhile I really tried to get it on my own, but looking at page 135 of Bacula Manual Version 1.38.5 just knocks me out. On line one and two it says: .. all queued jobs of priority 1 will run before queued jobs of priority 2 and so on, regardless of the original scheduling order. While in the last paragraph it says: If you have several jobs of different priority, it may not best to start them at exactly the same time, because Bacula must examine them one at a time. If by Bacula starts a lower priority job first, then it will run before your high priority jobs. If you experience this problem, you may avoid it by starting any higher priority jobs a few seconds before lower priority ones. This insures that Bacula will examine the jobs in the correct order, and that your priority scheme will be respected. I assume the last paragraph applies regardless of jobs running concurrent or not. Is that right? If yes: For me, it sounds like the whole concept of priorities is obsolete and job order has to be managed all by schedules. Right? I mean if priorities are only respected correctly as long as jobs are started (by schedules) in the according order (because bacula needs to examine them in just this order to be able to respect those priorities correctly) - what do I need priorities for It all depends on the schedules then. Or did I miss it completely? Coming back to my original concern: As a pro user I have, as mentioned before, backup-servers each controlling several streamers of the same type. The amount of data per day is relatively high. So I want to be finished with backups in the morning to service my users with restores if need be. In other words I want the respective jobs go parallel on the streamers, not sequentially. I think I understand why concurrent jobs are not recommended if going on only one streamer. But this should be not a problem with two or more jobs each going on an extra streamer. Right? Basically, can bacula manage that at all? If yes, how should I enable it? Has this, in my case, to do with Maximum Concurrent Jobs at all? Can I leave Maximum Concurrent Jobs = 1 in the Storage Resource of the director's conf? (see my configuration in original mail, please) Take out priorities completely? Give each job an own schedule and giving them intervals of, say, a minute? Kind Regards, i. A. Christoff Buch = [EMAIL PROTECTED] OneVision Software AG Dr.-Leo-Ritter-Str. 9 93049 Regensburg
Re: [Bacula-users] Running Jobs simultaneously on two streamers of same type - Sorry to come back up ;-) with this again
On Thu, Mar 30, 2006 at 04:21:59PM +0200, Christoff Buch wrote: For me, it sounds like the whole concept of priorities is obsolete and job order has to be managed all by schedules. Right? I mean if priorities are only respected correctly as long as jobs are started (by schedules) in the according order (because bacula needs to examine them in just this order to be able to respect those priorities correctly) - what do I need priorities for The one thing that I use schedules for is taken directly from the example configuration: running a catalog backup immediately after all the client backups have completed. While jobs at the same priority seem to normally run in the order in which they get queued up, there's no guarantee of this. There is such a guarantee with priorities. -- John Kodis. --- 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
[Bacula-users] Re: software compression
Hi, I just started with Bacula, and I have a small problem. I'm running the latest Bacula version on Redhat ES 4.0, 64bit, and this was built from the src rpm according to the bacula guidelines. The bacula fileset configuration says that it needs to use gzip compression: -- Options { signature=SHA1 compression=gzip }-- Zlib zlib-dev was installed on the boxes, according to the Bacula FAQ. But it's not compression the data, see a part of the report: (file storage) -- Rate: 68.4 KB/s Software Compression: None -- Anybody who has an idea what can be the problem? B
[Bacula-users] software compression
Hi, I just started with Bacula, and I have a small problem. I'm running the latest Bacula version on Redhat ES 4.0, 64bit, and this was built from the src rpm according to the bacula guidelines. The bacula fileset configuration says that it needs to use gzip compression: -- Options { signature=SHA1 compression=gzip }-- Zlib zlib-dev was installed on the boxes, according to the Bacula FAQ. But it's not compression the data, see a part of the report: (file storage) -- Rate: 68.4 KB/s Software Compression: None -- Anybody who has an idea what can be the problem? B -- Schelstraete Barthttp://www.schelstraete.org[EMAIL PROTECTED]
Re: [Bacula-users] Running Jobs simultaneously on two streamers of same type - Sorry to come back up ;-) with this again
Hello, On 3/30/2006 4:21 PM, Christoff Buch wrote: Hello, meanwhile I really tried to get it on my own, but looking at page 135 of Bacula Manual Version 1.38.5 just knocks me out. On line one and two it says: .. all queued jobs of priority 1 will run before queued jobs of priority 2 and so on, regardless of the original scheduling order. While in the last paragraph it says: If you have several jobs of different priority, it may not best to start them at exactly the same time, because Bacula must examine them one at a time. If by Bacula starts a lower priority job first, then it will run before your high priority jobs. If you experience this problem, you may avoid it by starting any higher priority jobs a few seconds before lower priority ones. This insures that Bacula will examine the jobs in the correct order, and that your priority scheme will be respected. I assume the last paragraph applies regardless of jobs running concurrent or not. Is that right? If yes: For me, it sounds like the whole concept of priorities is obsolete and job order has to be managed all by schedules. Right? I don't think so. See below. I mean if priorities are only respected correctly as long as jobs are started (by schedules) in the according order (because bacula needs to examine them in just this order to be able to respect those priorities correctly) - what do I need priorities for It all depends on the schedules then. Or did I miss it completely? Not completely :-) I'll give an example I use: I've got the whole Bacula setup allowing multiple simultaneous jobs; distributed over several storage devices, up to 12 jobs can run simultaneously. I schedule all jobs at the same time, to utilize my backup window as good as possible. Still I do have some jobs that must be run after the regular jobs: Database and LDAP catalog backups, and finally a job that shuts down the backup server. To ensure proper execution order and to make sure the database backups are run after the regular filesystem ones - the database server would be seriously overloaded if those things ran simultaneously - I have all the regular backups at one priority level, the database backup runs at a lower priority, and the shutdown job has an even higher priority value. Result: I have the jobs that must not run simultaneously running in parallel kind of blockwise. Coming back to my original concern: As a pro user I have, as mentioned before, backup-servers each controlling several streamers of the same type. The amount of data per day is relatively high. So I want to be finished with backups in the morning to service my users with restores if need be. In other words I want the respective jobs go parallel on the streamers, not sequentially. I think I understand why concurrent jobs are not recommended if going on only one streamer. Spooling, not priorities would be the option I prefer. If you're short on disk space you can also limit the number of jobs running simultaneously on one storage device to one. But this should be not a problem with two or more jobs each going on an extra streamer. Right? Basically, can bacula manage that at all? I'd say it can, because it does here. If yes, how should I enable it? Has this, in my case, to do with Maximum Concurrent Jobs at all? Can I leave Maximum Concurrent Jobs = 1 in the Storage Resource of the director's conf? (see my configuration in original mail, please) That's what I'd suggest if spooling is not an option for you. Take out priorities completely? Use priorities very carefully. IMO, priorities are most useful as an additional means to ensure a defined job sequence, not to limit concurrency. Give each job an own schedule and giving them intervals of, say, a minute? Schedule the jobs in blocks, putting the same schedule into all jobs of the same priority, and keep some minutes between those blocks. Arno Kind Regards, i. A. Christoff Buch = [EMAIL PROTECTED] OneVision Software AG Dr.-Leo-Ritter-Str. 9 93049 Regensburg -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- 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] Re: software compression
Hello, On 3/30/2006 5:40 PM, Bart Schelstraete wrote: Hi, I just started with Bacula, and I have a small problem. I'm running the latest Bacula version on Redhat ES 4.0, 64bit, and this was built from the src rpm according to the bacula guidelines. The bacula fileset configuration says that it needs to use gzip compression: -- Options { signature=SHA1 compression=gzip } -- Zlib zlib-dev was installed on the boxes, according to the Bacula FAQ. But it's not compression the data, see a part of the report: (file storage) -- Rate: 68.4 KB/s Software Compression: None -- Anybody who has an idea what can be the problem? Is the file daemon bacula-fd on the clients compiled with compression support? Arno B -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- 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] Running Jobs simultaneously on two streamers of same type - Sorry to come back up ;-) with this again
Mit freundlichem Gruß i. A. Christoff Buch = [EMAIL PROTECTED] OneVision Software AG Dr.-Leo-Ritter-Str. 9 93049 Regensburg John Kodis [EMAIL PROTECTED] wrote on 30.03.2006 16:42:43: On Thu, Mar 30, 2006 at 04:21:59PM +0200, Christoff Buch wrote: For me, it sounds like the whole concept of priorities is obsolete and job order has to be managed all by schedules. Right? I mean if priorities are only respected correctly as long as jobs are started (by schedules) in the according order (because bacula needs to examine them in just this order to be able to respect those priorities correctly) - what do I need priorities for The one thing that I use schedules for is taken directly from the example configuration: running a catalog backup immediately after all the client backups have completed. While jobs at the same priority seem to normally run in the order in which they get queued up, there's no guarantee of this. There is such a guarantee with priorities. -- John Kodis. Hi John, Thanks for your reply! So do you start your client jobs without any schedules? How? How can I determine the order jobs get queued up? Is it the position in the bacula-dir.conf? (I don't wanna believe I have to go down to this...) Besides, I'm mainly concerned about getting simultaneous jobs to run - and concerning this there's a problem with priorities as you can see in my earlier mails.
[Bacula-users] Unable to run tray-monitor.
On my Fedora Core 5 I cannot run the tray-monitor. I get the following: [EMAIL PROTECTED] bin]# ./bacula-tray-monitor -c ../conf/tray-monitor.conf Xlib: connection to :0.0 refused by server Xlib: No protocol specified (bacula-tray-monitor:16582): Gtk-WARNING **: cannot open display: [EMAIL PROTECTED] bin]# Same happens with wx-console: [EMAIL PROTECTED] conf]# ../bin/wx-console -c wx-console.conf Xlib: connection to :0.0 refused by server Xlib: No protocol specified Error: Unable to initialize gtk, is DISPLAY set properly? [EMAIL PROTECTED] conf]# I have no problems on my Fedora Core 3. What can be wrong/missing? -- Regards, Erik P. Olsen --- 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] Unable to run tray-monitor.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Your X permission settings are not correct. `man xhost` _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - User Support Spec. III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 Erik P. Olsen wrote: On my Fedora Core 5 I cannot run the tray-monitor. I get the following: [EMAIL PROTECTED] bin]# ./bacula-tray-monitor -c ../conf/tray-monitor.conf Xlib: connection to :0.0 refused by server Xlib: No protocol specified (bacula-tray-monitor:16582): Gtk-WARNING **: cannot open display: [EMAIL PROTECTED] bin]# Same happens with wx-console: [EMAIL PROTECTED] conf]# ../bin/wx-console -c wx-console.conf Xlib: connection to :0.0 refused by server Xlib: No protocol specified Error: Unable to initialize gtk, is DISPLAY set properly? [EMAIL PROTECTED] conf]# I have no problems on my Fedora Core 3. What can be wrong/missing? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) iD8DBQFELCjFmb+gadEcsb4RAhmlAKCUXBF/mvz8tbe5Lp0ID2TK/ApIawCgpoEo uCOPZZA6KYpemwCW2v5yzsI= =3KcP -END PGP SIGNATURE- --- 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] Unable to run tray-monitor.
Are you logged into X as a normal user and trying to load applications as root? John --- Erik P. Olsen [EMAIL PROTECTED] wrote: On my Fedora Core 5 I cannot run the tray-monitor. I get the following: [EMAIL PROTECTED] bin]# ./bacula-tray-monitor -c ../conf/tray-monitor.conf Xlib: connection to :0.0 refused by server Xlib: No protocol specified (bacula-tray-monitor:16582): Gtk-WARNING **: cannot open display: [EMAIL PROTECTED] bin]# Same happens with wx-console: [EMAIL PROTECTED] conf]# ../bin/wx-console -c wx-console.conf Xlib: connection to :0.0 refused by server Xlib: No protocol specified Error: Unable to initialize gtk, is DISPLAY set properly? [EMAIL PROTECTED] conf]# I have no problems on my Fedora Core 3. What can be wrong/missing? -- Regards, Erik P. Olsen --- 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] Re: software compression
Is the file daemon bacula-fd on the clients compiled with compressionsupport? We have 2 type of FD's:- one on the bacula server itself, which is done with an src rpm- on on a HP-UX boxBoth have the same problem, and on both boxes, the zlib is available. Btw, can you specifiy the compression option when using a src rpm??B-- Schelstraete Barthttp://www.schelstraete.org [EMAIL PROTECTED]
[Bacula-users] help using bacula
I am a new user to bacula, i have read through the documentation, have it installed on gentoo, and have made one successful backup. This is all rather confusing to me. After playing around with it i have a ton of listed backup jobs, but i can find no where to delete them. +---+---+-+--+---+--+--+---+ | JobId | Name | StartTime | Type | Level | JobFiles | JobBytes | JobStatus | +---+---+-+--+---+--+--+---+ |30 | MailBackup| -00-00 00:00:00 | B| I | 0 |0 | C | |29 | BackupCatalog | -00-00 00:00:00 | B| F | 0 |0 | C | |28 | MailBackup| -00-00 00:00:00 | B| D | 0 |0 | C | |27 | BackupCatalog | -00-00 00:00:00 | B| F | 0 |0 | C | |25 | BackupCatalog | -00-00 00:00:00 | B| F | 0 |0 | C | |24 | MailBackup| -00-00 00:00:00 | B| I | 0 |0 | C | |23 | BackupCatalog | -00-00 00:00:00 | B| F | 0 |0 | C | |17 | BackupCatalog | -00-00 00:00:00 | B| F | 0 |0 | C | |19 | BackupCatalog | -00-00 00:00:00 | B| F | 0 |0 | C | |21 | BackupCatalog | -00-00 00:00:00 | B| F | 0 |0 | C | |31 | BackupCatalog | -00-00 00:00:00 | B| F | 0 |0 | C | |33 | BackupCatalog | -00-00 00:00:00 | B| F | 0 |0 | C | |34 | MailBackup| -00-00 00:00:00 | B| I | 0 |0 | C | |35 | BackupCatalog | -00-00 00:00:00 | B| F | 0 |0 | C | |36 | MailBackup| -00-00 00:00:00 | B| I | 0 |0 | C | |37 | BackupCatalog | -00-00 00:00:00 | B| F | 0 |0 | C | | 2 | MailBackup| 2006-03-10 11:24:15 | B| F | 0 |0 | A | | 5 | MailBackup| 2006-03-10 18:50:13 | B| F | 0 |0 | A | | 6 | MailBackup| 2006-03-10 18:54:58 | B| F | 0 |0 | f | | 9 | BackupCatalog | 2006-03-11 01:24:18 | B| F | 0 |0 | f | |11 | BackupCatalog | 2006-03-12 01:25:13 | B| F | 0 |0 | f | |13 | BackupCatalog | 2006-03-13 01:25:05 | B| F | 0 |0 | f | |15 | BackupCatalog | 2006-03-14 01:24:45 | B| F | 0 |0 | f | |18 | MailBackup| 2006-03-21 01:05:02 | B| I | 0 |0 | f | |20 | MailBackup| 2006-03-22 01:05:02 | B| I | 0 |0 | f | |22 | MailBackup| 2006-03-23 01:05:02 | B| F | 0 |0 | f | |26 | MailBackup| 2006-03-25 01:05:02 | B| F | 0 |0 | f | |32 | MailBackup| 2006-03-28 01:05:02 | B| F | 0 |0 | R | +---+---+-+--+---+--+--+---+ I still just dont understand what im doing wrong. All i want it to do is backup the selected directories once a day (which it did once), but i only want to use one tape and i want it to reuse the tape every night. i keep getting that the device is full, which i want it to either erase whats on there or recursively backup the files that have changed (even better). But i dont know how to do that. i have tried adding tapes and think i have failed with that because it keeps asking me now to insert a different volume 25-Mar 01:05 mail-sd: MailBackup.2006-03-25_01.05.00 Warning: Director wanted Volume Vol-10001. Current Volume Backup1 not acceptable because: 1998 Volume Backup1 status is Full, but should be Append, Purged or Recycle. I guess what i want to do is start over with the whole volume/job thing and start fresh and see if i can get this working, so how do i delete volumes and jobs so i can recreate? and also how do i tell it to either erase the tape on a new backup or recursively backup the changed files from day to day? thanks for any help Nick --- 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=lnkkid0944bid$1720dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: software compression
Hi, On 3/30/2006 9:55 PM, Bart Schelstraete wrote: Is the file daemon bacula-fd on the clients compiled with compression support? We have 2 type of FD's: - one on the bacula server itself, which is done with an src rpm - on on a HP-UX box Both have the same problem, and on both boxes, the zlib is available. Ok, but is it actually used? On linux, for example, I can do this: # ldd `which bacula-fd` linux-gate.so.1 = (0xe000) libacl.so.1 = /lib/libacl.so.1 (0x4002f000) libz.so.1 = /lib/libz.so.1 (0x40035000) libutil.so.1 = /lib/libutil.so.1 (0x40047000) librt.so.1 = /lib/tls/librt.so.1 (0x4004b000) libpthread.so.0 = /lib/tls/libpthread.so.0 (0x40054000) libdl.so.2 = /lib/libdl.so.2 (0x40066000) libssl.so.0.9.7 = /usr/lib/libssl.so.0.9.7 (0x4006a000) libcrypto.so.0.9.7 = /usr/lib/libcrypto.so.0.9.7 (0x4009a000) libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x4018c000) libm.so.6 = /lib/tls/libm.so.6 (0x40249000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x4026c000) libc.so.6 = /lib/tls/libc.so.6 (0x40274000) libattr.so.1 = /lib/libattr.so.1 (0x4038a000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) and see quite clearly that libz is referenced by the FD. Btw, can you specifiy the compression option when using a src rpm?? No idea, I haven't built using srpm yet. Arno B -- Schelstraete Bart http://www.schelstraete.org [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- 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
[Bacula-users] Reclaim space inside a volume file?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have backups that have been writing to a single file for a long time. Stupid idea, yes, but bear with me... The file is now over 1 GB. I'm attempting to fix this situation and trim the file down to a reasonable size (ultimately, this backup will be going on tapes along with the rest). Is there anything I can do to compact the file now that I've pruned most jobs from it? Thanks. - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - User Support Spec. III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) iD8DBQFELEHnmb+gadEcsb4RAjWvAKDKHGbobPViOCjVugVyuj0enCSoFQCgmWhO R1TTWUkpFvZgjfw2br0242U= =cInr -END PGP SIGNATURE- --- 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] Re: software compression
# ldd `which bacula-fd` linux-gate.so.1 =(0xe000) libacl.so.1 = /lib/libacl.so.1 (0x4002f000) libz.so.1 = /lib/libz.so.1 (0x40035000) libutil.so.1 = /lib/libutil.so.1 (0x40047000) librt.so.1 = /lib/tls/librt.so.1 (0x4004b000) libpthread.so.0 = /lib/tls/libpthread.so.0 (0x40054000) libdl.so.2 = /lib/libdl.so.2 (0x40066000) libssl.so.0.9.7 = /usr/lib/libssl.so.0.9.7 (0x4006a000) libcrypto.so.0.9.7 = /usr/lib/libcrypto.so.0.9.7 (0x4009a000) libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x4018c000) libm.so.6 = /lib/tls/libm.so.6 (0x40249000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x4026c000) libc.so.6 = /lib/tls/libc.so.6 (0x40274000) libattr.so.1 = /lib/libattr.so.1 (0x4038a000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)and see quite clearly that libz is referenced by the FD. Correct, the libz is there...B-- Schelstraete Barthttp://www.schelstraete.org [EMAIL PROTECTED]
Re: [Bacula-users] help using bacula
Hello, On 3/30/2006 10:18 PM, Nick Smith wrote: I am a new user to bacula, i have read through the documentation, have it installed on gentoo, and have made one successful backup. This is all rather confusing to me. After playing around with it i have a ton of listed backup jobs, but i can find no where to delete them. The delete command... ... but be careful with it. ... I still just dont understand what im doing wrong. All i want it to do is backup the selected directories once a day (which it did once), but i only want to use one tape and i want it to reuse the tape every night. Sorry, I can't help you with such a setup because a) you will have to force Bacula to do something it is not designed for, and b) thus I never tried it ;-) and c) I wouldn't tell you if I knew because your backup scheme is, excuse my language, crap. IMO, of course. i keep getting that the device is full, which i want it to either erase whats on there or recursively backup the files that have changed (even better). But i dont know how to do that. i have tried adding tapes and think i have failed with that because it keeps asking me now to insert a different volume 25-Mar 01:05 mail-sd: MailBackup.2006-03-25_01.05.00 Warning: Director wanted Volume Vol-10001. Current Volume Backup1 not acceptable because: 1998 Volume Backup1 status is Full, but should be Append, Purged or Recycle. I guess what i want to do is start over with the whole volume/job thing and start fresh and see if i can get this working, so how do i delete volumes and jobs so i can recreate? and also how do i tell it to either erase the tape on a new backup or recursively backup the changed files from day to day? You will have to set a short volume retention time, a short volume use duration, and probably you will need a job triggering automatic pruning before you backup job starts. You will also not have a useful backup (for most applications). What you want to do is much more easily achieved using tar, dump, cpio or some other tool. Arno thanks for any help Nick --- 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=kkid0944bid$1720dat1642 ___ 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 --- 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] DVD does not recognise the media.
[EMAIL PROTECTED] schrieb: Hi ! I'm unable to label my DVD. (bacula 1.38.5) Here is what I do : homer bacula # bconsole Connecting to Director homer:9101 1000 OK: homer-dir Version: 1.38.5 (18 January 2006) Enter a period to cancel a command. *label Using default Catalog name=MyCatalog DB=bacula The defined Storage resources are: 1: File 2: DVD Select Storage resource (1-2): 2 Enter new Volume name: DVD-FULL-0001 Automatically selected Pool: Default Connecting to Storage daemon DVD at homer:9103 ... Sending label command for Volume DVD-FULL-0001 Slot 0 ... 3910 Unable to open device DVD-Writer (/dev/hda): ERR=There is no valid media in the device DVD-Writer (/dev/hda). Label command failed for Volume DVD-FULL-0001. Do not forget to mount the drive!!! *q However, if I run the mediainfo command, I have good results : homer bacula # /usr/bin/dvd+rw-mediainfo /dev/hda INQUIRY: [LITE-ON ][DVDRW SOHW-1673S][JS02] GET [CURRENT] CONFIGURATION: Mounted Media: 1Bh, DVD+R Media ID: RICOHJPN/R00 Current Write Speed: 2.4x1385=3324KB/s Write Speed #0: 2.0x1385=2770KB/s GET [CURRENT] PERFORMANCE: Write Performance: 2.4x1385=3324KB/[EMAIL PROTECTED] - 0] Speed Descriptor#0: 00/0 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s READ DVD STRUCTURE[#0h]: Media Book Type: A1h, DVD+R book [revision 1] Legacy lead-out at: 2295104*2KB=4700372992 READ DISC INFORMATION: Disc status: blank Number of Sessions: 1 State of Last Session: empty Number of Tracks: 1 READ TRACK INFORMATION[#1]: Track State: blank Track Start Address: 0*2KB Next Writable Address: 0*2KB Free Blocks: 2295104*2KB Track Size: 2295104*2KB ROM Compatibility LBA: 262144 READ CAPACITY: 1*2048=2048 The logs are showing strange things : homer bacula # tail /var/log/messages Mar 12 18:41:37 homer isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16 Mar 12 18:41:38 homer attempt to access beyond end of device Mar 12 18:41:38 homer hda: rw=0, want=68, limit=4 Mar 12 18:41:38 homer isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16 Mar 12 18:41:38 homer attempt to access beyond end of device Mar 12 18:41:38 homer hda: rw=0, want=68, limit=4 Mar 12 18:41:38 homer isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16 Mar 12 18:41:40 homer attempt to access beyond end of device Mar 12 18:41:40 homer hda: rw=0, want=68, limit=4 Mar 12 18:41:40 homer isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16 homer bacula # So, I tried to burn a DVD with growisofs, and it worked : homer bacula # growisofs -Z /dev/dvd -R -J /mnt/files/celine/Documents.tar.gz Executing 'mkisofs -R -J /mnt/files/celine/Documents.tar.gz | builtin_dd of=/dev/dvd obs=32k seek=0' /dev/dvd: Current Write Speed is 2.5x1385KBps. 1.09% done, estimate finish Sun Mar 12 19:38:02 2006 2.17% done, estimate finish Sun Mar 12 19:21:55 2006 3.25% done, estimate finish Sun Mar 12 19:16:03 2006 .. 98.67% done, estimate finish Sun Mar 12 19:04:48 2006 99.76% done, estimate finish Sun Mar 12 19:04:47 2006 Total translation table size: 0 Total rockridge attributes bytes: 257 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used 21000 461128 extents written (900 MB) builtin_dd: 461136*2KB out @ average 2.2x1385KBps /dev/dvd: flushing cache /dev/dvd: closing track /dev/dvd: closing session homer bacula # What could be my problem ? Regards, hello, i am not sure if it helps, but check the following: 1. make sure your spool-dir exists and is writeable, we got into trouble because we had spool below /tmp which was cleared regulary 2. make sure you use the ide-scsi emulation layer for your dvd as there are problems with iso9660 sessions beyond the 2G layer 3. we needed to uncomment the -notray option in dvd-handler when using ide-scsi layer i hope this helps. cheers , Sebastian Hültenschmidt --- 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] Win32 Version 1.38.5
Kern Sibbald schrieb: On Wednesday 01 March 2006 17:20, kernel[consulting] info wrote: Kern Sibbald schrieb: On Tuesday 28 February 2006 19:04, kernel[consulting] info wrote: Kern Sibbald schrieb: On Tuesday 28 February 2006 14:59, kernel[consulting] info wrote: Kern Sibbald schrieb: On Tuesday 28 February 2006 13:24, Dan Langille wrote: On 27 Feb 2006 at 15:13, kernel[consulting] info wrote: I have a problem restoring files from the wx-console running on WinXP. I was told to use bacula version 1.38.5, but i am unable to find the binary win32 release of 1.38.5. Can anyone please be so kind to point me in the right direction? It does not exist AFAIK. You'll be OK with the Windows 1.38.4 version. Yes, except that there is an embarrassing little problem here. He is reporting a bug against Win32 1.38.4, which I cannot produce, and, being confused with some changes we made to 1.38.3, I told him to upgrade to 1.38.5, which doesn't exist. :-( Maybe i can send you my bacula database. Perhaps you will be able to reprocude the error? I would be glad to help in any way. The easiest way to work around the problem at the moment is either to use bconsole from you Win32 machine, or use any console from any Linux machine. --- 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 Hello kern, i tried. Too bad, the filenames are not shown correctly even in the bconsole running windows. The umlauts are missing. Only the characters, the filenames are there. I use : cat /etc/sysconfig/i18n LANG=[EMAIL PROTECTED] COUNTRY=de LANGUAGE=de CHARSET=iso8859-15 XMODIFIERS= I never thought to ask you for your sysconfig -- good idea!, because: Hmm. This may well be your problem. I'm not an expert in Linux character sets, but Bacula uses utf-8, which is the default on Linux. It looks like you have turned off utf-8, which will create a database that is incompatible with the Win32 consoles, which expect all Bacula database information to be in utf-8 format (Unicode). my /etc/sysconf/i18n looks like the following: LANG=en_US.UTF-8 SUPPORTED=en_US.UTF-8:en_US:en I imagine (but don't really know) that you should not have the CHARSET, and that you should have a .UTF-8 on the end of your LANG definition. I've never seen the @euro, so I'm not sure where that really fits in ... Perhaps a couple of German users could provide the output of their /etc/sysconfig/i18n files -- especially those who have had success using the Win32 version of wx-console with German accents. Best regards, Kern on my server running: Debian GNU/Linux 3.1 with 2.6.4-1-686 i hope this is useful, Thanks all and especially kern for considering my case. Sebastian Hültenschmidt --- 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 Thanks all, we found it. But now i am in real trouble. I tried some de_DE.UTF-8 setting, but all i get is trouble with the linux console display of charsets. I assume my ext3 filesystem is now written with iso-8859-15 (AFAIK the same as the @euro thingy) . So i get ? instead of umlauts when i change to UTF-8. Does anyone know how convert the filesystem to UTF-8? Or is there a way to convert filename to UTF-8 BEFORE they are written to the db in bacula? hmmm.. looks like i am in a pinch now... Sebastian Hültenschmidt If and when you find a solution or what is really going on, please let us know. This sounds like a really ugly problem. --- 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=kkid0944bid$1720dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net
[Bacula-users] where is the archive of this mailing list?
Norbert Murzsa Senior Systems Engineer (CCSE+SCP) T (04) 460 6068 F (04) 460 6001 E [EMAIL PROTECTED] W www.gen-i.co.nz Level 3, 154 Featherston Street, Wellington, New Zealand This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use any part of this communication or disclose anything about it. Thank you. Please note that this communication does not designate an information system for the purposes of the Electronic Transactions Act 2002.
[Bacula-users] compression
In my FileSet in my bacula-dir.conf file i have Options { signature = MD5 compression = GZIP } but when the backup completes and i get the email confirmation it says it doesnt have compression: Software Compression: None what am i missing here? how do i get compression turned on? I have a DDS3 tape drive. thanks Nick --- 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=lnkkid0944bid$1720dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Job upgraded to full not using full pool
Hi all, I've got a new installation using 1.38.6 interfacing with a 3-drive changer. The initially-scheduled jobs are incrementals that, when run, are rightfully automatically upgraded to full backups. Only problem is that once the jobs run, they've already reserved a tape from the incremental pool, and the director doesn't bother ejecting in favor of a tape from the full pool. Jobs run as Full backups correctly use the Fulls pool. Is this a known issue that I need to address using a different configuration? Or a bug? Many thanks for any ideas -- Ian Relevant config: - JobDefs { Name = DefaultJob Type = Backup Level = Full Pool = Fulls ... } Job { Name = CRYSTAL_HOME JobDefs = DefaultJob Client = home-fd FileSet = CRYSTAL_HOME Schedule = CRYSTAL_HOME Prefer Mounted Volumes = no } FileSet { Name = CRYSTAL_HOME Include { Options { signature = MD5 onefs = no } File = /home } Exclude { } } Schedule { Name = CRYSTAL_HOME Run = Full Pool=Fulls on 3 at 22:00 Run = Differential Pool=Fulls on fri at 1:00 Run = Incremental Pool=Incrementals mon-thu at 1:00 } --- 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
[Bacula-users] Bacula and tcpwrappers on Debian
Hi all, I've found out that tcpwrappers were causing my authentication problems (bconsole couldn't connect to the bacula-dir process.) If remove the 'ALL: ALL' line from hosts.deny bconsole will connect to the director successfully. I reinstate the 'ALL: ALL' clause and the following hosts.allow file will not allow bconsole to connect: bacula-dir: ALL bacula-fd: ALL bacula-sd: ALL (I know I probably don't need the bacula-fd and -sd lines, but I included them out of frustration.) What else should I include in my hosts.allow file to allow bconsole to connect to the director? Thanks, Greg --- 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