Thanks for the rplies,

I include here some of the requested informations.

First abouth the "bconsole reload", yes I did not do, but I did restart the 
director, the storage and file deamons several times after the config change. 
Also because I did run them in forground with debug.

*show job=Backup-james1
Job: name=Backup-james1 JobType=66 level=Incremental Priority=10 Enabled=1
     MaxJobs=1 NumJobs=0 Resched=0 Times=0 Interval=1,800 Spool=0 
WritePartAfterJob=1
     Accurate=1
  --> Client: Name=james1-fd Enabled=1 Address=james1.home FDport=9102 
MaxJobs=1 NumJobs=0
       JobRetention=6 months  FileRetention=2 months  AutoPrune=1
         FDStorageAddress=bacula.home
  --> Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula
      db_driver=PostgreSQL db_user=bacula MutliDBConn=0
  --> FileSet: name=Full Set IgnoreFileSetChanges=0
      O Z6MAKcXf
      X ext2
      X ext4
      X xfs
      X zfs
      X brtfs
      N
      I /
      N
      E /opt/bacula/working
      E /tmp
      E /proc
      E /tmp
      E /sys
      E /.journal
      E /.fsck
      E /dev
      E /media
      E /mnt
      N
  --> Schedule: Name=WeeklyCycle Enabled=1
  --> Run Level=Full
      hour=1
      mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
26 27 28 29 30
      month=0 1 2 3 4 5 6 7 8 9 10 11
      wday=1
      wom=0
      woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 
52 53
      mins=0
  --> Run Level=Differential
      hour=1
      mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
26 27 28 29 30
      month=0 1 2 3 4 5 6 7 8 9 10 11
      wday=1
      wom=1 2 3 4
      woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 
52 53
      mins=0
  --> Run Level=Incremental
      hour=1
      mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
26 27 28 29 30
      month=0 1 2 3 4 5 6 7 8 9 10 11
      wday=0 2 3 4 5 6
      wom=0 1 2 3 4 5
      woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 
52 53
      mins=0
  --> WriteBootstrap=/opt/bacula/working/%c.bsr
  --> Autochanger: name=vTape1 address=bacula.home SDport=9103 MaxJobs=2 
NumJobs=0
      DeviceName=vChanger1 MediaType=vtape1 StorageId=3 Autochanger=1
      AC group=3 ShareStore=*none*
  --> Pool: name=Full-Backup-Pool PoolType=Backup
      use_cat=1 use_once=0 cat_files=1
      max_vols=0 auto_prune=1 VolRetention=3 months 11 days
      VolUse=0 secs recycle=1 LabelFormat=Full-
      CleaningPrefix=*None* LabelType=0
      RecyleOldest=0 PurgeOldest=0 ActionOnPurge=0
      MaxVolJobs=1 MaxVolFiles=0 MaxVolBytes=20000000000
      MaxPoolBytes=0
      MigTime=0 secs MigHiBytes=0 MigLoBytes=0
      CacheRetention=0 secs
      JobRetention=0 secs FileRetention=0 secs
      Catalog=MyCatalog
  --> Autochanger: name=vTape1 address=bacula.home SDport=9103 MaxJobs=2 
NumJobs=0
      DeviceName=vChanger1 MediaType=vtape1 StorageId=3 Autochanger=1
      AC group=3 ShareStore=*none*
  --> FullBackupPool: name=james1-Full-Pool PoolType=Backup
      use_cat=1 use_once=0 cat_files=1
      max_vols=0 auto_prune=1 VolRetention=3 months 11 days
      VolUse=0 secs recycle=1 LabelFormat=james1-full-
      CleaningPrefix=*None* LabelType=0
      RecyleOldest=0 PurgeOldest=0 ActionOnPurge=0
      MaxVolJobs=1 MaxVolFiles=0 MaxVolBytes=20000000000
      MaxPoolBytes=0
      MigTime=0 secs MigHiBytes=0 MigLoBytes=0
      CacheRetention=0 secs
      JobRetention=0 secs FileRetention=0 secs
      Catalog=MyCatalog
  --> Autochanger: name=vTape2 address=nas1.home SDport=9103 MaxJobs=2 NumJobs=0
      DeviceName=vChanger2 MediaType=vtape2 StorageId=5 Autochanger=1
      AC group=5 ShareStore=*none*
  --> IncrementalBackupPool: name=james1-Incr-Pool PoolType=Backup
      use_cat=1 use_once=0 cat_files=1
      max_vols=0 auto_prune=1 VolRetention=1 month 9 days
      VolUse=0 secs recycle=1 LabelFormat=james1-incr-
      CleaningPrefix=*None* LabelType=0
      RecyleOldest=0 PurgeOldest=0 ActionOnPurge=0
      MaxVolJobs=5 MaxVolFiles=0 MaxVolBytes=20000000000
      MaxPoolBytes=0
      MigTime=0 secs MigHiBytes=0 MigLoBytes=0
      CacheRetention=0 secs
      JobRetention=0 secs FileRetention=0 secs
      Catalog=MyCatalog
  --> Autochanger: name=vTape2 address=nas1.home SDport=9103 MaxJobs=2 NumJobs=0
      DeviceName=vChanger2 MediaType=vtape2 StorageId=5 Autochanger=1
      AC group=5 ShareStore=*none*
  --> DifferentialBackupPool: name=james1-Diff-Pool PoolType=Backup
      use_cat=1 use_once=0 cat_files=1
      max_vols=0 auto_prune=1 VolRetention=3 months 11 days
      VolUse=0 secs recycle=1 LabelFormat=james1-diff-
      CleaningPrefix=*None* LabelType=0
      RecyleOldest=0 PurgeOldest=0 ActionOnPurge=0
      MaxVolJobs=1 MaxVolFiles=0 MaxVolBytes=20000000000
      MaxPoolBytes=0
      MigTime=0 secs MigHiBytes=0 MigLoBytes=0
      CacheRetention=0 secs
      JobRetention=0 secs FileRetention=0 secs
      Catalog=MyCatalog
  --> Autochanger: name=vTape2 address=nas1.home SDport=9103 MaxJobs=2 NumJobs=0
      DeviceName=vChanger2 MediaType=vtape2 StorageId=5 Autochanger=1
      AC group=5 ShareStore=*none*
  --> Messages: name=Standard
      mailcmd=/opt/bacula/bin/bsmtp -h smtp.pt.lu -f "(Bacula) <%r>" -s 
