Skip to content

Migrate Storage Provider|iDempiere 13 プロセスリファレンス

This content is not available in your language yet.

iDempiere 13 標準プロセス(AD_Process_ID: 200117)

メニュー: システム管理 ▸ クライアント ▸ Migrate Storage Provider

Migrate the storage provider for attachments, archives and/or images

WARNING: This process can be destructive, so please be sure that you have a backup of the database, as well as a backup of your old storage provider.

The process migrates files between storage providers.

  • Client: Optional, you can select a client to migrate, if empty it will try to migrate storage providers from all clients with the Actual Storage Provider selected below.
  • Actual Storage Provider: If the client is empty, you define here the storage provider to migrate, if empty it migrates clients with the storage provider not set (this is by default DB).
  • Storage Provider: The new storage provider to migrate the files.
  • Migrate Attachment: If enabled, it migrates the attachment files to the new storage provider.
  • Migrate Archive: If enabled, it migrates the archive files to the new storage provider.
  • Migrate Image: If enabled, it migrates the image files to the new storage provider.
  • Delete old/existing files: If enabled, after the files are migrated the program tries to free space deleting the files from the previous storage provider.  Note that migrating from/to a DB storage provider is a destructive action that cannot be recovered, it implies deleting the old/existing files.

Please note that during the migration the whole set of records in the table being migrated (attachment, archive, image) is locked, so operations on these records are not permitted.  Because of this, it is recommended to run this process in a maintenance window without users logged in the system.

In case of failure the attachments / archives / images that succeeded as a whole from a client are still migrated, but not partial records (which would result in data corruption if allowed).

#パラメータ必須説明
10ClientTable DirectClient/Tenant for this installation.
20Actual Storage ProviderTable
30AD_StorageProvider_IDTable Direct
40Migrate AttachmentYes-No
50Migrate ArchiveYes-No
60Migrate ImageYes-No
70Migrate DataYes-No
80レコードIDIntegerDirect internal record ID
90Delete old/existing filesYes-NoDelete the records from the old storage provider after moved