Hello Martin,
> I think the doc is correct because "forcibly purging" only happens if you set
> the Purge Oldest Volume or Recycle Oldest Volume directives to yes. The
> purging you are seeing below happens because the volume has no current jobs
> (e.g. they were pruned) so that is normal recycling.
Well observed. I believe you are right:
*show pool=Test
Pool: name=Test PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=0 auto_prune=1 VolRetention=0 secs
VolUse=0 secs recycle=1 LabelFormat=${Pool}-${NumVols}
CleaningPrefix=*None* LabelType=0
RecyleOldest=0 PurgeOldest=1 ActionOnPurge=1
MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=5368709120
MaxPoolBytes=0
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
CacheRetention=0 secs
JobRetention=0 secs FileRetention=0 secs
--> Autochanger: name=DedupDisk address=192.168.0.205 SDport=9103 MaxJobs=10
NumJobs=0
DeviceName=FileChgr1 MediaType=Dedup StorageId=3 Autochanger=1
AC group=3 ShareStore=*none*
*list media pool=Test
+---------+------------+-----------+---------+-----------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+-----------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles |
volretention | recycle | slot | inchanger | mediatype | voltype | volparts |
lastwritten | expiresin |
+---------+------------+-----------+---------+-----------+----------+--------------+---------+------+-----------+-----------+---------+----------+---------------------+-----------+
| 1,039 | Test-0 | Used | 1 | 1,442,156 | 0 |
0 | 1 | 0 | 0 | Dedup | 15 | 0 | 2021-12-17
10:54:57 | 0 |
| 1,040 | Test-1 | Used | 1 | 682,207 | 0 |
0 | 1 | 0 | 0 | Dedup | 15 | 0 | 2021-12-17
10:56:08 | 0 |
*list joblog jobid=9561
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
+----------------------------------------------------------------------------------------------------+
| logtext
|
+----------------------------------------------------------------------------------------------------+
| enterprisebacula-dir JobId 9561: Start Backup JobId 9561,
Job=BaculaConfs.2021-12-17_13.03.27_51 |
| enterprisebacula-dir JobId 9561: Connected to Storage "DedupDisk" at
192.168.0.205:9103 with TLS |
| enterprisebacula-dir JobId 9561: Created new Volume="Test-2", Pool="Test",
MediaType="Dedup" in catalog. |
| enterprisebacula-dir JobId 9561: Connected to Client "enterprisebacula-fd" at
enterprisebacula:9102 with TLS |
| enterprisebacula-fd JobId 9561: Connected to Storage at 192.168.0.205:9103
with TLS |
| enterprisebacula-dir JobId 9561: Sending Accurate information to the FD.
|
| enterprisebacula-sd JobId 9561: Labeled new Volume "Test-2" on Dedup device
"FileChgr1-Dev2" (/mnt/dedup). |
| enterprisebacula-sd JobId 9561: Wrote label to prelabeled Volume "Test-2" on
Dedup device "FileChgr1-Dev2" (/mnt/dedup) |
| enterprisebacula-sd JobId 9561: Elapsed time=00:00:25, Transfer rate=27.36 K
Bytes/second |
| enterprisebacula-sd JobId 9561: Sending spooled attrs to the Director.
Despooling 675 bytes ... |
| enterprisebacula-dir JobId 9561: Bacula Enterprise enterprisebacula-dir
12.8.1 (30Jun21):
Build OS: x86_64-redhat-linux-gnu-bacula-enterprise redhat
(Core)
JobId: 9561
Job: BaculaConfs.2021-12-17_13.03.27_51
Backup Level: Incremental, since=2021-12-17 10:55:43
Client: "enterprisebacula-fd" 12.8.3 (28Sep21)
x86_64-redhat-linux-gnu-bacula-enterprise,redhat,(Core)
FileSet: "BaculaConfigurations" 2021-06-22 08:13:03
Pool: "Test" (From Command input)
Catalog: "MyCatalog" (From Client resource)
Storage: "DedupDisk" (From Pool resource)
Scheduled time: 17-Dec-2021 13:03:27
Start time: 17-Dec-2021 13:03:30
End time: 17-Dec-2021 13:03:55
Elapsed time: 25 secs
Priority: 10
FD Files Written: 3
SD Files Written: 3
FD Bytes Written: 683,842 (683.8 KB)
SD Bytes Written: 684,232 (684.2 KB)
Rate: 27.4 KB/s
Software Compression: 99.9% 1470.6:1
Comm Line Compression: 82.1% 5.6:1
Snapshot/VSS: no
Encryption: no
Accurate: yes
Volume name(s): Test-2
Volume Session Id: 1765
Volume Session Time: 1628965590
Last Volume Bytes: 685,469 (685.4 KB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK |
+----------------------------------------------------------------------------------------------------+
+-------+-------------+---------------------+------+-------+----------+----------+-----------+
| jobid | name | starttime | type | level | jobfiles |
jobbytes | jobstatus |
+-------+-------------+---------------------+------+-------+----------+----------+-----------+
| 9,561 | BaculaConfs | 2021-12-17 13:03:30 | B | I | 3 |
683,842 | T |
+-------+-------------+---------------------+------+-------+----------+----------+-----------+
> __Martin
Perhaps that documentation line should explicity citate the PurgeOldestVolume
directive.
Regards,
--
MSc Heitor Faria (Miami/USA)
Bacula LATAM CIO
mobile1: + 1 909 655-8971
mobile2: + 55 61 98268-4220
[ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ]
[ http://www.bacula.com.br/ ]
América Latina
[ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ |
bacula.com.br ]
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users