How do I copy a backup that made to VT(Virtual Tape) to other media (LTO) with CLI.

Browsing the Command Line Refenece book, I first thought that omniobjcopy would help me with this solution.

for example:

>omniobjcopy -session "2023/03/03-14" -sourcedevice "VTapeLibrary_Writer0" -targetdevice "HP:Ultrium 4-SCSI_1" -pool 8096DataBase

I got this error message:

[12:1171] Too many objects match specified filters.

 And printed a 400-line error list with several years of sessionID. It's as if you ignored the sessionID specified in the command.

 Looking at the error message and reading forums, I saw that the omniamo command is more suitable for this media copying.

< for example:>omniamo – amc MyDocs –post_backup.

Now I'm stuck, I can't find anything about what the MyDocs.amc file should contain.

 Can someone write an example, 

how do I copy a backup that made to VT to other media (LTO) with CLI.

  • That's interesting. I'm trying the same and it works for me. What DP version are you running this on?


    Koen Verbelen
    Micro Focus (now OpenText) Customer Care Specialist
    If this answered your question, please mark it as "Suggest as Answer" or "Verify as Answer".
    If you found this post useful, please give it a "Like".

  • The previous bug was in DP version 6.20. I tried the same in 10.60. version.

    I created an NTFS file system backup-to Virtual Tape. This is the 2023/03/09-15 session. I tried to copy this to LTO tape.

     >omniobjcopy  -session "2023/03/09-15" -sourcedevice "VTapeLibrary_Writer0" -targetdevice "IBM:ULT3580-TD6_1" -pool 3310_NTFS_Data > c:\temp\obkcp.log

    After issuing the command, the GUI freezes for 3 minutes.

    After aborting the session, it appears in the log that 2051 objects were selected for copying. Why?

    It's as if you ignored the sessionID specified in the command.  Thanks if you have any ideas.

  • Impossible to say. I'm sorry. Also, 10.60 is also out of committed support already. So to have full support you should upgrade to a later version. I would recommend 11.01. Anyway, also for 10.60 you would still get extended support (which basically means best effort, without fix/lab support), so you could possibly generate debugs and provide those to support after logging a case.


    Koen Verbelen
    Micro Focus (now OpenText) Customer Care Specialist
    If this answered your question, please mark it as "Suggest as Answer" or "Verify as Answer".
    If you found this post useful, please give it a "Like".

  • Thank you for the prompt response!

    I found it reassuring that I didn't make a mistake in the syntax of the command. :)