using dd to copy a file system to another server
I need top copy all personal user directories from within /home to another server's /home. Wouldn't dd be faster? I am not sure what the synctax would be?
dd if=/home of=remoret_server:/home not sure??? |
Don't know how to use dd.
one alternative is tar tar -cf - <from-directory> | (cd <to-directory>; tar -xvf - .) all attributes and symbolic links are preserved. |
Or if you are versed enough, you could setup NFS and just do a cp:
cp -a /home /mnt/server/home Assuming you've mounted the server's home at /mnt/server ;) Cool |
All times are GMT -5. The time now is 09:11 AM. |