Bacula-users

[Bacula-users] How to forcefully recycle tape

2014-08-04 09:17:29
Subject: [Bacula-users] How to forcefully recycle tape
From: "More, Ankush" <ankush.more AT capgemini DOT com>
To: "'bacula-users AT lists.sourceforge DOT net'" <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 4 Aug 2014 13:11:38 +0000
Hi Team

I would like to forcefully recycle tape, I follow below command from bconsole 
but not working.


*purge

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.
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
You have the following choices:
     1: files
     2: jobs
     3: volume
Choose item to purge (1-3): 3
Defined Pools:
     1: Default
     2: File
     3: Scratch
     4: TapeBkp
     5: DailyTapeBkp
     6: DiskToTapeBkp
     7: Client2
Select the Pool (1-7): 4
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       2 | Tape1      | Full      |       1 | 477,598,464,000 |      501 |    
2,592,000 |       1 |    4 |         1 | LTO-2     | 2014-07-30 05:28:43 |
|      13 | Tape8      | Full      |       1 | 549,964,864,512 |      550 |    
2,592,000 |       1 |    8 |         1 | LTO-2     | 2014-07-31 00:00:57 |
|      14 | Tape9      | Full      |       1 | 518,477,137,920 |      520 |    
2,592,000 |       1 |    9 |         1 | LTO-2     | 2014-07-31 22:45:35 |
|      15 | Tape16     | Full      |       1 | 559,197,886,464 |      559 |    
2,592,000 |       1 |   16 |         1 | LTO-2     | 2014-08-01 16:42:01 |
|      16 | Tape17     | Full      |       1 | 431,627,535,360 |      431 |    
2,592,000 |       1 |   17 |         1 | LTO-2     | 2014-08-02 06:47:11 |
|      18 | Tape19     | Full      |       1 | 588,762,510,336 |      588 |    
2,592,000 |       1 |   19 |         1 | LTO-2     | 2014-08-03 02:28:56 |
|      19 | Tape20     | Full      |       1 | 541,734,681,600 |      541 |    
2,592,000 |       1 |   20 |         1 | LTO-2     | 2014-08-03 21:21:55 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Enter *MediaId or Volume name: 2
sql_get.c:1098 Media record for Volume "2" not found.


Thank you,
Ankush 


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>