[Bacula-users] Questions regarding migration job failure

2011-05-09 Thread jerry lowry

Hi,

I am frequently getting errors on my migration jobs and I need some help 
trying to figure out what the problem is.


I have three migration jobs that migrate data from a daily disk to a 
raid disk that is setup as a hotswap disk.  Once this is full I pull the 
disk and move it to an offsite facility.  About half of the time the 
migration jobs work with out any problems, the other half I get errors 
on many of the jobs that are being migrated.  Example:  I start a 
migrate job and it starts to migrate 6 jobs to the offsite disk.  It 
will get through two of the jobs successfully and then the last four 
jobs will fail with the error below.  Each of the media are created 
using  BAT or BConsole without errors.


I have no clue as to what the problem might be, so any help is great.

Below you will find the config files and job output.

thanks,
jerry

Job error:

09-May 12:55 distress-dir JobId 2549: The following 3 JobIds were chosen to be 
migrated: 2335,2328,2291
09-May 12:55 distress-dir JobId 2549: Job queued. JobId=2550
09-May 12:55 distress-dir JobId 2549: Migration JobId 2550 started.
09-May 12:55 distress-dir JobId 2549: Job queued. JobId=2552
09-May 12:55 distress-dir JobId 2549: Migration JobId 2552 started.
09-May 12:55 distress-dir JobId 2549: Migration using JobId=2291 
Job=BackupHardware.2011-04-17_20.05.00_17
09-May 12:55 distress-dir JobId 2549: Bootstrap records written to 
/var/run/bacula/working/distress-dir.restore.53.bsr
09-May 13:59 distress-dir JobId 2549: Start Migration JobId 2549, 
Job=CopyHWDiskToDisk.2011-05-09_12.55.37_45
09-May 13:59 distress-dir JobId 2549: Using Device "TopSwap"
09-May 13:59 distress-sd-sd JobId 2549: Ready to read from volume "hardware-0007" on 
device "Hardware" (/Hardware).
09-May 13:59 distress-sd-sd JobId 2549: Volume "hardwareBS-2" previously 
written, moving to end of data.
09-May 13:59 distress-sd-sd JobId 2549: Ready to append to end of Volume 
"hardwareBS-2" size=240021666918
09-May 13:59 distress-sd-sd JobId 2549: Forward spacing Volume "hardware-0007" 
tofile:block  0:215.
09-May 13:59 distress-sd-sd JobId 2549: Error: block.c:275 Volume data error at 0:215! Wanted ID: 
"BB02", got "2". Buffer discarded.
09-May 13:59 distress-dir JobId 2549: Error: Bacula distress-dir 5.0.1 
(24Feb10): 09-May-2011 13:59:15
  Build OS:   x86_64-unknown-linux-gnu redhat
  Prev Backup JobId:  2291
  Prev Backup Job:BackupHardware.2011-04-17_20.05.00_17
  New Backup JobId:   2554
  Current JobId:  2549
  Current Job:CopyHWDiskToDisk.2011-05-09_12.55.37_45
  Backup Level:   Full
  Client: distress-sd-fd
  FileSet:"Top Set" 2011-03-30 10:42:47
  Read Pool:  "HardwarePool" (From Job resource)
  Read Storage:   "hardware" (From command line)
  Write Pool: "OffsiteTop" (From Job Pool's NextPool resource)
  Write Storage:  "topswap" (From Storage from Pool's NextPool resource)
  Catalog:"MyCatalog" (From Client resource)
  Start time: 09-May-2011 13:59:15
  End time:   09-May-2011 13:59:15
  Elapsed time:   0 secs
  Priority:   10
  SD Files Written:   0
  SD Bytes Written:   0 (0 B)
  Rate:   0.0 KB/s
  Volume name(s):
  Volume Session Id:  27
  Volume Session Time:1304722130
  Last Volume Bytes:  0 (0 B)
  SD Errors:  1
  SD termination status:  Running
  Termination:*** Migration Error ***


Configuration files: (This is one of three, they are all setup the same way)

Job {
Name = "CopyHWDiskToDisk"
Type = Migrate
Level = Full
FileSet = "Top Set"
Client = distress-sd-fd
Messages = Standard
Storage = hardware
Pool = HardwarePool
Maximum Concurrent Jobs = 4
Selection Type = Pool Time
Selection Pattern = "hardwareTS-*"
}

# File Pool definition
Pool {
  Name = OffsiteTop
  Pool Type = Migrate
  Next Pool = OffsiteTop
  Storage = topswap
  Recycle = yes   # Bacula can automatically recycle Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 6 months # one week
  Maximum Volume Bytes = 1800G   # Limit Volume size to something reasonable
  Maximum Volumes = 10   # Limit number of Volumes in Pool
}

FileSet {
Name = "Top Set"
Include {
Options {
signature = MD5
}
#
#  Put your list of files here, preceded by 'File =', one per line
#or include an external list with:
#
#File =--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsu

Re: [Bacula-users] Bat through SSH X11 forwarding works parcially fine/bad

2011-05-09 Thread Jason Voorhees
It was a mistake of mine. The mentioned windows always were working
fine but were not visible because of a "almost invisible" bar.

Thanks anyway.

On Fri, May 6, 2011 at 12:52 PM, Jason Voorhees  wrote:
> Hi people:
>
> I'm running Bacula 5.0.3 (compiled from source) on CentOS 5.6 x86_64.
> I made a "basic" installation of CentOS without X Window, nor
> GNOME/KDE/etc GUI, just pure console. I installed qt43, qt43-devel
> (required to compile Bat) and xorg-x11-xauth (to be able to run X apps
> trough SSH X11 forwarding).
>
> My Bacula installation is working perfectly, but when I run bat
> through a ssh x11 forwarding session from my Ubuntu desktop then Bat
> seems to work fine, it loads correctly. I can use without problems the
> "Console", "Clients", "FileSets", "Jobs", "Pools", "Media" and
> "Storage" sections, but "Jobs Run", "Version Browser" and "Director
> Status" don't seem to work. When I click on them the window just seem
> to hung (similar to suspend a task from shell with ^Z).
>
> I experienced this on a similar  system with RHEL 6 and I solved just
> installing the hole X Window System and GNOME environment running then
> to runlevel 5. But now I don't want to install the hole GUI of my
> CentOS to "solve" this.
>
> Does anybody know why is this hapenning to bat? I hope someone can help me.
>
> Thanks, bye.
>

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Error writing final EOF to tape LTO-5

2011-05-09 Thread lweinlan
we are using Bacula on a Linux 2.6.18-238.5.1.el5PAE system, and have a Dell 
TL-2000 two drives (dev/nst0 and dev/nst1) autochanger. Bacula runs fine but we 
always encounter a tape error writing final EOF when using drive 1. There is an 
error message regarding the tape EOF, the tape does not fill up, bacula mounts 
the next tape, and continues the backup. The job finishes correctly. What is 
noticeable is that a part of the error message is identical (dev.c:1745 ioctl) 
and the error seems to appears at the same block (c:577) for 2 different tapes 
as shown below. The amount of data written to each tape varies before the error 
happening. I do not know if it makes a difference but just wanted to mention 
it. What could be the cause of this problem ?
below are the logs:

EOF error on tape 0015MEL5:

08-May 03:00 saver.engr-dir JobId 213: Start Backup JobId 213, 
Job=saver-me.2011-05-08_03.00.01_15
08-May 03:00 saver.engr-dir JobId 213: Using Device "Drive-1"
08-May 02:58 saver-me-fd JobId 213: DIR and FD clocks differ by -65 seconds, FD 
automatically compensating.
08-May 02:58 saver-me-sd JobId 213: Spooling data ...
08-May 02:58 saver-me-sd JobId 213: Job write elapsed time = 00:00:01, Transfer 
rate = 157.0 K Bytes/second
08-May 02:58 saver-me-sd JobId 213: Committing spooled data to Volume 
"0015MEL5". Despooling 157,763 bytes ...
08-May 02:58 saver-me-sd JobId 213: Error: block.c:577 Write error at 10:1 on 
device "Drive-1" (/dev/nst1). ERR=Input/output error.
08-May 02:58 saver-me-sd JobId 213: Error: Error writing final EOF to tape. 
This Volume may not be readable.
dev.c:1745 ioctl MTWEOF error on "Drive-1" (/dev/nst1). ERR=Input/output error.
08-May 02:58 saver-me-sd JobId 213: End of medium on Volume "0015MEL5" 
Bytes=5,504,034,816 Blocks=85,317 at 08-May-2011 02:58.
08-May 02:58 saver-me-sd JobId 213: 3307 Issuing autochanger "unload slot 15, 
drive 1" command.
08-May 03:04 saver-me-sd JobId 213: 3301 Issuing autochanger "loaded? drive 1" 
command.
08-May 03:04 saver-me-sd JobId 213: 3302 Autochanger "loaded? drive 1", result: 
nothing loaded.
08-May 03:04 saver-me-sd JobId 213: 3304 Issuing autochanger "load slot 16, 
drive 1" command.
08-May 03:05 saver-me-sd JobId 213: 3305 Autochanger "load slot 16, drive 1", 
status is OK.
08-May 03:05 saver-me-sd JobId 213: Wrote label to prelabeled Volume "0016MEL5" 
on device "Drive-1" (/dev/nst1)
08-May 03:05 saver-me-sd JobId 213: New volume "0016MEL5" mounted on device 
"Drive-1" (/dev/nst1) at 08-May-2011 03:05.
08-May 03:05 saver-me-sd JobId 213: Despooling elapsed time = 00:00:01, 
Transfer rate = 157.7 K Bytes/second
08-May 03:05 saver-me-sd JobId 213: Sending spooled attrs to the Director. 
Despooling 462 bytes ...
08-May 03:06 saver.engr-dir JobId 213: Bacula saver.engr-dir 5.0.3 (30Aug10): 
08-May-2011 03:06:20

EOF error on tape 0016MEL5:

09-May 03:00 saver.engr-dir JobId 225: Start Backup JobId 225, 
Job=guss.2011-05-09_03.00.01_10
09-May 03:00 saver.engr-dir JobId 225: Using Device "Drive-1"
09-May 02:58 saver-me-sd JobId 225: Spooling data ...
09-May 03:00 guss-fd JobId 225: Generate VSS snapshots. Driver="VSS WinXP", 
Drive(s)="C"
09-May 03:00 guss-fd JobId 225: VSS Writer (BackupComplete): "MSDEWriter", 
State: 0x1 (VSS_WS_STABLE)
09-May 02:59 saver-me-sd JobId 225: Job write elapsed time = 00:00:17, Transfer 
rate = 6.654 M Bytes/second
09-May 03:00 guss-fd JobId 225: VSS Writer (BackupComplete): "Microsoft Writer 
(Bootable State)", State: 0x1 (VSS_WS_STABLE)
09-May 02:59 saver-me-sd JobId 225: Committing spooled data to Volume 
"0016MEL5". Despooling 113,227,156 bytes ...
09-May 03:00 guss-fd JobId 225: VSS Writer (BackupComplete): "Microsoft Writer 
(Service State)", State: 0x1 (VSS_WS_STABLE)
09-May 03:00 guss-fd JobId 225: VSS Writer (BackupComplete): "WMI Writer", 
State: 0x1 (VSS_WS_STABLE)
09-May 02:59 saver-me-sd JobId 225: Error: block.c:577 Write error at 4:3 on 
device "Drive-1" (/dev/nst1). ERR=Input/output error.
09-May 02:59 saver-me-sd JobId 225: Error: Error writing final EOF to tape. 
This Volume may not be readable.
dev.c:1745 ioctl MTWEOF error on "Drive-1" (/dev/nst1). ERR=Input/output error.
09-May 02:59 saver-me-sd JobId 225: End of medium on Volume "0016MEL5" 
Bytes=2,538,805,248 Blocks=39,353 at 09-May-2011 02:59.
09-May 02:59 saver-me-sd JobId 225: 3307 Issuing autochanger "unload slot 16, 
drive 1" command.
09-May 03:04 saver-me-sd JobId 225: 3301 Issuing autochanger "loaded? drive 1" 
command.
09-May 03:04 saver-me-sd JobId 225: 3302 Autochanger "loaded? drive 1", result: 
nothing loaded.
09-May 03:04 saver-me-sd JobId 225: 3304 Issuing autochanger "load slot 17, 
drive 1" command.
09-May 03:05 saver-me-sd JobId 225: 3305 Autochanger "load slot 17, drive 1", 
status is OK.
09-May 03:05 saver-me-sd JobId 225: Wrote label to prelabeled Volume "0017MEL5" 
on device "Drive-1" (/dev/nst1)
09-May 03:05 saver-me-sd JobId 225: New volume "0017MEL5" mounted on device 
"Drive-1" (/dev/nst1) at 09-May-2011 03:05.
09-M

Re: [Bacula-users] Restore without creating top level directory

2011-05-09 Thread Rickifer Barros
I'm sorry, I wrote Mark, but is Mike...a little mistake :)

On Mon, May 9, 2011 at 1:59 PM, Rickifer Barros wrote:

> Hello Mark,
>
> You'll find what you need about this in the "Using File 
> Relocation"
> chapter in the Bacula Manual. Check the link below.
>
>
> http://www.bacula.org/en/dev-manual/main/main/Restore_Command.html#SECTION00286
>
> Kind Regards
>
> Rickifer Barros
>
>
>
> On Mon, May 9, 2011 at 12:49 PM, Mike Hobbs  wrote:
>
>>  Question,  I'm trying to do a restore of a file system, in this case,
>> /opt.  I want to restore everything on this partition.
>>
>> I have a spare disk mounted in another client with all the file systems
>> created, formatted and mounted. In this case I have the file system I
>> want to restore to, mounted as /export/opt.
>>
>> In bconsole, I have marked everything under the /opt directory, I then
>> backed out to root and unmarked (not recursive) the /opt directory.
>>
>> When I run the restore I would like all the files to be restored to
>> /export/opt, but even after unmarking /opt/ it is still creating the top
>> level directory, so my restore point ends up being /export/opt/opt/
>>
>> Is there a way to get bacula to NOT create the top level directory?
>> There must be I'm sure I'm just missing something here.
>>
>> Thank you,
>>
>> mike
>>
>>
>> --
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
>
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore without creating top level directory

2011-05-09 Thread Rickifer Barros
Hello Mark,

You'll find what you need about this in the "Using File
Relocation"
chapter in the Bacula Manual. Check the link below.

http://www.bacula.org/en/dev-manual/main/main/Restore_Command.html#SECTION00286

Kind Regards

Rickifer Barros


On Mon, May 9, 2011 at 12:49 PM, Mike Hobbs  wrote:

>  Question,  I'm trying to do a restore of a file system, in this case,
> /opt.  I want to restore everything on this partition.
>
> I have a spare disk mounted in another client with all the file systems
> created, formatted and mounted. In this case I have the file system I
> want to restore to, mounted as /export/opt.
>
> In bconsole, I have marked everything under the /opt directory, I then
> backed out to root and unmarked (not recursive) the /opt directory.
>
> When I run the restore I would like all the files to be restored to
> /export/opt, but even after unmarking /opt/ it is still creating the top
> level directory, so my restore point ends up being /export/opt/opt/
>
> Is there a way to get bacula to NOT create the top level directory?
> There must be I'm sure I'm just missing something here.
>
> Thank you,
>
> mike
>
>
> --
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore without creating top level directory

2011-05-09 Thread Mike Hobbs
  Question,  I'm trying to do a restore of a file system, in this case, 
/opt.  I want to restore everything on this partition.

I have a spare disk mounted in another client with all the file systems 
created, formatted and mounted. In this case I have the file system I 
want to restore to, mounted as /export/opt.

In bconsole, I have marked everything under the /opt directory, I then 
backed out to root and unmarked (not recursive) the /opt directory.

When I run the restore I would like all the files to be restored to 
/export/opt, but even after unmarking /opt/ it is still creating the top 
level directory, so my restore point ends up being /export/opt/opt/

Is there a way to get bacula to NOT create the top level directory?  
There must be I'm sure I'm just missing something here.

Thank you,

mike

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Troubles with bacula and vchanger.

2011-05-09 Thread alidaf
I've now changed all of the automount options to fixed mounts and tried again.  
I can now initialise the disks but still cannot label the barcodes.  I have 
also upgraded from hardy to lucid but the problem remains.

+--
|This was sent by darren.fau...@easl-stress.co.uk via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users