Proper back-up/restore method?
Moderator: Mattk
Proper back-up/restore method?
I rebooted today to pick up the latest FW, Meteobridge 3.9 (Apr 18 2019, build 12765).
When I click the back-up button on the System Tab it appears the MB Pro just shuts off? My Pro internal flash died years ago (no luck getting a replacement) and I have been using the front USB with a 64G stick. I attempted to test a back-up by simply copying all files (properly shutdown of-course) off the currently working SD to a new one formatted FAT32. During boot with the new SD card the MB Pro simply formatted the SD card to EXT4, but I have read several places FAT32 is correct? The Database Maint, 'Restore database from' has no options to restore either?
I can't seem to locate a proper back-up/restore how-to on the main MB website, any help?
It would be even better if I could FTP/SFTP a backup as a Service daily, with some working option to restore.
When I click the back-up button on the System Tab it appears the MB Pro just shuts off? My Pro internal flash died years ago (no luck getting a replacement) and I have been using the front USB with a 64G stick. I attempted to test a back-up by simply copying all files (properly shutdown of-course) off the currently working SD to a new one formatted FAT32. During boot with the new SD card the MB Pro simply formatted the SD card to EXT4, but I have read several places FAT32 is correct? The Database Maint, 'Restore database from' has no options to restore either?
I can't seem to locate a proper back-up/restore how-to on the main MB website, any help?
It would be even better if I could FTP/SFTP a backup as a Service daily, with some working option to restore.
Re: Proper back-up/restore method?
Backup script assumes the the internal stick holds the database and that the external one is a FAT32 formatted thumb drive to hold the backups.
When you tell Meteobridge the external one is the the one to be used for the database, then this needs be formatted as ext4 and Meteobridge will do that.
Can I send you a new internal USB stick, industrial grade SLC, 2 GB? Where are you located?
When you tell Meteobridge the external one is the the one to be used for the database, then this needs be formatted as ext4 and Meteobridge will do that.
Can I send you a new internal USB stick, industrial grade SLC, 2 GB? Where are you located?
Re: Proper back-up/restore method?
Thanks for the offer, but I have plenty of good USBs laying round, didn't realize it was simply a stick and not soldered flash.
So how does one copy the DB from the front panel to the internal USB?
I installed a fresh internal stick, let the MB Pro format it to EXT4 on boot. I then shutdown the MB and copied all the files from the front stick root drive to the root drive of the internal, but it will not pick up/find the DB from the internal stick on the next boot, even when set to Internal DB via the System Maintenance section of the GUI. I verified all the files are present on the internal stick by mounting it via SSH from within the MB Pro.
EDIT:
I also verified the permissions were correct on all files copied to the internal USB stick.
So how does one copy the DB from the front panel to the internal USB?
I installed a fresh internal stick, let the MB Pro format it to EXT4 on boot. I then shutdown the MB and copied all the files from the front stick root drive to the root drive of the internal, but it will not pick up/find the DB from the internal stick on the next boot, even when set to Internal DB via the System Maintenance section of the GUI. I verified all the files are present on the internal stick by mounting it via SSH from within the MB Pro.
EDIT:
I also verified the permissions were correct on all files copied to the internal USB stick.
Re: Proper back-up/restore method?
That's a good offer, are your good USB's laying round industrial grade SLC, if not then consumer grade sticks will cause you issues
Re: Proper back-up/restore method?
No flash is trustworthy enough for proper backups, which is why automated FTP/SFTP etc schedulable backups are necessary. With a documented restore procedure, that I've personally tested.
I've still not found backup/restore documentation, and am still looking for help in returning my DB back to the internal storage so I can at min use the front USB for backups.
I've still not found backup/restore documentation, and am still looking for help in returning my DB back to the internal storage so I can at min use the front USB for backups.
Re: Proper back-up/restore method?
There is also the question of form/fit inside your MB PRO
Lou
Say what you will about Sisyphus. He always has work.
Say what you will about Sisyphus. He always has work.
Re: Proper back-up/restore method?
Could also use back USB.
Re: Proper back-up/restore method?
When you are using an external USB stick for holding the database, there is no way to do a backup (as the backup stick is expected to be where you have your stick to be backup already connected). It would drive me crazy to put all conditions of operating external sticks at the 2 USB ports available from the out side into the backup script.
Backup files are named "dbase-xxxx". When you copy this as file "dbase" to the root level of the ext4 on the main stick and start up the Meteobridge with this stick using as main storage it should show your backuped data.
Using non-SLC consumer sticks will again and again result into failed sticks. You should believe me on that, I learned it the hard way. There is a reason, why I buy these expensive ones for MB PROs since about 2 years and so far have had zero problems.
Re: Proper back-up/restore method?
This is exactly where i'm stuck, I can't make the backup file, so how do I get back to the internal USB stick, so I can make backups?
Like I explained above, I tried copying the raw files, but that failed to work.
-
- Fresh Boarder
- Posts: 7
- Joined: Mon Jan 29, 2018 6:10 pm
Re: Proper back-up/restore method?
Not directly on point to your post, and obviously this will not work for everyone, but my internal flash failed and in trying to see what I needed to fix it I opened the Pro and saw that it was a compact USB. I removed it, and when I plugged it into my PC I was able to repair it and reformat it. When I put it back into the Pro it worked fine and has been working fine ever since (has been many months now). Apparently it was some sort of formatting/corruption issue and did not seem to involve the hardware.dr.diesel wrote: ↑Thu Apr 18, 2019 7:51 pm I rebooted today to pick up the latest FW, Meteobridge 3.9 (Apr 18 2019, build 12765).
When I click the back-up button on the System Tab it appears the MB Pro just shuts off? My Pro internal flash died years ago (no luck getting a replacement) and I have been using the front USB with a 64G stick. I attempted to test a back-up by simply copying all files (properly shutdown of-course) off the currently working SD to a new one formatted FAT32. During boot with the new SD card the MB Pro simply formatted the SD card to EXT4, but I have read several places FAT32 is correct? The Database Maint, 'Restore database from' has no options to restore either?
I can't seem to locate a proper back-up/restore how-to on the main MB website, any help?
It would be even better if I could FTP/SFTP a backup as a Service daily, with some working option to restore.
Re: Proper back-up/restore method?
I was forced to fix the issue by buying an adapter cable and utilizing the rear USB port to make a backup, from there I successfully replaced the faulty internal USB stick.
I work in the embedded space and am well aware of the issues regarding various storage medium, which is why a proper non-usb related method needs implemented for everyone. However I am grateful for SSH access and will take care of this issue myself.
I work in the embedded space and am well aware of the issues regarding various storage medium, which is why a proper non-usb related method needs implemented for everyone. However I am grateful for SSH access and will take care of this issue myself.
Re: Proper back-up/restore method?
What did you replace the faulty USB stick with? (Make/NAND Type)