Mandi! Marco Gaiarin In chel di` si favelave... > OK, i have to truncate them, not delete, but... i've understood, i think...
Script start to work. I'll post here more after some cleanup... but i still hit strange things in bacula. ;-) *purge yes volume=VWSSV1_0020 action=truncate storage=SVPVE3FileMulti Automatically selected Catalog: BaculaLNF Using Catalog "BaculaLNF" Using Catalog "BaculaLNF" Connecting to Storage daemon SVPVE3FileMulti at svpve3.sv.lnf.it:9103 ... Truncate Volume "VWSSV1_0020" skipped. Status is "Used", but must be "Purged". You have messages. *purge yes volume=VWSSV1_0020 storage=SVPVE3FileMulti This command can be DANGEROUS!!! It purges (deletes) all Files from a Job, JobId, Client or Volume; or it purges (deletes) all Jobs from a Client or Volume without regard to retention periods. Normally you should use the PRUNE command, which respects retention periods. Using Catalog "BaculaLNF" There are no more Jobs associated with Volume "VWSSV1_0020". Marking it purged. *purge yes volume=VWSSV1_0020 action=truncate storage=SVPVE3FileMulti Using Catalog "BaculaLNF" Connecting to Storage daemon SVPVE3FileMulti at svpve3.sv.lnf.it:9103 ... 3000 OK label. VolBytes=235 VolABytes=0 VolType=1 Volume="VWSSV1_0020" Device="MultiFileStorage0" (/rpool-backup/bacula) The volume "VWSSV1_0020" has been truncated Clearly i have in pool 'Action on Purge = Truncate', but still i have to purge the media first, then truncate them (with 'purge ... action=truncate ...' or directly with 'truncate'). Why?! Thanks. -- _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users