diff --git a/docs/usersguide.htm b/docs/usersguide.htm index 5d02afc8..90395c42 100644 --- a/docs/usersguide.htm +++ b/docs/usersguide.htm @@ -2131,6 +2131,16 @@ report_services = weewx.engine.StdPrint, weewx.engine.StdReport to the bare minimum. However, this will only make a slight difference in execution speed and memory use.
+ +Weewx can be run either directly, + or as a daemon. When first trying + weewx, it is best to run it directly + because you will be able to see sensor output and diagnostics, as well + as log messages. Once everything is working properly, run it as a + daemon.
+To run weewx directly, invoke @@ -2254,16 +2264,6 @@ sudo /etc/init.d/weewx restart
sudo /etc/init.d/weewx reload-
Weewx can be run either directly, - or as a daemon. When first trying - weewx, it is best to run it directly - because you will be able to see sensor output and diagnostics, as well - as log messages. Once everything is working properly, run it as a - daemon.
- -Weewx logs many events to the system log. @@ -2423,20 +2423,13 @@ sudo /etc/init.d/weewx restart -
Finally, you will need to backup the database.
- For a SQLite configuration, you will need to backup the weewx.sdb file. -
-- Do not make the copy of the SQLite database while in the middle of a - transaction! Schedule the - backup for immediately after an archive record is written, and then make sure - the backup completes before the next archive record arrives. - Alternatively, stop weewx, perform the backup, then restart weewx. + For a SQLite configuration, make a copy of the weewx.sdb file.
| /var/lib/weewx/weewx.sdb |
+ Do not make the copy of the SQLite database while in the middle of + a transaction! Schedule the backup for immediately after an + archive record is written, and then make sure the backup completes + before the next archive record arrives. Alternatively, stop weewx, + perform the backup, then restart weewx. +
+For a MySQL configuration, save a dump of the archive database.
@@ -2457,8 +2459,8 @@ sudo /etc/init.d/weewx restartTo restore from backup, do a fresh install of - weewx then replace the default files with - those from a backup. Then start weewx. + weewx, replace the default files with + those from a backup, then start weewx.