Backup for DHCP
DHCP is a near-(set-and-forget) service that has its own scheduled backup every hour by default. This value could be altered as per requirements. The only pitfall here being: It overwrites the backups. So at any point of time, all we have is only a single backup to restore.
This is fine in most cases, but not when there are issues in the environment or if there are rapid changes in the network. Tracking down changes would be near impossible, as it was for me in a certain instance.
The Code:
I've scripted a simple code segment that copies the existing backups to a sub-folder with timestamp for future reference.
P.S. I've never come across anyone who've in-turn come across a situation where the DHCP backup was restored. I'm intrigued.🤔
Comments
Post a Comment