Re: [Bacula-users] File-Storage and automatic labeling andvolumecreation
2010-02-01 19:04:45
Volumes won't get deleted automatically. If you don't want to recycle
existing volumes, you have to delete old ones manually, or make a script
to
do it. Deleting might require both deleting from the catalog (since you
have
a limit of 'maximum volumes' which would prevent creating new ones) and
also
deleting the actual files. I think there were some discussion about that
kind of script recently (in January?) in this list.
Does this mean volumes aren't created automatic? I do have to create
them manually?
At first, I didn't notice there was a recycle=yes option in the conf.
The volumes can be (if configured so) created automatically, until the
configured limit for maximum number of volumes is reached. Limiting the
number (and the size) of the volumes as you did is a good idea on file
storage, because otherwise you would run out of disk space sooner or later.
But the automatic creation will stop when the maximum number is reached.
Now you have specified recycle=yes, which means the existing volumes will
then be used again starting from the oldest expired one - so the old ones
will not be deleted but re-used. What this means, is that your volume names
that include (old) timestamps will become very misleading since they'll
contain data that is newer than the volume name could make one think. But no
technical problem there so far.
So, is the problem now that
- not a single volume gets created (there aren't 20 volumes yet)
-- if so, then there is a bug in the conf I didn't notice
or
- no new volume names appear after there already exists 20 volumes?
-- if so, this is propably due to possible misunderstanding I tried to
explain above
btw, maybe you are aware of this, but any changes to pool definition need to
"be taken into use" with update pool command in bconsole.
--
TiN
For automatic recycling is also recomendable that you use one of these
volume usage limiters: Volume
Use Duration or Maximum
Volume Jobs.
When the volume reach one of these limiters it will become "used" - an
than the reetention time starts to count.
Regards,
Heitor Faria
www.bacula.com.br
|
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|