I want to reduce the partition size of the mmcblk0p2 because I want to copy everything to a smaller SD-Card. What is the safest way to do that? Via ssh at the commandline with some kind of commands, download a partition manager to dietpi or the best way to do the copy on a windows pc with a partition manager?
What is the recommend size of the partition mmcblk0p2? At present it shows 1.3G in use. All my userdata I have moved to an USB-Disk. Are these 1.3G the size of DietPi an apps?
I would liked to have used dd to make an image of everything but I have read that this will not work for the systempartition while up and running.
On our online docs we recommend a SD card of at least 4 GiB.
If you have a 2nd Linux box, you could use our DietPi image tool to create an img backup of your SD card. This would reduce size as well and could be used to flash to new SD card.