> > Now this tape (3rd in an archive pool) had 34GB of backups on it the
> > first question I have is how do I find out what jobs were run on this
> > volume?
>
> I found this one. Use the query command from the console.
>
query
Available queries:
     1: List up to 20 places where a File is saved regardless of the directory
     2: List where the most recent copies of a file are saved
     3: List last 20 Full Backups for a Client
     4: List all backups for a Client after a specified time
     5: List all backups for a Client
     6: List Volume Attributes for a selected Volume
     7: List Volumes used by selected JobId
     8: List Volumes to Restore All Files
     9: List Pool Attributes for a selected Pool
    10: List total files/bytes by Job
    11: List total files/bytes by Volume
    12: List Files for a selected JobId
    13: List Jobs stored on a selected MediaId
    14: List Jobs stored for a given Volume name
    15: List Volumes Bacula thinks are in changer
    16: List Volumes likely to need replacement from age or errors
Choose a query (1-16): 14
Enter Volume name: A00023
+-------+--------------------+---------------------+------+-------+--------+-----------------+--------+
| jobid | name               | starttime           | type | level |
files  | bytes           | status |
+-------+--------------------+---------------------+------+-------+--------+-----------------+--------+
| 3,867 | HOLOGICArchive-Job | 2007-03-12 15:17:46 | B    | I     |
13,216 | 118,405,453,610 | T      |
+-------+--------------------+---------------------+------+-------+--------+-----------------+--------+

It says there is only one job on the tape which I worry about as it
says there are ~34GB of data on the tape but since this job only had
13GB where was the other data from?

list media pool=LTO2-Archived-Data
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes        |
volfiles | volretention | recycle | slot | inchanger | mediatype |
lastwritten         |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|     121 | A00008     | Full      |       1 | 293,324,113,143 |
301 |   31,536,000 |       0 |    8 |         1 | LTO-2     |
2006-10-17 14:37:37 |
|     135 | A00010     | Archive   |       1 | 262,766,020,608 |
269 |   31,536,000 |       0 |   10 |         1 | LTO-2     |
2007-03-12 16:27:04 |
|     154 | A00023     | Append    |       1 |  32,146,910,208 |
33 |   31,536,000 |       0 |   21 |         1 | LTO-2     |
2007-03-12 16:58:42 |

John

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to