ドキュメントとメディアの格納先をDBに移行
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
legacy-article
learn-legacy-article-disclaimer-text
問題
- ドキュメント&メディアの格納先をDBに変更したいですが、すでにアップロードされたファイルに対して、移行方法がありますか?
環境
解決
- 念のため、DB及びドキュメントライブラリのバックアップを取得
- Liferayを起動して、【コントロールパネル>設定>サーバ管理>データ移行】に移動
- DBStoreを選択
- 【実行】をクリック
- ログを監視
- 完了したら、データベースの「dlcontent」テーブルにデータが入っていることを確認
- 画面上で再起動が必要というメッセージが表示されます
- Liferayを停止
-
当該プロパティを設定
dl.store.impl=com.liferay.portal.store.db.DBStore
- Liferayを再起動
did-this-article-resolve-your-issue