Hi,
I have a question regarding the proper method of performing a backup+restore
operation on Kea when using the memfile.
For ease of conversation we define the following config:
"lease-database": {
"type": "memfile",
"name": "/kea/leases/dhcp4.csv",
"lfc-interval": 3600
}
From my investigation regarding how Kea handles the leases file I came across
the design document for [kea-lfc][1], where it appears it will create a file
called
"/kea/leases/dhcp4.csv.2" when done. This file then contains the current cleaned
up state of the DHCP service. The main dhcp4.csv file is then just the journal
with differences from the last time the .2 file was created.
My question is then, is it enough to just copy this .2 file, and place it in at
"/kea/leases/dhcp4.csv.2" in the new machine to have it pick up from where the
old server were when this file was created, or is there another procedure that
is
endorsed by ISC?
Best regards,
Jonas
[1]:
https://gitlab.isc.org/isc-projects/kea/-/wikis/designs/Lease-File-Cleanup-design
--
ISC funds the development of this software with paid support subscriptions.
Contact us at https://www.isc.org/contact/ for more information.
To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users