Page 1 of 1
How to backup custom code?
Posted: Tue Oct 23, 2018 11:44 am
by deckoff
Hello,I was wondering what is the best practice of backing up custom code, attached to forms?
So far, the only method I found is exporting the database - not very git-able,and a bit clumsy. Is there any other way?
Regards
Re: How to backup custom code?
Posted: Tue Oct 23, 2018 10:46 pm
by admin
deckoff,
Backing up the whole database is the way to do it.
Steven
Re: How to backup custom code?
Posted: Wed Oct 24, 2018 8:30 am
by kev1n
The best and easiest way to track all changes is set up triggers in the database that write to audit tables. Whenever a field (in our case a field that contains conde) gets updated,
it creates an entry in the history table so you can track all changes to the code over time.
Using the information in a history table, it is possible to retrieve a field's content at any point in time.
Re: How to backup custom code?
Posted: Fri Oct 26, 2018 6:56 am
by admin
.