On Thu, Sep 23, 2010 at 1:56 AM, Michael Van Der Beek <michael....@antlabs.com> wrote: > Hi John, > > Here is volume record from bconsole for bss. > Pool: name=bss PoolType=Backup > use_cat=1 use_once=0 cat_files=1 > max_vols=26 auto_prune=1 VolRetention=6 months > VolUse=0 secs recycle=1 LabelFormat=bss- > CleaningPrefix=*None* LabelType=0 > RecyleOldest=0 PurgeOldest=0 ActionOnPurge=0 > MaxVolJobs=26 MaxVolFiles=0 MaxVolBytes=0 > MigTime=0 secs MigHiBytes=0 MigLoBytes=0 > JobRetention=0 secs FileRetention=0 secs > Looks like its missing the 7days thing. > > I guess I have to do an update. And change the Volume Use Duration? > Is that right? >
Open a terminal and type the following command as root (or su or sudo): jmd0 # bacula-dir -t -c /etc/bacula/bacula-dir.conf jmd0 # Then enter a bacula console jmd0 # bconsole and update select 2: Pool from resource then select your pool (Backup) and enter. Here is an example from my home bacula install: Pool DB record updated from resource. *update Update choice: 1: Volume parameters 2: Pool from resource 3: Slots from autochanger 4: Long term statistics Choose catalog item to update (1-4): 2 The defined Pool resources are: 1: Default 2: Catalogs 3: Users 4: Temp 5: Scratch Select Pool resource (1-5): 1 +--------+---------+---------+---------+---------+------------+-----------------+--------------+----------------+------------+-------------+---------------+-----------+---------+----------+-----------+-------------+---------+---------------+---------------+------------+--------------------+-------------------+---------------+---------------+ | poolid | name | numvols | maxvols | useonce | usecatalog | acceptanyvolume | volretention | voluseduration | maxvoljobs | maxvolfiles | maxvolbytes | autoprune | recycle | pooltype | labeltype | labelformat | enabled | scratchpoolid | recyclepoolid | nextpoolid | migrationhighbytes | migrationlowbytes | migrationtime | actiononpurge | +--------+---------+---------+---------+---------+------------+-----------------+--------------+----------------+------------+-------------+---------------+-----------+---------+----------+-----------+-------------+---------+---------------+---------------+------------+--------------------+-------------------+---------------+---------------+ | 6 | Default | 11 | 0 | 0 | 1 | 0 | 2,592,000 | 0 | 0 | 0 | 5,368,709,120 | 1 | 1 | Backup | 0 | * | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | +--------+---------+---------+---------+---------+------------+-----------------+--------------+----------------+------------+-------------+---------------+-----------+---------+----------+-----------+-------------+---------+---------------+---------------+------------+--------------------+-------------------+---------------+---------------+ Pool DB record updated from resource. * Then after this update and select "Volume Parameters" then select "All Volumes from Pool" and enter your pool again or I guess you could have used "All Volumes from all Pools" on the last prompt. Here is an example of that. *update Update choice: 1: Volume parameters 2: Pool from resource 3: Slots from autochanger 4: Long term statistics Choose catalog item to update (1-4): 1 Parameters to modify: 1: Volume Status 2: Volume Retention Period 3: Volume Use Duration 4: Maximum Volume Jobs 5: Maximum Volume Files 6: Maximum Volume Bytes 7: Recycle Flag 8: Slot 9: InChanger Flag 10: Volume Files 11: Pool 12: Volume from Pool 13: All Volumes from Pool 14: All Volumes from all Pools 15: Enabled 16: RecyclePool 17: Action On Purge 18: Done Select parameter to modify (1-18): 13 The defined Pool resources are: 1: Default 2: Catalogs 3: Users 4: Temp 5: Scratch Select Pool resource (1-5): 1 All Volume defaults updated from "Default" Pool record. * John ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users