I have an SD card (Transcend 16GB High Endurance TS16GUSDHC10V) in my hEX RB750Gr3 that I am using to store logs and the dude database and everything else I can have on it rather than the internal flash drive.
I want to replace the SD card before it wears out (side note, is there any way to check on how close it is to being worn out?), but I do not want to lose any data. However, I don't see any way to do that. Obviously I can replace the card, but then it will be a new, blank card, and even if the dude and the logger and scripts will still write to it, they will not pick up where they left off and append data, they will start over.
I don't readily have access to any other device that supports ext3 format or microSD cards. Is there some way for me to clone the SD card (maybe tar or something) over ssh and then restore it to the new card without things getting corrupted during the restore? Among other things, I'm worried that if I have to restore the data to the new SD card while the hEX is running, something will get corrupted as hEX continues to write to files while they are being restored.