Page 1 of 1

NANO SD memory upgrade issue. **solved**

Posted: Tue Oct 11, 2022 9:45 am
by Eucalyptus
Hi,

I have a NANO SD with the original 2GByte SLC card fitted. I wanted to upgrade the memory with a 16Gbyte SLC card, SDSDQED-016G-XI which is on the approved SLC card list.

I would like to keep the database that is present on the original memory card. To accomplish this I was hoping to generate a backup of the existing database and store it on a computer. The new card would then be fitted and hopefully I would be able to restore the old database to the new SD card.

The NANO Tutorial #3 describes how a backup file is generated. I have successfully generated a backup file with the .gz extension which is observable on a PC network drive as described in the video. However I can't copy the file to store it "off site " from the NANO SD. The file just won't copy and the host computer locks up!

Maybe I've missed something?

Does anyone know how to do this please, or even it is possible?

Thank you.

Emma

Re: NANO SD memory upgrade issue.

Posted: Tue Oct 11, 2022 2:51 pm
by Gyvate
I'm not familiar with the backup procedure of a MB NANO SD but with the MB Pro and MB on RPi.
What I would do in your case is:
- connect to your NANO via SSH (puTTY program)
- mount the database directory into the exported file system
- copy the existing database files to your PC
#mkdir /tmp/mnt/data/database
#mount /tmp/mnt /tmp/mnt/data/database
now on your WIndows PC all the actual MB database files (everything which starts with "dbase") should be visible in the \\METEOBRIDGE\data\database directory
you either mark all the database files with the Windows File Explorer and copy them somewhere on your PC, e.g. C:\temp\MB\database
(directory on your drive to be created first) or
from a Windows command console prompt enter
xcopy \\METEOBRIDGE\data\database\dbase*.* C:\temp\MB\database\*.*

now you have an actual backup of your database on your PC (outside the exported file system which is only by reference "on the "Windows PC" - physically it is still on the NANO SD and will disappear when you exchange the SDcard)

after having installed MB on the 16 GB SDcard, you have to create the directory in the exported file system again and mount the database directory again:
connect with PuTTY to your NANO
#mkdir /tmp/mnt/data/database
#mount /tmp/mnt /tmp/mnt/data/database
and copy the database files back from the Windows PC (console windows on your Windows PC)
e.g. xcopy C:\temp\MB\database\*.* \\METEOBRDIGE\data\database
restart/reboot your NANO ...

Re: NANO SD memory upgrade issue.

Posted: Tue Oct 11, 2022 3:18 pm
by Eucalyptus
Hi Gyvate,

Thank you for your very detailed reply.

After trying many different ways to access the file I think I have found the solution just before you wrote your reply...

Please see below in the release notes for 5.2 firmware.

"released January 4/5, 2022:

Meteobridge PRO, NANO SD, RPI: adds a tool at "http://ip-of-your-meteobridge/cgi-bin/download.cgi" which allows download of files in folders "charts", "export" and "backup" (not for MB PRO) with a web browser. Web GUI password will apply to have access to the folders. You can still also upload data to some folders by calling "http://ip-of-your-meteobridge/upload.html".

So far it appears to enable me to store the .gz file on my computer without it crashing and it appears to allow me to reload the saved .gz file back into the NANO SD.

I have the latest firmware in the NANO SD.

I will provide a final update very soon.

Thank you again.

Emma

Re: NANO SD memory upgrade issue.....Fixed

Posted: Wed Oct 12, 2022 12:30 am
by Eucalyptus
Everything worked perfectly.