Axel Mellinger replied to the topic 'How to back up SD card' in the forum. 1 year ago

Yes, I do periodic backups of my SD card. This way, if a new KStars/Ekos version causes any problems, I can always go back to a working installation.

After inserting the SD card into a card reader, which is plugged into my Linux machine, I run

sudo dd if=/dev/sdX of=backup.img bs=1M status=progress
(replace the "X" in /dev/sdX with the actual drive letter that's shown by the dmesg command after you have inserted your SD card into a card reader.)

Optionally, compress the image with a file compression tool of your choice. (For best compression results, I first delete all FITS files from the SD card and run zerofree on the loopback-mounted SD-card image to fill unused file system blocks with zeros. This brings the backup image size down from an uncompressed 64 GBytes to around 6 GBytes.)

For other operating systems, see here for ways to back up SD cards .

Axel

Read More...