Forum Discussion

Carlos_V's avatar
Carlos_V
Level 6
13 years ago

Change image media owner

Hello, I need help. I need to know which command I can use to change media owner of an image backup. I need to duplicate an image but the media server is death. Exist any solution to solve the problem?.

Thanks..

  • bpimage -newserver <name> [-oldserver <name>] -id <media-id>
    bpimage -newserver <name>  -backupid <backup_id>

    To change image ownership of ALL images belonging to oldserver:

    bpimage -newserver <name> -oldserver <name>

3 Replies

  •  

    Changing the owner of a volume

    You can change the media server or server group that owns the volume.

    To change the owner of a volume

    1. In the NetBackup Administration Console, expand Media and Device Management > Media.

    2. In the Volumes list, select the volume that you want to change.

    3. On the Actions menu, select Change Media Owner.

    4. In the Media Owner field, select one of the following:

      Any (default)

      Allows NetBackup to choose the media owner. NetBackup chooses a media server or a server group (if one is configured).

      None

      Specifies that the media server that writes the image to the media owns the media. No media server is specified explicitly, but you want a media server to own the media.

      A server group

      Specify a server group. A server group allows only those servers in the group to write to the media on which backup images for this policy are written. All server groups that are configured in the NetBackup environment appear in the drop-down list.

    5. Click OK.

  • bpimage -newserver <name> [-oldserver <name>] -id <media-id>
    bpimage -newserver <name>  -backupid <backup_id>

    To change image ownership of ALL images belonging to oldserver:

    bpimage -newserver <name> -oldserver <name>

  • I try with the second command but didn't work. Then I try with the first command and everything is OK.

    Thanks Marianne.