Bacula-users

[Bacula-users] List Volumes without Job ?

2016-08-03 10:02:25
Subject: [Bacula-users] List Volumes without Job ?
From: dave <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 03 Aug 2016 07:01:12 -0700
Hi There,

I am switching from bacula tape to disk based backup. I'm as good as finished 
and testing the system now.

In this phase i recognized that it would be helpful if I could purge and 
truncate volumes with no jobs on it.

So far I was not able to find a way to list volumes with 0 jobs on it and then 
purge and truncate them with some script. I tried "select VolumeName,VolJobs 
from Media;" but even after I have purged the jobs from a client it still shows 
the same amount of jobs. if it would show 0 Jobs that would be easy to script 
.... . or do I mix s'thing up ?

I think it is a bit cumbersome to purge and truncate volumes. maybe there is an 
easy way out there ?

Thanks for helping me out.
--> David

+----------------------------------------------------------------------
|This was sent by dwa AT espros DOT ch via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>