Skip to content

v7.2.10

Latest

Choose a tag to compare

@snoro snoro released this 29 Nov 08:23
ec37389

A backup-only patch for v7.2.9.

  1. Backup and restore
    • Backups work with a database user that cannot read views (no SHOW VIEW, as on many hosted databases): views are left out of the dump and are created again after a restore (#2367).
    • Restoring an older backup whose dump stopped partway (for example at a view, before 7.2.9) no longer drops the tables that are missing from it: they are kept and their data is loaded, or the restore stops without changing the database if the data does not fit (#2373).
    • Old backups that contain view definitions with a DEFINER restore with a user that has no SET_USER_ID (#2367).
    • When the connection uses a CA file (MYSQL_ATTR_SSL_CA), it is passed to mysqldump and mysql as --ssl-ca (#2362).
    • The hint for a TLS mismatch recommends setting the CA first; turning off certificate checks is described only as a last resort (#2364).

日本語:

  • ビューを読めない(SHOW VIEW がない)データベースのユーザーでも、バックアップできるようにしました。ビューはバックアップに入れず、リストアのあとに作りなおします(#2367)。
  • 途中までしか書けていない古いバックアップ(7.2.9 より前に、ビューのところで止まったもの)をリストアしても、入っていないテーブルを消さないようにしました。データが合わないときは、データベースを変えずに止まります(#2373)。
  • DEFINER の入った古いバックアップも、SET_USER_ID のないユーザーでリストアできます(#2367)。
  • 接続に CA のファイル(MYSQL_ATTR_SSL_CA)を使っているとき、mysqldump と mysql にも渡します(#2362)。
  • 証明書のエラーのヒントを、まず CA を指定する形にしました。確かめをやめるのは最後の手です(#2364)。

How to update: composer update and php artisan exment:update. Then take a new backup and check that table_definition.sql in the zip is not empty.