I have just built a Raspberry PI and loaded the new software simple to install and works great.
The problem I am having is that if I take my USB stick out of my Meteobridge Pro RED that has the backup information the Raspberry PI can’t see any back up information to restore. I can complete a backup on the Raspberry PI and it has back up information on the USB drive but never sees anything to be restored like the Pro RED.
The USB drive is formatted as FAT 32 and works correctly in the Meteobridge Pro RED.
Thank You
John
Unable to restore database from Pro RED to RPI. **solved**
Moderator: Mattk
Re: Unable to restore database from Pro RED to RPI
I recently discovered that FAT32 does not work on MB RPI. You can however use ext3 and ext4 formatted media. I would opt for ext4 because it has better protection against unexpected power down. Although I can create a backup with the MB RPI after inserting a properly formatted USB drive, I'm not able to restore it without some added manual configuration.
The problem is that the MB RPI is looking for the backup file in an internal directory on the SD card rather than on the USB driver. The USB drive is not getting mounted automatically. You can remedy this by manually mounting the USB drive Here is what I recommend. This is a temporary solution and I think a more permanent solution will require a firmware update... But if you want to do this on your own now read on to see how it is done.
The first step is to ensure that the USB drive is properly formatted in ext4. That is the file system that I'm recommending. You can't format to ext4 with Windows. If you need help formatting the USB to ext4 then I suggest that you read this post:
https://www.wxforum.net/index.php?topic=40946.0
Actually just read the rest of the process in that other thread that I linked. That way I don't have to double post across two forums.
Summary: If you manually mount the USB drive to folder /tmp/mnt/data/backup then you'll be able to backup and restore to and from the USB drive.
This is likely a temporary manual fix. I can only imaging that more than likely a more permanent firmware update will make this process simpler.
The problem is that the MB RPI is looking for the backup file in an internal directory on the SD card rather than on the USB driver. The USB drive is not getting mounted automatically. You can remedy this by manually mounting the USB drive Here is what I recommend. This is a temporary solution and I think a more permanent solution will require a firmware update... But if you want to do this on your own now read on to see how it is done.
The first step is to ensure that the USB drive is properly formatted in ext4. That is the file system that I'm recommending. You can't format to ext4 with Windows. If you need help formatting the USB to ext4 then I suggest that you read this post:
https://www.wxforum.net/index.php?topic=40946.0
Actually just read the rest of the process in that other thread that I linked. That way I don't have to double post across two forums.
Summary: If you manually mount the USB drive to folder /tmp/mnt/data/backup then you'll be able to backup and restore to and from the USB drive.
This is likely a temporary manual fix. I can only imaging that more than likely a more permanent firmware update will make this process simpler.
Meteobridge RPI | GW1000
Re: Unable to restore database from Pro RED to RPI
galfert,
Thank You for the reply I did see some of the information that you referenced in the forum post but I was recently unable to find the actual link.
I will attempt to do the restore but it should only need to be done once so no problem without making permeant and will wait for a future update to make the process smoother.
I do have one other concern when sharing I have a Pro RED that is named meteobridge and the RPI is named MeteoBridge on the same network is their a way of changing the names so they are not confused? Will the names get confused on the network if they are not changed?
Thank You for the reply I did see some of the information that you referenced in the forum post but I was recently unable to find the actual link.
I will attempt to do the restore but it should only need to be done once so no problem without making permeant and will wait for a future update to make the process smoother.
I do have one other concern when sharing I have a Pro RED that is named meteobridge and the RPI is named MeteoBridge on the same network is their a way of changing the names so they are not confused? Will the names get confused on the network if they are not changed?
Re: Unable to restore database from Pro RED to RPI
Having two devices on the network with the same hostname is only a problem if you need to connect to them by name. If you instead connect to them by IP address then there should be no problem because they will have different MAC address and therefore they will get a different IP address from the DHCP server on your network.
With OpenWrt you can change the hostname by doing the following:
uci set system.@system[0].hostname=NewHostName
uci commit
reboot
But the Meteobridge code causes it to not stick and revert back to "MeteoBridge" therefore you can't change it. There must be a reason why the hostname is not able to be changed but I'm not aware of it. Again though I don't think it is really an issue. Just refer to both Meteobridge by IP address and there will not be any problems.
I'm currently running two Meteobridges on the same network, a TP-Link and a RPI and it doesn't seem to be a problem...other than the annoyance that I can't map SMB or do SSH by hostname. But this is temporary for me as I transition to RPI.
With OpenWrt you can change the hostname by doing the following:
uci set system.@system[0].hostname=NewHostName
uci commit
reboot
But the Meteobridge code causes it to not stick and revert back to "MeteoBridge" therefore you can't change it. There must be a reason why the hostname is not able to be changed but I'm not aware of it. Again though I don't think it is really an issue. Just refer to both Meteobridge by IP address and there will not be any problems.
I'm currently running two Meteobridges on the same network, a TP-Link and a RPI and it doesn't seem to be a problem...other than the annoyance that I can't map SMB or do SSH by hostname. But this is temporary for me as I transition to RPI.
Meteobridge RPI | GW1000
Re: Unable to restore database from Pro RED to RPI
galfert,
Once more thank You for you reply I have been using the IP's to access them to eliminate any questions to which one I am accessing.
John
Once more thank You for you reply I have been using the IP's to access them to eliminate any questions to which one I am accessing.
John