Skip to content

Instantly share code, notes, and snippets.

@lemajes
Created April 25, 2023 00:57
Show Gist options
  • Save lemajes/36b51f66f949813e704793e286c0849d to your computer and use it in GitHub Desktop.
Save lemajes/36b51f66f949813e704793e286c0849d to your computer and use it in GitHub Desktop.
[MARIABACKUP 101] Mariabackup 101 #mariadb #galera #backup #non #blocking

MARIABACKUP 101

  • Create backup mariabackup --backup --target-dir=/backups/

  • Prepare for restore mariabackup --prepare --target-dir=/backups/

  • Restoring mariabackup --copy-back --target-dir=/backups/

  • Set permissions sudo chown -R mysql:mysql /var/lib/mysql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment