Bacula-users

Re: [Bacula-users] Copy Jobs.

2009-10-07 10:49:33
Subject: Re: [Bacula-users] Copy Jobs.
From: Pedro Bordin Hoffmann <pedro.hoffmann AT raidbr.com DOT br>
To: Nicolae Mihalache <mache AT abcpages DOT com>
Date: Wed, 7 Oct 2009 11:45:21 -0300
Hello again!

Im getting the same error as before changing:
||||
You have messages.
*mes
07-Out 11:44 bacula.belgamatrizes.com.br-d JobId 484: No JobIds found to copy.
*mes
You have no messages.
*mes
07-Out 11:44 bacula.belgamatrizes.com.br-d JobId 484: Bacula bacula.belgamatrizes.com.br-d 3.0.2 (18Jul09): 07-Out-2009 11:44:20
  Build OS:               i686-pc-linux-gnu redhat
  Prev Backup JobId:      0
  Prev Backup Job:
  New Backup JobId:       0
  Current JobId:          484
  Current Job:            CopyDiskToTapeFullBackups.2009-10-07_11.44.18_04
  Backup Level:           Full
  Client:                 None
  FileSet:                "None" 2009-09-11 10:00:00
  Read Pool:              "FullBackupsVirtualPool" (From Job resource)
  Read Storage:           "File2TB" (From Pool resource)
  Write Pool:             "FullBackupsTapePool" (From Job Pool's NextPool resource)
  Write Storage:          "Files_Fita" (From Storage from Pool's NextPool resource)
  Catalog:                "MyCatalog" (From Client resource)
  Start time:             07-Out-2009 11:44:20
  End time:               07-Out-2009 11:44:20
  Elapsed time:           0 secs
  Priority:               13
  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

07-Out 11:44 bacula.belgamatrizes.com.br-d JobId 484: Begin pruning Jobs.
07-Out 11:44 bacula.belgamatrizes.com.br-d JobId 484: No Jobs found to prune.
07-Out 11:44 bacula.belgamatrizes.com.br-d JobId 484: Begin pruning Files.
07-Out 11:44 bacula.belgamatrizes.com.br-d JobId 484: No Files found to prune.
07-Out 11:44 bacula.belgamatrizes.com.br-d JobId 484: End auto prune.




















I changed things just like you said.. what can be wrong?

Thanks.
Regards
Pedro.
2009/10/6 Nicolae Mihalache <mache AT abcpages DOT com>
Maybe something like this.


JobDefs {
 Name = CopyDiskToTape
 Type = Copy
 Messages = Standard
 Client = None
 FileSet = None
 Selection Type = PoolUncopiedJobs
 Maximum Concurrent Jobs = 10
 SpoolData = No
 Allow Duplicate Jobs = Yes
 Allow Higher Duplicates = No
 Cancel Queued Duplicates = No
 Cancel Running Duplicates = No
 Priority = 13
 *Pool = Default*
}

Pool {
 Name = Default
 Pool Type = Backup
 Recycle = yes                       # Bacula can automatically recycle
Volumes
 AutoPrune = yes                     # Prune expired volumes
 Volume Retention = 2d         # one year
 Label format = "belga-"
 Maximum Volume Bytes = 4G
*  NextPool = FullBackupsTapePool*
}


Pedro Bordin Hoffmann wrote:
> What I like to do is this.
>
> I have a file backup... using the Default pool.
> Than I need to put this backup (from Default) on the tape. By using
> the copy job function.
> How does the Copy Job should look like?
> Do I have to make changes on my Default pool? In my File Backup?
>
>
> Thanks so much for your help!!
>
> 2009/10/6 Nicolae Mihalache <mache AT abcpages DOT com
> <mailto:mache AT abcpages DOT com>>
>
>     Pedro Bordin Hoffmann wrote:
>     > There is no Volumes in the Pool: FullBackupsVirtualPool
>     > *list media Pool=FullBackupsVirtualPool
>     > No results to list.
>     >
>     > Should I try to list the Default pool ?
>
>     Your Copy Job is copying files from this Pool, that's why it doesn't
>     copy anything.
>     If you want it instead to copy from the Default Pool you have to use
>     Pool=Default in the job definition. However I see that the Default
>     Pool
>     has no NextPool definition, you have to first to that.
>
>     >From your definitions, it seems that you want first to run a
>     VirtualFull
>     job and then a copy.
>
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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>