Will restore the data on the sd card
Restoring data on an SD card can be quite a difficult task, but there are several methods that you can try.
1. Use specialized data recovery software. There are many software products such as Recuva or EaseUS Data Recovery Wizard Free Edition. Install one of these programs and follow the instructions to scan your SD card and recover lost files.
2. Connect your SD card to the computer using a card reader or microSD-to-USB adapter (depending on the type of card). Then go to "My computer" (or "This computer") and find the drive corresponding to your SD card. Right-click on this disk -> select "Properties" -> go to the "Change" tab -> click the checkmarks directed against the values: read-only; protection against records - if you have them.
Check of course that you have access to all data
3. If you use Mac OS X, connect the sd card to the macbook via usb adapter or built-in slot and open “Disk Utility”. Select the SD card in the list on the left and click the "Restore" button. This will delete all data from the card, so make a backup first. After formatting, you can use data recovery software.
4. If these methods did not help, then you can try to seek professional help from data recovery specialists or companies that provide data recovery services.
Remember: the faster you start the recovery procedure after data loss, the better the chances of getting your files back.