Bacula-users

Re: [Bacula-users] FileStorage problems after upgrade

2009-07-29 11:53:24
Subject: Re: [Bacula-users] FileStorage problems after upgrade
From: John Drescher <drescherjm AT gmail DOT com>
To: Brian Clarkson <brianc AT lnstar DOT com>
Date: Wed, 29 Jul 2009 11:47:48 -0400
On Wed, Jul 29, 2009 at 11:09 AM, Brian Clarkson<brianc AT lnstar DOT com> 
wrote:
> I upgraded our bacula install yesterday ( 1.36.3 to 2.4.1 ) and most
> things are functioning as expected.
>
> I'm having an issue with one backup job.  I've searched the mailing list
> archives for a solution but I haven't found anything that points me in
> the right direction.  I can connect to the remote machine from the
> console but I can neither backup nor restore files.
>
> The console gives me the following information about the error:
>
> 29-Jul 09:46 colo-dir JobId 11076: Start Backup JobId 11076,
> Job=Backup_CBMSI.2009-07-29_09.46.06
> 29-Jul 09:46 2cbmsi-sd: Backup_CBMSI.2009-07-29_09.46.06 Fatal error:
> Bad Use Device command: use storage=2CBMSIFile media_type=File
> pool_name=2CBMSIPool pool_type=Backup append=1 copy=0 stripe=0
>
> 29-Jul 09:46 colo-dir JobId 11076: Fatal error:
>     Storage daemon didn't accept Device "FileStorage" because:
>     3913 Bad use command: use storage=2CBMSIFile media_type=File
> pool_name=2CBMSIPool pool_type=Backup append=1 copy=0 stripe=0
>
> 29-Jul 09:46 colo-dir JobId 11076: Error: Bacula colo-dir 2.4.1
> (07Jul08): 29-Jul-2009 09:46:22
>  Build OS:               i686-pc-linux-gnu gentoo
>  JobId:                  11076
>  Job:                    Backup_CBMSI.2009-07-29_09.46.06
>  Backup Level:           Incremental, since=2009-07-28 01:05:39
>  Client:                 "cbmsi-fd"
> i686-redhat-linux-gnu,redhat,Enterprise release
>  FileSet:                "Full Set CBMSI" 2009-04-03 01:05:50
>  Pool:                   "2CBMSIPool" (From Job resource)
>  Storage:                "2CBMSIFile" (From Job resource)
>  Scheduled time:         29-Jul-2009 09:46:17
>  Start time:             29-Jul-2009 09:46:22
>  End time:               29-Jul-2009 09:46:22
>  Elapsed time:           0 secs
>  Priority:               10
>  FD Files Written:       0
>  SD Files Written:       0
>  FD Bytes Written:       0 (0 B)
>  SD Bytes Written:       0 (0 B)
>  Rate:                   0.0 KB/s
>  Software Compression:   None
>  VSS:                    no
>  Storage Encryption:     no
>  Volume name(s):
>  Volume Session Id:      187
>  Volume Session Time:    1233330677
>  Last Volume Bytes:      0 (0 B)
>  Non-fatal FD errors:    0
>  SD Errors:              0
>  FD termination status:
>  SD termination status:
>  Termination:            *** Backup Error ***
>
> Nothing about the Client, Storage, Job, or FileSet has changed for this
> client.
>
> The relevant configuration directive are:
>
> Job {
>  Name = "Backup CBMSI"
>  Type = Backup
>  Client = cbmsi-fd
>  FileSet = "Full Set CBMSI"
>  Schedule = "WeeklyCycle"
>  Storage = 2CBMSIFile
>  Messages = Standard
>  Pool = 2CBMSIPool
>  Write Bootstrap = "/usr/local/bacula/var/bacula/working/cbmsi.bsr"
> }
>
> Job {
>  Name = "Restore CBMSI"
>  Type = Restore
>  Client = cbmsi-fd
>  FileSet="Full Set CBMSI"
>  Storage = 2CBMSIFile
>  Pool = 2CBMSIPool
>  Messages = Standard
>  Where = /tmp/bacula-restores
> }
>
> Client {
>   Name = cbmsi-fd
>   Address = host1
>   FDPort = 9102
>   Catalog = MyCatalog
>   Password = ******
>   File Retention = 21 days
>   Job Retention = 21 days
>   AutoPrune = yes
> }
>
> Storage {
>    Name = 2CBMSIFile
>    Address = host2
>    SDPort = 9103
>    Password = ******
>    Device = FileStorage
>    Media Type = File
> }
>
>
> I'm not sure how to continue debugging the problem.  Any help is
> appreciated.
>
>

How about the bacula-sd.conf file from host2? That appears to be where
the problem exists.

John

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users