[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howtos:general_admin:files_filesystem_copying_over_network [2013/02/10 16:56 (UTC)] – [Copy Files / Directories] sycamorexhowtos:general_admin:files_filesystem_copying_over_network [2013/02/10 16:59 (UTC)] – [Copy whole filesystem] Cleanup sycamorex
Line 27: Line 27:
 Please note that the ''scp'' command cannot copy the whole file system hierarchy including ''/proc'', ''/dev'' or ''/lost+found''. Fortunately, there is a workaround which was [[http://www.linuxquestions.org/questions/slackware-14/copy-whole-filesystem-via-scp-4175449321/#post4887869|provided]] by Patrick Volkerding. Please note that the ''scp'' command cannot copy the whole file system hierarchy including ''/proc'', ''/dev'' or ''/lost+found''. Fortunately, there is a workaround which was [[http://www.linuxquestions.org/questions/slackware-14/copy-whole-filesystem-via-scp-4175449321/#post4887869|provided]] by Patrick Volkerding.
  
-====== Copy whole filesystem ======+====== Copy whole filesystem hierarchy ======
  
-command +The following command should successfully copy a whole filesystem hierarchy: 
 <code bash> <code bash>
-ssh root@192.168.0.1 "(cd / ; tar cf - . )" | (mkdir -p /From_Old_Server ; cd /From_Old_Server ; umask 000 ; tar xvf -)+ssh root@192.168.0.1 "(cd / ; tar cf - . )" | (mkdir -p /local_dir ; cd /local_dir ; umask 000 ; tar xvf -)
 </code> </code>
  
-help us transfer full filesystems without stuck and pain from "old" to "new" computer. 
  
  
 howtos:general_admin:files_filesystem_copying_over_network ()