JohnS Guru
 Joined: 18/11/2011 Location: United KingdomPosts: 4352 |
| Posted: 08:58am 20 Oct 2025 |
|
|
|
For the dd example, -r wouldn't be needed I think and both it & -v are only available on some dds. Instead of -v you can use status=progress (although even that is newish).
dd with mounted and active file systems isn't ideal but generally works well, though cp, rsync, tar and/or cpio are likely wiser :)
rsync is great for just copying changes (*) but bear in mind if you corrupt something your copy will inevitably also be corrupted - so backups you don't overwrite are a good idea (aka grandfather, father, son type backups etc).
(*) the r in rsync is for remote (across LAN/WAN/...) but it works locally too of course
John |