Hi every:
I'm trying to prune oldest volumes using bwx-console from the Windows 7
PC at my work. When I execute the command "prune volume" a windows is
showed asking me for Pool. I pick the Pool and then another windows
appear but this time asking for "Media Id" or "Volume Name". If I write
the mediaid for example 33 (wich exists) I get this error:
sql_get.c:1030 Media record for Volume "33" not found.
See the entire output:
#prune volume
Defined Pools:
1: CatalogoPool
2: SP_Catalog_Pool
3: SP_F04_Banco_Pool
4: SP_F07_Aps_02_Pool
5: SP_F02_Kainos_Pool
6: SP_F07_RIS_01_Pool
7: SP_DC_Hosting1_Pool
8: SP_F05_Cneuro_Jonline_Pool
9: SP_F03_SIGESPRO_Pool
10: SP_F03_RNSVN_Pool
11: SP_F05_POLO_RV_Pool
12: SP_F07_RIS_02_Pool
13: SP_F08_CICPC_Pool
14: SP_F01_FTC_Pool
15: SP_F01_SICI_Pool
16: SP_F04_Aduana_01_Pool
17: SP_F04_Aduana_02_Pool
18: SP_F07_SE_01_Pool
19: SP_F07_SE_02_Pool
20: SP_DC_MonitoringServer_Pool
21: SP_F02_IMAC_Pool
22: SP_DC_PostgreSQL_Pool
23: SP_F02_SVN_Pool
24: SP_F08_POLO_SWE_Pool
25: SP_F04_Sigep_01_Pool
26: SP_F04_Sigep_02_Pool
27: SP_F05_Pool
28: SP_F08_Servers_Pool
29: SP_F03_Fiscalia_Pool
30: SP_DSL_Pool
31: SP_F05_POLO_Hardware_Automatica_Pool
32: SP_F03_Tribunales_Pool
33: SP_F02_Alfresco_Pool
34: SP_F03_RNVSS_Pool
35: SP_F06_POLO_BIOINFORMATICA_Pool
36: SP_F07_Aps_01_Pool
37: SP_F07_HIS_Pool
38: SP_SalvasProd_Pool
39: SP_F10_Pool
40: SP_Centaladad_Pool
41: SP_CD_Consultoria_Pool
42: SP_ERP_Pool
43: P.10.128.50.4
44: SP_DC_SVN_Pool
45: SP_SVEXPBD01_Pool
46: SP_SVEXPBD01_PgSQL_Pool
47: SP_SVEXPBD02-Pool
48: SP_SVEXPAPP01-Pool
49: SP_SVEXPAPP02-Pool
50: SP_SVEXPAPP08-Pool
51: SP_F09_Pool
52: SP_F09_POLO_PetroSoft_Pool
53: SP_F09_POLO_GeoInformatica_Pool
54: SP_F09_POLO_VideoSonidoDigital_Pool
55: SP_F09_STA_Pool
Select the Pool (1-55): Unexpected question has been received.
7
+---------+---------------------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes
| volfiles | volretention | recycle | slot | inchanger | mediatype |
lastwritten |
+---------+---------------------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 33 | SP_DC_Hosting1_Pool-0033 | Used | 1 |
6,168,826 | 0 | 63,072,000 | 1 | 0 | 0 | File
| 2009-06-20 23:41:50 |
| 34 | SP_DC_Hosting1_Pool-0034 | Used | 1 |
720 | 0 | 63,072,000 | 1 | 0 | 0 | File |
2009-06-22 02:00:01 |
| 47 | SP_DC_Hosting1_Pool-0047 | Used | 1 |
31,610,842 | 0 | 63,072,000 | 1 | 0 | 0 | File
| 2009-06-23 02:00:08 |
| 56 | SP_DC_Hosting1_Pool-0056 | Used | 1 |
2,722,958 | 0 | 63,072,000 | 1 | 0 | 0 | File
| 2009-06-24 02:00:01 |
| 58 | SP_DC_Hosting1_Pool-0058 | Used | 1 |
583,616 | 0 | 63,072,000 | 1 | 0 | 0 | File
| 2009-06-25 04:36:05 |
| 67 | SP_DC_Hosting1_Pool-0067 | Used | 1 |
3,088,131 | 0 | 63,072,000 | 1 | 0 | 0 | File
| 2009-06-26 02:00:02 |
| 70 | SP_DC_Hosting1_Pool-0070 | Used | 1 |
187,772 | 0 | 63,072,000 | 1 | 0 | 0 | File
| 2009-06-27 02:00:01 |
| 71 | SP_DC_Hosting1_Pool-0071 | Used | 1 |
25,370,091 | 0 | 63,072,000 | 1 | 0 | 0 | File
| 2009-06-28 02:00:06 |
| 73 | SP_DC_Hosting1_Pool-0073 | Used | 1 |
28,645 | 0 | 63,072,000 | 1 | 0 | 0 | File
| 2009-06-29 02:00:01 |
| 82 | SP_DC_Hosting1_Pool-0082 | Used | 1 |
22,569,863 | 0 | 63,072,000 | 1 | 0 | 0 | File
| 2009-06-30 02:05:05 |
| 91 | SP_DC_Hosting1_Pool-0091 | Used | 1 |
5,435,756 | 0 | 63,072,000 | 1 | 0 | 0 | File
| 2009-07-02 02:05:47 |
| 98 | SP_DC_Hosting1_Pool-0098 | Used | 1 |
21,190 | 0 | 63,072,000 | 1 | 0 | 0 | File
| 2009-07-03 02:05:39 |
| 104 | SP_DC_Hosting1_Volume_000 | Append | 1 |
208,966,577 | 0 | 63,072,000 | 1 | 0 | 0 |
File | 2009-10-14 03:45:16 |
+---------+---------------------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Enter *MediaId or Volume name: Unexpected question has been received.
33
sql_get.c:1030 Media record for Volume "33" not found.
What's wrong here?
Cheers and thanks in advance
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|