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?