LINUX.ORG.RU

Сообщения Yuna

 

Bacula не удалять полный если есть инкременты

Доброго времени суток товарищи!

Хотел спросить, можно-ли настроить бакулу не удалять полные бекапы, если есть слинкованные к нему инкременты/декременты которые еще не истекли?

t+>                 e             n
F I I I I D I I I I D I I I I F I I
t+ = точка отсчёта и направление времени
e = точка истекания бекапа
n = текущщий момент

Вот надо что-б тот F слева от E не был удалён пока есть D или I справа от e

Расписание:

Schedule {
  Name = «WeeklyCycle»
  Run = Full 1st sun at 01:05
  Run = Differential 2nd-5th sun at 01:05
  Run = Incremental mon-sat at 01:05
}

JobDef

JobDefs {
  Name = «DefaultJob»
  Type = Backup
  Level = Incremental
  FileSet = «Full Set»
  Schedule = «WeeklyCycle»
  Storage = PrimaryStorage,SecondaryStorage,TertiaryStorage,QuaternaryStorage
  Messages = Standard
  Pool = Default
  Full Backup Pool = FullPool                # This ties with /etc/bacula/conf.d/schedules.conf
    Incremental Backup Pool = IncPool          # This ties with /etc/bacula/conf.d/schedules.conf
    Differential Backup Pool = DiffPool        # This ties with /etc/bacula/conf.d/schedules.conf
    Prefer Mounted Volumes = no                # Finding an unused drive, otherwise, job started will append to volume.
  Priority = 10
  Maximum Concurrent Jobs = 20
    }

Пулы

Pool {
  Name = Default
    Label Format = «${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}»
  Pool Type = Backup
  Recycle = no                              # Don't recycle Volumes but prune all the Jobs on the volume, mark «Purged».
  Action On Purge = Truncate                # Truncate the volume when it is purged.
  AutoPrune = yes                     # Prune expired volumes - Yes (default), applies Volume Retention period when new Volume is needed and no appendable Volumes exist in the Pool.
  Volume Retention = 1 month                # Retention time of records associated with the Volume in the Catalog database.
  Maximum Volume Bytes = 50G          # Limit Volume size to something reasonable
}

Pool {
  Name = FullPool
  Label Format = «${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}»
  Pool Type = Backup
  Recycle = no                              # Don't recycle Volumes but prune all the Jobs on the volume, mark «Purged».
  Action On Purge = Truncate                # Truncate the volume when it is purged.
  AutoPrune = yes                     # Prune expired volumes - Yes (default), applies Volume Retention period when new Volume is needed and no appendable Volumes exist in the Pool.
  Volume Retention = 1 month                # Retention time of records associated with the Volume in the Catalog database.
  Maximum Volume Bytes = 50G          # Limit Volume size to something reasonable
}

Pool {
  Name = DiffPool
  Label Format = «${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}»
  Pool Type = Backup
  Recycle = no                              # Don't recycle Volumes but prune all the Jobs on the volume, mark «Purged».
  Action On Purge = Truncate                # Truncate the volume when it is purged.
  AutoPrune = yes                     # Prune expired volumes - Yes (default), applies Volume Retention period when new Volume is needed and no appendable Volumes exist in the Pool.
  Volume Retention = 1 month                # Retention time of records associated with the Volume in the Catalog database.
  Maximum Volume Bytes = 50G          # Limit Volume size to something reasonable
}

Pool {
  Name = IncPool
  Label Format = «${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}»
  Pool Type = Backup
  Recycle = no                              # Don't recycle Volumes but prune all the Jobs on the volume, mark «Purged».
  Action On Purge = Truncate                # Truncate the volume when it is purged.
  AutoPrune = yes                     # Prune expired volumes - Yes (default), applies Volume Retention period when new Volume is needed and no appendable Volumes exist in the Pool.
  Volume Retention = 1 month                # Retention time of records associated with the Volume in the Catalog database.
  Maximum Volume Bytes = 50G          # Limit Volume size to something reasonable
}

Такую фишку Я видел в акронисе, но там нет серверной части под линукс.

 , ,

Yuna
()

RSS подписка на новые темы