I have added better backup code that now stores a backup of the database. With that it seems there was a problem with Debian based systems in some cases where the link between /var/www/fog/ and /var/www/html/fog.
I’m fairly sure I’ve traced that down as well but I don’t feel it’s a significant enough issue to keep this open.