Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # A little script to easily prune jobs in bacula
- # without having to manually prune them
- volumes=""
- for i in $(seq 20 1 99)
- volumes="$volumes Maliserver-00$i"
- done
- CMD<<EOF
- prune Volume pool=MailServerPool
- $volumes
- mod
- yes
- EOF
- # Moves into the catalog where bconsole is ( might be different on you system )
- cd /usr/bin/
- # Starts bconsole
- ./bconsole << $CMD
Add Comment
Please, Sign In to add comment