From 6efac4c27a342a7003dff39904acedd6f22c9919 Mon Sep 17 00:00:00 2001
From: phahulin
Date: Sat, 27 Jan 2018 20:59:07 +0300
Subject: [PATCH] update docs
---
docs/Blockchain-backup.md | 7 ++++---
group_vars/all.example | 2 ++
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/docs/Blockchain-backup.md b/docs/Blockchain-backup.md
index 24fa48f..e3e781d 100644
--- a/docs/Blockchain-backup.md
+++ b/docs/Blockchain-backup.md
@@ -31,15 +31,16 @@ pip install ansible
8. create `group_vars/all` file:
```
-cp group_vars/all.example group_vars/all
+cp group_vars/backup-parity.example group_vars/all
```
and set the following variables:
* `poa_role` - node's role (one of `bootnode`, `validator`, `moc`, `explorer`, `netstat`)
+* `backup_parity_data` - `true`/`false` - backup whole `parity_data` folder "as is" or not (default: `true`)
+* `backup_parity_blocks` - `true`/`false` - use or not `parity export blocks` to create a file with exported blocks and backup it (default: `true`)
* `access_key` - s3 access key
* `secret_key` - s3 secret key
* `s3_bucket` - s3 bucket name
-
-you can ignore other variables in this file
+* `node_name` - short descriptive name of the node (e.g. `sokol-arche`). It will be used as part of a backup file name, so it must be lowercase, must not contain spaces, commas, etc
9. create `hosts` file:
```
diff --git a/group_vars/all.example b/group_vars/all.example
index 44956da..34540cf 100644
--- a/group_vars/all.example
+++ b/group_vars/all.example
@@ -6,6 +6,8 @@ access_key: "KEY_NAME"
secret_key: "KEY_SECRET"
s3_bucket: "BUCKET_NAME"
node_name: "NODE_NAME"
+backup_parity_data: true
+backup_parity_blocks: true
#For HFs
MAIN_REPO_FETCH: "poanetwork"