日々の覚書: xtrabackup + InnoDB TDE / keyring_file_dataで--prepareと--move-back の続き
keyring_file_dataを真面目に与えなくても何故か —prepare できてしまったのが謎だったので書き込みながら。
$ for n in {101..10000} ; do
> sudo mysql -e "INSERT INTO d1.t1 VALUES ($n)"
> done
$ sudo xtrabackup --backup -uroot --stream=xbstream | pzstd -dc > test.xb.zst
2024-01-20T05:23:28.912847-00:00 0 [Note] [MY-011825] [Xtrabackup] recognized server arguments: --datadir=/var/lib/mysql
2024-01-20T05:23:28.913000-00:00 0 [Note] [MY-011825] [Xtrabackup] recognized client arguments: --backup=1 --user=root --stream=xbstream
xtrabackup version 8.0.35-30 based on MySQL server 8.0.35 Linux (x86_64) (revision id: 6beb4b49)
..
$ mkdir backup_with_running
$ cd backup_with_running
$ …
[さらに読む]