Hi, On Saturday, 17 February 2018 22:42:54 UTC+10, Cycle London wrote: > > Unrecoverable filesystem corruption on my Pi3. So I need to reinstall the > entire OS. > > Fortunately, I was running regular backups of the entire contents of > /home/weewx so I hope to be able to reinstall weewx and just 'drop' the > $HOME back in. > > I have two issues with which I'd like some advice: > > 1. which method did I use to install? I don't think I used apt-get, but > is there a way to tell? Is there a particular directory structure that > will tell me? Even if I use a different method, will the /home/weewx still > be the same format? >
The key is in the weeWX file locations/directory structure (aka where to find things) <http://weewx.com/docs/usersguide.htm#Where_to_find_things>. If your backup has all weeWX files (binaries, data, docs etc) under /home/weewx then you have a setup.py install <http://weewx.com/docs/usersguide.htm#Installing_using_the_Python_tool_setup.py> (or at some stage you did a setup.py install). Given you have a RPi, I expect you are using Raspbian or a Debian variant so if you did an apt-get install you will have weeWX spread across a number of directories as per the directory structure link at the start of this para. You could look in your apt logs (nominally in /var/log/apt) to see if you installed weeWX via apt, but if you don't have access to those logs any more probably not much help. In terms of restoring from backup, you should have no problems just restoring the backed up files provided (1) you are using the same OS and (2) you backed up all the weeWX files. If you did not backup all of the weeWX files and just backed up the config and data portions then you should still be able to restore from backup but make sure you have weeWX installed first using the same method/directory structure (setup.py or apt) before restoring. In this regard a setup.py install is very easy to back and restore, you just backup everything in /home/weewx and then restore to /home/weewx, no need to chase file/directories across you file system. 2. Can someone remind me how I install the Oregon Scientific WMR300 > driver? This was one of the first things I did, but can't remember how. > Other than finding the latest WMR 300 RC (check some of the latest WMR 300 threads) and installing as per the instructions in the repo readme or included as comments at the start of the driver .py file I cannot offer you any more help on this. Might need a WMR 300 user or developer for further help. Gary -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
