0
An admin web app (closed-source, 3rd party) that we use generates XML files into the Linux server where it is running. These XML files contain application settings for a production application. Only admin users can login to the app to modify those settings.
What is a good way to protect these files in a source control system? Recently we lost those XML files when the Linux system became corrupted.
Would this involve setting up a cron job to check the directory for changes to those XML files - and if they are changed, commit the changes using the same script (to SVN in this case)?
Is there a better way to do this?
1Have the app check the file in? And, also, where are your backups? – Michael Hampton – 2013-04-28T22:17:41.890
It's a 3rd party web app - we don't have access to the source code - so modifying it to check the file in is not an option. – Worn Drellis – 2013-04-28T22:38:08.833
cron will work. it's not perfect, but perhaps passable depending on your criteria. – Sirex – 2013-04-29T00:18:32.133