I've been running Meteobridge on a Raspberry Pi 4 Model B for a while. I was not able to find a supported SLC card initially and started with using an unsupported SD card.
I have now purchased a supported Industrial SLC SD card and would like to transfer the data from my old SD card to this new supported SLC SD card.
I looked in the forums, but I was not able to find how to backup the entire configuration and databased and transfer them to this new card.
Is there a process/post on how this can be done?
Thank you for the help.
Backup "unsupported" SD Card and move all data to Industrial SLC Card
Moderator: Mattk
Re: Backup "unsupported" SD Card and move all data to Industrial SLC Card
If new card has same size or is larger than old one you can make a direct low level copy via dd on the base devices. When new card is larger you can use fdisk on base device to enlarge data partition and later use resize2fs to enlarge data file system. I will need you to have aLinux system at hand that can access the SD cards. You will need some deeper device/partition/filesystem understanding to do that.
As an alternative you can
As an alternative you can
- store settings on your PC (on system-admin tab)
- do backup of database to /data/backup folder, copy to your PC via SMB mount
- copy self-created templates from /data/templates to your PC via SMB mount
- setup the new SD card as you did with the old one and start Meteobridge with new SD card
- restore settings previously stored on "System - Admin" tab.
- copy database backup onto /data/backup folder via SMB mount
- restore database from that on database-admin tab
- restore previously saved files from /data/templates folder
Re: Backup "unsupported" SD Card and move all data to Industrial SLC Card
I used to have a 64GB unsupported SD card but moved to a 16GB SLC card now. I used the manual steps you listed and my Meteobridge is up and running again.
Thank you for your help!
Thank you for your help!
-- Mehdi