I can't get that migrate job running.
Job {
Name = "migrate-to-tape"
Type = "Migrate"
Pool = "File"
NextPool = "Daily"
JobDefs = "DefaultJob"
PurgeMigrationJob = yes
Enabled = yes
MaximumSpawnedJobs = 20
SelectionPattern = "."
SelectionType = "OldestVolume"
}
I have diskbased volumes in Storage "File" and want to migrate them to
physical tapes in Storage "HP-Autoloader", Pool "Daily"
Pool {
Name = "Daily"
Description = "daily backups"
PoolType = "Backup"
MaximumVolumes = 30
VolumeRetention = 864000
VolumeUseDuration = 432000
Storage = "HP-Autoloader"
}
The job doesn't do anything, it seems.
What is it waiting for?
I labeled a new volume "CMR933L6" in Pool "daily":
*st st
Automatically selected Storage: File
Connecting to Storage daemon File at samba:9103
samba-sd Version: 15.0.2 (21 March 2024) x86_64-pc-linux-gnu-bacula
debian 12.0
Daemon started 03-Jul-24 15:29. Jobs: run=0, running=2 max=20.
Ulimits: nofile=10000 memlock=unlimited status=ok
Heap: heap=528,384 smbytes=1,938,763 max_bytes=1,938,957 bufs=416
max_bufs=418
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0
Crypto: fips=N/A crypto=OpenSSL 3.0.9 30 May 2023
Res: ndevices=2 nautochgr=1
Caps: APPEND_ONLY, IMMUTABLE
Running Jobs:
Writing: Full Backup job VM-vCenter JobId=3498 Volume="CMR933L6"
pool="Daily" device="HP-Ultrium" (/dev/nst0)
spooling=0 despooling=0 despool_wait=0
Files=0 Bytes=0 AveBytes/sec=0 LastBytes/sec=0
FDSocket closed
Reading: Incremental Migrate job migrate-to-tape JobId=3497 Volume=""
pool="Daily" device="HP-Ultrium" (/dev/nst0) newbsr=0
Files=0 Bytes=0 AveBytes/sec=0 LastBytes/sec=0
FDSocket closed
Director connected using TLS at: 03-Jul-24 15:33
====
Jobs waiting to reserve a drive:
3603 JobId=3498 Tape device "HP-Ultrium" (/dev/nst0) is busy reading.
====
Device status:
Autochanger "HP-Autoloader" with devices:
"HP-Ultrium" (/dev/nst0)
Device File: "FileStorage" (/mnt/backup/bacula) is not open.
Available Space=3.241 TB
==
Device Tape is "HP-Ultrium" (/dev/nst0) mounted with:
Volume: CMR933L6
Pool: *unknown*
Media type: LTO-6
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=1 Block=0
Slot 4 is loaded in drive 0.
==
====
Used Volume status:
Reserved volume: CMR933L6 on Tape device "HP-Ultrium" (/dev/nst0)
Reader=0 writers=0 reserves=1 volinuse=0 worm=0
Volume: CMR912L6 no device. volinuse=0
====
And what does the last line with CMR912L6 tell me?
thanks!
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users