Pro Red Backup not working

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

Moderator: Mattk

Post Reply
woolfg
Expert Boarder
Expert Boarder
Posts: 157
Joined: Wed Mar 20, 2019 4:01 pm
Contact:

Pro Red Backup not working

Post by woolfg »

Hi

I have a Meteobridge Pro Red

I have inserted a USB Stick into the front for backups
I have also set up a service as shown
Backup.jpg
Backup.jpg (36 KiB) Viewed 3000 times
I get the following error
backup1.jpg
backup1.jpg (21.79 KiB) Viewed 3000 times
Any idea what might be wrong

Thanks

Graham
BigAlT
Gold Boarder
Gold Boarder
Posts: 198
Joined: Tue Jul 04, 2017 8:41 pm
Location: Washington State

Re: Pro Red Backup not working

Post by BigAlT »

See the earlier post ( viewtopic.php?f=61&t=15005 ).
woolfg
Expert Boarder
Expert Boarder
Posts: 157
Joined: Wed Mar 20, 2019 4:01 pm
Contact:

Re: Pro Red Backup not working

Post by woolfg »

Hi

Yes i have read that but it hasnt helped

I have formatted my USB stick to FAT32 and put it in the front USB socket

Rebooted Pro

Logged in using Putty this is what I see
Putty.jpg
Putty.jpg (87.54 KiB) Viewed 2986 times
My USB drive is 8Gb and I dont think it is showing

I dont want to change the backup.sh script unless I need to,

Regards

Graham
woolfg
Expert Boarder
Expert Boarder
Posts: 157
Joined: Wed Mar 20, 2019 4:01 pm
Contact:

Re: Pro Red Backup not working

Post by woolfg »

Hi

I cannot get my Pro Red to see either the front or rear USB devices

They dont show when I do df -h

Am I missing something here ?

Any help much appreciated

Thanks

Graham
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Pro Red Backup not working

Post by admin »

USB stick needs to be partitioned with one FAT32 partition, as they come from manufacturer.
Backups only work, when you are using the internal USB as base storage media.

Not sure what you are trying to do on the linux command shell. External USB stick is just mounted for backup process and unmounted after that to allow for pulling out. As you see, this is all a bit more sophisticated as it looks from a standard linux user perspective ;-)
woolfg
Expert Boarder
Expert Boarder
Posts: 157
Joined: Wed Mar 20, 2019 4:01 pm
Contact:

Re: Pro Red Backup not working

Post by woolfg »

Hi

Thanks for the reply

I have formatted it to FAT32

Its plugged into the rear port

I have created the service as shown but still getting no target media found

I really dont know what else to do

Regards

Graham
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Pro Red Backup not working

Post by admin »

It needs to by partitioned with one partition (/dev/sda, /dev/sda1 in linux terms) and the partition (/dev/sda1) needs to be formatted as FAT32.
Please also try with the front USB port.
woolfg
Expert Boarder
Expert Boarder
Posts: 157
Joined: Wed Mar 20, 2019 4:01 pm
Contact:

Re: Pro Red Backup not working

Post by woolfg »

Hi

Front port now works

I dont know why the rear port didnt though

Regards

Graham
woolfg
Expert Boarder
Expert Boarder
Posts: 157
Joined: Wed Mar 20, 2019 4:01 pm
Contact:

Re: Pro Red Backup not working

Post by woolfg »

Hi

Now I have the front USB stick working and saving backups can someone tell me how I can access the USB stick over my network using Windows 10

I can see my data folders but not the backups on USB

I would like to be able to copy the backups to a drive on my windows pc

Kind Regards

Graham
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Pro Red Backup not working

Post by admin »

The content of the USB stick is not shared via SMB as the stick gets unmounted when backup is done.
User avatar
galfert
Platinum Boarder
Platinum Boarder
Posts: 326
Joined: Sun Jun 24, 2018 10:31 pm
Location: Orlando, FL

Re: Pro Red Backup not working

Post by galfert »

For weather data backup to PC I recommend setting up a mySQL database or compatible database like MariaDB. Then the Meteobridge can send the data over the network to your PC. But the PC will need to be running 24/7. For this reason the PC should be something like a Raspberry Pi or a NAS or some other device that was designed to run well 24/7.

Here is a good write up to show you how to start:
https://www.stevejenkins.com/blog/2015/ ... teobridge/

I highly recommend you become familiarized with the way to manage data variables so that you can send data to your database in exactly the way you want:
https://www.meteobridge.com/wiki/index.php/Templates

Below is the mySQL query on my Meteobridge that I send to my MariaDB running on my Synology NAS. I have some customization to deal with a PM2.5 sensor that tends to sometimes catch me off guard when its battery charge runs out so I put in a condition so that I can continue to get all the other data. I'm sending the data in imperial units but you could make it all metric if you prefer:

Code: Select all

INSERT INTO `mystation` (`ID`, `DateTime`, `TempOutCur`, `HumOutCur`, `PressCur`, `DewCur`, `HeatIdxCur`, `WindChillCur`, `TempInCur`, `HumInCur`, `WindSpeedCur`, `WindAvgSpeedCur`, `WindDirCur`, `WindDirCurEng`, `WindGust10`, `WindDirAvg10`, `WindDirAvg10Eng`, `RainRateCur`, `RainDay`, `RainYest`, `RainMonth`, `RainYear`, `UV`, `Solar`, `PM2.5`) VALUES (NULL, '[YYYY]-[MM]-[DD] [hh]:[mm]:[ss]', '[th0temp-act=F]', '[th0hum-act]', '[thb0seapress-act=inHg.2]', '[th0dew-act=F]', '[th0heatindex-act=F]', '[wind0chill-act=F]', '[thb0temp-act=F]', '[thb0hum-act]', '[wind0wind-act=mph]', '[wind0avgwind-act=mph]', '[wind0dir-act]', '[wind0dir-act=endir]', '[wind0wind-max10=mph]', '[wind0dir-avg10]', '[wind0dir-avg10=endir]', '[rain0rate-act=in.2]', '[rain0total-daysum=in.2]', '[rain0total-ydaysum=in.2]', '[rain0total-monthsum=in.2]', '[rain0total-yearsum=in.2]', '[uv0index-act]', '[sol0rad-act]', CASE '#if#{*[air0pm-age:999]<300*}#then#GOOD#else#BAD#fi#' WHEN 'GOOD' THEN '[air0pm-max5=.0]' ELSE NULL END)
Meteobridge RPI | GW1000
Post Reply