Bacula-users

[Bacula-users] problem with job copy and retention period

2011-09-14 12:24:15
Subject: [Bacula-users] problem with job copy and retention period
From: Victor Hugo dos Santos <listas.vhs AT gmail DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 14 Sep 2011 12:21:45 -0400
Hi...

I have this situation:

A small SD in the server (2TB) with a retention period of 3 months.
and a other SD in a disk USB (1TB) with a retention period of 1 month.

Note: the idea is leave only the more recently backups (one month) in
internal and external disk.. .and the oldest backup in the internal
disk (we don't believe that we will need this old backups in the
future).

I have configured the bacula director to copy all jobs from server to
disk USB...
that worded OK.. but after a month.. the director purge the volumes
with one month or more at the disk USB and after this the director
copy the old jobs again to usb disk !! :-(


my job copy is configured to copy all "uncopied" jobs
(PoolUncopiedJobs).. but, apparently the director consider that if the
volume don't exist in the other SD, the volume isn't copied and make a
new copy job !!!

any idea to workaround this ??


extract from director configuration
====================
Job {
  Name     = "CopyToTape"
  Type     = Copy
  Level    = Full
  JobDefs  = "DefaultJob"
  Client   = bacula-fd
  Priority = 200
  Selection Type = PoolUncopiedJobs
  Schedule    = "WeeklyCycleForCopyingToUSB"
}

# Scratch pool definition
Pool {
  Name = Scratch
  Pool Type = Backup
}


Pool {
        Name = Mensual-Completo
        Pool Type = Backup
        Recycle = yes
        AutoPrune = yes
        Volume Retention = 3 months
        Maximum Volume Jobs = 1
        Label Format = mensual-completo-
        Next Pool = Pool-DiscoUSB
}

Pool {
        Name = Semanal-Diferencial
        Pool Type = Backup
        Recycle = yes
        AutoPrune = yes
        Volume Retention = 35 days
        Maximum Volume Jobs = 1
        Label Format = semanal-diferencial-
        Next Pool = Pool-DiscoUSB
}


Pool {
        Name = Diario-Incremental
        Pool Type = Backup
        Recycle = yes
        AutoPrune = yes
        Volume Retention = 14 days
        Maximum Volume Jobs = 1
        Label Format = diario-incremental-
        Next Pool = Pool-DiscoUSB
}

Pool {
        Name = Pool-DiscoUSB
        Pool Type = Backup
        Recycle = yes
        AutoPrune = yes
        Volume Retention = 35 days
        Maximum Volume Jobs = 1
        Storage = DiscoUSB
}


Schedule {
  Name = "WeeklyCycleForCopyingToUSB"
  Run = Level=Full mon-fri     at 11:06
  Run = Level=Differential mon-fri     at 11:06
  Run = Level=Incremental mon-fri     at 11:06
}
====================


-- 
--
Victor Hugo dos Santos
Linux Counter #224399

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
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>