What we do:
- Follow good source control practices. We've adopted GitFlow and I highly recommend it.
- Don't forget about your non-servoy source code dependencies. Like plugins, extra files in the application_server/server/webapps/ROOT folder. Also your servoy properties files, Jasper reports, etc. Make sure they are all under source control. We add plugins and other dependencies into source control, and then use an ant script so each developer can run it, and it installs all the proper dependencies into their installation.
- Make sure your production repository database is backed up. In event of server catastrophe, restoring that will restore all your source
- If you have a code signing cert you use, make sure its backed up someplace safe too.
PS. to answer your question about getting source from the repository...Yes, that is also possible, but not desired and a pain to do. The option on the application server to use a team provider. Its not recommended, but is a possible fail-safe that I've had to use before (old developer left a company, and didn't use source control).
https://wiki.servoy.com/display/DOCS/Se ... m+Provider