Hi Ryan,

What i am trying to do is to force bacula not to reuse any previously 
written volume EVER.

It's really weird that bacula thinks this volume has no data on it 
(thanks by the way, i havent noticed that myself :-) ).
All volumes contain data, I can restore every one of them.


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have deleted the original e-mail that contained the problem. ;) Please
> leave the whole e-mail text intact as it helps people who want to join
> in mid-way, even if they have deleted earlier mail.
>
> Keep in mind that the Recycle flag here is different than Recycle
> status. Again, I don't have the initial e-mail so I forget what is being
> attempted here, but it may be tricky to keep it from writing to a volume
> that has no data on it, because it will typically be more appealing than
> any volume that does.
>
> =R
>
> Mantas M. wrote:
>   
>> Thanks for your reply Ryan.
>>
>> I am aware that volume settings are read when volume is created. Current 
>> volumes, however, were written after the settings were changed to their 
>> current values, so database should contain current settings, right?
>>
>> Here's the output of "update" command:
>> +---------+-------------------+-----------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
>> | MediaId | VolumeName        | VolStatus | VolBytes | VolFiles | 
>> VolRetention | Recycle | Slot | InChanger | MediaType | 
>> LastWritten         |
>> +---------+-------------------+-----------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
>> |       4 | 2007-03-27-Mantas | Recycle   |        1 |        0 |    
>> 5,184,000 |       0 |    0 |         0 | File      | 2007-03-29 04:53:15 |
>> +---------+-------------------+-----------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
>> Enter MediaId or Volume name: Unexpected question has been received.
>> 4
>> Updating Volume "2007-03-27-Mantas"
>> Current recycle flag is: no
>> Enter new Recycle status: Unexpected question has been received.
>> No
>> New Recycle flag is: no
>>
>> --
>>
>> I've tried setting the VolStatus to "Used", but in scheduled jobs bacula 
>> still indicates that it is going to use the the same volume.
>>
>> What am I doing wrong?
>>
>>
>>
>> Ryan Novosielski wrote:
>>     
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Remember to always update your volumes from the pool. The volumes get
>>> their settings when they are created, not when you change the config
>>> file. See the manual for more information.
>>>
>>>   
>>>       
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>     
>
> - --
>  ---- _  _ _  _ ___  _  _  _
>  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
>  |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
>  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGC8XXmb+gadEcsb4RAvzLAJ9H/RsjyQPNvdT947gnJ/pUr0TvRQCffXaR
> PP+Vph3cOS6wvkJbZRec6QE=
> =MWcr
> -----END PGP SIGNATURE-----
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to