'Database-style migrations for OS files

I'll admit this is an odd question as I'm writing, but I'm curious if such a solution exists or not. Basically, I want to run database-style migrations on files that live on the operating system itself, and I'm wondering if a solution exists or not.

The background of this is that I have a virtual machine appliance which I'm providing to customers deployed behind corporate firewalls, and thus, I don't have much access to it. However, I need to provide continuous updates not only for the software running on the machine (running in Docker), but sometimes, for some supporting files as well.

Since this is a product, it means I need to have the capability to roll-back a migration to a certain version if something goes wrong. git cannot work for this purpose since putting entire OS folders into a Git repo seems like a terrible idea.

Am I thinking about this wrong? Is such a solution like this reasonable?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source