> > You could use the expect command to script a reply to request as in:
>
> I could also use python's subprocess.Popen or execvp(3) and dup(2) in c.
> The way every proper unix utility works is
>
> bconsole -c "delete volume=xyz" -y
Bacula will do this for you without any other tools; you jus
On 08/18/2014 05:55 PM, Jeffrey Lang wrote:
> Dimitri
>
> You could use the expect command to script a reply to request as in:
I could also use python's subprocess.Popen or execvp(3) and dup(2) in c.
The way every proper unix utility works is
bconsole -c "delete volume=xyz" -y
--
Dimitri Maz
Dimitri
You could use the expect command to script a reply to request as in:
#!/usr/bin/expect -f
set volume [lindex $argv 0]
spawn bconsole
expect "*"
send "delete volume=$volume\r"
expect "(yes/no): "
send "yes\r";
expect "*"
send "exit\r"
interact
On 08/18/2014 04:21 PM, Dimi
On 10/31/2013 02:53 PM, Josh Fisher wrote:
> I don't think so. Wildcards in 'delete volume' would be pretty
> dangerous. You can, though, run bconsole from a shell script. I use the
> following on Centos.
...
> bconsole < delete volume=${mag}_${s}
> EOD
> n=`expr $n + 1`
> done
Sorry to
hello,
i used to have the same problem and i solved it with "raw" sql queries like
that :
update Media set MediaType="new_type" where mediatype="old_type";
i didnt found other methods, neither through the bconsole program.
On Mon, Aug 18, 2014 at 1:24 PM, Vinicius Alexandre Pereira de Souza <
v
Hello everbody,
I tried the relabel as suggested, the media type has changed, but when
bacula tries to run a job, it doesn't find any appendable volumes.
I have 2 volumes on Scratch pool, both of them with the new media type
"LTO-5-LibHP09".
The following log was generated:
LibHP Job riviera-Da
Vinícius,
One option I just tested is use the relabel command twice. One relabel to
any arbitrary volume name (since you can't relabel to the same volume
name), and a second relabel to the original volume name witch is acquired
from the tape paper label.
Don't know if there is better options.
Che
Hi Heitor,
Thanks for help. I tried: update > volume parameters > all volumes from all
pools, but it didn't worked. I don't have an option like "update media
type" also.
On Mon, Aug 18, 2014 at 1:14 PM, Heitor Faria wrote:
>
>
>
> The problem now is when my jobs run, it tries to use a media wi
The problem now is when my jobs run, it tries to use a media with "Media
> Type = LTO-5-LibHP08", but all the medias are still configured as "LTO-5".
> The following log was generated:
>
> When i list the media on bconsole, all of them still are LTO-5, after
> searching for solutions, all i found w
Hello everyone,
Thanks for the answer Ben, and sorry for the late reply. I've changed the
Media Type, now my first Library and it's devices are using "Media Type =
LTO-5-LibHP08", and the other one is using "Media Type = LTO-5-LibHP09".
The problem now is when my jobs run, it tries to use a media
This was exactly my issue. I had “Recycle oldest volume” on. Which meant it was
looking to see if there was anything to recycle but since my job/file
retentions are so high there was no chance it would ever find anything and so
it keeps chugging and chugging trying to fid it.
Learned a lot in t
Hi Dmitri,
WOW! I didn’t know about vchanger. I just read the wiki article about it and
this could really change how I do disk based backup.
I like using a NAS for bacula in the datacenter but some of my customers have
it in their offices and this would really make things cheaper with higher
Now that the poweradapter of the tapedrive is replaced I actually could test
this and find that both drivers are not being loaded. As said before, I
previously used Barracuda Backup. Since my server runs Slackware from 2007
(migration to CentOS6 is planned...), does this mean that the drivers ar
13 matches
Mail list logo