"Bacula: %t %e of %c %l" %r
      opcmd=/opt/bacula/bin/bsmtp -h smtp.pt.lu -f "(Bacula) <%r>" -s "Bacula: 
Intervention needed for %j" %r

For me thsio all look slike expected.

------------------------------------------------------------------------------------------------------------------------

In the client definition file (below) I did basically only change vTape1 to 
vTape2 storage in the pools.

#
# Specification:
#
#  ?<VAR>  : Only include if VAR is not empty
#  %{<opt><VAR>}: reüplace by contents of var
#                 <opt>: ^  : capitalize
#                      : ^^ : upper case
Client {
  Name = "james1-fd"
  Address = "james1.home"
  FdStorageAddress = "bacula.home"
  FdPort = 9102
  Password = "xxx"
  Catalog = "MyCatalog"
  FileRetention = 5184000
  JobRetention = 15552000
  AutoPrune = yes
}
Job {
  Name = "Backup-james1"
  Type = "Backup"
  Client = "james1-fd"
  JobDefs = "DefaultJob"
  ReRunFailedLevels = yes
  Accurate = yes
  FullBackupPool = "james1-Full-Pool"
  IncrementalBackupPool = "james1-Incr-Pool"
  DifferentialBackupPool = "james1-Diff-Pool"
}
Pool {
  Name = "james1-Full-Pool"
  Description = "Pool for client james1 full backups"
  PoolType = "Backup"
  LabelFormat = "james1-full-"
  MaximumVolumeJobs = 1
  MaximumVolumeBytes = 20000000000
  VolumeRetention = 8726400
  Storage = "vTape2"
  Catalog = "MyCatalog"
}
Pool {
  Name = "james1-Diff-Pool"
  Description = "Pool for client james1 diff backups"
  PoolType = "Backup"
  LabelFormat = "james1-diff-"
  MaximumVolumeJobs = 1
  MaximumVolumeBytes = 20000000000
  VolumeRetention = 8726400
  Storage = "vTape2"
  Catalog = "MyCatalog"
}
Pool {
  Name = "james1-Incr-Pool"
  Description = "Pool for client james1 incremental backups"
  PoolType = "Backup"
  LabelFormat = "james1-incr-"
  MaximumVolumeJobs = 5
  MaximumVolumeBytes = 20000000000
  VolumeRetention = 3369600
  Storage = "vTape2"
  Catalog = "MyCatalog"
}

-----Original Message-----
From: Bill Arlofski via Bacula-users <bacula-users@lists.sourceforge.net> 
Sent: Thursday, 25 April, 2024 20:40
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] bacula-fd appearing to use wrong storage server

On 4/25/24 3:17 AM, gaston.gloesener--- via Bacula-users wrote:
 >
> Until now I did run bacula in a virtual machine running the director 
> and storage deamon. The storage daemon was stroing data to files on a shared 
> directory as the storage is on a NAS.
> 
> Now I have build bacula-sd for the NAS to avoid this duplicate 
> transfer. I have configured one client to use the new storage but while it 
> uses it, it claims to still contact the “old” storage daemon on the bacula 
> node.

Hello Gaston,

A bconsole `show job=xxxx` will show what the Director knows about this job.

It is quite possible, and my guess that one of two possible things has happened:

#1: You forgot to issue the bconsole reload command
#2: The Director has reached its default configuration reload limit of 32 and 
is no longer reloading


You can check with:

* status director

...and look at the header line:

`Daemon started 24-Apr-24 18:55, conf reloaded 24-Apr-2024 18:55:27`

If the `conf reloaded` time is not recent, then you have hit #2 above and 
simply need to restart the Director.


Hope this helps,
Bill

--
Bill Arlofski
w...@protonmail.com




_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to