Am 04.07.24 um 01:16 schrieb Bill Arlofski via Bacula-users:

Hello Stefan,

Something is quite wrong here... :)

And a lot of extra information is missing.


Your status storage shows that it is reading from the "daily" pool, using the tape drive "HP-Ultrium", and it is wanting to write to the "Daily" pool and also use the same tape drive - Of course, it is an impossibility to read and write from one device at the same time. :)

This is clearly not what you described as what you want.

... that's why I wrote my email ;-)

Job {
    Name = "migrate-to-tape"
    Type = "Migrate"
    Pool = "File"
    NextPool = "Daily"
    JobDefs = "DefaultJob"
    PurgeMigrationJob = yes
    Enabled = yes
    MaximumSpawnedJobs = 20
    SelectionPattern = "."
    SelectionType = "OldestVolume"
}

The `SelectionPattern` setting means nothing here since you have specified `SelectionType = "OldestVolume"`.  From the docs:
----8<----
The Selection Pattern, if specified, is not used.
----8<----

Thanks, I know that from the docs (but didn' t clear that setting).

Pool {
    Name = "Daily"
    Description = "daily backups"
    PoolType = "Backup"
    MaximumVolumes = 30
    VolumeRetention = 864000
    VolumeUseDuration = 432000
    Storage = "HP-Autoloader"
}


OK, this is the destination pool.

We don't see the source pool.

Typically, I set the NextPool in the source pool, but setting it in a Schedule or the Copy/Migration control job is OK too. We will need to see more...


Can you show:

- The 'File" Pool

- The "DefaultJob" JobDefs

Sure:

I also add Pool "Daily"

Pool {
  Name = "Daily"
  Description = "daily backups"
  PoolType = "Backup"
  MaximumVolumes = 30
  VolumeRetention = 864000
  VolumeUseDuration = 432000
  Storage = "HP-Autoloader"
}

Pool {
  Name = "File"
  PoolType = "Backup"
  LabelFormat = "Vol-"
  MaximumVolumes = 101
  MaximumVolumeBytes = 53687091200
  VolumeRetention = 432000
  NextPool = "Daily"
  Storage = "File"
  AutoPrune = yes
  Recycle = yes
}



JobDefs {
  Name = "DefaultJob"
  Type = "Backup"
  Level = "Incremental"
  Messages = "Standard"
  Storage = "HP-Autoloader"
  Pool = "File"
  Client = "samba-fd"
  Fileset = "Full Set"
  Schedule = "NightlySave"
  WriteBootstrap = "/opt/bacula/working/%c.bsr"
  MaximumBandwidth = 140000000
  SpoolAttributes = yes
  SpoolData = yes
  Priority = 10
}


I immediately see that the DefaultJob should use Pool "Daily" instead. Pool "File" is for file-based volumes, Pool "Daily" for LTO-6-tapes.

This might explain another issue I saw earlier ....


In bconsole:

* ll joblog jobid=3497
* ll joblog jobid=3498

both give "No results to list." maybe I deleted them, sry

It seems to me from what I see so far, that you may have not restarted the SD, or not reloaded the Director after making changes to the settings the Migration Control and Pool and we are somewhere mid-stream between changes.

very likely. In the meantime everything should have been restarted at least once

currently a bunch of jobs is running to tapes from Pool "Monthly" ...

thanks so far, Stefan


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

Reply via email to