How to find Client session ID using the command line and extend retention

Good Day,

I have a requirement to extend Specific Object retention using command line. With Server name and Start Date how can I find on which session ID required backup (Point in Time) is available?

I tried couple of commands but didn't helped. So please help with correct syntax. 

Issue:

For StoreOnce hardware refresh i had to copy all backup form Old to new device. Using Object copy the data is copied. After successful copy DP will automatically recycled source data. Since the data are from 2018 the backup end date is in 2023 and also for FS and WINFS backup there is no BACKUP ID to check the data belongs to which date? In DP GUI this is really challenging without older session ID. PLs help.

I tested using below command I can extend retention of an object, but i could not find anything without session ID.

C:\Program Files\OmniBack\bin>omnidb -copyid FA0B4A44-452A-4A82-8A85-5F7A797CFA54/4094 -change_protection weeks 50
Protection successfully changed.

Appreciate you help!

  • 0  

    Not sure how much data you have copied, how long it took and whether the source data is still available?! Because the easiest would be to perform the object copy with proper options. Source objects may get recycled, but there's also a possibility to keep them protected. And also for the destination objects a protection could be specified. So you could have all you need by just performing the object copy with the right options. Now, if the source data is gone already then this is even not an option anymore I guess.

    I also want to give a warning here. When the retention period is changed afterwards through the GUI or with omnidb, please be aware that this is changing the retention for the object in the Internal DataBase. If for one or another reason the object would get imported again in the future then the original protection will be loaded into the IDB again. A kind of related Support Tip I released in the past is this one: (DP) Support Tip: Set protection explicitly for replicated objects.

    Wanted to provide you with the hints above already. I'm assuming you may already be further in the process by now? There are probably different ways to handle this. So if you were already scripting something in the meantime, but still have questions or doubts then please share the current status.


    Koen Verbelen

    Although I am an OpenText employee, I am speaking for myself and not for OpenText.
    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button.
    You may also be interested in my Data Protector Support Tips listed per category