Define separate pools for each job then.  (or set Maximum Volume Jobs = 1 so that each one will be created on a separate media).

On 20.08.2023 18:13, Rogerio Pereira wrote:
Hi,

First time here.

I have BareOS working almost fine, the idea was backup 3 big folders, I have one job for each:

*JOBS*
srvfsr1-PRC
srvfsr1-PUBLICO
srvfsr1-SETOR

Full backup was fine, the first Incremental for *Job srvfsr1-PUBLICO* was fine too, but then when the *Job srvfsr1-SETOR* was make the incremental, the job used the *file srvfsr1-PUBLICO-Incremental-136* from the *Job srvfsr1-PUBLICO*.

I would like that every job create and use your own incremental file, not use files from other jobs to append.
*------------------------------*
132023-08-20 11:40:22bareos-sd JobId 137: Ready to append to end of Volume "srvfsr1-PUBLICO-Incremental-136" size=978491350 122023-08-20 11:40:22bareos-sd JobId 137: Volume "srvfsr1-PUBLICO-Incremental-136" previously written, moving to end of data. 112023-08-20 11:40:27srvfsr1-fd JobId 137: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 102023-08-20 11:40:27srvfsr1-fd JobId 137: Connected Storage daemon at srvbacula.prxxxx.br:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 92023-08-20 11:40:27srvfsr1-fd JobId 137: Created 20 wildcard excludes from FilesNotToBackup Registry key 82023-08-20 11:40:21bareos-dir JobId 137: Using Device "device-INCREMENTAL" to write. 72023-08-20 11:40:27srvfsr1-fd JobId 137: DIR and FD clocks differ by 5 seconds, FD automatically compensating. 62023-08-20 11:40:21bareos-dir JobId 137: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
52023-08-20 11:40:21bareos-dir JobId 137: Handshake: Immediate TLS
42023-08-20 11:40:21bareos-dir JobId 137: Connected Client: srvfsr1-fd at 10.51.10.51:9102, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 32023-08-20 11:40:21bareos-dir JobId 137: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 22023-08-20 11:40:21bareos-dir JobId 137: Connected Storage daemon at srvbacula.prxxxx.br:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 12023-08-20 11:40:21bareos-dir JobId 137: Start Backup JobId 137, Job=srvfsr1-SETOR.2023-08-20_11.29.49_30
*------------------------------
*
Is this possible?

*Here my job config:*

# ------------------------------------------
# JOB
# ------------------------------------------
# PUBLICO
Job {
  Name = "srvfsr1-PUBLICO"
  JobDefs = "defs-srvfsr1"
  Client = "srvfsr1-fd"
  FileSet = "fileset-srvfsr1-PUBLICO"
  Schedule = "CicloMensal-PUBLICO"
}

# SETOR
Job {
  Name = "srvfsr1-SETOR"
  JobDefs = "defs-srvfsr1"
  Client = "srvfsr1-fd"
  FileSet = "fileset-srvfsr1-SETOR"
  Schedule = "CicloMensal-SETOR"
  Run Script {
    Console = ".bvfs_update"
    RunsWhen = After
    RunsOnClient = No
}
}

