Re: [Bacula-users] ML6000 does not work al of a sudden
Hi Tilman, Thanks a lot for your reply, you were right about the spool file, I did searched for files there and I found a file of approx 725 Gb dated 22.02.2012 which is also the date when our problems begin. I'll erase that and start a new job. I need to explain to you a bit in detail what happened: The tape drive had an error that kept coming: Name: T050 - TapeAlert 31 - Hardware B Ticket Number: 18 State: UnOpened Creation Date: 05-May-2011 11:39:08 Severity: 2 Last Occurrence: 05-May-2011 11:39:08 Description: Tape drive internal hardware problem detected. Technical Details Fault code generic 0 Fault code specific 22 Element type generic UDS-3 Sled Element Location [0,2] Drive Sled Serial Number 1310022196 Partition library_a Fault description All Tape Alerts posted- 31 Also Calibration error and such. So after 3 weeks of diagnosis with Dell, we got another tape drive. But the new tape drive did not write tapes also (the latest errors in the first post are from the second tape drive and most probably is the spool quota as you pointed out) and here is the output of btape for the new tape drive #btape /dev/rmt/0bn Tape block granularity is 1024 bytes. btape: butil.c:284 Using device: /dev/rmt/0bn for writing. 23-Apr 14:54 btape JobId 0: 3301 Issuing autochanger loaded? drive 0 command. test 23-Apr 14:54 btape JobId 0: 3302 Autochanger loaded? drive 0, result is Slot 47. btape: btape.c:476 open device LTO4-01 (/dev/rmt/0bn): OK * === Write, rewind, and re-read test === I'm going to write 1 records and an EOF then write 1 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:1148 Wrote 1 blocks of 64412 bytes. btape: btape.c:608 Wrote 1 EOF to LTO4-01 (/dev/rmt/0bn) btape: btape.c:1164 Wrote 1 blocks of 64412 bytes. btape: btape.c:608 Wrote 1 EOF to LTO4-01 (/dev/rmt/0bn) btape: btape.c:608 Wrote 1 EOF to LTO4-01 (/dev/rmt/0bn) btape: btape.c:1206 Rewind OK. 1 blocks re-read correctly. Got EOF on tape. 1 blocks re-read correctly. === Test Succeeded. End Write, rewind, and re-read test === btape: btape.c:1274 Block position test btape: btape.c:1286 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: Block 1 re-read correctly. Reposition to file:block 1:0 Block 10001 re-read correctly. Reposition to file:block 1:600 Block 10601 re-read correctly. Reposition to file:block 1: Block 2 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:578 Rewound LTO4-01 (/dev/rmt/0bn) btape: btape.c:1905 Wrote one record of 64412 bytes. btape: btape.c:1907 Wrote block to device. btape: btape.c:608 Wrote 1 EOF to LTO4-01 (/dev/rmt/0bn) btape: btape.c:1905 Wrote one record of 64412 bytes. btape: btape.c:1907 Wrote block to device. btape: btape.c:1905 Wrote one record of 64412 bytes. btape: btape.c:1907 Wrote block to device. btape: btape.c:608 Wrote 1 EOF to LTO4-01 (/dev/rmt/0bn) btape: btape.c:1905 Wrote one record of 64412 bytes. btape: btape.c:1907 Wrote block to device. btape: btape.c:1905 Wrote one record of 64412 bytes. btape: btape.c:1907 Wrote block to device. btape: btape.c:1905 Wrote one record of 64412 bytes. btape: btape.c:1907 Wrote block to device. btape: btape.c:608 Wrote 1 EOF to LTO4-01 (/dev/rmt/0bn) btape: btape.c:608 Wrote 1 EOF to LTO4-01 (/dev/rmt/0bn) btape: btape.c:476 open device LTO4-01 (/dev/rmt/0bn): OK btape: btape.c:578 Rewound LTO4-01 (/dev/rmt/0bn) btape: btape.c:1418 Now moving to end of medium. btape: btape.c:626 dev.c:956 ioctl MTEOM error on LTO4-01 (/dev/rmt/0bn). ERR=I/O error. We should be in file 3. I am at file 0. This is NOT correct Append test failed. Attempting again. Setting Hardware End of Medium = no and Fast Forward Space File = no and retrying append 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:578 Rewound LTO4-01 (/dev/rmt/0bn) btape: btape.c:1905 Wrote one record of 64412 bytes. btape: btape.c:1907 Wrote block to device. btape: btape.c:608 Wrote 1 EOF to LTO4-01 (/dev/rmt/0bn) btape: btape.c:1905 Wrote one record of 64412 bytes. btape: btape.c:1907 Wrote block to device. btape: btape.c:1905 Wrote one record of 64412 bytes. btape: btape.c:1907 Wrote block to device. btape: btape.c:608 Wrote 1 EOF to LTO4-01 (/dev/rmt/0bn) btape: btape.c:1905 Wrote one record of 64412 bytes. btape: btape.c:1907 Wrote block to device. btape: btape.c:1905 Wrote one record of 64412 bytes.
Re: [Bacula-users] Unable to restore some encrypted Windows 2003 backups with master.pem
2012/4/25 Martin Simmons mar...@lispworks.com: On Wed, 25 Apr 2012 12:05:59 +0200, Hugo Letemplier said: 2012/4/16 Martin Simmons mar...@lispworks.com: On Sat, 14 Apr 2012 13:53:37 +0200, Hugo Letemplier said: 2012/4/11 Martin Simmons mar...@lispworks.com: On Wed, 4 Apr 2012 16:59:58 +0200, Hugo Letemplier said: Hello, I have tested encryption/decryption on many bacula backups but one job is tricky I have Linux, MacOSX and Windows 2003 servers I have master.cert and one fd.pem for encryption on each client. fd.pem is specific for each client master.cert is on every client and allow to decrypt with the secret master.pem in the case we loose the specific backup key. My bacula server is unable to restore 1 of my three Windows servers using the master.pem keypair Saying unable to restore is too vague -- what is the error message? I wanted to say that Master encryption/decryption doesn't work although the client specific encryption/decryption works It's just saying : Error: Missing private key required to decrypt encrypted backup data. OK. Which one fails to restore? Is it definitely using the correct bacula-fd.conf? E.g. try temporarily deleting the master.pem file and see if the bacula-fd fails to start. The file daemon with master.pem is decrypting every other backup fine (linux, mac windows) so it can't come from the restore FD but more from the backup fd when it loads the master.cert that contains the master public key. That points to a problem on the Windows machine's file daemon. E.g. try temporarily deleting the master.pem file from the Windows client and verify that you get an error when you restart its bacula-fd. __Martin Did you want to say master.cert file ? Instead of master.pem Oops yes, thanks for the correction. __Martin Hello Indeed, if I rename the file bacula services starts without any warning and if I do a status client=MyWIndowsFD in bconsole everything seems to be fine. On the other windows server, I tried the same and the service refused to start, I simply don't understand What should I do ? Thanks Hugo -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Unable to restore some encrypted Windows 2003 backups with master.pem
On Fri, 4 May 2012 11:01:24 +0200, Hugo Letemplier said: 2012/4/25 Martin Simmons mar...@lispworks.com: On Wed, 25 Apr 2012 12:05:59 +0200, Hugo Letemplier said: 2012/4/16 Martin Simmons mar...@lispworks.com: On Sat, 14 Apr 2012 13:53:37 +0200, Hugo Letemplier said: 2012/4/11 Martin Simmons mar...@lispworks.com: On Wed, 4 Apr 2012 16:59:58 +0200, Hugo Letemplier said: Hello, I have tested encryption/decryption on many bacula backups but one job is tricky I have Linux, MacOSX and Windows 2003 servers I have master.cert and one fd.pem for encryption on each client. fd.pem is specific for each client master.cert is on every client and allow to decrypt with the secret master.pem in the case we loose the specific backup key. My bacula server is unable to restore 1 of my three Windows servers using the master.pem keypair Saying unable to restore is too vague -- what is the error message? I wanted to say that Master encryption/decryption doesn't work although the client specific encryption/decryption works It's just saying : Error: Missing private key required to decrypt encrypted backup data. OK. Which one fails to restore? Is it definitely using the correct bacula-fd.conf? E.g. try temporarily deleting the master.pem file and see if the bacula-fd fails to start. The file daemon with master.pem is decrypting every other backup fine (linux, mac windows) so it can't come from the restore FD but more from the backup fd when it loads the master.cert that contains the master public key. That points to a problem on the Windows machine's file daemon. E.g. try temporarily deleting the master.pem file from the Windows client and verify that you get an error when you restart its bacula-fd. __Martin Did you want to say master.cert file ? Instead of master.pem Oops yes, thanks for the correction. __Martin Hello Indeed, if I rename the file bacula services starts without any warning and if I do a status client=MyWIndowsFD in bconsole everything seems to be fine. On the other windows server, I tried the same and the service refused to start, I simply don't understand What should I do ? OK, that suggests to me that the bacula-fd.conf doesn't load master.cert for some reason. Check the command line arguments of the service to find the bacula-fd.conf. You could try renaming that bacula-fd.conf and then restart the service (I would expect it to fail to start in that case). Having identified the bacula-fd.conf that the service is using, compare it to the working ones. __Martin -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to get free hard disk space back ?
On Wed, 2 May 2012 11:40:52 +1100 Jerome Alet jerome.a...@univ-nc.nc wrote: [...] Attached to this message you'll find the shell script I'm now using. [...] The correct way to deal with temporary files in shell scripts is using mktemp to generate a temporary file with unique name: BSCRIPT=`mktemp` trap rm -f '$BSCRIPT' TERM INT EXIT # populate the $BSCRIPT bconsole -n $BCSCRIPT /dev/null or a bit more fancy and robust: BSCRIPT=`mktemp` exec 3$BSCRIPT 4$BSCRIPT rm -f $BSCRIPT cat 3 EOF # the script goes here EOF bconsole -n 4 /dev/null -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] devel old backup in diff poll
in my conf for pool with diff's Volume Retention = 10 day Recycle Current Volume = Yes UseVolumeOnce = Yes after 10 days bacula remove old backup's in this pool? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] (no subject)
Hi I'm receiving que following message when trying to run a job: JobId Level Name Status == 2498 Fullproxy.sysconf.2012-05-04_09.38.01_10 *is waiting for a mount request* The storage device was changed from a hard disk to an usb disk due to problems in the original backup disk. Maybe some procedure i skipped? -- Att.* *** -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] (no subject)
On Fri, May 04, 2012 at 09:51:51AM -0300, Luis H. Forchesatto wrote: Hi I'm receiving que following message when trying to run a job: JobId Level Name Status == 2498 Fullproxy.sysconf.2012-05-04_09.38.01_10 *is waiting for a mount request* The storage device was changed from a hard disk to an usb disk due to problems in the original backup disk. Maybe some procedure i skipped? -- I guess we need some more config info here, specifically you should have received a mount request email to the address configured in your bacula config. It will contain the info about which volume / media bacula wants mounted or hasn't found for some reason. Cheers, Uwe -- NIONEX --- Ein Unternehmen der Bertelsmann AG -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula 5.2 in Debian
Am Fri, 04 May 2012 15:07:17 +0200 schrieb mailing: Hey folks... can youtell me when Debian takes Bacula 5.2 in in the repository? guess this is more a question for the debian bacula packaging group: http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-bacula-devel and try googling. there were discussions about 5.2 on this mailinglist. - Thomas -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Exchange plugin always truncating logs (when it should not)
Hi! I've been using bacula to backup an exchange 2003 server for some time with success. You could say I'm an happy user :) Lately I noticed bacula started truncating logs on EVERY backup, also incrementals and differentials, when it should not. I'm not sure when this happened. I'm inclined to thing it started when I upgraded to 5.2.6 But I don't have logs handy till them. I can try to reover them from some backup perhaps. The machine is a Windows 2003 R2 server, 32 bit. I used the installer from the project page on sourceforge to install bacula. If needed I can try installing a previous version on this client and see if this makes the problem disappear. Is such a scenario(older client) supported? The job description is unmodified since february 2011, and I'm sure it was not truncating logs back then. here's the job definition (defaults too): JobDefs { Name = DefaultJob Type = Backup Level = Full Accurate = yes Messages = Standard Pool = Default Priority = 10 SpoolData = no Spool Attributes = yes Write Bootstrap = /var/db/bacula/Bootstraps/%c_%n Max Start Delay = 20 h Enabled = yes } Job { Name = nifi10MonthlyMain Jobdefs = DefaultJob Schedule = MonthlyCycleMain Storage = Storageworks-1 Client = ntfi10-fd FileSet = ntfi10 Set # Exchange plugin not tested with accurate backups. Don't # use the option. Accurate = no Client Run Before Job = PreBCK.bat before Client Run After Job = PreBCK.bat after } FileSet { Name = ntfi10 Set Enable VSS = yes Include { Options { Signature = SHA1 } Plugin = exchange:/@EXCHANGE/Microsoft Information Store File = E:/Exchsrvr/NTFI10.log File = E:/Exchsrvr/Old-logs File = D:/Save_DB_Marcatempo File = D:/Software File = D:/tmp_BO File = E:/Documenti File = E:/backup } } The accurate and Enable VSS line have always been like that. So I don't think they're problematic. I'm quite sure that up to last year this configuration DID work as expected. Here are the messages from an Incremental: 03-May 23:51 uxifi04-dir JobId 26741: Start Backup JobId 26741, Job=nifi10MonthlyMain.2012-05-03_22.30.01_42 03-May 23:51 uxifi04-dir JobId 26741: Using Device Ultrium-1 03-May 23:51 ntfi10-fd JobId 26741: shell command: run ClientRunBeforeJob PreBCK.bat before 03-May 23:51 ntfi10-fd JobId 26741: ClientRunBeforeJob: 03-May 23:51 ntfi10-fd JobId 26741: ClientRunBeforeJob: C:\WINDOWS\system32REM $VGFi: PreBCK.bat,v 1.2 2010/01/19 15:40:24 gfalsi Exp $ 03-May 23:51 ntfi10-fd JobId 26741: ClientRunBeforeJob: 03-May 23:51 ntfi10-fd JobId 26741: ClientRunBeforeJob: C:\WINDOWS\system32if before == before goto create 03-May 23:51 ntfi10-fd JobId 26741: ClientRunBeforeJob: 03-May 23:51 ntfi10-fd JobId 26741: ClientRunBeforeJob: C:\WINDOWS\system32C:\windows\system32\ntbackup.exe backup systemstate /J NTFI10 SystemState /F E:\backup\ntfi10-systemstate.bkf /R:yes /L:n /SNAP:on 03-May 23:55 ntfi10-fd JobId 26741: ClientRunBeforeJob: 03-May 23:55 ntfi10-fd JobId 26741: ClientRunBeforeJob: C:\WINDOWS\system32goto :scend 03-May 23:55 ntfi10-fd JobId 26741: ClientRunBeforeJob: 03-May 23:55 ntfi10-fd JobId 26741: ClientRunBeforeJob: C:\WINDOWS\system32exit 0 03-May 23:55 uxifi04-sd JobId 26741: Spooling data ... 03-May 23:55 ntfi10-fd JobId 26741: Generate VSS snapshots. Driver=Win32 VSS, Drive(s)=ED 03-May 23:58 ntfi10-fd JobId 26741: Preparing Exchange Backup for NTFI10 03-May 23:58 ntfi10-fd JobId 26741: Truncated database logs for Storage Group First Storage Group 03-May 23:58 ntfi10-fd JobId 26741: Truncated database logs for Storage Group Second Storage Group 03-May 23:58 ntfi10-fd JobId 26741: Truncated database logs for Storage Group Third Storage Group 03-May 23:58 ntfi10-fd JobId 26741: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) 03-May 23:58 ntfi10-fd JobId 26741: VSS Writer (BackupComplete): Microsoft Exchange Writer, State: 0x1 (VSS_WS_STABLE) 03-May 23:58 ntfi10-fd JobId 26741: VSS Writer (BackupComplete): IIS Metabase Writer, State: 0x1 (VSS_WS_STABLE) 03-May 23:58 ntfi10-fd JobId 26741: VSS Writer (BackupComplete): MSDEWriter, State: 0x1 (VSS_WS_STABLE) 03-May 23:58 ntfi10-fd JobId 26741: VSS Writer (BackupComplete): BITS Writer, State: 0x1 (VSS_WS_STABLE) 03-May 23:58 ntfi10-fd JobId 26741: VSS Writer (BackupComplete): Event Log Writer, State: 0x1 (VSS_WS_STABLE) 03-May 23:58 ntfi10-fd JobId 26741: VSS Writer (BackupComplete): Registry Writer, State: 0x1 (VSS_WS_STABLE) 03-May 23:58 ntfi10-fd JobId 26741: VSS Writer (BackupComplete): Removable Storage Manager, State: 0x1 (VSS_WS_STABLE) 03-May 23:58 ntfi10-fd JobId 26741: VSS Writer
Re: [Bacula-users] devel old backup in diff poll
W dniu 04.05.2012 14:45, Anton Gorlov pisze: in my conf for pool with diff's Volume Retention = 10 day Recycle Current Volume = Yes UseVolumeOnce = Yes after 10 days bacula remove old backup's in this pool? Hi, After 10 days from marked volume as Used of Full, volume will be ready to recycle process. If Bacula will request this volume then volume will be recycled, all backups on this volume will be lost and volume will be writing as new volume. In your configuration of Pool resource volumes status rather will be Used (because of Use Volume Once = yes). 'Recycle Current Volume' directive will be try to run recycle process on current using volume. So, you should guarantee that current volume is ready to recycle (older than 10 days after marked volume as Used) eg. by using fixed volumes numer in pool. Number of volumes in pool you can calculate by using below schema: Vol. Retention time volumes number = -- 1 number of backups per volume * backup interval time In your case that may be: 10 volumes number = 1 1 * 1 so number of volumes on pool should be at least 11. Please note that 'Use Volume Once' directive is deprecated and its actual equivalent is: Maximum Volume Jobs = 1 Answering on your question: after 10 days bacula remove old backup's in this pool? No. Volume Retention is connected with volumes so I suggest to treating this on volumes level. Regards. gani -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] devel old backup in diff poll
W dniu 04.05.2012 18:34, ganiuszka pisze: Number of volumes in pool you can calculate by using below schema: Vol. Retention time volumes number = -- 1 number of backups per volume * backup interval time In your case that may be: 10 volumes number = 1 1 * 1 I do not know why there truncated 'plus' character. So I am sending this part again: Number of volumes in pool you can calculate by using below schema: Vol. Retention time volumes number = -- + 1 number of backups per volume * backup interval time In your case that may be: 10 volumes number = + 1 1 * 1 Regards and sorry. gani -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] devel old backup in diff poll
04.05.2012 20:34, ganiuszka написал: After 10 days from marked volume as Used of Full, volume will be ready to recycle process. If Bacula will request this volume then volume will be recycled, all backups on this volume will be lost and volume will be writing as new volume. Can I manually change Volume Retention time for existing volume if it needed? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] backup
Hi I'm receiving the following messages from bacula after changed the destination of the backups. The destination had to be changed after an disk failure, now an usb drive are beign used. The job status: JobId Level Name Status == 2498 Fullproxy.sysconf.2012-05-04_09.38.01_10 is waiting for a mount request == Messages 04-May 08:48 backup-dir JobId 2497: Start Backup JobId 2497, Job=smbserver.sysconf.2012-05-04_08.48.46_05 04-May 08:48 backup-dir JobId 2497: Max configured use duration exceeded. Marking Volume smbserver.sysconf-802 as Used. 04-May 08:48 backup-dir JobId 2497: There are no more Jobs associated with Volume smbserver.sysconf-898. Marking it purged. 04-May 08:48 backup-dir JobId 2497: All records pruned from Volume smbserver.sysconf-898; marking it Purged 04-May 08:48 backup-dir JobId 2497: Recycled volume smbserver.sysconf-898 04-May 08:48 backup-dir JobId 2497: Using Device FileStorage 04-May 08:48 backup-sd JobId 2497: Warning: label.c:331 Open device FileStorage (/media/usb-backup/bacula/) Volume smbserver.sysconf-898 failed: ERR=dev.c:548 Could not open: /media/usb-backup/bacula/smbserver.sysconf-898, ERR=Permission denied 04-May 08:48 backup-sd JobId 2497: Warning: label.c:331 Open device FileStorage (/media/usb-backup/bacula/) Volume smbserver.sysconf-898 failed: ERR=dev.c:548 Could not open: /media/usb-backup/bacula/smbserver.sysconf-898, ERR=Permission denied Another... 04-May 08:48 backup-sd JobId 2497: Please mount Volume smbserver.sysconf-898 or label a new one for: Job: smbserver.sysconf.2012-05-04_08.48.46_05 Storage: FileStorage (/media/usb-backup/bacula/) Pool: smbserver.sysconf Media type: File Any ideas of what is the problem? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup
On Fri, May 4, 2012 at 2:35 PM, Luis H. Forchesatto luisforchesa...@gmail.com wrote: Hi I'm receiving the following messages from bacula after changed the destination of the backups. The destination had to be changed after an disk failure, now an usb drive are beign used. The job status: JobId Level Name Status == 2498 Full proxy.sysconf.2012-05-04_09.38.01_10 is waiting for a mount request == Messages 04-May 08:48 backup-dir JobId 2497: Start Backup JobId 2497, Job=smbserver.sysconf.2012-05-04_08.48.46_05 04-May 08:48 backup-dir JobId 2497: Max configured use duration exceeded. Marking Volume smbserver.sysconf-802 as Used. 04-May 08:48 backup-dir JobId 2497: There are no more Jobs associated with Volume smbserver.sysconf-898. Marking it purged. 04-May 08:48 backup-dir JobId 2497: All records pruned from Volume smbserver.sysconf-898; marking it Purged 04-May 08:48 backup-dir JobId 2497: Recycled volume smbserver.sysconf-898 04-May 08:48 backup-dir JobId 2497: Using Device FileStorage 04-May 08:48 backup-sd JobId 2497: Warning: label.c:331 Open device FileStorage (/media/usb-backup/bacula/) Volume smbserver.sysconf-898 failed: ERR=dev.c:548 Could not open: /media/usb-backup/bacula/smbserver.sysconf-898, ERR=Permission denied 04-May 08:48 backup-sd JobId 2497: Warning: label.c:331 Open device FileStorage (/media/usb-backup/bacula/) Volume smbserver.sysconf-898 failed: ERR=dev.c:548 Could not open: /media/usb-backup/bacula/smbserver.sysconf-898, ERR=Permission denied Another... 04-May 08:48 backup-sd JobId 2497: Please mount Volume smbserver.sysconf-898 or label a new one for: Job: smbserver.sysconf.2012-05-04_08.48.46_05 Storage: FileStorage (/media/usb-backup/bacula/) Pool: smbserver.sysconf Media type: File Any ideas of what is the problem? Does user bacula (or whatever user bacula-sd runs as) have write permission in /media/usb-backup/bacula/ John -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fwd: backup
-- Forwarded message -- From: Luis H. Forchesatto luisforchesa...@gmail.com Date: Fri, May 4, 2012 at 2:55 PM Subject: Re: [Bacula-users] backup To: John Drescher dresche...@gmail.com Yes. 2012/5/4 John Drescher dresche...@gmail.com On Fri, May 4, 2012 at 2:35 PM, Luis H. Forchesatto luisforchesa...@gmail.com wrote: Hi I'm receiving the following messages from bacula after changed the destination of the backups. The destination had to be changed after an disk failure, now an usb drive are beign used. The job status: JobId Level Name Status == 2498 Full proxy.sysconf.2012-05-04_09.38.01_10 is waiting for a mount request == Messages 04-May 08:48 backup-dir JobId 2497: Start Backup JobId 2497, Job=smbserver.sysconf.2012-05-04_08.48.46_05 04-May 08:48 backup-dir JobId 2497: Max configured use duration exceeded. Marking Volume smbserver.sysconf-802 as Used. 04-May 08:48 backup-dir JobId 2497: There are no more Jobs associated with Volume smbserver.sysconf-898. Marking it purged. 04-May 08:48 backup-dir JobId 2497: All records pruned from Volume smbserver.sysconf-898; marking it Purged 04-May 08:48 backup-dir JobId 2497: Recycled volume smbserver.sysconf-898 04-May 08:48 backup-dir JobId 2497: Using Device FileStorage 04-May 08:48 backup-sd JobId 2497: Warning: label.c:331 Open device FileStorage (/media/usb-backup/bacula/) Volume smbserver.sysconf-898 failed: ERR=dev.c:548 Could not open: /media/usb-backup/bacula/smbserver.sysconf-898, ERR=Permission denied 04-May 08:48 backup-sd JobId 2497: Warning: label.c:331 Open device FileStorage (/media/usb-backup/bacula/) Volume smbserver.sysconf-898 failed: ERR=dev.c:548 Could not open: /media/usb-backup/bacula/smbserver.sysconf-898, ERR=Permission denied Another... 04-May 08:48 backup-sd JobId 2497: Please mount Volume smbserver.sysconf-898 or label a new one for: Job: smbserver.sysconf.2012-05-04_08.48.46_05 Storage: FileStorage (/media/usb-backup/bacula/) Pool: smbserver.sysconf Media type: File Any ideas of what is the problem? Does user bacula (or whatever user bacula-sd runs as) have write permission in /media/usb-backup/bacula/ John -- Att. -- John M. Drescher -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Exchange plugin always truncating logs (when it should not)
I've been using bacula to backup an exchange 2003 server for some time with success. You could say I'm an happy user :) Lately I noticed bacula started truncating logs on EVERY backup, also incrementals and differentials, when it should not. I'm not sure when this happened. I'm inclined to thing it started when I upgraded to 5.2.6 But I don't have logs handy till them. I can try to reover them from some backup perhaps. The machine is a Windows 2003 R2 server, 32 bit. I used the installer from the project page on sourceforge to install bacula. If needed I can try installing a previous version on this client and see if this makes the problem disappear. Is such a scenario(older client) supported? That's really strange. The code to do this is pretty straightforward... at job init it does this: switch (context-job_level) { case 'F': if (context-notrunconfull_option) { context-truncate_logs = false; } else { context-truncate_logs = true; } break; case 'D': context-truncate_logs = false; break; case 'I': context-truncate_logs = false; break; default: _DebugMessage(100, Invalid job level %c\n, context-job_level); return bRC_Error; } break; Then later it does this: if (context-truncate_logs) { _DebugMessage(100, Calling HrESEBackupTruncateLogs\n); result = HrESEBackupTruncateLogs(hccx); if (result != 0) { _JobMessage(M_FATAL, HrESEBackupTruncateLogs failed with error 0x%08x - %s\n, result, ESEErrorMessage(result)); } else { _JobMessage(M_INFO, Truncated database logs for Storage Group %s\n, name); } } else { _JobMessage(M_INFO, Did NOT truncate database logs for Storage Group %s\n, name); } And nothing else touches truncate_logs in between that I can see. Could you please try doing: set debug level=200 trace=1 for your fd, run a backup, and then email me the resulting trace file (in the fd working directory I think). I'm wondering if something has changed and the callback ordering is different or something. James -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users