From: Andrei Pavel Date: Wed, 22 Dec 2021 12:22:05 +0000 (+0200) Subject: [#2039] document kea-admin lease-upload X-Git-Tag: Kea-2.1.2~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9f055ddc3fcfd20076ad23652ad27f176d58bac;p=thirdparty%2Fkea.git [#2039] document kea-admin lease-upload --- diff --git a/doc/sphinx/arm/admin.rst b/doc/sphinx/arm/admin.rst index 12f9f8de2e..1149d07222 100644 --- a/doc/sphinx/arm/admin.rst +++ b/doc/sphinx/arm/admin.rst @@ -68,6 +68,10 @@ currently supported commands are: Alternatively, it can be used as a diagnostic tool, so it provides a portable form of the lease data. +- ``lease-upload`` — uploads leases from a CSV (comma-separated values) text + file to a MySQL or a PostgreSQL lease database. The CSV file needs to be in + memfile format. + ``backend`` specifies the type of backend database. The currently supported types are: diff --git a/doc/sphinx/man/kea-admin.8.rst b/doc/sphinx/man/kea-admin.8.rst index b160371b4a..53a38f964c 100644 --- a/doc/sphinx/man/kea-admin.8.rst +++ b/doc/sphinx/man/kea-admin.8.rst @@ -52,6 +52,10 @@ Arguments Alternatively, it can be used as a diagnostic tool, so it provides a portable form of the lease data. + ``lease-upload`` + Uploads leases from a CSV (comma-separated values) text file to a MySQL or + a PostgreSQL lease database. The CSV file needs to be in memfile format. + ``stats-recount`` Recounts lease statistics for a MySQL or PostgreSQL database.