Help Center/
Graph Engine Service/
devg/
Using the Management Plane SDK/
Querying the Backup List of a Graph
Updated on 2022-09-14 GMT+08:00
Querying the Backup List of a Graph
You can use a specific API provided by GES to query backups of a graph of the current tenant. The sample code is as follows:
private static void listBackupsByGraphId(GesClient client, String graphId) throws GesSdkException { GesBackUpList gesBackUpList = client.queryBackupById(graphId); if (null == gesBackUpList.getBackupList()) { System.out.println("backup is null"); } else { for(GesBackUp backUp: gesBackUpList.getBackupList()) { System.out.println(backUp); } } }
Parent topic: Using the Management Plane SDK
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.