Backing up a galera node

20 views
Skip to first unread message

Toni Zlomislić

unread,
Sep 21, 2018, 2:42:17 AM9/21/18
to TwinDB
Is there any specific thing that I need to configure so that I backup all relevant info for a galera node. I ask this because after the backup completes the status of the backup indicates option "galera": "false"?

Version of twindb-backup is 2.15.12

Toni Zlomislić

unread,
Sep 21, 2018, 8:42:42 AM9/21/18
to TwinDB
I guess this is just informational data so no big deal...

Aleksandr Kuzminsky

unread,
Sep 21, 2018, 1:37:14 PM9/21/18
to TwinDB
No special configuration is needed to backup a Galera cluster. The tool runs "SELECT @@wsrep_on as wsrep_on" to check and if it's OFF or unsupported then the tool just assumes it's not a galera node.

If it is a galera node the tool enables desync mode ("SET GLOBAL wsrep_desync=ON") before taking the backup and disables when the backup is done.
To restore a backup copy the tool also needs wsrep_provider_version that is stored in the status file.

On Thursday, September 20, 2018 at 11:42:17 PM UTC-7, Toni Zlomislić wrote:
Is there any specific thing that I need to configure so that I backup all relevant info for a galera node. I ask this because after the backup completes the status of the backup indicates option "galera": "false"?


Are you backing up a galera node?

Toni Zlomislić

unread,
Sep 21, 2018, 1:42:48 PM9/21/18
to Aleksandr Kuzminsky, TwinDB
Yes I am. That's the reason I asked. For some reason it doesn't detect wsrep version nor wsrep_on which is set to 1. But the backup mechanism puts the node in desync state and the backup completes without error after which it disables desync and puts the node in normal rotation. This confused me...

--
You received this message because you are subscribed to the Google Groups "TwinDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to twindb+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/twindb/7ef72f68-c27e-4f25-a9a3-7a9f8524375f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Aleksandr Kuzminsky

unread,
Sep 21, 2018, 1:59:45 PM9/21/18
to TwinDB
That's not right. Are you running PXC or something else? (I tested on PXC)

Toni Zlomislić

unread,
Sep 21, 2018, 2:44:14 PM9/21/18
to Aleksandr Kuzminsky, TwinDB
I am running MariaDB Galera cluster. 

On Fri, Sep 21, 2018, 19:59 Aleksandr Kuzminsky <al...@twindb.com> wrote:
That's not right. Are you running PXC or something else? (I tested on PXC)

--
You received this message because you are subscribed to the Google Groups "TwinDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to twindb+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages