Home > Software design >  APEX 5.1: Automatic Copy of an app in Oracle APEX
APEX 5.1: Automatic Copy of an app in Oracle APEX

Time:11-25

Right now I have an "Production App" that changes everyday. Every Friday I go to Tasks > Copy this application

Tasks

And send that copy to another ID App, in order to have (for example) "Production App 2" as a backup (I have the DB backup in another server)

Is there any way to make that "backup" automatically?

Thanks in advance

CodePudding user response:

How about exporting your applications regularly (e.g. on a daily basis)? You'd use APEXExport.

As it is invoked from the operating system command prompt, you can create a batch script (.bat on MS Windows) and schedule it (using Task Scheduler on MS Windows) to run at any time you want, e.g. 02:00 (2 hours past midnight)).

That's what I do, works just fine.

CodePudding user response:

Starting APEX 20.1, there is a feature that takes regular backups automatically. There is also this recent blog that shows how to use ORDS to export/import apps.

  • Related