From 4d0a31b642c989de6c079e8db8cc3398dde30436 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 15 Dec 2017 08:35:41 -0800 Subject: ovsdb-client: Add new "backup" command. Signed-off-by: Ben Pfaff Acked-by: Justin Pettit --- Documentation/ref/ovsdb.7.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Documentation/ref') diff --git a/Documentation/ref/ovsdb.7.rst b/Documentation/ref/ovsdb.7.rst index 1106c63e2..3946a4672 100644 --- a/Documentation/ref/ovsdb.7.rst +++ b/Documentation/ref/ovsdb.7.rst @@ -316,6 +316,10 @@ database file, e.g. using ``cp``, effectively makes a snapshot, and because OVSDB database files are append-only, it works even if the database is being modified when the snapshot takes place. +Another way to make a backup is to use ``ovsdb-client backup``, which +connects to a running database server and outputs an atomic snapshot of its +schema and content, in the same format used for on-disk databases. + To restore from a backup, stop the database server or servers, overwrite the database file with the backup (e.g. with ``cp``), and then restart the servers. -- cgit v1.2.1