Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
ProcessMaker stores a few process files under the shared/sites/{workspace} directory, such as your template files any files that you upload to Public Files, but most of the process definition is stored in the MySQL database in tables such as PROCESS, TASK, etc.

I see two options. You can create a Linux cron job or Windows Scheduled Task that creates periodic backups with the processmaker workspace-backup command.

The other option is to create a script that is executed periodically as a Linux cron job or a Windows Scheduled Task, that uses REST to create backup copies. You can call GET /api/1.0/{workspace}/project to check the "prj_update_date" for each process. If a process has changed, then call GET /api/1.0/{workspace}/project/{prj_uid}/export to export the process as .pmx file and upload it to Github.

Hello there, We are using PM Enterprise version 3[…]

Detail information, thanks for your sharing.

Don't forget to unblock the core tables: https:/[…]

Oh, Really thank you Amos