Scenario:
Restore a dir from a full backup job.

>From the log:





*bareos-sd JobId 256: Please mount read Volume "Audio-001" for: Job: 
RestoreFiles.2021-04-28_14.18.25_49 Storage: "LTO7-Tape-Drive" (/dev/nst0) 
Pool: Incremental Media type: LTO-7 *

Problem, the Volume "Audio-001" is not or was never a member of the 
"Incremental" pool.


**list volumes pool=IncrementalNo results to list.*

But this is correct now:

*list volumes pool=AudioBackup
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+
| mediaid | volumename | volstatus | enabled | volbytes          | volfiles 
| volretention | recycle | slot | inchanger | mediatype | 
lastwritten         | storage |
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+
|      45 | Audio-001  | Append    |       1 | 1,325,144,182,784 |       67 
|  946,080,000 |       0 |    0 |         0 | LTO-7     | 2021-04-26 
16:09:42 | Tape    |
+---------+------------+-----------+---------+-------------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+

You can see, Audio-001 is a member of AudioBackup pool.

The job was started with an empty LTO drive. Get also the Email message:
*28-Apr 14:18 bareos-sd JobId 256: Please mount read Volume "Audio-001" 
for: Job: RestoreFiles.2021-04-28_14.18.25_49 Storage: "LTO7-Tape-Drive" 
(/dev/nst0) Pool: Incremental Media type: LTO-7* 

I have cenceled the job and insert the Audio-001 tape, the start the 
restore job again. Now it takes the right volume:

*bareos-sd JobId 257: Ready to read from volume "Audio-001" on device 
"LTO7-Tape-Drive" (/dev/nst0). *

Is this a bug or have I do a mount after interting the right tape?
But if I wouldn't know, to which pool / volume the required restoring files 
are belogngs, this would be a nightmare to find the right tape, when it 
shows me the wrong name of the pool.

Thanks for an hints, Frank

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/6e99b12e-9472-4900-993e-a753876fce40n%40googlegroups.com.

Reply via email to