Bacula-users

Re: [Bacula-users] What is the problem with this deffinitions ...

2009-06-02 10:48:44
Subject: Re: [Bacula-users] What is the problem with this deffinitions ...
From: Willians Vivanco <williansvi AT infomed.sld DOT cu>
To: Reynier Perez Mira <rperezm AT uci DOT cu>, Bacula-users AT lists.sourceforge DOT net
Date: Tue, 02 Jun 2009 10:44:07 -0400
Reynier Perez Mira wrote:
> Hi again:
> I have this config for one of my clients:
>
> #Description: Backup the files include in FS for salvasprod-fd
> #-----------------------------------------------------------------
> #Job Definition
> Job {
>   Name = "Copia-SalvasProdFull-FD"
>   JobDefs = "DefinicionPorDefectoParaCopias"
>   Level = Full
>   Client = salvasprod-fd
>   FileSet = "Copia-SalvasProd-FS"
>   Schedule = "ScheduleFull"
>   Write Bootstrap = 
> "/media/bacula_save/bootstrap_files/Copia-SalvasProdFull-FD.bsr"
>   Priority = 5  
>   Pool = Copia-SalvasProd-FullPool
> }
>
> #Client Definition
> Client {
>   Name = salvasprod-fd
>   Address = 10.128.50.114
>   FDPort = 9102
>   Catalog = MyCatalog
>   Password = "sKNtH4g5j6GrC7da"
>   File Retention = 1 years
>   Job Retention = 1 years
> }
>
> # Copia mensual completa a la SAN
> Schedule {
>   Name = "ScheduleFull"
>   Run = Level = Full Pool = Copia-SalvasProd-FullPool 4th sun at 4:00         
>                    
>   Run = Level = Differential Pool = Copia-SalvasProd-DifferentialPool sun at 
> 2:00                
>   Run = Level = Incremental Pool = Copia-SalvasProd-IncrementalPool mon-sat 
> at 2:00              
> }
>
> #Pool Definition
> Pool {
>   Name = Copia-SalvasProd-FullPool
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 1 year
>   Recycle Oldest Volume = yes
>   Maximum Volume Jobs = 1
>   Label Format =  Copia-SalvasProd-Pool-Full-
>   Maximum Volumes = 2
> }
>
> Pool {
>   Name = Copia-SalvasProd-DifferentialPool
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 1 year
>   Recycle Oldest Volume = yes
>   Maximum Volume Jobs = 1
>   Label Format =  Copia-SalvasProd-Pool-Differential-
>   Maximum Volumes = 2
> }
>
> Pool {
>   Name = Copia-SalvasProd-IncrementalPool
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 1 year
>   Recycle Oldest Volume = yes
>   Maximum Volume Jobs = 1
>   Label Format =  Copia-SalvasProd-Pool-Incremental-
>   Maximum Volumes = 2
> }
>
> #FileSet Definition
> FileSet {
>   Name = "Copia-SalvasProd-FS"
>   Include {
>     Options {
>       signature = SHA1
>       compression = GZIP9
>     }
>     File = "E:/Salva IP/PP_UCI_2009"
>   }
> }
>
> All it's working fine but Bacula always do a Full Backup and not respect the 
> Schedule part. Why? What I'm doing wrong?
> Cheers
> Ing. Reynier Pérez Mira
>
>
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
> looking to deploy the next generation of Solaris that includes the latest 
> innovations from Sun and the OpenSource community. Download a copy and 
> enjoy capabilities such as Networking, Storage and Virtualization. 
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>   
Socio, el atributo "pool" del recurso "job" es mandatorio... Por eso
solo te hace copias full, porque estás forzando usar solo el pool que
definiste en el recurso "Schedule" para este tipo de trabajos (Run =
Level = Full Pool = Copia-SalvasProd-FullPool 4th sun at 4:00)... Yo te
recomendaría que si vas a usar pools separados lo hagas contra backups
de PCs diferentes y no contra tipos de trabajos de backup para una misma
PC... De todas maneras separar los trabajos full, de los incrementales y
estos de los diferenciales no te ofrece ninguna ventaja puesto que a la
hora de restaurar información estos están amarrados los unos a los
otros, aparte de que al estar en ficheros diferentes te harán más lento
el trabajo de recuperación y que indiscutiblemente los backups full te
generarán mucha más información que los incrementales y/o diferenciales.
Así que, mi sugerencia es que no definas pools por tipo de trabajo en el
schedule y lo hagas en el recurso job.

Slds
Willians

---------------------------------------
    Red Telematica de Salud - Cuba
          CNICM - Infomed

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
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>