On 08/11/2022 12:45, Tom Keffer wrote:
> Don't know why you'd have to edit weewx.conf, but that looks reasonable.
>
> On Tue, Nov 8, 2022 at 4:33 AM Mark Fraser <
mfr...@gmail.com
> <mailto:
mfr...@gmail.com>> wrote:
>
> On 08/11/2022 12:30, Tom Keffer wrote:
> > For any mutating change you should not only stop weewx, but
> backup the
> > database.
> >
> > On Tue, Nov 8, 2022 at 1:24 AM Mark Fraser <
mfr...@gmail.com
> <mailto:
mfr...@gmail.com>
> > <mailto:
mfr...@gmail.com <mailto:
mfr...@gmail.com>>> wrote:
> >
> > I'm planning on renaming 2 columns in my weewx database using
> > wee_database --rename-column --to-name.
> >
> > Before I do this is it recommended that I stop weewx first?
>
> Yes, I was planning on doing a backup too. So I think my plan is:
> 1) Edit weewx.conf
> 2) Stop weewx
> 3) Back up database
> 4) Rename columns
> 5) Restart weewx
I need to change the name of 2 of the sensors, hence why I'm renaming
the columns in the database.