# PRC
Job {
  Name = "srvfsr1-PRC"
  JobDefs = "defs-srvfsr1"
  Client = "srvfsr1-fd"
  FileSet = "fileset-srvfsr1-PRC"
  Schedule = "CicloMensal-PRC"
}
*------------------------------*
# ------------------------------------------
# JOB DEFS
# ------------------------------------------
# DIFERENCIAL
JobDefs {
  Name = "defs-srvfsr1-DIF"
  Type = Backup
  Level = Differential
  Storage = storage-DIFERENCIAL
  Messages = Standard
  Pool = DIF-Pool
  Priority = 11
  Write Bootstrap = "/var/lib/bareos/%c.bsr"
  Full Backup Pool = FUL-Pool# write Full Backups into "Full" Pool
  Differential Backup Pool = DIF-Pool# write Diff Backups into "Differential" Pool   Incremental Backup Pool = INC-Pool# write Incr Backups into "Incremental" Pool
}
# FUL
JobDefs {
  Name = "defs-srvfsr1-FUL"
  Type = Backup
  Level = Full
  Storage = storage-COMPLETO
  Messages = Standard
  Pool = FUL-Pool
  Priority = 10
  Write Bootstrap = "/var/lib/bareos/%c.bsr"
  Full Backup Pool = FUL-Pool# write Full Backups into "Full" Pool
  Differential Backup Pool = DIF-Pool# write Diff Backups into "Differential" Pool   Incremental Backup Pool = INC-Pool# write Incr Backups into "Incremental" Pool
}
# INCREMENTAL
JobDefs {
  Name = "defs-srvfsr1-INC"
  Type = Backup
  Level = Incremental
  Storage = storage-INCREMENTAL
  Messages = Standard
  Pool = INC-Pool
  Priority = 11
  Write Bootstrap = "/var/lib/bareos/%c.bsr"
  Full Backup Pool = FUL-Pool# write Full Backups into "Full" Pool
  Differential Backup Pool = DIF-Pool# write Diff Backups into "Differential" Pool   Incremental Backup Pool = INC-Pool# write Incr Backups into "Incremental" Pool
}
*------------------------------*
# ------------------------------------------
# POOL
# ------------------------------------------
# DIFERENCIAL
Pool {
  Name = DIF-Pool
  Pool Type = Backup
  Storage = storage-DIFERENCIAL
  Recycle = yes# Bareos can automatically recycle Volumes
  AutoPrune = yes# Prune expired volumes
  Volume Retention = 40 days# How long should the Diff Backups be kept?
  Maximum Volumes = 9# Limit number of Volumes in Pool
  Maximum Volume Jobs = 1
  Label Format = "$Job-$Level-$JobId"# Volumes will be labeled "$Job<volume-id>"
}
# FULL
Pool {
  Name = FUL-Pool
  Pool Type = Backup
  Storage = storage-COMPLETO
  Recycle = yes# Bareos can automatically recycle Volumes
  AutoPrune = yes# Prune expired volumes
  Volume Retention = 2 months# How long should the Full Backups be kept?
  Maximum Volumes = 3# Limit number of Volumes in Pool
  Maximum Volume Jobs = 1
  Label Format = "$Job-$Level-$JobId"# Volumes will be labeled "$Job<volume-id>"
}
# INCREMENTAL
Pool {
  Name = INC-Pool
  Pool Type = Backup
  Storage = storage-INCREMENTAL
  Recycle = yes                     # Bareos can automatically recycle Volumes
  AutoPrune = yes                   # Prune expired volumes
  Volume Retention = 10 days        # How long should the Full Backups be kept?
  Maximum Volumes = 7# Limit number of Volumes in Pool
  Maximum Volume Jobs = 6
  Label Format = "$Job-$Level-$JobId" Volumes will be labeled "$Job<volume-id>"
}
*------------------------------*
# ------------------------------------------
# SCHEDULE CicloMensal
# ------------------------------------------
# /etc/bareos/bareos-dir.d/schedule/CicloMensal.conf

Schedule {
# PUBLICO
  Name = "CicloMensal-PUBLICO"
  Run = Level=Full          Pool=FUL-Pool FullPool=FUL-Pool   1st sat at 2:00   Run = Level=Incremental   Pool=INC-Pool IncrementalPool=INC-Pool  mon-sat at 3:00   Run = Level=Differential  Pool=DIF-Pool DifferentialPool=DIF-Pool 2nd-5th sat at 4:00
}

Schedule {
# SETOR
  Name = "CicloMensal-SETOR"
  Run = Level=Full          Pool=FUL-Pool FullPool=FUL-Pool   2nd sat at 2:00   Run = Level=Incremental   Pool=INC-Pool IncrementalPool=INC-Pool  mon-sat at 3:15   Run = Level=Differential  Pool=DIF-Pool DifferentialPool=DIF-Pool 2nd-5th sat at 4:15
}

Schedule {
# PRC
  Name = "CicloMensal-PRC"
  Run = Level=Full          Pool=FUL-Pool FullPool=FUL-Pool   3rd sat at 2:00   Run = Level=Incremental   Pool=INC-Pool IncrementalPool=INC-Pool  mon-sat at 3:30   Run = Level=Differential  Pool=DIF-Pool DifferentialPool=DIF-Pool 2nd-5th sat at 4:30
}

*------------------------------*
/Thanks, sorry about the bad english./

*/Roger/* --
You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/eccbd7ed-b427-4484-af02-0a7616a57de5n%40googlegroups.com <https://groups.google.com/d/msgid/bareos-users/eccbd7ed-b427-4484-af02-0a7616a57de5n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/9688938b-ac30-06d5-19fa-4cb64229af37%40gmail.com.

Reply via email to