Is it possible to backup all the scripts, once a d...
# general
s
Is it possible to backup all the scripts, once a day, somewhere like Github ?
s
I’m sure you could do this using SDF and some automated scripts, but if you think you need to, then you have a few problems. First, this is backwards of the way that Github is intended to be used, which is the source of truth for what should be deployed to production, rather than a reflection of what was done in production. This also implies that there are people regularly modifying script code directly in your production account without review, oversight, or source control. That could very easily lead to major problems. Even if you capture the new code later, a poorly written script could do permanent damage before you detect it, and knowing that the code changed won’t help you at all with recovering from that kind of situation.
Not to mention, this will give you a false sense of security as the job may be running daily and capturing changes, but no one will be tasked with looking at what has changed each day, so problems could still go unnoticed for a period of time. The best time to review changes is before they are released to production, not after.
s
Understood. But for now, I need a backup of prod daily
c
Download Suitescripts folder manually as a .zip and either store the zip or unzip it and store it in github. Once you do it once, it should just be showing the changes every day.