UNSOLVED

Ivan076

updated

19 years ago

I

Ivan076

7 Posts

0

516

March 7th, 2008 09:00

Knowing What media to eject.

Hi...I have a set of backups that start on Friday at 20:00 and finish on Saturday at approx 09:00.

The backups done on these tapes have to be removed from the library. Is there a way to get some list from mminfo of what tapes were used strictly during this time frame?
  • 283

    0

    Posted March 8th, 2008 07:00

    You could do something like this, which queries all tapes with data written to them in the past few days.

    mminfo -av -q "sscreate > 1/4/2008" -r "ssid, sscreate, volume, volid, barcode"
    or
    mminfo -av -t "7 days ago" -r "ssid, sscreate, volume, volid, barcode"

    Note that the same tape might be returned twice, so you might want to do:
    mminfo -av -t "7 days ago" -r "volume" | sort | uniq
  • Ivan076

    7 Posts

    283

    0

    Posted March 10th, 2008 18:00

    Thanks a lot. All worked ok.