Cette page n'est pas encore disponible dans votre langue. Nous nous efforçons d'ajouter d'autres langues. Nous vous remercions de votre compréhension.

On this page

Show all

Querying Backups of All Graphs

Updated on 2022-09-14 GMT+08:00

You can use a specific API provided by GES to query backups of all graphs of the current tenant. The sample code is as follows:

  private static void listBackups(GesClient client) throws GesSdkException
    {
        GesBackUpList gesBackUpList = client.queryBackups();
        if (null == gesBackUpList.getBackupList())
        {
            System.out.println("backup is null");
        }
        else
        {
            for(GesBackUp backUp: gesBackUpList.getBackupList())
            {
                System.out.println(backUp);
            }
        }
    }
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback