User avatar
mad-hatter
Posts: 419
Joined: Sun Feb 26, 2012 2:58 pm
Location: By the UK seaside

rsync - question on usage flags

Wed Jan 14, 2015 12:27 pm

Hello,

I'm running my Pi from a hard disk.
I want to create a run-able copy of the system HDD to a new empty disk.
I decided to use rsync instead of dd because of possible different disk sizes.
I am going to use a fresh stand alone SD card just to do the copying.
I don't want to copy any data pointed to by any symlinks as this will be on other partitions.

1st. run
rsync -rxavHl /sda /sdb/

Subsequent backup runs
rsync -rxauvHl --delete /sda /sdb/

Would these be the correct flags?
I've read the manual, just want to make sure.

Regards

Return to “General discussion”