zookeeper backup for containers
PROD-21753
Change-Id: Ic0572e3acb7f0dfff4478e64666129dea076f616
diff --git a/README.rst b/README.rst
index 0a79118..58154bb 100644
--- a/README.rst
+++ b/README.rst
@@ -51,6 +51,22 @@
.. note:: full_backups_to_keep param states how many backup will be stored locally on zookeeper client.
More options to relocate local backups can be done using salt-formula-backupninja.
+Backup client containers with ssh/rsync remote host
+
+.. code-block:: yaml
+
+ zookeeper:
+ backup:
+ client:
+ enabled: true
+ full_backups_to_keep: 3
+ hours_before_full: 24
+ containers:
+ - opencontrail_controller_1
+ target:
+ host: cfg01
+ backup_dir: server-home-dir
+
Backup client with local backup only
.. code-block:: yaml
@@ -201,6 +217,23 @@
.. note:: restore_latest param with a value of 1 means to restore db from the last full backup. 2 would mean to restore second latest full backup.
+Client restore container from remote backup:
+
+.. code-block:: yaml
+
+ zookeeper:
+ backup:
+ client:
+ enabled: true
+ full_backups_to_keep: 3
+ hours_before_full: 24
+ containers:
+ - opencontrail_controller_1
+ target:
+ host: cfg01
+ restore_latest: 1
+ restore_from: remote
+
Read more
=========