Aqui um exemplo de como migrar os registros de um banco SQL para ORACLE no seu ERP TOTVS PROTHEUS através de uma ferramenta que existe no DbAccess (DBTool.exe)
# PASSO A PASSO Restore ORacle #restoreoracle #integraroracle #dbtool #DBTool
1° restaurar base congelada SQL
2° acessar dbAccess
3° validar conexao do SQL e ORacle
4° executar o dbTools (como admin )
\/ IMPORTANTE ESSE CAMINHO NAO O DEBUG
C:\TOTVS\R2310\tec\dbaccess\tools\dbtools.exe
opção 1 integration
opção 1 source
opção 3 database MSSQL
opção 4 P1212310MNTDBEXP
opção 7 conexao OK
ENTER <continue>
opção 2 target
opção 3 database ORACLE
opção 4 XE
opção 7 conexao OK
ENTER <continue>
Data Source ................ LOCALHOST:7892 MSSQL/P1212310
Data Target ................ LOCALHOST:7892 ORACLE/XE
1. Source Data Connection.
2. Target Data Connection.
3. Set migration parameters.
4. Run data migration.
0. Return to previous menu.
Choose an option ...............:
opção 3. Set migration parameters.
opção 2. Y (yes) <--somente no 2
1. Number of threads ........... 0
2. Overwrite tables ............ YES
3. Copy deleted records ........ NO
4. Copy empty tables ........... YES
5. Create indexes in target .... YES
6. Stop on error ............... NO
7. Keep source RECNO ........... NO
8. Tables to copy .............. %
9. Tables ignored .............. %BKP,%LOG
A. Resume previous copy ........ NO
B. Use better estimate ......... NO
0. Return
opção 0. Return
opção 4. Run data migration.
========== PARAMETERS TO RUN THE MIGRATION ============
Number of threads .......... 0
Overwrite tables ........... YES
Copy delete records ........ NO
Copy empty tables .......... YES
Create index in target ..... YES
Stop on error .............. NO
Keep source RECNO .......... NO
Tables to copy ............. %
Tables to be ignored ....... %BKP,%LOG
Use better estimative ...... NO
Data Source ................ LOCALHOST:7892 MSSQL/P1212310
Data Target ................ LOCALHOST:7892 ORACLE/XE
> Retrieving catalog from source database ...
> Tables identified ....: 5402
> Estimated size .......: 2.98 Gb.
*** ATTENTION ***
*** Check migration parameters ***
*** Do you want to run the migration process (Y/N) ?
Y
conclusão
> Operation competed in .... 12min47s
> Tables on source ......... 5402
> Tables checked ........... 5402
> Tables copied ............ 4801
> Tables ignored ........... 0
> Tables overwritten ....... 746
> Tables empty ............. 526
> Tables not opened ........ 0
> Indexes created .......... 19661
> Tables Copy Error ........ 75
*** THERE WAS ERRORS ON PROCESS | VIEW DBTOOLS.LOG FOR DETAILS ***
> Volume copied ............ 4.32 Gb.
> Records copied ........... 11083656
Nenhum comentário:
Postar um comentário