summaryrefslogtreecommitdiff
path: root/Documentation/ref
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2017-12-21 16:41:30 -0800
committerBen Pfaff <blp@ovn.org>2017-12-21 16:41:30 -0800
commitfe0fb88551b4cc5b4bee6814f1027f78c451daa2 (patch)
tree5cac6efc848ef3dba694a9219e2da8632bdcf23f /Documentation/ref
parent62705b81108ff6d011362331847cf0ba22494779 (diff)
downloadopenvswitch-fe0fb88551b4cc5b4bee6814f1027f78c451daa2.tar.gz
ovsdb-client: Add new "restore" command.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'Documentation/ref')
-rw-r--r--Documentation/ref/ovsdb.7.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/ref/ovsdb.7.rst b/Documentation/ref/ovsdb.7.rst
index 3946a4672..25a6e5fc3 100644
--- a/Documentation/ref/ovsdb.7.rst
+++ b/Documentation/ref/ovsdb.7.rst
@@ -320,9 +320,15 @@ 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.
+Multiple options are also available when the time comes to restore a database
+from a backup. One option is to stop the database server or servers, overwrite
+the database file with the backup (e.g. with ``cp``), and then restart the
+servers. Another way is to use ``ovsdb-client restore``, which connects to a
+running database server and replaces the data in one of its databases by a
+provided snapshot. The advantage of ``ovsdb-client restore`` is that it causes
+zero downtime for the database and its server. It has the downside that UUIDs
+of rows in the restored database will differ from those in the snapshot,
+because the OVSDB protocol does not allow clients to specify row UUIDs.
None of these approaches saves and restores data in columns that the schema
designates as ephemeral. This is by design: the designer of a schema only