Watson Supply Chain Ideas

Use this form to submit an idea for a new product feature. The product team will review your input and provide status updates as decisions are made regarding the request.

Before you submit a new idea, please view requests that have already been submitted. If your idea has already been submitted, you can add comments or vote on the existing idea, thereby indicating your agreement with the idea. We may use this information to help prioritize development of new features.


Submit ideas for Watson Marketing and Watson Commerce products

Connect:Direct Sudo Backup/Restore

We install C:D via cdinstall as a user account currently working with C:D for UNIX 4.2.

This user account has sudo access to run etc/cdcust so we can perform configurations requiring root privilege. This is great for fresh install and ok for upgrade operations (presuming not backup or restore is needed).

However, during upgrade, again installing as a user account, we are prompted to perform a backup:

"Would you like to back up your existing Connect:Direct for UNIX installation before proceeding with the upgrade? (you will need the root password to do this):[Y/n]"

As the C:D admins, we are no longer allowed direct root access on the new systems we are migrating to.and I note that the cdinstall script does an 'su root' to run the backup commands.

I inquired if there is a way to perform a backup via sudo without actually installing/upgrading as root via the noted PMR ID. It was noted in the IBM response that "[as it] stands today, we have to manually enter the root password. Our script has no other option."

Joe noted that I could open an RFE which is the impetus for this ticket.

As I also note in the PMR, whatever solution is provided should support restore via sudo as well.

I could see the cdinstall script being enhanced to provide a standalone backup/restore option such that the cdinstall script could be invoked via sudo without performing an actual install/upgrade but simply allowing the user to choose to perform a manual backup or restore. After a backup, the cdinstall script could be re-invoked by the user without sudo to perform an upgrade bypassing the internal/implicit backup.

Another option would be to externalize the backup/restore process/procedure into a standalone script of which one could run with sudo akin to etc/cdcust .

I appreciate any and all consideration to this feature request to allow a way to perform a sudo backup/restore.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jan 4 2018
  • Planned for Future Release
How will this idea be used?
What is your industry?
What is the idea priority? Medium
DeveloperWorks ID DW_ID73052
Link to original RFE http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=73052
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 01, 2018 15:11

    Great suggestion!