Processo: Migrate Storage Provider
[Criado em: 28/02/2020 - Atualizado em: 10/03/2022 ]
Descrição: Migrate the storage provider for attachments, archives and/or images
Ajuda: 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, select a client to migrate, when empty it will migrate all clients with the Actual Storage ProviderActual Storage Provider: Alternatively, you can define here the storage provider to migrateStorage Provider: The new storage provider to migrate the filesMigrate Attachment: Migrate the attachment filesMigrate Archive: Migate the archive filesMigrate Image: Migrate the image filesMigrate Data: When unchecked, just the storage provider is changed in client, but the files are not migrated (they can be migrated in a future execution of this same process)Record ID Range: Optionally you can define a range of IDs for the records to migrate, so you can run this process in parallel to migrate the dataDelete old/existing files: If enabled, when a file is migrated the program tries to free space deleting the file 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.In case of failure or timeout, the process can be launched again, it commits on every file migrated.
Classe: org.idempiere.process.MigrateStorageProvider
Tabela: Parâmetros do Processo
Nome | Descrição | Ajuda | Dados Técnicos |
---|---|---|---|
Client | Client/Tenant for this installation. | A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client. | AD_AllClients_V_ID Chosen Multiple Selection Table |
Provedor de Armazenamento Atual | Actual_StorageProvider_ID Chosen Multiple Selection Table | ||
Provedor de Armazenamento | AD_StorageProvider_ID Chosen Multiple Selection Table | ||
Migrar Anexos | IsMigrateAttachment Yes-No | ||
Migrar Arquivos | IsMigrateArchive Yes-No | ||
Migrar Imagens | IsMigrateImage Yes-No | ||
Migrar Dados | IsMigrateData Yes-No | ||
ID do Registro | ID do Registro Direto Interno | O "ID do Registro" é o identificador interno exclusivo de um registro. Por favor note que dar um "zoom" no registro mode não ser bem sucedido para Pedidos, Faturas e Entregas/Recebimentos já que às vezes o tipo de Pedido de Vendas não é conhecido. | Record_ID Integer |
Delete old/existing files | Delete the records from the old storage provider after moved | WARNING! This option cannot be rolled back! Be cautious, take backups. If not enabled, the system administrator can/must remove manually the old files from the previous storage provider later. | DeleteOld Yes-No |