Delete RPi Database

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
hymrog
Expert Boarder
Expert Boarder
Posts: 83
Joined: Sat Feb 01, 2014 1:25 am
Contact:

Delete RPi Database

Post by hymrog »

Hi -

I have recently moved and I am looking to start up a new station at my new location and wondering how to delete all the data (8 years worth) that is stored in the database without needing to reinstall/reimage Meteobridge.

Platform: Raspberry Pi 3 Model B+
RAM: 941 MB total, 826 MB free (12% used)
Storage: WD SLC, 29.3 GB total, 26.9 GB free (8% used, 3766.9 yrs)
SW Version: Meteobridge 5.4 (Jul 8 2022, build 2578), FW 1.3

Thanks
g
User avatar
Gyvate
Platinum Boarder
Platinum Boarder
Posts: 453
Joined: Thu May 14, 2020 4:36 pm
Location: Saarbrücken, Germany

Re: Delete RPi Database

Post by Gyvate »

there is a radical solution:
connect to your MB via SSH (e.g. PuTTY) - user and password are the same as for your web interface.
issue the below commands
# cd /tmp/mnt
# rm dbase*
# reboot
MB will start with a new database

it will be good to save your configuration before (System--> Administration) - so in case it also loses its configuration you can simply reload that. Change of station, if necessary, will be simple.
WH4000SE 1.6.6/1 x DP1500/4 x GW1000 1.7.7/GW1100 2.3.0/HP1000SE Pro 1.9.3//2 x WH2650 1.7.7/GW2000 3.1.0
2xMeteobridge Pro [B+R] 15161, 2xRPi4B-2GB/16/32 3139,VM128 1704
Weather Landing page: https://meshka.eu
Ecowitt WiKi: https://meshka.eu/Ecowitt/dokuwiki
hymrog
Expert Boarder
Expert Boarder
Posts: 83
Joined: Sat Feb 01, 2014 1:25 am
Contact:

Re: Delete RPi Database

Post by hymrog »

Hi

I will give it a whirl..

g
Post Reply