from 16Gb SD to 500Gb HDD - backup issues
Posted: Sunday 02 August 2020 10:23
After malformed database error log yesterday it was time for me to say goodbye to SD cards. So, I made my RPi3 bootable from USB and copied the SD card to a portable "my passport Western Digital" USB 500Gb hard disk that I had laying around. For the copy process the DD command was used in Ubuntu Linux on my desktop.
So far so good.
Questions:
- Do I need the expand the volume in RPI? Or will it use 16 of 500 Gb and that is ok?
- how to backup the complete filesystem? In the past I would use the DD command to copy the 16 Gb image to my NAS. Will it be 500 Gb now, if I use the same trick?
(Auto backup of the domoticz database is covered. Additional I want to make a manual copy of the complete filesystem every season or so)

Code: Select all
sudo dd bs=50M if=/dev/sdX of=/mnt/data/domoticz/image/20200418Rpi3Backup.img status=progress
Questions:
- Do I need the expand the volume in RPI? Or will it use 16 of 500 Gb and that is ok?
- how to backup the complete filesystem? In the past I would use the DD command to copy the 16 Gb image to my NAS. Will it be 500 Gb now, if I use the same trick?
(Auto backup of the domoticz database is covered. Additional I want to make a manual copy of the complete filesystem every season or so)
