Migrate Storage Provider|iDempiere 13 プロセスリファレンス
Migrate Storage Provider
Section titled “Migrate Storage Provider”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).
| # | パラメータ | 必須 | 型 | 説明 |
|---|---|---|---|---|
| 10 | Client | Table Direct | Client/Tenant for this installation. | |
| 20 | Actual Storage Provider | Table | ||
| 30 | AD_StorageProvider_ID | ✔ | Table Direct | |
| 40 | Migrate Attachment | ✔ | Yes-No | |
| 50 | Migrate Archive | ✔ | Yes-No | |
| 60 | Migrate Image | ✔ | Yes-No | |
| 70 | Migrate Data | ✔ | Yes-No | |
| 80 | レコードID | Integer | Direct internal record ID | |
| 90 | Delete old/existing files | ✔ | Yes-No | Delete the records from the old storage provider after moved |