You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/application.rst
+4-1
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,10 @@ Data preservation & backups
47
47
48
48
- The SD card is by far **the weakest link** of this setup and **will** fail you some day.
49
49
50
-
- The application will, by default, create a backup every night. However, as the data is still stored **locally** on your 'vulnerable' SD card, you must export it off your RaspberryPi as well.
50
+
- The application will, by default, create a database backup every night.
51
+
52
+
- You can find them in the ``backups`` folder of the application. They either have a ``.sql`` or ``.gz`` extension, depending on whether compression is enabled in the backup configuration.
53
+
- However, as the data is still stored **locally** on your 'vulnerable' SD card, you must export it off your RaspberryPi as well.
51
54
52
55
- There is an builtin option to have backups synced to your **Dropbox**, *without exposing your Dropbox account and your private files in it*.
Copy file name to clipboardexpand all lines: docs/faq.rst
+54-2
Original file line number
Diff line number
Diff line change
@@ -135,8 +135,8 @@ This application displays separate tariffs by default, but supports merging them
135
135
Just make sure that you apply the **same price to both electricity 1 and 2** and enable the option ``Merge electricity tariffs`` in the frontend configuration.
136
136
137
137
138
-
I want to see my electricity phases as well
139
-
-------------------------------------------
138
+
I want to see the load of each electricity phase as well
Since ``DSMR-reader v1.5`` it's possible to track your ``P+`` (consumption) phases as well. You will need to enable this in the ``Datalogger configuration``.
141
141
There is a setting called ``Track electricity phases``. When active, this will log the current usage of those phases and plot these on the Dashboard page.
142
142
@@ -171,6 +171,58 @@ The gas meter positions are only be updated once per hour (for DSMR v4).
171
171
The Status page will give you insight in this as well.
172
172
173
173
174
+
How do I restore a database backup?
175
+
-----------------------------------
176
+
177
+
.. warning::
178
+
179
+
Restoring a backup will replace any existing data stored in the database and is irreversible!
180
+
181
+
.. note::
182
+
183
+
Do you need a complete reinstall of DSMR-reader as well?
184
+
Then please :doc:`follow the install guide<installation>` and restore the database backup **using the notes at the end of chapter 1**.
185
+
186
+
Only want to restore the database?
187
+
188
+
- This asumes you are still running the same application version as the backup was created in.
189
+
190
+
- Stop the application first with ``sudo supervisorctl stop all``. This will disconnect it from the database as well.
0 commit comments