from 16Gb SD to 500Gb HDD - backup issues

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
renerene
Posts: 351
Joined: Wednesday 03 August 2016 11:36
Target OS: -
Domoticz version:
Contact:

from 16Gb SD to 500Gb HDD - backup issues

Post by renerene »

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.

Code: Select all

sudo dd bs=50M if=/dev/sdX of=/mnt/data/domoticz/image/20200418Rpi3Backup.img  status=progress
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)

Image
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest