Script started on Fri 18 Mar 2016 09:21:47 AM UTC # ./kpsadmin -u admin -p changeme < in.txt Getting Topology... =========== KPS Admin =========== Selection: Admin Node Manager: https://node-174p-101:8090 No Group or Collection selected. Select an option to begin. Options: Table Operations: 1) Create Row 2) Read Row 3) Update Row 4) Delete Row 5) List Rows Table Administration: 10) Clear 11) Backup 12) Restore 13) Re-encrypt 14) Re-create 15) Table Details Collection Administration: 20) Clear All 21) Backup All 22) Restore All 23) Re-encrypt All 24) Collection Details Cassandra Administration: 30) Show Configuration General: 40) Change Table 41) Change Collection 42) Change Group or API Gateway 43) Debug Mode ON/OFF q) Quit Select option: Select a Group: 1) Group1 Enter selection [1]: Select an API Gateway: 1) APIServer-101 2) APIServer-102 Enter selection [1]: Getting model... Select a Collection: 1) API Portal (internal) 2) API Server (internal) 3) OAuth (internal) Enter selection [1]: Backing up all data in all tables in this collection. Backup uuid is: 551ac36b-47d9-4a70-8f42-e7c3ebfeb3f4 Are you sure you wish to continue y/n [n]: Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_apiapppolicybindings_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_apiorgpolicybindings_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_apipolicyparameters_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalapi_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalapimethod_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalactionqueue_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalapiaccessstore_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalapiquotaconstraintstore_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalapiquotadetailsstore_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalapiquotastore_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalapplicationpermissionstore_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalconfigstore_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalexports_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalidentitystore_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalorganizationstore_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalorganizationstoreldap_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalregistrationtoken_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalremotehost_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portaltimestamp_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portaluserstore_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portaluserstoreldap_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalvirtualizedapi_json ... Backup done. Starting backup to: 551ac36b_47d9_4a70_8f42_e7c3ebfeb3f4_api_portal_portalvirtualizedapimethod_json ... Backup done. Press enter to continue: =========== KPS Admin =========== Selection: Admin Node Manager: https://node-174p-101:8090 Group: Group1 [group-2] API Gateway: APIServer-101 [instance-1] at node-174p-101 Collection: API Portal No table selected. Options: Table Operations: 1) Create Row 2) Read Row 3) Update Row 4) Delete Row 5) List Rows Table Administration: 10) Clear 11) Backup 12) Restore 13) Re-encrypt 14) Re-create 15) Table Details Collection Administration: 20) Clear All 21) Backup All 22) Restore All 23) Re-encrypt All 24) Collection Details Cassandra Administration: 30) Show Configuration General: 40) Change Table 41) Change Collection 42) Change Group or API Gateway 43) Debug Mode ON/OFF q) Quit Select option: Select a Collection: 1) API Portal (internal) 2) API Server (internal) 3) OAuth (internal) Enter selection [1]: Press enter to continue: =========== KPS Admin =========== Selection: Admin Node Manager: https://node-174p-101:8090 Group: Group1 [group-2] API Gateway: APIServer-101 [instance-1] at node-174p-101 Collection: API Server No table selected. Options: Table Operations: 1) Create Row 2) Read Row 3) Update Row 4) Delete Row 5) List Rows Table Administration: 10) Clear 11) Backup 12) Restore 13) Re-encrypt 14) Re-create 15) Table Details Collection Administration: 20) Clear All 21) Backup All 22) Restore All 23) Re-encrypt All 24) Collection Details Cassandra Administration: 30) Show Configuration General: 40) Change Table 41) Change Collection 42) Change Group or API Gateway 43) Debug Mode ON/OFF q) Quit Select option: =========== KPS Admin =========== Selection: Admin Node Manager: https://node-174p-101:8090 Group: Group1 [group-2] API Gateway: APIServer-101 [instance-1] at node-174p-101 Collection: API Server No table selected. Options: Table Operations: 1) Create Row 2) Read Row 3) Update Row 4) Delete Row 5) List Rows Table Administration: 10) Clear 11) Backup 12) Restore 13) Re-encrypt 14) Re-create 15) Table Details Collection Administration: 20) Clear All 21) Backup All 22) Restore All 23) Re-encrypt All 24) Collection Details Cassandra Administration: 30) Show Configuration General: 40) Change Table 41) Change Collection 42) Change Group or API Gateway 43) Debug Mode ON/OFF q) Quit Select option: Backing up all data in all tables in this collection. Backup uuid is: e5bd5a32-51ee-416d-98aa-7b9e1ad7d813 Are you sure you wish to continue y/n [n]: Starting backup to: e5bd5a32_51ee_416d_98aa_7b9e1ad7d813_api_server_portalapikeystore_json ... Backup done. Starting backup to: e5bd5a32_51ee_416d_98aa_7b9e1ad7d813_api_server_portalapplicationstore_json ... Backup done. Starting backup to: e5bd5a32_51ee_416d_98aa_7b9e1ad7d813_api_server_portalexternalclientstore_json ... Backup done. Starting backup to: e5bd5a32_51ee_416d_98aa_7b9e1ad7d813_api_server_portaloauthresourcesstore_json ... Backup done. Starting backup to: e5bd5a32_51ee_416d_98aa_7b9e1ad7d813_api_server_portaloauthstore_json ... Backup done. Press enter to continue: =========== KPS Admin =========== Selection: Admin Node Manager: https://node-174p-101:8090 Group: Group1 [group-2] API Gateway: APIServer-101 [instance-1] at node-174p-101 Collection: API Server No table selected. Options: Table Operations: 1) Create Row 2) Read Row 3) Update Row 4) Delete Row 5) List Rows Table Administration: 10) Clear 11) Backup 12) Restore 13) Re-encrypt 14) Re-create 15) Table Details Collection Administration: 20) Clear All 21) Backup All 22) Restore All 23) Re-encrypt All 24) Collection Details Cassandra Administration: 30) Show Configuration General: 40) Change Table 41) Change Collection 42) Change Group or API Gateway 43) Debug Mode ON/OFF q) Quit Select option: =========== KPS Admin =========== Selection: Admin Node Manager: https://node-174p-101:8090 Group: Group1 [group-2] API Gateway: APIServer-101 [instance-1] at node-174p-101 Collection: API Server No table selected. Options: Table Operations: 1) Create Row 2) Read Row 3) Update Row 4) Delete Row 5) List Rows Table Administration: 10) Clear 11) Backup 12) Restore 13) Re-encrypt 14) Re-create 15) Table Details Collection Administration: 20) Clear All 21) Backup All 22) Restore All 23) Re-encrypt All 24) Collection Details Cassandra Administration: 30) Show Configuration General: 40) Change Table 41) Change Collection 42) Change Group or API Gateway 43) Debug Mode ON/OFF q) Quit Select option: Select a Collection: 1) API Portal (internal) 2) API Server (internal) 3) OAuth (internal) Enter selection [1]: Press enter to continue: =========== KPS Admin =========== Selection: Admin Node Manager: https://node-174p-101:8090 Group: Group1 [group-2] API Gateway: APIServer-101 [instance-1] at node-174p-101 Collection: OAuth No table selected. Options: Table Operations: 1) Create Row 2) Read Row 3) Update Row 4) Delete Row 5) List Rows Table Administration: 10) Clear 11) Backup 12) Restore 13) Re-encrypt 14) Re-create 15) Table Details Collection Administration: 20) Clear All 21) Backup All 22) Restore All 23) Re-encrypt All 24) Collection Details Cassandra Administration: 30) Show Configuration General: 40) Change Table 41) Change Collection 42) Change Group or API Gateway 43) Debug Mode ON/OFF q) Quit Select option: =========== KPS Admin =========== Selection: Admin Node Manager: https://node-174p-101:8090 Group: Group1 [group-2] API Gateway: APIServer-101 [instance-1] at node-174p-101 Collection: OAuth No table selected. Options: Table Operations: 1) Create Row 2) Read Row 3) Update Row 4) Delete Row 5) List Rows Table Administration: 10) Clear 11) Backup 12) Restore 13) Re-encrypt 14) Re-create 15) Table Details Collection Administration: 20) Clear All 21) Backup All 22) Restore All 23) Re-encrypt All 24) Collection Details Cassandra Administration: 30) Show Configuration General: 40) Change Table 41) Change Collection 42) Change Group or API Gateway 43) Debug Mode ON/OFF q) Quit Select option: Backing up all data in all tables in this collection. Backup uuid is: e02ae461-b88c-475e-99da-a1cf08527db8 Are you sure you wish to continue y/n [n]: Starting backup to: e02ae461_b88c_475e_99da_a1cf08527db8_oauth_accesstokens_json ... Backup done. Starting backup to: e02ae461_b88c_475e_99da_a1cf08527db8_oauth_authzcodes_json ... Backup done. Starting backup to: e02ae461_b88c_475e_99da_a1cf08527db8_oauth_authorizations_json ... Backup done. Starting backup to: e02ae461_b88c_475e_99da_a1cf08527db8_oauth_clientaccesstokens_json ... Backup done. Starting backup to: e02ae461_b88c_475e_99da_a1cf08527db8_oauth_clientrefreshtokens_json ... Backup done. Starting backup to: e02ae461_b88c_475e_99da_a1cf08527db8_oauth_refreshtokens_json ... Backup done. Press enter to continue: =========== KPS Admin =========== Selection: Admin Node Manager: https://node-174p-101:8090 Group: Group1 [group-2] API Gateway: APIServer-101 [instance-1] at node-174p-101 Collection: OAuth No table selected. Options: Table Operations: 1) Create Row 2) Read Row 3) Update Row 4) Delete Row 5) List Rows Table Administration: 10) Clear 11) Backup 12) Restore 13) Re-encrypt 14) Re-create 15) Table Details Collection Administration: 20) Clear All 21) Backup All 22) Restore All 23) Re-encrypt All 24) Collection Details Cassandra Administration: 30) Show Configuration General: 40) Change Table 41) Change Collection 42) Change Group or API Gateway 43) Debug Mode ON/OFF q) Quit Select option: =========== KPS Admin =========== Selection: Admin Node Manager: https://node-174p-101:8090 Group: Group1 [group-2] API Gateway: APIServer-101 [instance-1] at node-174p-101 Collection: OAuth No table selected. Options: Table Operations: 1) Create Row 2) Read Row 3) Update Row 4) Delete Row 5) List Rows Table Administration: 10) Clear 11) Backup 12) Restore 13) Re-encrypt 14) Re-create 15) Table Details Collection Administration: 20) Clear All 21) Backup All 22) Restore All 23) Re-encrypt All 24) Collection Details Cassandra Administration: 30) Show Configuration General: 40) Change Table 41) Change Collection 42) Change Group or API Gateway 43) Debug Mode ON/OFF q) Quit Select option: ]0;root@node-174p-101: /opt/gateway/7.4.1/apigateway/posix/binroot@node-174p-101:/opt/gateway/7.4.1/apigateway/posix/bin# ^C ]0;root@node-174p-101: /opt/gateway/7.4.1/apigateway/posix/binroot@node-174p-101:/opt/gateway/7.4.1/apigateway/posix/bin# exit Script done on Fri 18 Mar 2016 09:22:38 AM UTC