support for container backup
PROD-21837
Change-Id: Id6d475fd27488998c6ba81d038036e95b8f6787e
diff --git a/README.rst b/README.rst
index 6c47157..c6b2af8 100644
--- a/README.rst
+++ b/README.rst
@@ -35,6 +35,22 @@
More options to relocate local backups can be done using salt-formula-backupninja.
+Backup client container with ssh/rsync remote host
+
+.. code-block:: yaml
+
+ cassandra:
+ backup:
+ client:
+ enabled: true
+ full_backups_to_keep: 3
+ hours_before_full: 24
+ containers:
+ - opencontrail_controller_1
+ target:
+ host: cfg01
+ home_dir: server-home-dir
+
Backup client with local backup only
.. code-block:: yaml
@@ -184,6 +200,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
+
+ cassandra:
+ 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
=========