Hi and greetings from germany,

 

i hope someone has an idea why i always run in trouble using the 
„migration“-job in bacula 11.06.

 

I am running Bacula 11.0.6 with Baculum GUI on Ubuntu Server 20.04 (latest 
updates/patches installed) with a single HP LTO5 drive on an old HP Proliant 
ML350 G6.

The server was freshly installed from the 11.06 DEB-packets available today.

 

I am able to backup my windows-os clients/files directly to the bacula file 
storage and directly to LTO5 tape storage without a hassle.

So direct backup from some windows-os based servers to disk, or direct backup 
to tape works like a charm.

 

But when i try to migrate a former disk backup to a tape backup the whole 
process does not even start and i don’t see why that is.

The „messages“ protocol states it is using the device „LTO5-Drive1“ to READ 
(what is kind of strange, because the migration job should use the LTO drive to 
WRITE and use a file-device for read). - After 15 minutes waiting there is the 
message „Fatal error: Storage daemon didn’t accept Device „LTO5-Drive1“ 
command.“  (The job queues forever, because the migration never comes to an 
end/never aborts. I have to restart all processes/the server)

 

Before installing this on Ubuntu Server 20.04 i had another bacula 11.06 setup 
running under Debian 11. -> And i had exactly the same problem there, too. That 
was the reason why i formated my whole debian 11 server setup and started from 
scratch with ubuntu 20.04, running now in exactly the same „migration-job“ 
problem as i did on debian 11 before.

So i wasn’t able to get bacula „migration“-jobs running on two different setups 
(debian 11/ubuntu 20.04) so far. ☹

 

As i am a bacula newbie, fiddling around with it only for about a week, i 
struggle to find the cause for this misbehavior.

 

Here are some sniplets from my bacula director config:

 

Storage {

  Name = "File1"

  SdPort = 9103

  Address = "bacula-backup"

  Password = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

  Device = "FileChgr1"

  MediaType = "File1"

  Autochanger = "File1"

  MaximumConcurrentJobs = 10

}

 

Storage {

  Name = "Tape1"

  SdPort = 9103

  Address = "bacula-backup"

  Password = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

  Device = "LTO5-Drive1"

  MediaType = "LTO3000"

  MaximumConcurrentJobs = 10

}

 

 

Pool {

  Name = "File"

  PoolType = "Backup"

  LabelFormat = "Vol-"

  MaximumVolumes = 100

  MaximumVolumeBytes = 53687091200

  VolumeRetention = 31536000

  AutoPrune = yes

  Recycle = yes

}

 

Pool {

  Name = "Tape1"

  PoolType = "Backup"

  LabelFormat = "Tape-"

  LabelType = "Bacula"

  MaximumVolumes = 100

  MaximumVolumeBytes = 53687091200

  VolumeRetention = 31536000

  Storage = "Tape1"

  AutoPrune = yes

  Recycle = yes

  Catalog = "MyCatalog"

}

 

 

Job {

  Name = "Migrate-to-tape"

  Type = "Migrate"

  NextPool = "Tape1"

  Fileset = "i7-11700k-fileset"

  JobDefs = "DefaultJob"

  SelectionPattern = "i7-11700k-backupjob"

  SelectionType = "Job"

}

 

 

And here storage-daemon config sniplets:

 

 

Device {

  Name = "FileChgr1-Dev1"

  MediaType = "File1"

  ArchiveDevice = "/media/backups"

  RemovableMedia = no

  RandomAccess = yes

  AutomaticMount = yes

  LabelMedia = yes

  AlwaysOpen = no

  MaximumConcurrentJobs = 5

}

 

Device {

  Name = "LTO5-Drive1"

  MediaType = "LTO3000"

  DeviceType = "Tape"

  ArchiveDevice = "/dev/nst0"

  RemovableMedia = yes

  RandomAccess = no

  AutomaticMount = yes

  LabelMedia = yes

  AlwaysOpen = yes

  MaximumFileSize = 10000000000

  MaximumConcurrentJobs = 5

  LabelType = "Bacula"

}

 

Thank you very much in advance

Thomas

 

 

 

 

 

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

Reply via email to