Backup "unsupported" SD Card and move all data to Industrial SLC Card

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
User avatar
mehdi
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: Mon Nov 07, 2016 7:37 pm
Location: WA, USA
Contact:

Backup "unsupported" SD Card and move all data to Industrial SLC Card

Post by mehdi »

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.
-- Mehdi
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Backup "unsupported" SD Card and move all data to Industrial SLC Card

Post by admin »

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
  • 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
User avatar
mehdi
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: Mon Nov 07, 2016 7:37 pm
Location: WA, USA
Contact:

Re: Backup "unsupported" SD Card and move all data to Industrial SLC Card

Post by mehdi »

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!
-- Mehdi
Post Reply