The following describes methods for copying file before and after the upgrade.
Updating the DNS/DHCP Server software version re-creates the file system. A software update deletes some of the files that you have created on the older version. If you have any custom changes that need to be copied to the new version, you need to move the custom files to the new version.
Copying the custom files to new version
BlueCat recommends backing up any custom files before performing the upgrade. Custom files may include SSH keys (stored in the user’s home directory in .ssh), DHCP hooks, and DNS hooks. For more information about downloading software updates for Address Manager, refer to Address Manager software updates.
- Preferred method—Copy the custom files to an EXTERNAL device BEFORE performing the upgrade and copy the files back after the upgrade completes.
If you have already upgraded the DNS/DHCP Server software without backing up the custom files, then follow one of the two methods described below:
- Method 1—Reboot your appliance and select the older version in the GRUB
boot loader menu. After the previously-installed software is loaded, copy the files that
you want to move to an EXTERNAL device.
Reboot your appliance again and select the new version in the GRUB boot loader menu. Then copy the files from the external device back to the original location(s).
- Method 2—Mount the root partition from the older version. Create a mounting point and then mount the root partition from the older system and copy the files to the new system. If your current root is /dev/sda5, the older root will be /dev/sda9 and vice versa.