Download the PHP package baserproject/bc-db-migrator without Composer
On this page you can find all versions of the php package baserproject/bc-db-migrator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download baserproject/bc-db-migrator
More information about baserproject/bc-db-migrator
Files in baserproject/bc-db-migrator
Download baserproject/bc-db-migrator
More information about baserproject/bc-db-migrator
Files in baserproject/bc-db-migrator
Vendor baserproject
Package bc-db-migrator
Short Description BcDbMigrator plugin for baserCMS
License MIT
Homepage https://basercms.net
Package bc-db-migrator
Short Description BcDbMigrator plugin for baserCMS
License MIT
Homepage https://basercms.net
Please rate this library. Is it a good library?
Informations about the package bc-db-migrator
BcDbMigrator plugin for baserCMS
Database Migrator for baserCMS
Installation
You can install this plugin into your baserCMS application using composer.
The recommended way to install composer packages is:
Documentation
コマンドライン実行
コマンドラインからマイグレーションを実行できます。
bin/cake bc_db_migrator <zipファイルパス>
引数
path(必須): baserCMS 4 のバックアップZipファイルのパス。絶対パス・相対パスどちらでも指定可能です。
実行例
出力
- データベース: データは現在のbaserCMSデータベースに直接インポートされます。
- ファイル: 変換されたCSVファイルとスキーマファイルは、
tmp/baserbackup_<バージョン>_<日時>.zipに圧縮されて保存されます(例:/var/www/html/tmp/baserbackup_5.1.0_20230101_120000.zip)。保存先パスはコンソールに出力されます。 - 一時ディレクトリ: マイグレーション完了後、作業用一時ディレクトリ(
tmp/dbmigrator/)は自動的に削除されます。
パスワードの取り扱い
ユーザーパスワードの移行方法は、環境変数 HASH_TYPE の設定により異なります。
-
HASH_TYPEがsha1の場合:
バックアップデータのパスワードがそのまま保持されます。マイグレーション後も従来のパスワードでログイン可能です。 - 上記以外の場合:
セキュリティ上の理由から、すべてのユーザーのパスワードが新しいランダムな文字列に変更されます。新しいパスワードはマイグレーション完了時にコンソールに表示されますので、ログイン後に必ず変更してください。
License
Lincensed under the MIT lincense since version 2.0
All versions of bc-db-migrator with dependencies
PHP Build Version
Package Version
No informations.
The package baserproject/bc-db-migrator contains the following files
Loading the files please wait ...