bseltz-cohesity / scripts

Cohesity REST API examples in PowerShell and Python
Apache License 2.0
100 stars 40 forks source link

restoreOracle.py - add support for initOracle parameters containing = #91

Closed ped998 closed 1 year ago

ped998 commented 1 year ago

Add after line 381: if len(paramparts) == 3: paramval = paramval+"="+paramparts[2].strip()

bseltz-cohesity commented 1 year ago

Updated, thanks

ped998 commented 1 year ago

As an FYI - for the parameter to work, it must be properly quoted as well - in my example:

-pf tde_configuration="'KEYSTORE_CONFIGURATION=FILE'" -pf wallet_root=+data/MYDB/WALLET

Note the single-quotes inside the double-quotes

bseltz-cohesity commented 1 year ago

I have added those examples to the README, thanks