Copy entire file system hierarchy from one drive to another
Problem
I would like to copy the entire file system hierarchy from one drive to another..i.e contents of each directory as well as regular files in Linux platform. Would be gratefull to know the best way to do that with possibly Linuxes in-built functions. The file system is a ext family.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: Copy entire file system hierarchy from one drive to another
What you want is rsync. This command can be used to synchronize a folder, and also resume copying when it's aborted half way. The command to copy one disk is: The options are: To improve the copy speed, add ( ), to avoid calculating deltas/diffs of the files. This is the default when both the source and destination are specified as local paths, since the real benefit of rsync's delta-transfer algorithm is reducing network usage. Also consider adding to avoid mapping uid/gid values by user/group…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix