MariaDB Cluster Backups

This is a simple module that supports listing existing MariaDB Cluster backups

Example Syntax


    - name: List MariaDB Cluster Backups
        mariadb_cluster_backup_info:
            mariadb_cluster: backuptest-04
        register: mariadb_backups_response

    - name: Show MariaDB Cluster Backups
        debug:
            var: mariadb_backups_response.result

Returned object

{
    "changed": false,
    "mariadb_backups": [
        {
            "id": "745d661a-4b9a-4970-94c5-8aab9062ea35",
            "properties": {
                "cluster_id": "745d661a-4b9a-4970-94c5-8aab9062ea35",
                "earliest_recovery_target_time": "2024-03-19T14:35:39+00:00",
                "size": 1,
                "base_backups": [
                    {
                        "created": "2024-03-19T14:35:39+00:00",
                        "size": 1
                    }
                ]
            }
        }
    ],
    "failed": false
}

For more examples please check out the tests here.

Available parameters:

Last updated