On 15/3/25 01:24, Bill Arlofski via Bacula-users wrote:
On 3/14/25 5:22 AM, Gary R. Schmidt wrote:
As a cronjob I'd put "echo query 22 | bconsole" in a file and execute
that.
Cheers,
Gary B-)
This will not work. :)
Works perfectly for me:
$ echo "echo query 22 | bconsole"
On 3/14/25 5:22 AM, Gary R. Schmidt wrote:
As a cronjob I'd put "echo query 22 | bconsole" in a file and execute that.
Cheers,
GaryB-)
This will not work. :)
But, you *could* do:
8<
echo -e "query\n22\nquit\n" | bconsole
8<
Best regards,
Bill
On 3/14/25 4:03 AM, Stefan G. Weichinger via Bacula-users wrote:
Am 14.03.25 um 07:48 schrieb Stefan G. Weichinger via Bacula-users:
I use an 8-slot autoloader, I added a little bit of SQL to the query
file and just run that, it lists my tapes from last-used to most recent.
I grab the three old
On 14/3/25 21:03, Stefan G. Weichinger via Bacula-users wrote:
Am 14.03.25 um 07:48 schrieb Stefan G. Weichinger via Bacula-users:
I use an 8-slot autoloader, I added a little bit of SQL to the query
file and just run that, it lists my tapes from last-used to most recent.
I grab the three oldes
Am 14.03.25 um 07:48 schrieb Stefan G. Weichinger via Bacula-users:
I use an 8-slot autoloader, I added a little bit of SQL to the query
file and just run that, it lists my tapes from last-used to most recent.
I grab the three oldest, move them to the Scratch pool, purge them,
and replace the t