Re: 'Lock' retention on a media...

Marco Gaiarin <[email protected]>
Newsgroups gmane.comp.bacula.user
Organization Il gaio usa sempre TIN per le liste, fallo anche tu!!!
Message-ID <[email protected]>
> Uh. Oh. But why not simply move the media to the archive pool?

For search engines: it worked.


I can move a volume to a different pool:
	>  *update volume=SVPVE3_0001 pool=FVG-SV-SVPVE3ArchiveLTOPool

where more loose retention apply, then obviously re-apply retention
parameters itself:

	>  *update volume allfrompool=FVG-SV-SVPVE3ArchiveLTOPool

And after original volume retention apply, metadata are still there:

*query
Available queries:
     1: The default file is empty, see sample-query.sql (in /opt/bacula/scripts or <bacula-source>/examples) for samples
     2: List Volumes Bacula thinks are in changer
     3: List Jobs stored for a given Volume name
Choose a query (1-3): 3
Enter Volume name: SVPVE3_0001
+--------+------------------------+---------------------+------+-------+------------+-------------------+--------+
| jobid  | name                   | starttime           | type | level | files      | bytes             | status |
+--------+------------------------+---------------------+------+-------+------------+-------------------+--------+
| 36,676 | FVG-SV-SVPVE3Sedi      | 2025-03-08 06:01:13 | B    | F     |  2,623,734 | 2,624,059,644,428 | T      |
| 36,677 | FVG-SV-SVPVE33Tesla    | 2025-03-08 06:01:13 | B    | F     |  8,111,404 | 1,394,043,324,548 | T      |
| 36,678 | FVG-SV-SVPVE33TeslaSRV | 2025-03-08 06:01:13 | B    | F     | 13,709,694 | 1,949,755,292,279 | T      |
| 36,675 | FVG-SV-SVPVE3          | 2025-03-08 06:01:14 | B    | F     |  3,283,406 | 3,907,268,198,149 | T      |
| 36,835 | FVG-SV-SVPVE3Sedi      | 2025-03-11 05:00:01 | B    | I     |     11,511 |    42,633,120,889 | T      |
| 36,834 | FVG-SV-SVPVE3          | 2025-03-11 05:00:03 | B    | I     |     20,975 |   161,326,040,051 | T      |
| 36,899 | FVG-SV-SVPVE3Sedi      | 2025-03-12 05:00:01 | B    | I     |     10,422 |    49,496,887,904 | T      |
| 36,898 | FVG-SV-SVPVE3          | 2025-03-12 05:00:03 | B    | I     |     27,934 |   104,579,003,051 | T      |
| 36,963 | FVG-SV-SVPVE3Sedi      | 2025-03-13 05:00:02 | B    | I     |     12,723 |    45,076,355,381 | T      |
| 36,964 | FVG-SV-SVPVE33Tesla    | 2025-03-13 05:00:02 | B    | I     |         77 |        52,569,072 | T      |
| 36,962 | FVG-SV-SVPVE3          | 2025-03-13 05:00:04 | B    | I     |     13,520 |   112,164,416,891 | T      |
| 37,026 | FVG-SV-SVPVE3Sedi      | 2025-03-14 05:00:01 | B    | I     |     10,424 |    45,056,224,501 | T      |
| 37,027 | FVG-SV-SVPVE33Tesla    | 2025-03-14 05:00:01 | B    | I     |         80 |        52,987,248 | T      |
| 37,025 | FVG-SV-SVPVE3          | 2025-03-14 05:00:03 | B    | I     |     13,596 |   107,972,337,818 | T      |
| 37,028 | FVG-SV-SVPVE33TeslaSRV | 2025-03-14 05:00:03 | B    | I     |        323 |        73,189,466 | T      |
+--------+------------------------+---------------------+------+-------+------------+-------------------+--------+
*list files jobid=36964
+----------------------------------------------------------------------------------------------------+
| filename                                                                                             |
+----------------------------------------------------------------------------------------------------+
| /rpool-backup/rsnapshot/.sync/FVG_3T/vdm3t1/etc/squid/guard/staff                                    |
| /rpool-backup/rsnapshot/.sync/FVG_3T/vdm3t1/etc/cups/subscriptions.conf                              |
| /rpool-backup/rsnapshot/.sync/FVG_3T/vdm3t1/etc/cups/subscriptions.conf.O                            |
 [...]


Thanks!

--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.