0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Craft CMS のシステムアップデート時に実行されるデータベースのバックアップを無効化する

Last updated at Posted at 2019-04-16

Craft CMS 本体のアップデートを適用する際、デフォルトでは自動的にデータベースのバックアップが生成される。

これを無効化するには config/general.phpbackupOnUpdate を追記する。

config/general.php
<?php

return [
    // Global settings
    '*' => [
        // アップデート時の DB バックアップを無効化
        'backupOnUpdate' => false,
    ],

    // Dev environment settings
    'dev' => [
        // (中略)
    ],
];

以降、システムアップデート時にデータベースの自動バックアップが生成されなくなるため、適宜マニュアルでバックアップを取得する。

参考

General Config Settings > backupOnUpdate
https://docs.craftcms.com/v3/config/config-settings.html#backuponupdate

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?