{"id":28462593,"url":"https://github.com/baserproject/bcdbmigrator","last_synced_at":"2026-02-16T14:33:54.424Z","repository":{"id":66854663,"uuid":"80929944","full_name":"baserproject/BcDbMigrator","owner":"baserproject","description":"baserCMSのバックアップデータのマイグレーションを行うプラグイン","archived":false,"fork":false,"pushed_at":"2026-02-06T01:51:58.000Z","size":105,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"5.2.x","last_synced_at":"2026-02-06T11:24:24.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"fuchigam1/BcDbMigrator","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baserproject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-02-04T15:56:23.000Z","updated_at":"2026-02-06T01:52:02.000Z","dependencies_parsed_at":"2025-07-01T04:43:18.385Z","dependency_job_id":null,"html_url":"https://github.com/baserproject/BcDbMigrator","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/baserproject/BcDbMigrator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baserproject%2FBcDbMigrator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baserproject%2FBcDbMigrator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baserproject%2FBcDbMigrator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baserproject%2FBcDbMigrator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baserproject","download_url":"https://codeload.github.com/baserproject/BcDbMigrator/tar.gz/refs/heads/5.2.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baserproject%2FBcDbMigrator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29510210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-07T04:30:38.985Z","updated_at":"2026-02-16T14:33:54.419Z","avatar_url":"https://github.com/baserproject.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BcDbMigrator plugin for baserCMS\nDatabase Migrator for baserCMS   \n\n## Installation\nYou can install this plugin into your baserCMS application using [composer](https://getcomposer.org).\n\nThe recommended way to install composer packages is:\n\n```\ncomposer require baserproject/bc-db-migrator\n```\n\n## Documentation\nSee [baserCMS４のデータベースを変換](https://baserproject.github.io/5/migration_db_from_ver4)\n\n## コマンドライン実行\n\nコマンドラインからマイグレーションを実行できます。\n\n`bin/cake bc_db_migrator \u003czipファイルパス\u003e`\n\n### 引数\n- `path`（必須）: baserCMS 4 のバックアップZipファイルのパス。絶対パス・相対パスどちらでも指定可能です。\n\n### 実行例\n```bash\nbin/cake bc_db_migrator basercms4_backup.zip\n```\n\n### 出力\n- **データベース**: データは現在のbaserCMSデータベースに直接インポートされます。\n- **ファイル**: 変換されたCSVファイルとスキーマファイルは、`tmp/baserbackup_\u003cバージョン\u003e_\u003c日時\u003e.zip` に圧縮されて保存されます（例: `/var/www/html/tmp/baserbackup_5.1.0_20230101_120000.zip`）。保存先パスはコンソールに出力されます。\n- **一時ディレクトリ**: マイグレーション完了後、作業用一時ディレクトリ（`tmp/dbmigrator/`）は自動的に削除されます。\n\n### パスワードの取り扱い\n\nユーザーパスワードの移行方法は、環境変数 `HASH_TYPE` の設定により異なります。\n\n- **`HASH_TYPE` が `sha1` の場合**:  \n  バックアップデータのパスワードがそのまま保持されます。マイグレーション後も従来のパスワードでログイン可能です。\n\n- **上記以外の場合**:  \n  セキュリティ上の理由から、すべてのユーザーのパスワードが新しいランダムな文字列に変更されます。新しいパスワードはマイグレーション完了時にコンソールに表示されますので、ログイン後に必ず変更してください。\n\n## License\nLincensed under the MIT lincense since version 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaserproject%2Fbcdbmigrator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaserproject%2Fbcdbmigrator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaserproject%2Fbcdbmigrator/lists"}