legacy-knowledge-base
公開されました Jul. 2, 2025

ドキュメントとメディアの格納先をDBに移行

written-by

Sorin Pop

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に変更したいですが、すでにアップロードされたファイルに対して、移行方法がありますか?

環境

  • DXP 7.0
  • DXP 7.1

解決

  1. 念のため、DB及びドキュメントライブラリのバックアップを取得
  2. Liferayを起動して、【コントロールパネル>設定>サーバ管理>データ移行】に移動
  3. DBStoreを選択
  4. 【実行】をクリック
  5. ログを監視
  6. 完了したら、データベースの「dlcontent」テーブルにデータが入っていることを確認
  7. 画面上で再起動が必要というメッセージが表示されます
  8. Liferayを停止
  9. 当該プロパティを設定
    dl.store.impl=com.liferay.portal.store.db.DBStore
  10. Liferayを再起動

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base