Below are 2 scripts to export and import applications via command-line. This is very useful in cases where you want to automate the backups as part of a nightly job or you need a scripted method of importing application.
This bash script takes a export of of your Oracle APEX application using the command-line utility and (additionally) back-up by pushing it to a git repository.
This PL/SQL script imports an APEX application. It should be run via SQL Plus. To get started, configure the below 3 variables in the script.
l_workspace_name varchar2(100) := 'GEOCODER';
l_application_id number := 502;
l_parsing_schema varchar2(100) := 'GEOCODER';
yum install curl-devel expat-devel gettext-devel \ openssl-devel zlib-devel
wget https://git-core.googlecode.com/files/git-1.9.0.tar.gz
tar -xvzf git-1.9.0.tar.gz
cd git-1.9.0
make prefix=/usr/local all
make prefix=/usr/local install