I need to transfer the contents of my SD card (raspbian setup, so fat32 + ext4) to a new SD card because it's approaching end of life. Indeed this filesystem was created with
badblocks' aid to
mkfs which skips bad locations.
Now, it's has been discussed the proper way to copy the fs; but I can't do that right away because I don't have a way to physically mount two SDHC at the same time. So I thought one way (there could be others) could be "buffering" that old fs to a certain directory on my other machine (e.g.
/tmp/fs) and only then transfer to the new card.
My questions is: is it safe to do so? I do know care must be taken when copying filesystems around. Are there any other ways?