Re: [Bacula-users] [Fwd: Bacula GDB traceback of bacula-sd]
Thomas Kempf schrieb: Hello, whenever i try to start a backup job on a 2.1.26-beta installation, bacula-sd crashes with a kaboom and a traceback which i included in this mail. I upgraded this machine from a working 1.36 installation to 2.1.26-beta this week (compiled from source). I'll investigate this issue further but i thought the traceback, which doesn't tell me much (what a pity), would be of interest for the developers. The log file of the backups show the following messages after the crash,so the problem seems to be around that area 20-Jul 08:39 hueper-dir: Start Backup JobId 6207, Job=GFS-Dieder.2007-07-20_08.39.16 20-Jul 08:39 hueper-dir: GFS-Dieder.2007-07-20_08.39.16 Fatal error: Storage daemon didn't accept Device NEC-LTO2 command. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] [Fwd: Bacula GDB traceback of bacula-sd]
Sorry, the first mail was not accepted by sourceforge, because i forwarded the traceback as eml. So here is the contents of my first mail again. Tom Hello, whenever i try to start a backup job on a 2.1.26-beta installation, bacula-sd crashes with a kaboom and a traceback which i included in this mail. I upgraded this machine from a working 1.36 installation to 2.1.26-beta this week (compiled from source). I'll investigate this issue further but i thought the traceback, which doesn't tell me much (what a pity), would be of interest for the developers. And here the traceback: Using host libthread_db library /lib/tls/libthread_db.so.1. 0xe410 in ?? () $1 = baraber-sd, '\0' repeats 19 times $2 = 0x80ace00 bacula-sd $3 = 0x80ad080 /usr/sbin/bacula-sd $4 = 0x0 $5 = 0x80a4334 2.1.26 (12 July 2007) $6 = 0x80a0017 i686-pc-linux-gnu $7 = 0x80a0012 suse $8 = 0x80a000e 9.3 #0 0xe410 in ?? () #1 0xb318 in ?? () #2 0x in ?? () #3 0xbfffe750 in ?? () #4 0x40319fd1 in select () from /lib/tls/libc.so.6 #5 0x08079332 in bnet_thread_server (addrs=0x80ad820, max_clients=41, client_wq=0x80aad60, handle_client_request=0x8060280 handle_connection_request(void*)) at bnet_server.c:161 #6 0x0804d4fe in main (argc=4, argv=0xb404) at stored.c:263 #0 0xe410 in ?? () No symbol table info available. #1 0xb318 in ?? () No symbol table info available. #2 0x in ?? () No symbol table info available. #3 0xbfffe750 in ?? () No symbol table info available. #4 0x40319fd1 in select () from /lib/tls/libc.so.6 No symbol table info available. #5 0x08079332 in bnet_thread_server (addrs=0x80ad820, max_clients=41, client_wq=0x80aad60, handle_client_request=0x8060280 handle_connection_request(void*)) at bnet_server.c:161 161 if ((stat = select(maxfd + 1, sockset, NULL, NULL, NULL)) 0) { Current language: auto; currently c++ maxfd = 4 sockset = {fds_bits = {16, 0 repeats 31 times}} newsockfd = value optimized out stat = value optimized out clilen = 16 cli_addr = {sa_family = 2, sa_data = \210úÀ¨\000\n\000\000\000\000\000\000\000} tlog = value optimized out turnon = 1 p = (IPADDR *) 0x0 fd_ptr = (s_sockfd *) 0x0 buf = [EMAIL PROTECTED]@[EMAIL PROTECTED] \206\001\000\204»\n\b°Ñ\n\b\v\000\000\000PØ\n\bøòÿ¿ [EMAIL PROTECTED] sockfds = {SMARTALLOC = {No data fields}, head = 0xbfffe710, tail = 0xbfffe710, loffset = 0, num_items = 1} allbuf = [EMAIL PROTECTED])@, '\0' repeats 12 times, [EMAIL PROTECTED],[EMAIL PROTECTED]@[EMAIL PROTECTED]@\030éÿ¿1\232,@[EMAIL PROTECTED],@[EMAIL PROTECTED]@[EMAIL PROTECTED])\000... #6 0x0804d4fe in main (argc=4, argv=0xb404) at stored.c:263 263bnet_thread_server(me-sdaddrs, me-max_concurrent_jobs * 2 + 1, ch = value optimized out no_signals = value optimized out test_config = false thid = 1079782320 uid = 0x0 gid = 0x0 #0 0x in ?? () No symbol table info available. -- Thomas Kempf Werbeagentur Hüper GmbH Im Brühl 1 89520 Heidenheim - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] why does my verify job show errors?
Hi, I'm still in the process of setting up verify jobs for my backups. One job gives me a verify error and I don't know why. Job { Name = VerifySMTCZB0003 Type = Verify Level = VolumeToCatalog Verify Job = SMTCZB0003 FileSet = SMTCZB0003 Schedule = Verify Regular Backup Client= SMTCZB0003 Messages = Standard Pool = Default Storage = NEC-T40A Priority = 6 } the backup job: 20-Jul 00:05 VU0EM005: BeforeJob: run command [stop database and MKS service] 20-Jul 00:07 VU0EM005: BeforeJob: Starte MKS... 20-Jul 00:07 VU0EM005: Start Backup JobId 336, Job=SMTCZB0003.2007-07-20_00.05.00 20-Jul 00:07 VU0EM005: 3301 Issuing autochanger loaded? drive 0 command. 20-Jul 00:07 VU0EM005: 3302 Autochanger loaded? drive 0, result is Slot 2. 20-Jul 00:07 VU0EM005: Volume 06D121L3 previously written, moving to end of data. 20-Jul 00:08 VU0EM005: Ready to append to end of Volume 06D121L3 at file=11. 20-Jul 00:08 VU0EM005: Spooling data ... SMTCZB0003-fd: Filesystem change prohibited. Will not descend into /var/lib/nfs/rpc_pipefs SMTCZB0003-fd: Filesystem change prohibited. Will not descend into /dev SMTCZB0003-fd: Filesystem change prohibited. Will not descend into /sys SMTCZB0003-fd: Filesystem change prohibited. Will not descend into /boot 20-Jul 00:10 VU0EM005: Job write elapsed time = 00:02:03, Transfer rate = 4.046 M bytes/second 20-Jul 00:10 VU0EM005: Committing spooled data to Volume 06D121L3. Despooling 498,293,625 bytes ... 20-Jul 00:10 VU0EM005: Despooling elapsed time = 00:00:04, Transfer rate = 124.5 M bytes/second 20-Jul 00:10 VU0EM005: Sending spooled attrs to the Director. Despooling 674,115 bytes ... 20-Jul 00:10 VU0EM005: AfterJob: run command start database and MKS service] 20-Jul 00:10 VU0EM005: Bacula 2.0.3 (06Mar07): 20-Jul-2007 00:10:35 JobId: 336 Job:SMTCZB0003.2007-07-20_00.05.00 Backup Level: Incremental, since=2007-07-19 00:07:06 Client: SMTCZB0003 i686-pc-linux-gnu,redhat,Enterprise release FileSet:SMTCZB0003 2007-02-20 22:25:00 Pool: Incremental (From Run pool override) Storage:NEC-T40A (From Job resource) Scheduled time: 20-Jul-2007 00:05:00 Start time: 20-Jul-2007 00:07:07 End time: 20-Jul-2007 00:10:35 Elapsed time: 3 mins 28 secs Priority: 5 FD Files Written: 2,097 SD Files Written: 2,097 FD Bytes Written: 497,380,068 (497.3 MB) SD Bytes Written: 497,777,811 (497.7 MB) Rate: 2391.3 KB/s Software Compression: None VSS:no Encryption: no Volume name(s): 06D121L3 Volume Session Id: 27 Volume Session Time:1184053226 the verify job (the choosen jobid to run the verify job is ok!): 20-Jul 09:04 VU0EM005: Verifying against JobId=336 Job=SMTCZB0003.2007-07-20_00.05.00 20-Jul 09:04 VU0EM005: Bootstrap records written to /opt/bacula/var/bacula/working/VU0EM005.restore.8.bsr 20-Jul 09:04 VU0EM005: 20-Jul 09:04 VU0EM005: The job will require the following Volume(s) Storage(s)SD Device(s) === 20-Jul 09:04 VU0EM005: 20-Jul 09:04 VU0EM005:06D121L3 NEC-T40A NEC-T40A 20-Jul 09:04 VU0EM005: 20-Jul 09:04 VU0EM005: Start Verify JobId=341 Level=VolumeToCatalog Job=VerifySMTCZB0003.2007-07-20_09.04.24 20-Jul 09:04 VU0EM005: Ready to read from volume 06D121L3 on device LTO3 (/dev/ULTRIUM-TD3). 20-Jul 09:04 VU0EM005: Forward spacing Volume 06D121L3 to file:block 11:0. 20-Jul 09:05 VU0EM005: File: /var/run/utmp 20-Jul 09:05 VU0EM005: MD5 digest not same. File=x8/Fr4dxz++2Un+ec+0R4B Cat=x83FrYdxzea2Unmece0R4Q 20-Jul 09:05 VU0EM005: File: /var/cache/man/whatis 20-Jul 09:05 VU0EM005: MD5 digest not same. File=2/t8c8wWkk+x16/778/4zD Cat=2/t8c8wWkk2x16v77sD4zw [...] 20-Jul 09:05 VU0EM005: File: [...]Objektschnittstelle.vpj/vp0014.pj 20-Jul 09:05 VU0EM005: MD5 digest not same. File=55lQOkRPrCdK86N6kz+neC Cat=55lQOkRPrCdK86N6kzKneg 20-Jul 09:05 VU0EM005: File: [...]Objektschnittstelle.vpj/vp0014.trn 20-Jul 09:05 VU0EM005: MD5 digest not same. File=S6+E2+pik9+X52+jJ//fmC Cat=SKaE2OpikdyX52qjJ/Hfmg [several hundred lines more] So I did a restore of some of the files with different checksumms and compared the restored files with the source files. original files: e799503a444fac274af3a37a9332a77a vp0014.pj 48a684d8ea6291dc97e76aa327f1df9a vp0014.trn restored files: e799503a444fac274af3a37a9332a77a /tmp/[...]/vp0014.pj 48a684d8ea6291dc97e76aa327f1df9a /tmp/[...]/vp0014.trn The md5sums are identical. Any ideas what I'm missing? I've a second verify job of an other client which is not showing any differences. Ralf -
Re: [Bacula-users] [Copfilter] Copy of quarantined email - *** SPAM *** [6.8/4.0] Re: TS3310 problems - continued
Hi, please send replies to the list, so others can follow this discussion, too. 20.07.2007 08:18,, [EMAIL PROTECTED] wrote:: Hi, Dnia 18-07-2007 o godz. 10:39 Arno Lehmann napisa³(a): Hi, 18.07.2007 10:10,, Mariusz Czulada wrote:: Hi again, I still have problems with my IBM TS3310 library, so again ask for your help with this. I use an IBM xSeries host with CentOS 4.3. DDS-5 internal drive (working perfectly), and IBM TS3310 tape library, with two LTO-3 drives connected directly (i mean without FC switch) to two QLogic QLA2460 HBA. IBM tape drivers taken from IBM site. Catalog is created in PostgreSQL 8.1.5. Bacula 2.0.2. Both pg and bacula compiled from sources. After btape tests (went 100% OK) I added some suggested options to device definition, so now it looks like this: ... Device { Name = Dev:TS3310-drv0 Device Type = tape Media Type = LTO-3 Archive Device = /dev/IBMtape0n AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; Block positioning = no; # hint from btape Hardware End of Medium = No # hint from btape Fast Forward Space File = No# hint from btape BSF at EOM = yes# hint from btape This will only work when you also set Two EOFs at tape end, I think. I added TWO EOF=yes, but unfortunately, it didn't help. I got: 18-Jul 13:58 Sd:pl-admbackup01: J:RepositoryFull-ncx.2007-07-18_13.53.20 Error: Unable to position to end of data on device Dev:TS3310-drv0 (/dev/IBMtape0n): ERR=dev.c:1359 read error on Dev:TS3310-drv0 (/dev/IBMtape0n). ERR=Input/output error. Was this with a tape that has been used already? In that case, the problem is to be expected. If you wrote to that tape only after the Two EOF were set and the SD restarted, and then got that problem, I'm running out of ideas... probably the best thing you can do now is investigating the caching problem Kern mentioned... Arno Arno Autochanger = yes; Drive Index = 0; } Device { Name = Dev:TS3310-drv1 Device Type = tape Media Type = LTO-3 Archive Device = /dev/IBMtape1n AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; Block positioning = no; # hint from btape Hardware End of Medium = No # hint from btape Fast Forward Space File = No# hint from btape BSF at EOM = yes# hint from btape Autochanger = yes; Drive Index = 1; } Autochanger { Name = Achg:TS3310 Device = Dev:TS3310-drv0 Device = Dev:TS3310-drv1 Changer Device = /dev/sg6 Changer Command = /opt/bacula/etc/mtx-changer %c %o %S %a %d } ... The problem appears when tape is reloaded - SD cannot correctly find end of tape and it marks volue as Error. In attached file there is a part of debugged SD log with related elements. The curious case is that it not always fails! Sometimes one or two reloads works fine, job is appended to the volume, but after first error all further jobs fail to append. Lately, I tested 2.1.22, hoping for some fixes here, but still have same problems. I wonder if there is at least a workaround for this, i.e. with some additional device options. Thanks in advance for any help, Mariusz Czu³ada Wirtualna Polska zaprasza na Gdañsk Summer Festival. Koncerty gwiazd w Gdañsku! http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fsummerf.htmlsid=1224 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Adjusting time.
Chris Hoogendyk wrote: I run xntpd on my sun server referencing a central server and also providing services for my department's subnet. Both Mac and Windows desktops are told to sync to my server. Since I'm not the Windows admin, I don't know how they do it. But Arno has already given some information about that. Ryan Novosielski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A followup: Windows Time Sync appears to use NTP, or if not, at least something on my host that is running is able to be the source for a Windows Time Sync. It must be NTP, as I can't imagine it's SMB. Erik P. Olsen wrote: Robert LeBlanc wrote: I believe it adjust the time in the database so that all the client match up to the same time. If it's more then a handful of seconds, I'd recommend setting up time sync on all your machines. Yes, only problem is I don't know how to do that on Windows machines. Robert On 7/19/07 4:09 PM, Erik P. Olsen [EMAIL PROTECTED] wrote: At job start a message about adjusting time is usually sent. What is it that is actually being adjusted? I don't see that the time on my client machines have been adjusted. Thanks to everybody for the good advice. I manage to find the following link which I hope will help: http://www.microsoft.com/technet/prodtechnol/windows2000pro/maintain/w2kmngd/16_2kwts.mspx And I thought M$ would have a gui as usual to do that sort of job ;-) -- Ciao, Erik. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] Bacula always u pgrade differential/incremental to full
Hello, I am unable to duplicate this problem, and suspect that there is some other problem such as confusion between the original backup job name and the name of the migration Job. Below, you will see that the migration job is named migrate-job and the job to be migrated is named MigrationJobSave. All Migrated jobs already have Type='B' so the proposed solution of checking for 'M' is not correct. Here is a job listing of a Migration that I just did: list jobs +---+--+-+--+---+--+-+---+ | JobId | Name | StartTime | Type | Level | JobFiles | JobBytes| JobStatus | +---+--+-+--+---+--+-+---+ | 1 | MigrationJobSave | 2007-07-20 10:40:46 | M| F |7,336 | 133,686,677 | T | | 5 | MigrationJobSave | 2007-07-20 10:40:46 | B| F |7,336 | 134,833,665 | T | | 2 | MigrationJobSave | 2007-07-20 10:40:49 | M| F |7,336 | 133,686,677 | T | | 6 | MigrationJobSave | 2007-07-20 10:40:49 | B| F |7,336 | 134,833,665 | T | | 4 | migrate-job | 2007-07-20 10:41:01 | g| F |0 | 0 | T | | 3 | migrate-job | 2007-07-20 10:41:04 | g| F |0 | 0 | T | | 7 | MigrationJobSave | 2007-07-20 10:41:11 | B| I |0 | 0 | T | +---+--+-+--+---+--+-+---+ In the above, I ran two full backups (JobId=1,2) Then a migration job (JobId=3,4) which produced the Migrated output JobId=6. Note, jobids=1,2 were both marked as migrated, type='M' and the resulting migrated job JobId=6 is marked with type='B' as they should. And finally, I ran an Incremental backup, which since I had not modified any files backed up nothing. If it had been upgraded, it would have backed up everything. If you still think there is a problem, at a *minimum*, I'll need a job listing equivalent to the above plus the bacula-dir.conf file so I can see the parameters that were set for migration. Best regards, Kern On Friday 20 July 2007 00:27, Arno Lehmann wrote: Hi, 19.07.2007 23:55,, Gustavo Gibson da Silva wrote:: Hi there, I've noticed that full backup jobs that are migrated are not considered as a Backup job. So I get the following message: Uh oh... if that's true then you found a major problem, I think... I'm forwarding this to the -devel list, too, as they surely want to know about something like this shortly before releasing the next version... 13-Jul 02:00 srv-backup03-dir: sql_find.c:134 No Job record found: ERR= CMD=SELECT StartTime FROM Job WHERE JobStatus='T' AND Type='B' AND Level='F' AND Name='srv-erh01' AND ClientId=15 AND FileSetId=27 ORDER BY StartTime DESC LIMIT 1 However I've noticed that it works if I change the select statement to insert ( Type='B' or Type='M') so the statement above becomes: SELECT StartTime FROM Job WHERE JobStatus='T' AND ( Type='B' OR Type='M') AND Level='F' AND Name='srv-erh01' AND ClientId=15 AND FileSetId=27 ORDER BYStartTime DESC LIMIT 1; +-+ | StartTime | +-+ | 2007-07-19 02:29:33 | +-+ As I am no bacula or SQL expert, have I understood the statement correctly? I think so, but I'm not a migration expert :-) If so how does it get fixed on bacula? Should be a rather simple change somewhere in cats/sql_find.c and / or the files where the function db_find_job_start_time() is used. Perhaps. Arno Thank you. Gustavo. -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-devel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] why does my verify job show errors?
Hi Ralf, I can just tell you that I have nearly the same problem on one AIX4 server since I have upgraded to 2.0.3 from 1.38.x (verify is ok on all linux and windows-servers here). But my errormessage is: 'SHA1 digest differs' or 'MD5 digest differs' (I tried both). I restored such a file and made a diff but the file does not really differ. Greetings, User100 Ralf Gross schrieb: Hi, I'm still in the process of setting up verify jobs for my backups. One job gives me a verify error and I don't know why. Job { Name = VerifySMTCZB0003 Type = Verify Level = VolumeToCatalog Verify Job = SMTCZB0003 FileSet = SMTCZB0003 Schedule = Verify Regular Backup Client= SMTCZB0003 Messages = Standard Pool = Default Storage = NEC-T40A Priority = 6 } the backup job: 20-Jul 00:05 VU0EM005: BeforeJob: run command [stop database and MKS service] 20-Jul 00:07 VU0EM005: BeforeJob: Starte MKS... 20-Jul 00:07 VU0EM005: Start Backup JobId 336, Job=SMTCZB0003.2007-07-20_00.05.00 20-Jul 00:07 VU0EM005: 3301 Issuing autochanger loaded? drive 0 command. 20-Jul 00:07 VU0EM005: 3302 Autochanger loaded? drive 0, result is Slot 2. 20-Jul 00:07 VU0EM005: Volume 06D121L3 previously written, moving to end of data. 20-Jul 00:08 VU0EM005: Ready to append to end of Volume 06D121L3 at file=11. 20-Jul 00:08 VU0EM005: Spooling data ... SMTCZB0003-fd: Filesystem change prohibited. Will not descend into /var/lib/nfs/rpc_pipefs SMTCZB0003-fd: Filesystem change prohibited. Will not descend into /dev SMTCZB0003-fd: Filesystem change prohibited. Will not descend into /sys SMTCZB0003-fd: Filesystem change prohibited. Will not descend into /boot 20-Jul 00:10 VU0EM005: Job write elapsed time = 00:02:03, Transfer rate = 4.046 M bytes/second 20-Jul 00:10 VU0EM005: Committing spooled data to Volume 06D121L3. Despooling 498,293,625 bytes ... 20-Jul 00:10 VU0EM005: Despooling elapsed time = 00:00:04, Transfer rate = 124.5 M bytes/second 20-Jul 00:10 VU0EM005: Sending spooled attrs to the Director. Despooling 674,115 bytes ... 20-Jul 00:10 VU0EM005: AfterJob: run command start database and MKS service] 20-Jul 00:10 VU0EM005: Bacula 2.0.3 (06Mar07): 20-Jul-2007 00:10:35 JobId: 336 Job:SMTCZB0003.2007-07-20_00.05.00 Backup Level: Incremental, since=2007-07-19 00:07:06 Client: SMTCZB0003 i686-pc-linux-gnu,redhat,Enterprise release FileSet:SMTCZB0003 2007-02-20 22:25:00 Pool: Incremental (From Run pool override) Storage:NEC-T40A (From Job resource) Scheduled time: 20-Jul-2007 00:05:00 Start time: 20-Jul-2007 00:07:07 End time: 20-Jul-2007 00:10:35 Elapsed time: 3 mins 28 secs Priority: 5 FD Files Written: 2,097 SD Files Written: 2,097 FD Bytes Written: 497,380,068 (497.3 MB) SD Bytes Written: 497,777,811 (497.7 MB) Rate: 2391.3 KB/s Software Compression: None VSS:no Encryption: no Volume name(s): 06D121L3 Volume Session Id: 27 Volume Session Time:1184053226 the verify job (the choosen jobid to run the verify job is ok!): 20-Jul 09:04 VU0EM005: Verifying against JobId=336 Job=SMTCZB0003.2007-07-20_00.05.00 20-Jul 09:04 VU0EM005: Bootstrap records written to /opt/bacula/var/bacula/working/VU0EM005.restore.8.bsr 20-Jul 09:04 VU0EM005: 20-Jul 09:04 VU0EM005: The job will require the following Volume(s) Storage(s)SD Device(s) === 20-Jul 09:04 VU0EM005: 20-Jul 09:04 VU0EM005:06D121L3 NEC-T40A NEC-T40A 20-Jul 09:04 VU0EM005: 20-Jul 09:04 VU0EM005: Start Verify JobId=341 Level=VolumeToCatalog Job=VerifySMTCZB0003.2007-07-20_09.04.24 20-Jul 09:04 VU0EM005: Ready to read from volume 06D121L3 on device LTO3 (/dev/ULTRIUM-TD3). 20-Jul 09:04 VU0EM005: Forward spacing Volume 06D121L3 to file:block 11:0. 20-Jul 09:05 VU0EM005: File: /var/run/utmp 20-Jul 09:05 VU0EM005: MD5 digest not same. File=x8/Fr4dxz++2Un+ec+0R4B Cat=x83FrYdxzea2Unmece0R4Q 20-Jul 09:05 VU0EM005: File: /var/cache/man/whatis 20-Jul 09:05 VU0EM005: MD5 digest not same. File=2/t8c8wWkk+x16/778/4zD Cat=2/t8c8wWkk2x16v77sD4zw [...] 20-Jul 09:05 VU0EM005: File: [...]Objektschnittstelle.vpj/vp0014.pj 20-Jul 09:05 VU0EM005: MD5 digest not same. File=55lQOkRPrCdK86N6kz+neC Cat=55lQOkRPrCdK86N6kzKneg 20-Jul 09:05 VU0EM005: File: [...]Objektschnittstelle.vpj/vp0014.trn 20-Jul 09:05 VU0EM005: MD5 digest not same. File=S6+E2+pik9+X52+jJ//fmC Cat=SKaE2OpikdyX52qjJ/Hfmg [several hundred lines more] So I did a restore of some of the files with different checksumms and compared the
Re: [Bacula-users] printing barcodes and quantum superloader 3
Hello, I am using this for DLT-Tapes: http://www.gnu.org/software/barcode/ command: $ barcode -i labels.txt -e code39 -c -u mm -g 48x19 -t 3x10+20+42 -o bc.ps labels.txt: FR-1.1 FR-2.1 FR-3.1 FR-4.1 FR-5.1 JAN-1 APR-1 JUL-1 OKT-1 MO-1 DI-1 MI-1 DO-1 ---SNIP--- ---SNIP--- ---SNIP--- ---SNIP--- ---SNIP--- bc.ps ist the PostScript printfile. You can send it to your printer. regards Thomas Am Dienstag, 26. Juni 2007 10:36 schrieb tomasz: g'morning just a quick question i am looking for solution to print my barcodes on labels for autochanger mention in subject - do you have any experience with it? i cannot even find any labels which will fit to/on tapes. any idea? thx for any help cheers -- bEsT rEgArDs | Confidence is what you have before you tomasz dereszynski| understand the problem. -- Woody Allen TD840-RIPE| - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ERR=sql_get.c:411 No volumes found for JobId=3251
On Fri, 20 Jul 2007 00:01:19 -0400, Ryan Novosielski said: This has gotten a bit more peculiar. Someone please offer up an opinion - -- I'd really appreciate it. :) If you read below (or the subject line), you'd see the error that I got when one of my backup jobs ran. Look what happened this time with a different job: - --- *run A job name must be specified. The defined Job resources are: 1: Catalog 2: RestoreFiles 3: NJMSCatalyst 4: SystemArchive 5: Webmail 6: CFMX-dev 7: sopris-WEBMAIL 8: BigBrother-Display 9: SVNrepos 10: VistaBKsave 11: BigBrother-NET Select Job resource (1-11): 9 Run Backup job JobName: SVNrepos Level:Incremental Client: lethe-fd FileSet: SVNrepos Pool: combined_DELTA (From Job resource) Storage: helios_DDS (From Pool resource) When: 2007-07-19 23:46:37 Priority: 10 OK to run? (yes/mod/no): yes Job queued. JobId=3270 You have messages. *me 19-Jul 23:46 helios-dir: No prior Full backup Job record found. 19-Jul 23:46 helios-dir: No prior or suitable Full backup found in catalog. Doing FULL backup. *me 19-Jul 23:46 helios-dir: Start Backup JobId 3270, Job=SVNrepos.2007-07-19_23.46.39 - --- However, if you look at my job listing, you will see that this (theoretically) is not true: *list jobname=SVNrepos +---+--+-+--+---+--+-+---+ | JobId | Name | StartTime | Type | Level | JobFiles | JobBytes| JobStatus | +---+--+-+--+---+--+-+---+ | 2,967 | SVNrepos | 2007-06-01 23:00:08 | B| I |0 | 0 | A | | 3,029 | SVNrepos | 2007-06-12 21:00:07 | B| F | 13,663 | 414,107,280 | T | | 3,115 | SVNrepos | 2007-06-26 21:00:06 | B| F | 13,718 | 414,196,431 | T | | 3,166 | SVNrepos | 2007-07-04 23:00:05 | B| I |0 | 0 | f | | 3,174 | SVNrepos | 2007-07-05 23:00:09 | B| I | 27 | 203,023 | T | | 3,183 | SVNrepos | 2007-07-06 23:00:09 | B| I | 87 | 92,951 | f | | 3,190 | SVNrepos | 2007-07-06 23:18:31 | B| I | 153 | 185,703 | T | | 3,200 | SVNrepos | 2007-07-09 23:00:12 | B| I | 241 | 212,662 | T | | 3,207 | SVNrepos | 2007-07-10 21:00:06 | B| F | 14,328 | 415,000,246 | T | | 3,216 | SVNrepos | 2007-07-11 23:00:09 | B| I | 165 | 152,084 | T | | 3,224 | SVNrepos | 2007-07-12 23:00:19 | B| I | 59 | 43,704 | T | | 3,232 | SVNrepos | 2007-07-13 23:00:19 | B| I | 110 | 100,620 | T | | 3,242 | SVNrepos | 2007-07-16 23:00:11 | B| I | 217 | 178,725 | T | | 3,250 | SVNrepos | 2007-07-17 23:00:07 | B| I | 173 | 168,380 | T | | 3,258 | SVNrepos | 2007-07-18 23:00:08 | B| I | 138 | 267,183 | T | | 3,266 | SVNrepos | 2007-07-19 23:00:07 | B| F |0 | 0 | A | | 3,269 | SVNrepos | 2007-07-19 23:44:46 | B| F |0 | 0 | R | | 3,270 | SVNrepos | 2007-07-19 23:46:52 | B| F |0 | 0 | R | +---+--+-+--+---+--+-+---+ ...a full job just ran on 7/10, and is still in the database. I'm going to try a dbcheck or something, but it appears that something is royally screwed here. One other thing I'm not mentioning is that my bacula-sd is semi-consistently crashing. I am fine-tuning the btraceback program so that I actually get what I need to report this (originally I did not have 'dbx' installed, next the user that spawned the 'dbx' was the bacula user, but the crashing daemon ran as root -- I fixed this with the addition of sudo). Any help? Something funny is going on. Not sure what is happening, but it might be useful to turn on sql query logging in the database server. Look for queries starting with SELECT StartTime FROM Job... __Martin Ryan Novosielski wrote: I'm somewhat mystified by this problem. I don't know whether to check the database or what. I see that this particular job does not appear to have NEEDED a volume, and so that might be the issue, but I've seen that before and it did not cause this. The only thing special that happened right before this was that the tape was mistakenly marked full when the first backup job attempted to run. I set this to Append and ran the jobs. 7 jobs ran in all, and all others had no problems. .. Forwarded Message ... From: Bacula [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed, 18 Jul 2007 09:54:43 + (%z) Subj: Bacula: Backup Error of vistaadm-fd Incremental 17-Jul 23:00 helios-dir: Start Backup JobId 3251,
[Bacula-users] Solved: [Fwd: Bacula GDB traceback of bacula-sd]
Hi, as i noted before, i did an upgrade from 1.36.x to 2.1.26. I ran both database upgrade scripts to bring the databse from version 8 to 10 before i started the new binaries. But when i looked in the media-table i found a text-field named mediatype which contained the string LTO2 (beeing defined in my bacula-sd.conf) and an int4 field mediatypeid which contained the value 0 in all rows, allthough the table mediatype contains one row with the corresponding name LTO2 and mediatypeid 1. Changing all rows in table media and setting the mediatypeid to 1 made the kaboom vanish. I still can't connect to the storage-daemon (I'll have to doublecheck the configuration files), but at least the SIGSEV is gone. I checked the docs before, but have not found any mention of this problem, but perhaps now the update_db scripts could be adapted. Best regards Tom Thomas Kempf schrieb: Thomas Kempf schrieb: Hello, whenever i try to start a backup job on a 2.1.26-beta installation, bacula-sd crashes with a kaboom and a traceback which i included in this mail. I upgraded this machine from a working 1.36 installation to 2.1.26-beta this week (compiled from source). I'll investigate this issue further but i thought the traceback, which doesn't tell me much (what a pity), would be of interest for the developers. The log file of the backups show the following messages after the crash,so the problem seems to be around that area 20-Jul 08:39 hueper-dir: Start Backup JobId 6207, Job=GFS-Dieder.2007-07-20_08.39.16 20-Jul 08:39 hueper-dir: GFS-Dieder.2007-07-20_08.39.16 Fatal error: Storage daemon didn't accept Device NEC-LTO2 command. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Thomas Kempf (Bitte beachten Sie die Hinweise unten) Werbeagentur Hüper GmbH Im Brühl 1 89520 Heidenheim fon + 49 7321 969845 fax + 49 7321 969890 [EMAIL PROTECTED] http://www.hueper.de Registergericht Amtsgericht Heidenheim an der Brenz Handelsregister HRB 720441 USt-Id.Nr. DE 251 445 489 St.Nr. 64 003/13 883 Geschäftsführer Peter Hüper Bernd Weser Rechtlicher Hinweis: Der Inhalt dieser E-Mail sowie etwaige Anlagen hierzu sind vertraulich und ausschließlich für den Gebrauch durch den beabsichtigten Empfänger bestimmt, soweit diese Nachricht im Einzelfall nicht einen anderweitigen Umgang erlaubt. Auch kann der Inhalt der Nachricht Gegenstand von gesetzlichen Schutzrechten sein. Soweit eine Weitergabe oder Verteilung nicht ausschließlich zu internen Zwecken des beabsichtigten Empfängers geschieht, wird jede Kenntnisnahme, Weitergabe, Verteilung oder sonstige Kopierung untersagt. Diese E-Mail-Nachricht ist ausschließlich für den in der Adresse genannten Empfänger bestimmt. Sollten Sie nicht der beabsichtigte Empfänger der Sendung sein, löschen Sie bitte diese Nachricht sowie ggf. vorhandene Anhänge aus Ihrem System und informieren Sie den Absender bitte unverzüglich. Sofern diese E-Mail oder ihre Anhänge Daten oder Informationen enthalten, die von Dritten stammen und als solche gekennzeichnet sind, übernimmt die Werbeagentur Hüper GmbH keine Gewähr oder Haftung für diese. Außerdem macht sich die Werbeagentur Hüper GmbH Informationen und Daten Dritter durch die Weiterleitung mit dieser E-Mail nicht zu Eigen. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] why does my verify job show errors?
Martin Grasberger schrieb: I can just tell you that I have nearly the same problem on one AIX4 server (verify is ok on all linux and windows-servers here). But my errormessage is: 'SHA1 digest differs' or 'MD5 digest differs' (I tried both). I restored such a file and made a diff but the file does not differ. I had some problems in setting up the verify jobs. But I thought that the config is ok now. Maybe I'm still missing something, but if the right jobid is choosen for comparison and the checksums are different, what else could be wrong? A VolumeToCatalog verify job compares the checksums on tape to the checksums in the catalog. quote: This level causes Bacula to read the file attribute data written to the Volume from the last Job. The file attribute data are compared to the values saved in the Catalog database and any differences are reported. Ralf - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Max Wait Time Query
Hi to all, Running Bacula 1.39 I have a schedule of jobs executing sequentially one after another based on priority where My Catalog Job has the lowest Priority and is executed last. I have a situation where I added the Max Wait Time configuration directive to all my jobs to specifically get around the entire backup halting if the Volume for one Job has a status of anything other than Appendable, which sometimes happens when we've been messing With Volume Status Parameters such as after a weekend with a power outages where we have to manually re-run backup jobs. Subsequent to including this directive I now have one host which fails on every single Job With a status of Cancelled and the reason isn't reported in either the e-mail sent to me or in the Logfile. Is this the right way of accomplishing what I set out to do or are there better ways to ensure that the entire backup schedule still completes even though one or more jobs may fail while they don't have an Appendable Volume to write to ? Yours sincerely Stephan Heine Support Engineer Genetic Interactive Tel: +27 861 99 88 99 Fax: +27 861 99 77 99 Cell: +27 82 467 1164 EMail: [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Solved: [Fwd: Bacula GDB traceback of bacula-sd]
SHAME ON ME for creating that noise! Just after i sent my last mail regarding the database updates, the bacula-sd had another SIGSEV. At that point i decided to check the docs again and found the real problem. The Autochanger Resource which was introduced in the 1.38.x release and which i did not have in my conf-file. I changed the bacula-sd.conf and bacula now seems to run fine again. Once again sorry! But it would have been very helpful if the sd would have cursed a little at me while parsing the conf-file instead of just doing a kaboom when connecting to a obsolete resource definition. And i don't know for what it's good, but the mentioned inconsistency in the database could be changed too. Best regards Tom Thomas Kempf schrieb: Hi, as i noted before, i did an upgrade from 1.36.x to 2.1.26. I ran both database upgrade scripts to bring the databse from version 8 to 10 before i started the new binaries. But when i looked in the media-table i found a text-field named mediatype which contained the string LTO2 (beeing defined in my bacula-sd.conf) and an int4 field mediatypeid which contained the value 0 in all rows, allthough the table mediatype contains one row with the corresponding name LTO2 and mediatypeid 1. Changing all rows in table media and setting the mediatypeid to 1 made the kaboom vanish. I still can't connect to the storage-daemon (I'll have to doublecheck the configuration files), but at least the SIGSEV is gone. I checked the docs before, but have not found any mention of this problem, but perhaps now the update_db scripts could be adapted. Best regards Tom Thomas Kempf schrieb: Thomas Kempf schrieb: Hello, whenever i try to start a backup job on a 2.1.26-beta installation, bacula-sd crashes with a kaboom and a traceback which i included in this mail. I upgraded this machine from a working 1.36 installation to 2.1.26-beta this week (compiled from source). I'll investigate this issue further but i thought the traceback, which doesn't tell me much (what a pity), would be of interest for the developers. The log file of the backups show the following messages after the crash,so the problem seems to be around that area 20-Jul 08:39 hueper-dir: Start Backup JobId 6207, Job=GFS-Dieder.2007-07-20_08.39.16 20-Jul 08:39 hueper-dir: GFS-Dieder.2007-07-20_08.39.16 Fatal error: Storage daemon didn't accept Device NEC-LTO2 command. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Thomas Kempf (Bitte beachten Sie die Hinweise unten) Werbeagentur Hüper GmbH Im Brühl 1 89520 Heidenheim fon + 49 7321 969845 fax + 49 7321 969890 [EMAIL PROTECTED] http://www.hueper.de Registergericht Amtsgericht Heidenheim an der Brenz Handelsregister HRB 720441 USt-Id.Nr. DE 251 445 489 St.Nr. 64 003/13 883 Geschäftsführer Peter Hüper Bernd Weser Rechtlicher Hinweis: Der Inhalt dieser E-Mail sowie etwaige Anlagen hierzu sind vertraulich und ausschließlich für den Gebrauch durch den beabsichtigten Empfänger bestimmt, soweit diese Nachricht im Einzelfall nicht einen anderweitigen Umgang erlaubt. Auch kann der Inhalt der Nachricht Gegenstand von gesetzlichen Schutzrechten sein. Soweit eine Weitergabe oder Verteilung nicht ausschließlich zu internen Zwecken des beabsichtigten Empfängers geschieht, wird jede Kenntnisnahme, Weitergabe, Verteilung oder sonstige Kopierung untersagt. Diese E-Mail-Nachricht ist ausschließlich für den in der Adresse genannten Empfänger bestimmt. Sollten Sie nicht der beabsichtigte Empfänger der Sendung sein, löschen Sie bitte diese Nachricht sowie ggf. vorhandene Anhänge aus Ihrem System und informieren Sie den Absender bitte unverzüglich. Sofern diese E-Mail oder ihre Anhänge Daten oder Informationen enthalten, die von Dritten stammen und als solche gekennzeichnet sind, übernimmt die Werbeagentur Hüper GmbH keine Gewähr oder Haftung für diese. Außerdem macht sich die Werbeagentur Hüper GmbH Informationen und Daten Dritter durch die Weiterleitung mit dieser E-Mail nicht zu Eigen. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fedora 7 rpms
Are there any plans to create Fedora 7 rpms on one of the popular fedora repositories, like Freshrpms.net, Livna, fedora extras, etc? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] why does my verify job show errors?
Ralf Gross schrieb: I can just tell you that I have nearly the same problem on one AIX4 server (verify is ok on all linux and windows-servers here). But my errormessage is: 'SHA1 digest differs' or 'MD5 digest differs' (I tried both). I restored such a file and made a diff but the file does not differ. I had some problems in setting up the verify jobs. But I thought that the config is ok now. Maybe I'm still missing something, but if the right jobid is choosen for comparison and the checksums are different, what else could be wrong? A VolumeToCatalog verify job compares the checksums on tape to the checksums in the catalog. I found the problem (after opening a bug). The client with the different checksums is an i386 machine, the one without differnt checksums is amd64 like the bacula-dir. As test I compiled bacula-fd on my desktop machine (i386) and got no errors. Next I checked the bacula-fd version on the first i386 machine. It was 1.38.5. After installing 2.0.3 on this machine I get no different checksums anymore. So backing up a 1.38.5 client with an 2.0.3 dir works, but the checksums are different. Ralf - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] windows vista bacula client
.. Original Message ... On Thu, 19 Jul 2007 16:04:54 -0400 Michel Meyers [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Szkotnicki wrote: I use version 2.0.1 Does a more recent version solve this? Hello, Please always 'reply to all' so that the mailing list also gets a copy of your responses. In this case, the version you use is indeed the problem. None of the currently released (stable) versions works with Vista. The fixes to make the FD Vista compatible are only in the beta (2.1) branch for now until 2.2 is released. Indeed, please consider testing a backup and restore on the Beta version -- it would be a great service to everyone. Many do not have Windows Vista available for such a test. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FW: Bacula: Restore Error of linux-install-fd Full
I've got a bunch of volumes with the same problem. F.e.: 20-Jul 15:55 bextract: bextract Error: attribs.c:409 File size of restored file ./xxx/export/jumpstart/software/FRCdrv_2_13/pkg/FRCglm/reloc/kernel/drv/ frcglm not correct. Original 80176, restored 342320. I'd say the entire storage is fried. A fsck ran without any errors. And I can't see anything wrong with my system. Any ideas?? Wolfgang -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Lehmann Sent: Tuesday, July 17, 2007 10:46 To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] FW: Bacula: Restore Error of linux-install-fd Full Hi, 17.07.2007 10:10,, Mair Wolfgang-awm013 wrote:: Hello, I need help with this. What is going on here? Why is this restore failing? Looks like a corrupt file. What can I do? Thanks Wolfgang -Original Message- I'll truncate this a bit to find the relevant parts... ... 17-Jul 09:35 porsche-dir: Start Restore Job ... 17-Jul 11:38 linux-install-fd: RestoreFiles.2007-07-17_09.35.44 Error: attribs.c:409 File size of restored file /part2/home/sci/ghost/dl3m3b not correct. Original 572320521, restored 572329115. This could be because the file changed its size during backup. While this can be a problem in many cases, it doesn't have to be one. If this bothers you, you'll need to use some sort of snapshot or disable the service that's using this file during backup. 17-Jul 11:40 linux-install-fd: RestoreFiles.2007-07-17_09.35.44 Error: create_file.c:312 Could not hard link /part2/bin/cpio - /part2/var/ftp/bin/cpio: ERR=No such file or directory 17-Jul 11:40 This is probably more of a problem. I think Bacula tries to restore the hard link only, but the original file does not exist. This can happen if you selectively restore, and in your selection are only file entries detected as hard links by bacula, but the file data itself is not restored and does no longer exist on disk. In my opinion, Bacula should restore the complete file... I'm not sure if an upgrade to a more current (beta) version fixes this, but I'm not even sure this is the problem :-) [more hard link problems] ... 17-Jul 09:54 porsche-sd: Ready to read from volume full-13-7-2007.56 on device FileStorage (/swnet/bacula-dump). 17-Jul 09:54 porsche-sd: Forward spacing Volume full-13-7-2007.56 to file:block 0:36163. 17-Jul 09:54 porsche-sd: RestoreFiles.2007-07-17_09.35.44 Error: block.c:275 Volume data error at 0:36163! Wanted ID: BB02, got x. Buffer discarded. This is probably a corrupted volume file. Check the size of the volume file, and try bls to see it's contents. The reason why it's corrupt is not easily determined. You might try looking throuh your logs to see if there were problems with this volume earlier... If you really need that data resored, you can try using bextract to get the volume contents back, but I don't think that's very promising. 17-Jul 09:54 porsche-dir: RestoreFiles.2007-07-17_09.35.44 Error: Bacula 2.0.3 (06Mar07): 17-Jul-2007 09:54:17 JobId: 318 Job:RestoreFiles.2007-07-17_09.35.44 Client: linux-install-fd Start time: 17-Jul-2007 09:35:46 End time: 17-Jul-2007 09:54:17 Files Expected: 274,009 Files Restored: 71,899 Bytes Restored: 4,794,241,027 Rate: 4315.2 KB/s FD Errors: 12 FD termination status: Error SD termination status: Error Termination:*** Restore Error *** 17-Jul 09:54 porsche-dir: Begin pruning Jobs. 17-Jul 09:54 porsche-dir: No Jobs found to prune. 17-Jul 09:54 porsche-dir: Begin pruning Files. 17-Jul 09:54 porsche-dir: No Files found to prune. 17-Jul 09:54 porsche-dir: End auto prune. Do other restores run without problems? Also, try checking (a selection of) your volume files with bls or bextract to see if you've got really serious problems. Personally, I wouldn't worry too much if one volume is damaged - there are many possible reasons outside of Bacula for such a case, but if you've got this issue with a large number of files I would investigate. First make sure your OS and file systems don't have problems - sometimes, a file system check reveals more problems than you expect :-) Arno -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is
[Bacula-users] Restore to local server
Hi, I've installed Bacula over freeBSD6.1 server and the clients are windows XP. I've been trying to restore some files that were saved from e:\Documents. It worked ok sending the files to their remote path but didn't work using the path /tmp/bacula-restores neither the path /tmp/bacula-restores/e as the manual says since the files were saved from the drive e:\. The path /tmp/bacula-restores applies locally on the Bacula-Server or is it on the remote PC? If was remote, how do I restore the files locally on the server, supposing the remote PC doesn't exist? Thank in advance... - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Adjusting time.
Arno Lehmann wrote: Hi, 20.07.2007 00:52,, Ryan Novosielski wrote:: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A followup: Windows Time Sync appears to use NTP, or if not, at least something on my host that is running is able to be the source for a Windows Time Sync. It must be NTP, as I can't imagine it's SMB. Windows can use ntp, but it's different than other OSes: First, setting it up to use your own, local time servers is not as simple as it should be. There are some articles in MS' knowledgebase. In my last message I mentioned a link to a description of how to configure NTP server on Windows. For a person like me who knows next to nothing about Windows it is rather scary to configure this beast by editing the registry. I did some further search and found this excellent paper: tf.nist.gov/service/pdf/win2000xp.pdf which descibes an easy way to configure the use of NTP servers. Then, it only syncs time from time to time, it doesn't follow the time server to learn about clock drift. The result is, as far as I know, clock steps can happen. On XP it is once a week, on W2K once every 8 hours. You can properly change it by editing the registry, but I dare not. Erik Arno Erik P. Olsen wrote: Robert LeBlanc wrote: I believe it adjust the time in the database so that all the client match up to the same time. If it's more then a handful of seconds, I'd recommend setting up time sync on all your machines. Yes, only problem is I don't know how to do that on Windows machines. Robert On 7/19/07 4:09 PM, Erik P. Olsen [EMAIL PROTECTED] wrote: At job start a message about adjusting time is usually sent. What is it that is actually being adjusted? I don't see that the time on my client machines have been adjusted. - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$| |__| | | |__/ | \| _| |[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.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGn+sSmb+gadEcsb4RAmz8AKC4c14c8suunJgTT7zf3uuWsaoW9gCfQH+4 dRMnGs+D3dFiy/5ksnM8468= =ZQRW -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problems authenticating with FD on remote machine
No ideas here? First, a little background about our setup: We're running multiple virtual machines, and the intended method for our backups is to store backup data from each virtual machine on the host machine. Basically, we're using Bacula to prevent against inadvertant deletions of data, rather than against catastrophe. As such, I have the full Bacula package installed on the host machine, and instances of the file director on each virtual machine. All machines are running Ubuntu of various versions, 7.04 on the host machine and 6.xx on the virtual machines (they vary). Bacula version is 1.38.11. What's really baffling to me is that I had this setup working fine previously, until we moved up to a beefier host machine. The virtual machines were all copied to the new host whole, and so the only new part of the install was on the host machine. Even there, I copied my old config files whole cloth, figuring I'd be able to replicate the old setup. Anyway, when I try to contact the FD on any remote machine, I get an auth error along the lines of: 16-Jul 16:38 vhost1-dir: *Console*.2007-07-16_16.28.22 Fatal error: Unable to authenticate with File daemon. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the FD or FD networking messed up (restart daemon). Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for help. Notably, I have no problems contacting the FD on the host machine. I've checked that FAQ reference and double/triple/quadruple-checked my config files to be sure that names and passwords were the same all around, as well as concurrent jobs. I've verified networking my using Telnet to check the pertinent ports on the remote machine. I've tried substituting the actual IPs of virtual machines in place of addresses. Any other ideas about my problems here? I''ll continue here with some excertps from the config files. Since my bacula-dir.conf is really long and repetetive, what with seven virtual machines, I'll abridge it to reflect only references to one machine. bacula-dir.conf # # IntuiWORX Bacula Director Configuration file # # So here's the way this is supposed to work: We want to back up # the specified FileSets on each VPS on a nightly basis. Per the # Schedule resource, this nightly backup will be a full backup on # Sunday morning each week, and an incremental backup every other # morning. # # Each VPS has its own directory for the backup volumes, and full # and incremental volumes are named as such. Volumes will also be # rotated and reused; each VPS has a pool of four Full volumes, # for a roughly monthly rotation cycle, and six Incremental volumes # for a weekly rotation. Director {# define myself Name = vhost1-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 1 Password = # Console password Messages = Daemon } # Define full and incremental pools for each machine Pool { Name = vps1-full Use Volume Once = yes Pool type = Backup LabelFormat = FullWeek1 Maximum Volumes = 4 Recycle = yes Volume Retention = 3 weeks AutoPrune = yes } Pool { Name = vps1-inc Use Volume Once = yes Pool type = backup LabelFormat = IncDay1 Maximum Volumes = 7 Recycle = yes Volume Retention = 6 days Autoprune = yes } # Define default job parameters; these are non-machine specific and # help make this file cleaner when we get to defining the Jobs JobDefs { Name = Default Type = Backup Schedule = WeeklyCycle # Storage = File Messages = Standard Priority = 10 Pool = default } # Define Schedule resource. This is not machine-specific, since # all VPSs run on the same schedule Schedule { Name = WeeklyCycle Run = Level=Full sun at 1:05 Run = Level=Incremental mon-sat at 1:05 } # Define machine-specific Jobs. These are all identical except # for substitutions of vps1, vps2, etc. Job { Name = vps1 JobDefs = Default Client = vps1-fd FileSet = vps1 Full Backup Pool = vps1-full Incremental Backup Pool = vps1-inc Storage = vps1 } # Define sets of files to backup. Machine-specific. FileSet { Name = vps1 Include { Options { compression=GZIP signature = MD5 } File = /opt } } # Define Clients Client { Name = host1-fd Address = vhost1.intuiworx.net Catalog = MyCatalog Password = } Client { Name = vps1-fd Address = vps1.intuiworx.net Catalog = MyCatalog Password = } Storage { Name = vps1 Address = 64.203.106.66 SDPort = 9103 Password = Device = vps1 Media Type = File } bacula-sd.conf # # Default Bacula Storage Daemon Configuration file # # For Bacula release 1.36.2 (28 February 2005) -- debian 3.1 # # 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 #
Re: [Bacula-users] Barcodes vs Volume Names
Where are you getting blank labels from? Thank you, Shon Stephens On 7/19/07, Arno Lehmann [EMAIL PROTECTED] wrote: Hi, 19.07.2007 19:15,, Thomas Glatthor wrote:: Hi, i have printed my own barcode labels, good idea... I never thought about using human readable (more or less) barcodes. But that's something I'll keep in mind! so the volumes have usefull barcodes/names like FBBW18 (Full, 2 chars for the company site, Week 18) instead of something like PVO184 . for sdlt tapes the barcode must be code 39 without checksum, there are several free barcode-fonts available that can be used e.g. with ooffice to print tape labels. Or use the program 'barcode' which should be available for many flavours of unix. Arno Regards, Thomas Arno Lehmann schrieb: Hi, 06.07.2007 19:40,, Matthews, John W. wrote:: Is there anyway to get bacula to map barcodes to Volume Names such that: 1) The Volume Names are different than the barcodes 2) update slots from autochanger will work without loading each tape (i.e., bacula will know which volumes are loaded in which slots based only on the barcodes) You'd have to modify mtx-changer (or whatever changer command you use) accordingly. That wouldn't be too difficult, I think, but labeling will be really funny :-) Arno jwm John W. Matthews, D.Sc. Image-guided Therapy QA Center Department of Radiation Oncology Washington University School of Medicine 314-747-5413 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] Bacula always upgrade differential/incremental to full
Hello, Thanks for the output. However, the volume is rather big; if you want this issue to get some attention, rather than make me spend a lot of time searching through your output, It certainly would help a lot if you pointed me to the exact jobids that you feel are failing as I did in my email to you. Best regards, Kern On Friday 20 July 2007 17:17, Gustavo Gibson da Silva wrote: Kern Sibbald escreveu: Hello, I am unable to duplicate this problem, and suspect that there is some other problem such as confusion between the original backup job name and the name of the migration Job. Below, you will see that the migration job is named migrate-job and the job to be migrated is named MigrationJobSave. All Migrated jobs already have Type='B' so the proposed solution of checking for 'M' is not correct. Hi, Attached you will find the jobs of this week and bacula-dir.conf as well. Notice that the select exerpt from the log refers to the server srv-erh01. The backup routine is: Mondays - Full Tu,We,Th - Incremental Fr - Differential Thank you, Gustavo. Here is a job listing of a Migration that I just did: list jobs +---+--+-+--+---+--+-+---+ | JobId | Name | StartTime | Type | Level | JobFiles | JobBytes| JobStatus | +---+--+-+--+---+--+-+---+ | 1 | MigrationJobSave | 2007-07-20 10:40:46 | M| F | 7,336 | 133,686,677 | T | | 5 | MigrationJobSave | 2007-07-20 10:40:46 | B| F | 7,336 | 134,833,665 | T | | 2 | MigrationJobSave | 2007-07-20 10:40:49 | M| F | 7,336 | 133,686,677 | T | | 6 | MigrationJobSave | 2007-07-20 10:40:49 | B| F | 7,336 | 134,833,665 | T | | 4 | migrate-job | 2007-07-20 10:41:01 | g| F | 0 | 0 | T | | 3 | migrate-job | 2007-07-20 10:41:04 | g| F | 0 | 0 | T | | 7 | MigrationJobSave | 2007-07-20 10:41:11 | B| I | 0 | 0 | T | +---+--+-+--+---+--+-+---+ In the above, I ran two full backups (JobId=1,2) Then a migration job (JobId=3,4) which produced the Migrated output JobId=6. Note, jobids=1,2 were both marked as migrated, type='M' and the resulting migrated job JobId=6 is marked with type='B' as they should. And finally, I ran an Incremental backup, which since I had not modified any files backed up nothing. If it had been upgraded, it would have backed up everything. If you still think there is a problem, at a *minimum*, I'll need a job listing equivalent to the above plus the bacula-dir.conf file so I can see the parameters that were set for migration. Best regards, Kern On Friday 20 July 2007 00:27, Arno Lehmann wrote: Hi, 19.07.2007 23:55,, Gustavo Gibson da Silva wrote:: Hi there, I've noticed that full backup jobs that are migrated are not considered as a Backup job. So I get the following message: Uh oh... if that's true then you found a major problem, I think... I'm forwarding this to the -devel list, too, as they surely want to know about something like this shortly before releasing the next version... 13-Jul 02:00 srv-backup03-dir: sql_find.c:134 No Job record found: ERR= CMD=SELECT StartTime FROM Job WHERE JobStatus='T' AND Type='B' AND Level='F' AND Name='srv-erh01' AND ClientId=15 AND FileSetId=27 ORDER BY StartTime DESC LIMIT 1 However I've noticed that it works if I change the select statement to insert ( Type='B' or Type='M') so the statement above becomes: SELECT StartTime FROM Job WHERE JobStatus='T' AND ( Type='B' OR Type='M') AND Level='F' AND Name='srv-erh01' AND ClientId=15 AND FileSetId=27 ORDER BYStartTime DESC LIMIT 1; +-+ | StartTime | +-+ | 2007-07-19 02:29:33 | +-+ As I am no bacula or SQL expert, have I understood the statement correctly? I think so, but I'm not a migration expert :-) If so how does it get fixed on bacula? Should be a rather simple change somewhere in cats/sql_find.c and / or the files where the function db_find_job_start_time() is used. Perhaps. Arno Thank you. Gustavo. -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-devel mailing list [EMAIL
[Bacula-users] rescue cd and usb keyboard and mouse
Ok I'm sure someone knows the answer to this. I don't. I'm trying to create a rescue cd on a fedora core 6 using bacula-2.0.3 to create the bacula-static-fd file and bacula-rescue-.2.0.0 to create the iso I follow the instruction stated in the manual and everything looks fine. The iso got created. I burned and use it to boot the pc. It would boot to a login screen with a blinking curse but I can not type. It seem the rescue cd does not have usb drive load for the usb keyboard. It would work if I boot a pc with ps2 keyboard. Help? Raymond Luong IT Department Mocana Corporation 350 Sansome st. Ste. 210 San Francisco, Ca. 94104 (415) 617-0055 x3016 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Informix ontape restores via FIFO?
Hi all, Is anyone out there backing up Informix databases with Bacula? If so, have you tried combining ontape and FIFOs to do it? Are you going something else? I'm running into some issues on restores when I restore directly from Bacula that I don't get when I restore onto a file on disk and then feed the data into the FIFO with dd. I'm curious if anyone else has tilted at this particular windmill. Thanks! Chris Manly - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula BETA 2.1.28 released
Hello, I have just released the source code and the Win32 binaries to the bacula-beta area of Source Forge. I recommend that all users running 2.1.26 and using the Scratch pool upgrade, because it should eliminate certain spurious SQL error messages. The main changes, some of which are important since the last beta are: - Several bug fixes #842, 893, and some unreported bugs. - Storage overrides delete all previous storage definitions instead of prepending. - One should be able to mount and unmount removable devices if the Device resource has Removeable Media set and the mount and unmount directives are defined. - ./configure will do a better job of searching for qwt libraries. - The Win32 version can no longer be shutdown from the tray monitor. Use the command line or the Services panne. - Make Mac OS X compile work. Best regards, Kern PS: I saw an email asking on which platforms is bat supported. Answer: on all platforms where you have Qt4 libraries and the qwt libraries loaded. Alternatively, for the qwt libraries, you can download the latest depkgs-11Jul07 release and build them yourself. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] rescue cd and usb keyboard and mouse
El vie, 20-07-2007 a las 10:13 -0700, Raymond Luong escribió: Ok I'm sure someone knows the answer to this. I don't. I'm trying to create a rescue cd on a fedora core 6 using bacula-2.0.3 to create the bacula-static-fd file and bacula-rescue-.2.0.0 to create the iso I follow the instruction stated in the manual and everything looks fine. The iso got created. I burned and use it to boot the pc. It would boot to a login screen with a blinking curse but I can not type. It seem the rescue cd does not have usb drive load for the usb keyboard. It would work if I boot a pc with ps2 keyboard. Help? Well, may be the computer bios is able to help, take a look By now I don't know if the rescue-cd process executes an mkinitrd, if the answer is yes, try to add --preload=usbcore --preload=usbhid,ehci_hcd,uhci_hcd in the line where mkinitrd is called. HTH D. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] Bacula always upgrade differential/incremental to full
Kern Sibbald escreveu: Hello, Thanks for the output. However, the volume is rather big; if you want this issue to get some attention, rather than make me spend a lot of time searching through your output, It certainly would help a lot if you pointed me to the exact jobids that you feel are failing as I did in my email to you. Best regards, Kern Hi, One example is srv-erh01, the one I've got the select statement from, however the same error occurs on: srv-gisanet pinguim wivox spock newton BTW I think I've found something interesting: There is a migration job running right now. I've noticed that the select statement works perfectly for srv-gisanet because it hasn't been migrated yet. By executing the slighlty changed statement: SELECT * FROM Job WHERE JobStatus='T' AND Type='B' AND Level='F' AND Name='srv-gisanet' AND ClientId=36 AND FileSetId=21 ORDER BY StartTime DESC; I get only: | 9721 | srv-gisanet.2007-07-20_02.00.23 | srv-gisanet | B| F | 36 | T | 2007-07-20 02:00:22 | 2007-07-20 05:26:08 | 2007-07-20 06:27:50| 2007-07-20 06:27:50 | 1184923670 | 216 | 1184362380 | 5556 |533459016 | 0 | 0 | 18 |21 | 0 | 0 | 0 | But if I run a select for all reccords of srv-gisanet I get the following (only the interesting part): | 9646 | srv-gisanet.2007-07-19_02.00.23 | srv-gisanet | M| F | 36 | T | 2007-07-19 02:00:22 | 2007-07-19 04:29:50 | 2007-07-19 05:30:29| 2007-07-19 05:30:29 | 1184833829 | 165 | 1184362380 | 5461 |532990056 | 0 | 0 | 17 |21 | 0 | 1 | 0 | | 9658 | srv-gisanet.2007-07-19_08.00.06 | srv-gisanet | B| F | 36 | T | 2007-07-19 08:00:05 | 2007-07-19 04:29:50 | 2007-07-19 05:30:29| 2007-07-19 10:54:38 | 1184833829 | 173 | 1184362380 | 5461 |527212382 | 0 | 0 | 11 |18 | 9646 | 0 | 0 | | 9721 | srv-gisanet.2007-07-20_02.00.23 | srv-gisanet | B| F | 36 | T | 2007-07-20 02:00:22 | 2007-07-20 05:26:08 | 2007-07-20 06:27:50| 2007-07-20 06:27:50 | 1184923670 | 216 | 1184362380 | 5556 |533459016 | 0 | 0 | 18 |21 | 0 | 0 | 0 | The thing I've noticed is that the line of the job 9646 (with Type=M) contains the same FileSetId of the job 9721 (with Type=B) and, as I said, job 9721 hasn't been migrated yet. However there is this job 9658 (that is the New backup JobId according to the migration log bellow) has Type=B but the FileSetId is different. For migration jobs I use a placebo Fileset named Arquivos as I have only one migration job defined. Have I messed up something here? Thank you. Gustavo. 19-Jul 10:54 srv-backup03-dir: Bacula 2.0.3 (06Mar07): 19-Jul-2007 10:54:38 Prev Backup JobId: 9646 New Backup JobId: 9658 Migration JobId:9657 Migration Job: MigraPFita.2007-07-19_08.00.05 Backup Level: Full Client: srv-backup03-fd FileSet:Arquivos 2007-04-18 08:00:01 Read Pool: Segunda (From Job resource) Read Storage: File (From Pool resource) Write Pool: Quinta-f (From Job Pool's NextPool resource) Write Storage: DDS-4 (From Storage from Pool's NextPool resource) Start time: 19-Jul-2007 10:47:53 End time: 19-Jul-2007 10:54:38 Elapsed time: 6 mins 45 secs Priority: 20 SD Files Written: 5,461 SD Bytes Written: 527,212,382 (527.2 MB) Rate: 1301.8 KB/s Volume name(s): INET-QUI-0007 Volume Session Id: 173 Volume Session Time:1184362380 Last Volume Bytes: 8,070,773,760 (8.070 GB) SD Errors: 0 SD termination status: OK Termination:Migration OK On Friday 20 July 2007 17:17, Gustavo Gibson da Silva wrote: Kern Sibbald escreveu: Hello, I am unable to duplicate this problem, and suspect that there is some other problem such as confusion between the original backup job name and the name of the migration Job. Below, you will see that the migration job is named migrate-job and the job to be migrated is named MigrationJobSave. All Migrated jobs already have Type='B' so the proposed solution of checking for 'M' is not correct. Hi, Attached you will find the jobs of this week and bacula-dir.conf as well. Notice that the select exerpt from the log refers to the server srv-erh01. The backup routine is: Mondays - Full Tu,We,Th - Incremental Fr - Differential Thank you, Gustavo. Here is a job listing of a Migration that I just did: list jobs +---+--+-+--+---+--+-+---+ | JobId | Name | StartTime | Type |
Re: [Bacula-users] FW: Bacula: Restore Error of linux-install-fd Full
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Was someone possible extracting that pacakge to that filesystem as you were doing a backup? Mair Wolfgang-awm013 wrote: I've got a bunch of volumes with the same problem. F.e.: 20-Jul 15:55 bextract: bextract Error: attribs.c:409 File size of restored file ./xxx/export/jumpstart/software/FRCdrv_2_13/pkg/FRCglm/reloc/kernel/drv/ frcglm not correct. Original 80176, restored 342320. I'd say the entire storage is fried. A fsck ran without any errors. And I can't see anything wrong with my system. Any ideas?? Wolfgang -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Lehmann Sent: Tuesday, July 17, 2007 10:46 To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] FW: Bacula: Restore Error of linux-install-fd Full Hi, 17.07.2007 10:10,, Mair Wolfgang-awm013 wrote:: Hello, I need help with this. What is going on here? Why is this restore failing? Looks like a corrupt file. What can I do? Thanks Wolfgang -Original Message- I'll truncate this a bit to find the relevant parts... ... 17-Jul 09:35 porsche-dir: Start Restore Job ... 17-Jul 11:38 linux-install-fd: RestoreFiles.2007-07-17_09.35.44 Error: attribs.c:409 File size of restored file /part2/home/sci/ghost/dl3m3b not correct. Original 572320521, restored 572329115. This could be because the file changed its size during backup. While this can be a problem in many cases, it doesn't have to be one. If this bothers you, you'll need to use some sort of snapshot or disable the service that's using this file during backup. 17-Jul 11:40 linux-install-fd: RestoreFiles.2007-07-17_09.35.44 Error: create_file.c:312 Could not hard link /part2/bin/cpio - /part2/var/ftp/bin/cpio: ERR=No such file or directory 17-Jul 11:40 This is probably more of a problem. I think Bacula tries to restore the hard link only, but the original file does not exist. This can happen if you selectively restore, and in your selection are only file entries detected as hard links by bacula, but the file data itself is not restored and does no longer exist on disk. In my opinion, Bacula should restore the complete file... I'm not sure if an upgrade to a more current (beta) version fixes this, but I'm not even sure this is the problem :-) [more hard link problems] ... 17-Jul 09:54 porsche-sd: Ready to read from volume full-13-7-2007.56 on device FileStorage (/swnet/bacula-dump). 17-Jul 09:54 porsche-sd: Forward spacing Volume full-13-7-2007.56 to file:block 0:36163. 17-Jul 09:54 porsche-sd: RestoreFiles.2007-07-17_09.35.44 Error: block.c:275 Volume data error at 0:36163! Wanted ID: BB02, got x. Buffer discarded. This is probably a corrupted volume file. Check the size of the volume file, and try bls to see it's contents. The reason why it's corrupt is not easily determined. You might try looking throuh your logs to see if there were problems with this volume earlier... If you really need that data resored, you can try using bextract to get the volume contents back, but I don't think that's very promising. 17-Jul 09:54 porsche-dir: RestoreFiles.2007-07-17_09.35.44 Error: Bacula 2.0.3 (06Mar07): 17-Jul-2007 09:54:17 JobId: 318 Job:RestoreFiles.2007-07-17_09.35.44 Client: linux-install-fd Start time: 17-Jul-2007 09:35:46 End time: 17-Jul-2007 09:54:17 Files Expected: 274,009 Files Restored: 71,899 Bytes Restored: 4,794,241,027 Rate: 4315.2 KB/s FD Errors: 12 FD termination status: Error SD termination status: Error Termination:*** Restore Error *** 17-Jul 09:54 porsche-dir: Begin pruning Jobs. 17-Jul 09:54 porsche-dir: No Jobs found to prune. 17-Jul 09:54 porsche-dir: Begin pruning Files. 17-Jul 09:54 porsche-dir: No Files found to prune. 17-Jul 09:54 porsche-dir: End auto prune. Do other restores run without problems? Also, try checking (a selection of) your volume files with bls or bextract to see if you've got really serious problems. Personally, I wouldn't worry too much if one volume is damaged - there are many possible reasons outside of Bacula for such a case, but if you've got this issue with a large number of files I would investigate. First make sure your OS and file systems don't have problems - sometimes, a file system check reveals more problems than you expect :-) Arno -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list
[Bacula-users] 20GB on DVD
Hello *, I need to configure Bacula 2.0.3 so that it makes full backups of 20GB of data onto 4.7GB DVDs... that boils down to the following questions: Is it possible to make Bacula span the full backup over different DVD media? Is it possible to achieve that with only one DVD writer? Is it possible to make Bacula send the operator an email asking to change DVD media in order to continue/finish the full backup? Thanks in advance, Lucio. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] manually mounting continuation tapes
I think this is the last little niggling detail on my bacula setup. I do a 'Full' backup on Friday's and differential backup on Mon-Tues-Wed-Thurs. A 'Full' backup requires 1 whole tape + part of a second backup tape. No big deal except that I must manually mount the second tape. from today's log... 20-Jul 11:00 SRV1: Start Backup JobId 136, Job=SRV1Backup.2007-07-20_11.00.00 20-Jul 11:00 SRV1: ua_purge.c:611 All records pruned from Volume 1_Friday_Week_2; marking it Purged 20-Jul 11:00 SRV1: ua_purge.c:611 All records pruned from Volume 2_Friday_Week_2; marking it Purged 20-Jul 11:00 SRV1: Recycled volume 1_Friday_Week_2 20-Jul 11:00 SRV1: Recycled volume 1_Friday_Week_2 on device DDS-4 (/dev/nst0), all previous data lost. 20-Jul 13:08 SRV1: End of Volume 1_Friday_Week_2 at 25:7055 on device DDS-4 (/dev/nst0). Write of 64512 bytes got -1. 20-Jul 13:08 SRV1: Re-read of last block succeeded. 20-Jul 13:08 SRV1: End of medium on Volume 1_Friday_Week_2 Bytes=25,453,596,672 Blocks=394,555 at 20-Jul-2007 13:08. 20-Jul 13:08 SRV1: Recycled volume 2_Friday_Week_2 20-Jul 13:08 SRV1: Please mount Volume 2_Friday_Week_2 on Storage Device DDS-4 (/dev/nst0) for Job SRV1Backup.2007-07-20_11.00.00 20-Jul 13:32 SRV1: Recycled volume 2_Friday_Week_2 on device DDS-4 (/dev/nst0), all previous data lost. 20-Jul 13:32 SRV1: New volume 2_Friday_Week_2 mounted on device DDS-4 (/dev/nst0) at 20-Jul-2007 13:32. 20-Jul 13:57 SRV1: Job write elapsed time = 02:33:29, Transfer rate = 3.301 M bytes/second So it automatically 'purges' both 1_Friday_Week_2 and 2_Friday_Week_2 when it starts up and finds 'expired' tape 1_Friday_Week_2 already in the drive and begins backing up. Then the tape fills and it sends me an e-mail asking for 2_Friday_Week_2. I have to manually eject 1_Friday_Week_2 and insert 2_Friday_Week_2 but it won't begin using 2_Friday_Week_2 until I open bconsole and issue a 'mount' command. This is unfriendly for those times when other people have to insert the 2nd tape on a Friday. my 'sd' configuration... Device { Name = DDS-4# Media Type = DDS-4 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = no; RemovableMedia = yes; RandomAccess = no; } my pool definition for 'Fridays' Pool { Name = WeeklyPool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 19d Volume Use Duration = 4d Maximum Volume Jobs = 5 } -- Craig White [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] An idea for dynamic config files
After not using Bacula for quite a while (a little over a year) due to leaving the job in which I was using it, I'm finally getting it up and running at my new place of work. I know the discussion happens every now and then, but I was looking for a while to dynamically include sections in bacula-dir.conf. The docs say that @ can be used anywhere, but that's only for including files. What I'm looking for is including directories. The bar | is used to execute scripts, but right now it only seems to support being used in file lists (at least according to the docs). How hard would it be to have it support being used anywhere in the config file? Then I could do something like this at the end of my bacula-dir.conf: | sh -c cat /etc/bacula/clients.d/*.conf Guess I'll have to take a look at the source. j -- Joshua Kugler Lead System Admin -- Senior Programmer http://www.eeinternet.com PGP Key: http://pgp.mit.edu/ ID 0xDB26D7CE PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] 20GB on DVD
On Fri, 2007-07-20 at 22:58 +0200, [EMAIL PROTECTED] wrote: Hello *, I need to configure Bacula 2.0.3 so that it makes full backups of 20GB of data onto 4.7GB DVDs... that boils down to the following questions: Is it possible to make Bacula span the full backup over different DVD media? Is it possible to achieve that with only one DVD writer? Is it possible to make Bacula send the operator an email asking to change DVD media in order to continue/finish the full backup? Yes to all of those questions. Just follow the instructions in the manual and ask questions here if you have any problems. Richard -- Richard Mortimer [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore to local server
On 7/20/07, Efren Bravo [EMAIL PROTECTED] wrote: Hi, I've installed Bacula over freeBSD6.1 server and the clients are windows XP. I've been trying to restore some files that were saved from e:\Documents. It worked ok sending the files to their remote path but didn't work using the path /tmp/bacula-restores neither the path /tmp/bacula-restores/e as the manual says since the files were saved from the drive e:\. The path /tmp/bacula-restores applies locally on the Bacula-Server or is it on the remote PC? If was remote, how do I restore the files locally on the server, supposing the remote PC doesn't exist? Thank in advance... When it prompts to either yes/no/mod the restore, you can change the default client to perform the restore to. By default, it's the client machine the backup was taken from. -drew - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] webacula 0.3.beta
Hi, there! Webacula - WEb Bacula - simple web interface of a Bacula backup system. Now, version 0.3.beta rewritten in use Zend Framework 1.0 Source code, screenshots. Enjoy ;) http://sourceforge.net/projects/webacula/ http://code.google.com/p/webacula/ --- have a nice day - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users