From 3012fd02755cb31a2ee677506b75460e36201f76 Mon Sep 17 00:00:00 2001 From: Guy Khmelnitsky Date: Wed, 25 Jul 2018 18:22:23 +0300 Subject: [PATCH 1/5] Update the instructions for location of dropbox_uplodaer.sh Add instructions to customize the location of dropbox_uploader.sh --- source/_docs/ecosystem/backup/backup_dropbox.markdown | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/_docs/ecosystem/backup/backup_dropbox.markdown b/source/_docs/ecosystem/backup/backup_dropbox.markdown index 6baa2cbc9a0..20d9e3f2d46 100644 --- a/source/_docs/ecosystem/backup/backup_dropbox.markdown +++ b/source/_docs/ecosystem/backup/backup_dropbox.markdown @@ -37,6 +37,16 @@ Follow the instructions you see on your screen. Go to the folder you have placed `dropbox.py`. +Option A: + Copy file `dropbox_uploader.sh` to : `.homeassistant/extraconfig/shell_code/` (so the full path would be similar to: `/home/homeassistant/.homeassistant/extraconfig/shell_code/dropbox_uploader.sh`) +Option B: + Edit `dropbox.py`: + Change the following line: + `uploader = "/home/homeassistant/.homeassistant/extraconfig/shell_code/dropbox_uploader.sh"` + to where you placed your file: (for example): + `uploader = "/home/homeassistant/MyFolder/dropbox_uploader.sh"` + + ```bash $ python dropbox.py ``` From 29858e853f053bff95f5dd1a5b6b5200662e1bf7 Mon Sep 17 00:00:00 2001 From: Guy Khmelnitsky Date: Wed, 3 Oct 2018 09:34:15 +0300 Subject: [PATCH 2/5] Update the terrible looks --- source/_docs/ecosystem/backup/backup_dropbox.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/ecosystem/backup/backup_dropbox.markdown b/source/_docs/ecosystem/backup/backup_dropbox.markdown index 20d9e3f2d46..8e63b0b4fc8 100644 --- a/source/_docs/ecosystem/backup/backup_dropbox.markdown +++ b/source/_docs/ecosystem/backup/backup_dropbox.markdown @@ -37,9 +37,9 @@ Follow the instructions you see on your screen. Go to the folder you have placed `dropbox.py`. -Option A: +- Option A: Copy file `dropbox_uploader.sh` to : `.homeassistant/extraconfig/shell_code/` (so the full path would be similar to: `/home/homeassistant/.homeassistant/extraconfig/shell_code/dropbox_uploader.sh`) -Option B: +- Option B: Edit `dropbox.py`: Change the following line: `uploader = "/home/homeassistant/.homeassistant/extraconfig/shell_code/dropbox_uploader.sh"` From 78b7367f17f77c416c0bef998ea6574bceb1d2d1 Mon Sep 17 00:00:00 2001 From: Guy Khmelnitsky Date: Wed, 3 Oct 2018 09:35:54 +0300 Subject: [PATCH 3/5] Update backup_dropbox.markdown --- source/_docs/ecosystem/backup/backup_dropbox.markdown | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/_docs/ecosystem/backup/backup_dropbox.markdown b/source/_docs/ecosystem/backup/backup_dropbox.markdown index 8e63b0b4fc8..38ea85cedb2 100644 --- a/source/_docs/ecosystem/backup/backup_dropbox.markdown +++ b/source/_docs/ecosystem/backup/backup_dropbox.markdown @@ -42,9 +42,13 @@ Go to the folder you have placed `dropbox.py`. - Option B: Edit `dropbox.py`: Change the following line: - `uploader = "/home/homeassistant/.homeassistant/extraconfig/shell_code/dropbox_uploader.sh"` + ``` + uploader = "/home/homeassistant/.homeassistant/extraconfig/shell_code/dropbox_uploader.sh" + ``` to where you placed your file: (for example): - `uploader = "/home/homeassistant/MyFolder/dropbox_uploader.sh"` + ``` + uploader = "/home/homeassistant/MyFolder/dropbox_uploader.sh" + ``` ```bash From 87fee22f676db6b28d20832505d8f0dd8d4aea6b Mon Sep 17 00:00:00 2001 From: Guy Khmelnitsky Date: Wed, 3 Oct 2018 09:37:12 +0300 Subject: [PATCH 4/5] Update backup_dropbox.markdown --- source/_docs/ecosystem/backup/backup_dropbox.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/ecosystem/backup/backup_dropbox.markdown b/source/_docs/ecosystem/backup/backup_dropbox.markdown index 38ea85cedb2..3b2af016608 100644 --- a/source/_docs/ecosystem/backup/backup_dropbox.markdown +++ b/source/_docs/ecosystem/backup/backup_dropbox.markdown @@ -37,9 +37,9 @@ Follow the instructions you see on your screen. Go to the folder you have placed `dropbox.py`. -- Option A: +- *Option A:* Copy file `dropbox_uploader.sh` to : `.homeassistant/extraconfig/shell_code/` (so the full path would be similar to: `/home/homeassistant/.homeassistant/extraconfig/shell_code/dropbox_uploader.sh`) -- Option B: +- *Option B:* Edit `dropbox.py`: Change the following line: ``` From a53879bae8a98283795f902fd895898b1cad766b Mon Sep 17 00:00:00 2001 From: Guy Khmelnitsky Date: Wed, 3 Oct 2018 09:38:04 +0300 Subject: [PATCH 5/5] Update backup_dropbox.markdown --- source/_docs/ecosystem/backup/backup_dropbox.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/ecosystem/backup/backup_dropbox.markdown b/source/_docs/ecosystem/backup/backup_dropbox.markdown index 3b2af016608..5cf595abe35 100644 --- a/source/_docs/ecosystem/backup/backup_dropbox.markdown +++ b/source/_docs/ecosystem/backup/backup_dropbox.markdown @@ -37,9 +37,9 @@ Follow the instructions you see on your screen. Go to the folder you have placed `dropbox.py`. -- *Option A:* +- **Option A:** Copy file `dropbox_uploader.sh` to : `.homeassistant/extraconfig/shell_code/` (so the full path would be similar to: `/home/homeassistant/.homeassistant/extraconfig/shell_code/dropbox_uploader.sh`) -- *Option B:* +- **Option B:** Edit `dropbox.py`: Change the following line: ```