Bacula-users

Re: [Bacula-users] Copy job Not working

2012-03-21 10:58:24
Subject: Re: [Bacula-users] Copy job Not working
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 21 Mar 2012 14:55:46 GMT
>>>>> On Wed, 21 Mar 2012 07:35:26 +0530, Rushdhi Mohamed said:
> 
> hi,
> 
> i have previously tested copy jobs and it works fine.
> 
> but now i am getting this error when run a copy job.
> 
> Run Copy job
> JobName:       Copy-TueVol-1
> Bootstrap:     *None*
> Client:        fd-backup01.hnbassurance.com
> FileSet:       FileSet-test
> Pool:          DailyTue (From Job resource)
> Read Storage:  NAS-DailyBackups (From Job resource)
> Write Storage: LTO-4 (From Storage from Pool's NextPool resource)
> JobId:         *None*
> When:          2012-03-21 07:18:36
> Catalog:       MyCatalog
> Priority:      10
> OK to run? (yes/mod/no):yes
> 
> then
> 
> 21-Mar 07:19 dir-backup01.hnbassurance.com JobId 135: Query of Pool
> "DailyTue" returned no Jobs to copy.
> 21-Mar 07:19 dir-backup01.hnbassurance.com JobId 135: No JobIds found to copy.
> 21-Mar 07:19 dir-backup01.hnbassurance.com JobId 135: Bacula
> dir-backup01.hnbassurance.com 5.0.3 (04Aug10): 21-Mar-2012 07:19:02
>   Build OS:               x86_64-suse-linux-gnu suse 5.x
>   Prev Backup JobId:      0
>   Prev Backup Job:
>   New Backup JobId:       0
>   Current JobId:          135
>   Current Job:            Copy-TueVol-1.2012-03-21_07.19.00_57
>   Backup Level:           Full
>   Client:                 fd-backup01.hnbassurance.com
>   FileSet:                "FileSet-test" 2012-03-20 18:57:29
>   Read Pool:              "DailyTue" (From Job resource)
>   Read Storage:           "NAS-DailyBackups" (From Job resource)
>   Write Pool:             "DailyTue-Tape" (From Job Pool's NextPool resource)
>   Write Storage:          "LTO-4" (From Storage from Pool's NextPool resource)
>   Catalog:                "MyCatalog" (From Client resource)
>   Start time:             21-Mar-2012 07:19:02
>   End time:               21-Mar-2012 07:19:02
>   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:      0
>   Volume Session Time:    0
>   Last Volume Bytes:      0 (0 B)
>   SD Errors:              0
>   SD termination status:
>   Termination:            Copying -- no files to copy
> 
> can any one help me please.
> 
> Further in formation... copy job configuration in dir-configuration file
> 
> #Definitioan for Copy Job
> Job {
>   Name = "Copy-MonVol"
>   Type = Copy
>   Level = Full
>   Client = fd-backup01.hnbassurance.com
>   Storage=NAS-DailyBackups
>   FileSet = "FileSet-test"
>   Messages = Standard
>   Pool = DailyMon
>   Maximum Concurrent Jobs = 10
>   Selection Type = Volume
>   Selection Pattern = "MonVol-0083*"
> }
> 
> #Monday Pool
> Pool {
>   Name = DailyMon
>   Pool Type = Backup
>   Next Pool =DailyMon-Tape                /// you can see i have
> defined the next pool
>   Recycle = yes
>   AutoPrune = yes
>   Volume Use Duration = 1d
>   Volume Retention = 13d
>   Label Format ="MonVol-"
> }
> 
> 
> #Monday Pool - Tape Copy
> Pool {
>   Name = DailyMon-Tape
>   Pool Type = Copy
>   Recycle = yes
>   AutoPrune = yes
>   Volume Use Duration = 1d
>   Volume Retention = 13d
>   Label Format ="MonTapeVol-"
> }

You posted Copy-MonVol and DailyMon, but the failed job is Copy-TueVol-1 and
is looking for DailyTue -- check your definition of those resources carefully
and then check the list of volumes in that pool.

__Martin

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>