getBackupList#

swordfish.function.getBackupList()#

Return a table with information about the backups of a DFS table. Each row of the table corresponds to a backed-up partition. The table contains the following columns:

  • chunkID: the chunk ID

  • chunkPath: the DFS path to database chunks

  • cid: the commit ID

  • rows: the number of records in a chunk

  • updateTime: the last update time

Parameters:
  • backupDir (Constant) – A string indicating the directory where the backup is saved.

  • dbPath (Constant) – A string indicating the path of a distributed database.

  • tableName (Constant) – A string indicating a distributed table name.