Find Uncommited Changes with Rancid
At Data Cave, we use Rancid to back up our switches and routers. I wrote a simple script to use rancid to check for uncommitted changes that had been left lying around, which would be lost on a reboot.
Also, while I’m at it, I’m reminded by the above file that I had to create a “vrancid” script to backup our Vyatta routers. All I did was copy the “rancid” script and hack it up, so here’s a patch for that, as well. You’ll notice that this script calls a “vlogin” for the authentication part, but that’s just a renamed copy of “clogin”, which I made to make sure everything stayed separate.