Home folder synced to HD: results differ!

by ssssstut   Last Updated July 10, 2018 13:02 PM

I'm new to Ubuntu. I would like to have an exact copy of my home folder on my Hard drive.

I've tried the following (no programs running on Ubuntu):

1. Copy-paste ~/ to /dest1/ per drag and drop in nautilus

--> du -s differs and diff -r ~/ /dest1/ differs (more files in src)

2. rsync -ahv ~/ /dest1/ du -s differs and diff -r ~/ /dest1/ differs (more files in src)

3. sudo rsync -ahv ~/ /dest2/

--> du -s differs and diff -r ~/ /dest2/ differs (more files in src)

4. sudo cp -a ~/. /dest3/

--> du -s differs and diff -r ~/ /dest2/ differs (more files in src)

Then I ejecdted HD from ubuntu and compared folders via Windows:

dest3 and dest2 are identical dest 1 contains one more file

What can I do to exactly mirror my home folder to a HD?



Related Questions



df gives unexpected output

Updated April 12, 2017 21:02 PM


Why do df and du show different output?

Updated July 01, 2016 08:00 AM