diff options
author | Ben Pfaff <blp@ovn.org> | 2017-12-15 08:35:41 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-12-15 08:35:44 -0800 |
commit | 4d0a31b642c989de6c079e8db8cc3398dde30436 (patch) | |
tree | 972a4fe828d4f24e55fa7253880cb9c745b9cc9d /Documentation/ref | |
parent | bfaf6352f39ce40ab12e29b673c9f5d69c4ee496 (diff) | |
download | openvswitch-4d0a31b642c989de6c079e8db8cc3398dde30436.tar.gz |
ovsdb-client: Add new "backup" command.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'Documentation/ref')
-rw-r--r-- | Documentation/ref/ovsdb.7.rst | 4 |
1 files changed, 4 insertions, 0 deletions
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. |