clone/copy "all' files/users from srvrA to srvrB

Ralf Mardorf kde.lists at yahoo.com
Mon Dec 18 16:31:10 UTC 2023


Hi,

I can't comment on ssh. However, there is another problem besides the
ssh problem.

You cannot copy all files of a running Linux installation by itself
while it's running, unless the file system allows you to make snapshots.

A file system such as ext4 must be copied from another Linux while the
Linux to be copied is shut down.

Regards,
Ralf

PS: A brief explanation of cp.

-T avoids gobbing issues
-a does copy everything (excepted of sockets and other special
   "files") recursively by preserving permissions and attributes
-i to prompt before overwriting something, just in case



More information about the ubuntu-users mailing list