This is admittedly a weird corner case, but if your projects directory is managed by git and you try to restore a gateway backup then the restore fails halfway. Some gateway properties are updated, but not all. It doesn’t toss up any immediate red flags, and you have to go look in the server log to see the issue. If you’re not paying enough attention, you may think the restore worked when it actually left things broken.
Since the projects directory in our backup were coming from another commit in the same git repository, the workaround I used was this:
- temporarily move
.gitout of the projects directory
- do the gateway restore
- shutdown the gateway
.gitback into the projects directory
git resetto get back to the place I wanted to be
- restart the gateway
Like I said, this is a weird corner case since the primary purpose of using
git is to not need to backup/restore the whole gateway or import/export the projects directory. But we wanted to re-synchronize all the tags and other gateway settings between two machines and bumped into this along the way.