> Thanks Heitor for the asnwer!!
> In the "cut -f 3 -d '|'" from what I understand, this only catching the last 3
> lines. I adapted to catch the last 20 lines for now. After that it was faster
> to purge volumes with errors.
Hello, Elias. Actually cut -f 3 -d '|' is necessary to fetch the volume
Thanks Heitor for the asnwer!!
In the "cut -f 3 -d '|'" from what I understand, this only catching the
last 3 lines. I adapted to catch the last 20 lines for now. After that it
was faster to purge volumes with errors.
How could I adapt the script to pick up all the volumes with error? This
way I
> Hi Ana,
> Thanks for the answer. Have a command that I can delete all volumes with error
> in one shot?
Hello, Elias: if you want to recycle like you said in original post you can try
this script or something similar:
# Shell script to purge all Error volumes from a pool.
clear && echo "list
Hi Ana,
Thanks for the answer. Have a command that I can delete all volumes with
error in one shot?
Em 05/05/2016 7:14 PM, "Ana Emília M. Arruda"
escreveu:
Hello Elias,
Yes, you can directly update the database. If using MySQL, something like
the bellow:
update Media set VolStatus="Used" where
Hello Elias,
Yes, you can directly update the database. If using MySQL, something like
the bellow:
update Media set VolStatus="Used" where VolStatus="Error";
If you're going to do this, set the status to "Used" or "Full" and then
bacula will recycle the volumes when its retention periods expires
Hello guys,
I have many volumes with errors and would like to recycle them. I can do
this in one command?
--
Elias Pereira
--
Find and fix application performance issues faster with Applications Manager
Applications Mana