cancel
Showing results for 
Search instead for 
Did you mean: 

Importing

Anil_B
Level 4

A simple query!!

We can't import the expired images if the media is overwrited, If yes let me know how to check(Cmnd line & GUI) the media is overwrite or not.

thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

vmquery -m <media-id>

Check the Assign Time field.
If this date/time is newer than the backup that you want to import, the tape is overwritten.
If this field is empty, the tape is not yet overwritten.

More info can be seen with this command:

nbemmcmd -listmedia -mediaid <media-id>

View solution in original post

4 REPLIES 4

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

vmquery -m <media-id>

Check the Assign Time field.
If this date/time is newer than the backup that you want to import, the tape is overwritten.
If this field is empty, the tape is not yet overwritten.

More info can be seen with this command:

nbemmcmd -listmedia -mediaid <media-id>

Will_Restore
Level 6

The last write might be a clue but even that's not foolproof as it might have been an append and not a overwrite.

Ah, assigned is a better field to check.  Point to Marianne.

mph999
Level 6
Employee Accredited

Half a point ... ;0)

There is a possibilty, though unlikely, that a tape is given a new assign time (selected for a backup or duplication) but that job failed without anything being written, in which case the 'old' data would still be there.

The only way to tell, is to read the tape back - though I agree that Mariannes suggestion is 99% likely to be accurate.

 

Anil_B
Level 4

Thanks You All