by changing the settings to Maximum Volume Jobs = 0 and removing
UseVolumeOnce = yes. Bareos is still trying to write a backup to the
previous volume and I went back to the error above. What is volume in the
Used status
четверг, 21 июля 2022 г. в 12:55:40 UTC+3, Bruno Friedmann:
> This is normal you configure it to behave like this
>
> Maximum Volume Jobs = 1
>
> 1 Job = Volume goes to Used.
> On Wednesday, July 20, 2022 at 11:19:58 AM UTC+2 Savchik Victor wrote:
>
>> Hello,
>> We have a Dell LTO-8 and 1 cartridge.
>> When setting up a backup, we get that we have 1 Volume that has the
>> status Used. We cannot record further backups on tape.
>>
>> Configs of our backup.
>>
>> Client {
>> Name = wiki-cl
>> Description = "Client resource of the Director itself."
>> Address = wiki.example.com
>> Password = "" # password for FileDaemon
>> Maximum Concurrent Jobs = 6
>> }
>> FileSet {
>> Name = "wiki-fs"
>> Include {
>> Options {
>> Signature = MD5
>> Compression = LZ4HC
>> noatime = yes
>> }
>> File = "/var/opt/wiki-catalog"
>> }
>> }
>> Job {
>> Name = "wiki-jb"
>> Description = "Backup the catalog database (after the nightly save)"
>> JobDefs = "wiki-jd"
>> Level = Full
>> FileSet="wiki-fs"
>> Schedule = "wiki-sc"
>>
>> Priority = 7
>> }
>> Job {
>> Name = "wiki-jb"
>> Description = "Backup the catalog database (after the nightly save)"
>> JobDefs = "wiki-jd"
>> Level = Full
>> FileSet="wiki-fs"
>> Schedule = "wiki-sc"
>>
>> Priority = 7
>> }
>> JobDefs {
>> Name = "wiki-jd"
>> Type = Backup
>> Level = Full
>> Client = wiki-cl
>> FileSet = "wiki-fs" # selftest fileset
>> (#13)
>> Schedule = "wiki-sc"
>> Storage = wiki-st
>> Messages = Standard
>> Pool = wiki-pl
>> Priority = 12
>> Write Bootstrap = "/var/lib/bareos/%c.bsr"
>> Full Backup Pool = wiki-pl # write Full Backups into
>> "Full" Pool (#05)
>> Differential Backup Pool = Differential # write Diff Backups into
>> "Differential" Pool (#08)
>> Incremental Backup Pool = Incremental # write Incr Backups into
>> "Incremental" Pool (#11)
>> Allow Mixed Priority = yes
>>
>> }
>> Pool {
>> Name = wiki-pl
>> Pool Type = Backup
>> Recycle = yes # Bareos can automatically recycle
>> Volumes
>> AutoPrune = yes # Prune expired volumes
>> Volume Retention = 5 hours # How long should the Full Backups
>> be kept? (#06)
>> Maximum Volume Jobs = 1
>> Maximum Volume Bytes = 200G # Limit Volume size to something
>> reasonable
>> Maximum Volumes = 200 # Limit number of Volumes in Pool
>> Label Format = "Full-$Client-$JobId" # Volumes will be labeled
>> "Full-<volume-id>"
>> UseVolumeOnce = yes
>> Volume Use Duration = 5 hours
>> }
>> Schedule {
>> Name = "wiki-sc"
>> Run = Full 1-31 at 1:30 # (#04)
>> }
>> Storage {
>> Name = wiki-st
>> Address = backup.example.com # N.B. Use a fully
>> qualified name here (do not use "localhost" here).
>> Password = ""
>> Device = wiki-sd
>> Media Type = LTO-8
>> }
>> Device {
>> Name = wiki-sd
>> Media Type = LTO-8
>> Archive Device = /dev/nst1
>> LabelMedia = yes
>> Autochanger = no
>> AutomaticMount = yes
>> AlwaysOpen = no
>> }
>>
>> after one successful backup, we receive the following messages the next
>> time
>>
>> bareos-sd JobId 85993: Warning: Director wanted Volume
>> "Full-wiki-cl-85877".
>> Current Volume "Full-wiki-cl-85875" not acceptable because:
>> 1998 Volume "Full-wiki-cl-85875" catalog status is Used, but should be
>> Append, Purged or Recycle.
>>
>> bareos-sd JobId 85993: Please mount append Volume "Full-wiki-cl-85877" or
>> label a new one for:
>> Job: wiki-jb.2022-07-20_08.51.54_02
>> Storage: "wiki-sd" (/dev/nst1)
>> Pool: wiki-pl
>> Media type: LTO-8
>>
>> How to do it correctly so that he continues to write on the tape. Without
>> overwriting the previous Volume?
>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/b48964cb-f938-4b9b-be6a-a5d91478feb4n%40googlegroups.com.