<< Back to previous view

[QB-2546] Backup User Attributes
Created: 25/Sep/15  Updated: 09/Oct/15

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 6.0.21
Fix Version/s: None

Type: Task Priority: Major
Reporter: Phong Trinh Assigned To: Robin Shen
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Linux


 Description   
 May you advise me on a good way which I can backup user attributes of QB nodes via a script or QB?

 Thank you in advance,
ptrinh

 Comments   
Comment by Phong Trinh [ 07/Oct/15 09:31 PM ]
 May you please let me know on how to back up User Attributes of QB nodes?
Comment by Robin Shen [ 08/Oct/15 12:50 AM ]
You may run below script to get map of user attributes:
node.getUserAttributes()
And then save it to some place you think appropriate.

Later you may restore it by calling
node.setUserAttributes(mapOfAttributes, true);
Comment by Phong Trinh [ 08/Oct/15 03:05 PM ]
Thank you very much for the advice.
 Quick question: may I export the user attributes using REST?
Comment by Robin Shen [ 09/Oct/15 12:33 AM ]
Yes, please check below link:
http://wiki.pmease.com/display/QB60/Get+and+Set+User+Attributes+of+Grid+Node
Generated at Fri May 17 00:46:33 UTC 2024 using JIRA 189.