https://docs.oracle.com/en/database/oracle/apex/22.1/aeadm/exporting-and-importing-using-sqlcl.html
EXPORT Application
Step1. Download SQLcl
https://www.oracle.com/database/sqldeveloper/technologies/sqlcl/download/
Step2. (Windows)透過提示命令字元或PowerShell連至DB
切換至SQLcl目錄, 例如: D:\Tools\sqlcl-latest\sqlcl\bin
執行: sql.exe ${username}/${password}@//${00.00.00.000:1521}/${DatabaseName}
Step3. Export Application
執行: apex export -applicationid ${appid} -dir ${path}
例如: apex export -applicationid 224 -dir D:/apex_backup
產生 f224.sql 於目錄 D:/apex_backup
Import Application
於SQLcl執行export的sql file
例如: @D:/apex_backup/f224.sql
沒有留言:
張貼留言