Quantcast
Channel: All Data Protector Practitioners Forum posts
Viewing all articles
Browse latest Browse all 10494

Re: Media object copy from command line; how?

$
0
0

I'd be happy if someone does read what I wrote, or ask what he doesn't understand before giving wrong or not helpful answers: I know the name of a medium (label) with protected objects on it. I wnat to copy all protected objects from that medium to another medium, recycling the objects on the first medium, keeping the protection on the target medium. This is what intercative "media object copy" can do. Please read again before answering: "media object copy"

I started an interactive session from the GUI that does exactly what I want, the I observed the process lists on the cell manager and the media agnet hosts: I could not see the command that DP uses to do the media object copy; specifically not the "omniobjcopy"

The media agent process (bma) uses options like "-sessiontype 16" and "-operation 21". No idea what that means.

 

My script produces debug output like the following:

[2] reading output of '/opt/omni/bin/omnirpt -report media_list -class File -protection 6666 -tab'
[2] matching medium Jukebox2_11 File_Jukebox2_SAP 130629.00 MB -111.2 21.8
[1] 1 of 1 media selected
[1] matching media list: Jukebox2_11
[1] checking medium labeled Jukebox2_11
[2] reading output of '/opt/omni/bin/omnimm -list_media Jukebox2_11 -detail'
[2] 8 of 1076 objects protected (0%)
[2] 21807249 of 147481644 kB protected (14%)
[1] reorganize Jukebox2_11 140 0.15 0.01
[1] 1 of 1 media to reorganize: Jukebox2_11

So all I know is that the medium named Jukebox2_11 is to be reorganized (copyied, then recycled). Of course "media copy" is not what I want!


Viewing all articles
Browse latest Browse all 10494

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>