diff --git a/atom.xml b/atom.xml index 38918d5406..ded83c1f17 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
Backing up and regularly syncing your Home Assistant configuration to Dropbox similar to Github Backup
You need 2 parts in order to get it working correctly.
-Become the user you run homeassistant from.
+You need two parts in order to get it working correctly.
+Become the user that run Home Assistant.
Download those files to a folder of your liking, after that edit both files and change paths accordingly.
-In the Python script you can specify which files and directories should be excluded. This allows you to skip secrets.yaml
or the deps
folder.
$ chmod +x dropbox_uploader.sh
$ ./dropbox_uploader.sh
Follow the instructions you see on your screen.
-Go to the folder you have placed dropbox.py.
+Go to the folder you have placed dropbox.py
.
$ python dropbox.py
The first time can take a lot of time since it will upload all your files! -Do note, this will backup your passwords to dropbox too
+Do note, this will backup your passwords to Dropbox.So you just made a full backup, next time you want it to be done automaticly. Since your database can change and so do other files over time. Add it to your crontab, edit the path/to part.
$ (crontab -l 2>/dev/null; echo "0 3 * * * python /path/to/dropbox.py") | crontab -
The python script is very crude, there is room for improvement with regards to not backing up certain files like cache or files that will be installed by HA again after reinstall. But it gets the job done.