billw2 / rpi-clone

A shell script to clone a booted disk.
BSD 3-Clause "New" or "Revised" License
2.48k stars 327 forks source link

rsync_options #143

Open Dan-Essin opened 1 year ago

Dan-Essin commented 1 year ago

I'm now running a clone operation. It is an understatement to say "(can take a long time)".It has now been running for over 10 hours.

I suggest that the rsync_options line: rsync_options="--force -rltWDEHXAgoptx"

be modified to include --progress: rsync_options="--force --progress -rltWDEHXAgoptx"

It would be nice to have some idea whether the clone is still actually copying or if the process is stalled for some reason.

framps commented 1 year ago

I agree. That's a useful rsync option when you start to use rpi-clone. But later on it should be removed because it will slow down the backup. Said this an additional rpi-clone option which adds this rsync option would be useful.