On Fri, Feb 13, 2009 at 1:24 PM, Chris Lieb <chris.lieb+nospam AT gmail DOT
com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> John Drescher wrote:
>>> If you really want to do this you will have to roll your own solution.
>>> Most likely this will involve a cron job scripting commands to
>>> bconsole.
>>>
>>
>> I know I was a little unclear here. The rm of the volume file happens
>> outside of bacula. The script would use bconsole to figure out what
>> volume to rm. It would then delete the volume from bacula and finally
>> do the rm in the shell to remove the volume from disk.
>>
>> John
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>
> Is there somewhere that a flag is set to mark a volume as recyclable?
There is a recycle flag in this command:
#list media pool=BackupCatalogs
+---------+---------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes |
volfiles | volretention | recycle | slot | inchanger | mediatype |
lastwritten |
+---------+---------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 149 | Catalogs-0007 | Full | 1 | 2,147,437,341 |
0 | 1,296,000 | 1 | 0 | 0 | File |
2009-02-11 01:21:19 |
| 150 | Catalogs-0012 | Full | 1 | 2,147,429,566 |
0 | 1,296,000 | 1 | 0 | 0 | File |
2009-02-13 01:24:26 |
| 159 | Catalogs-0005 | Full | 1 | 2,147,429,910 |
0 | 1,296,000 | 1 | 0 | 0 | File |
2009-02-12
BTW, what I meant by scripting is along the lines of
fileserv ~ # echo "list media pool=BackupCatalogs" | bconsole | grep Full
| 149 | Catalogs-0007 | Full | 1 | 2,147,437,341 |
0 | 1,296,000 | 1 | 0 | 0 | File |
2009-02-11 01:21:19 |
| 150 | Catalogs-0012 | Full | 1 | 2,147,429,566 |
0 | 1,296,000 | 1 | 0 | 0 | File |
2009-02-13 01:24:26 |
| 159 | Catalogs-0005 | Full | 1 | 2,147,429,910 |
0 | 1,296,000 | 1 | 0 | 0 | File |
2009-02-12 01:23:00 |
| 166 | Catalogs-0008 | Full | 1 | 2,147,459,242 |
0 | 1,296,000 | 1 | 0 | 0 | File |
2009-01-01 01:19:33 |
John
For the rest of your questions I will try to check back later
John
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|