# ssh root@vserver06 tar cf - --numeric-owner -C /mnt . | tar xf - --numeric-owner -C /mnt Naturally you need root access via ssh and the relative password or certificate. --numeric-owner needs to be specified or else tar uses usernames that can correspondo to different ids on different systems -C changes directory in the proper space to get and put the files If the source system is running, please exclude the proc, sys and dev trees. (--exclude='/proc/*' --exclude='/sys/*' --exclude='/dev/*') |
how-to_ >