>>>>> On Thu, 1 Aug 2024 17:23:30 +0200, Stefan G Weichinger said:
> 
> Am 09.07.24 um 13:16 schrieb Stefan G. Weichinger:
> > 
> > I have:
> > 
> > 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 = 45
> >    MaximumVolumeBytes = 53687091200
> >    VolumeRetention = 432000
> >    NextPool = "Daily"
> >    Storage = "File"
> >    AutoPrune = yes
> >    Recycle = yes
> > }
> > 
> > Job {
> >    Name = "migrate-to-tape"
> >    Type = "Migrate"
> >    Messages = "Standard"
> >    Pool = "File"
> >    Client = "samba-fd"
> >    Fileset = "Full Set"
> >    PurgeMigrationJob = yes
> >    MaximumConcurrentJobs = 4
> >    SelectionType = "OldestVolume"
> > }
> > Storage {
> >    Name = "File"
> >    SdPort = 9103
> >    Address = "samba"
> >    Password = "xx"
> >    Device = "FileStorage"
> >    MediaType = "File"
> > }
> > Storage {
> >    Name = "HP-Autoloader"
> >    SdPort = 9103
> >    Address = "samba"
> >    Password = "xx"
> >    Device = "HP-Autoloader"
> >    MediaType = "LTO-6"
> >    Autochanger = "HP-Autoloader"
> >    MaximumConcurrentJobs = 2
> > }
> > 
> > 
> > 
> > 
> > 
> > the run:
> > 
> > Run Migration job
> > JobName:       migrate-to-tape
> > Bootstrap:     *None*
> > Client:        samba-fd
> > FileSet:       Full Set
> > Pool:          File (From Job resource)
> > NextPool:      Daily (From Job Pool's NextPool resource)
> > Read Storage:  File (From Pool resource)
> > Write Storage: HP-Autoloader (From Job Pool's NextPool resource)
> > JobId:         *None*
> > When:          2024-07-09 13:12:52
> > Catalog:       MyCatalog
> > Priority:      10
> > 
> > 
> > finds no volumes to migrate
> > 
> > "media list" lists ~40 volumes in Pool "File"
> 
> I would still appreciate some help here.

Maybe the problem is the VolStatus?  It must be "Full", "Used" or "Error" to
be considered for migration with SelectionType = "OldestVolume".

__Martin


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

Reply via email to