Как правильно обновить данные через bacula-console для всех Volume в определенном Pool

489 views
Skip to first unread message

netc

unread,
Sep 9, 2013, 8:26:56 AM9/9/13
to ru-b...@googlegroups.com

Нашел что то наподобие.

bacula-console: update volume allfrompool volretention="2 days"

или

bacula-console: update volume allfrompool="RedmineData" volretention="2 days"

ни чего не работает.

Как вообще в bacula-console выбирать * или по wildcard или по регэкспу.

Вообщем частенько сталкиваюсь с тем, что нужно обновить не одну Volume а сразу несколько, но ни как не могу найти в документации ни чего дельного по этому поводу.

И еще вопрос какой командой удалить Volumes и файлы и метаданные в SQL ?

Спасибо.

netc

unread,
Jan 23, 2014, 3:25:18 AM1/23/14
to ru-b...@googlegroups.com
В начале нужно изменить Volume retention в конфиге задания т.е. в пуле
Далее перезапустить директора и зайти в консоль bacula-console

После нужно использовать просто команду update

*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): 14



понедельник, 9 сентября 2013 г., 16:26:56 UTC+4 пользователь netc написал:
Reply all
Reply to author
Forward
0 new messages