Yes one tape is a volume, a volume can hold many jobs you can list all jobs on 
a volume with

list jobs volume=volname

I would delete Maximum Volume Jobs   completely and leave it the default, 

Also then delete the volume and start over.  Often (been a while my setup 
currently works)  volumes when labeled get values from the pool and do not 
update when the pool value changes.

list volumes pool=wiki-pl

Or for more details

llist volume=volname

Should show things like retention values,  and they might not match the current 
pool values.  If you start over and relabel the tape you won’t have worries.


Brock Palen
bro...@mlds-networks.com
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting



> On Jul 22, 2022, at 9:13 AM, Savchik Victor <cfdxbr1...@gmail.com> wrote:
> 
> also interested in the question 1 cartridge = 1 volume?
> 
> пятница, 22 июля 2022 г. в 09:15:49 UTC+3, Savchik Victor: 
> 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 bareos-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bareos-users/4ed54548-4c45-4970-9407-12323f43a769n%40googlegroups.com.

-- 
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/30A61F3F-A458-4B03-BFA8-3404BAA003C6%40mlds-networks.com.

Reply via email to