NOTE: You, not the author of HamPi, are responsible for making backups and otherwise keeping your existing files safe. These instructions are provided for convenience only, and hopefully do not cause you, the end user, issues. (These instructions have only been briefly tested.) Step 1: Backup Pi Home Directory using the following command (it is all one line): cd /tmp && tar --use-compress-program=pigz -cvf pi_home_dir.tar.gz --exclude-caches --exclude "pi/.cache/" --exclude "pi/Downloads/*" --exclude "pi/GridTracker/*" --exclude "pi/HamRadio/*" --exclude "pi/YAAC/*" --exclude "pi/dump1090_1.3.1_sdrplay/*" --exclude "pi/wsjtx_to_n3fjp/*" --exclude "pi/pyqso-1.1.0/*" --exclude "pi/Documents/GridTracker/*" --exclude "pi/Documents/ardop-list/*" --exclude "pi/.local/lib/python3.7/*" --exclude "pi/perl5/*" --exclude "pi/ardop/*" --absolute-names --preserve-permissions /home/pi/ Step 2: Save your backup somewhere off the Pi Then copy the file "pi_home_dir.tar.gz" on to external media, for example, a USB memory stick. Step 3: Flash the new HamPi image to a new (micro)SD card. Step 4: Copy the file "pi_home_dir.tar.gz" to your /tmp directory on the new HamPi card. Step 5: This is optional. If you want to see what files will be replaced on your new HamPi card, you may run Tar in a test or dry run mode: cd /tmp && tar -ztvf pi_home_dir.tar.gz --skip-old-files Step 6: Restore Pi Home Directory using the following command (it is all one line): cd /tmp && tar -zxvf pi_home_dir.tar.gz --skip-old-files Step 7: Reboot sudo reboot