Is there a way to do "update all volumes from pool" specifying the pool without
being prompted to use the menu to select the operation?
i.e. I want to update the retention period of all volumes in the Archive pool
so I'd like to do something like this:
update all volumes from pool pool=Archive
or
update all volumes from pool=Archive
Or am I forced to interactively select from the menu?
There isn't much in the docs about alternative update syntaxes. The only entry
in the console operators guide bacula_console.pdf is the command is update and
it mentions "update volume from pool" in a separate paragraph. Why aren't all
the possible permutations of update listed as arguments? The following manual
entry does not seem to indicate there are other keywords to the update command
(no indication "update from" is valid), but further down it mentions "All
Volumes from Pool" but no examples.
The following main keywords may be specified:
media, volume, pool, slots, stats
....
For Volume from Pool, All Volumes from Pool and All Volumes from all
Pools, the follow-
ing values are updated from the Pool record: Recycle, RecyclePool,
VolRetention, VolUseDuration,
MaxVolJobs, MaxVolFiles, and MaxVolBytes. (RecyclePool feature is
available with bacula 2.1.4 or
higher.)
The full form of the update command with all command line arguments is:
update volume=xxx pool=yyy slots volstatus=xxx VolRetention=ddd
VolUse=ddd MaxVolJobs=nnn MaxVolBytes=nnn Recycle=yes|no
slot=nnn enabled=n recyclepool=zzz
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|