I have a /home/jbruni
folder in a VPS running Ubuntu Server 10.04 LTS (Lucid Lynx).
I am about to turn this VPS off and move some things from it to a new VPS, also running the same Ubuntu version.
At the moment, I want to move all contents at /home/jbruni
from the "old" VPS to the new one.
1) I want to preserve all file permission and ownership settings (I don't want to use any chown
or chmod
after the transfer). [Note: the new VPS already have the same users/groups with same UIDs/GIDs.]
2) I want to preserve all symlinks and hardlinks, although I believe there is not a single hardlink in this case. I have lots of symlinks, both for files and for folders, all pointing to locations inside the own /home/jbruni
folder.
3) I'd really like to preserve date and times (mtime, atime, ctime). [If not possible, ok... it is not that bad.]
4) I don't have enough disk space to create a big file containing everything in the "old" VPS prior to transfering it (like a big tarball). Anyway, I may acquire this temporary extra space if really really needed.
So, what I want is like a "mirror" of the source folder. Is there a way to accomplish this easily? (Or even not so easily?)
Thank you!