[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

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
es:howtos:general_admin:files_filesystem_copying_over_network [2019/02/07 20:10 (UTC)] – [How to copy files \ directories \ filesystems via network.] slackwarespanoles:howtos:general_admin:files_filesystem_copying_over_network [2019/08/08 18:17 (UTC)] (actual) – [Sources] slackwarespanol
Línea 1: Línea 1:
-<note warning>En proceso de traducción. Victor</note> 
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
 ====== Cómo copiar archivos \ directorios \ sistemas de archivos a través de la red. ====== ====== Cómo copiar archivos \ directorios \ sistemas de archivos a través de la red. ======
Línea 11: Línea 10:
  
  
-====== Copy Files Directories ====== +====== Copiar archivos directorios ====== 
-If you need to copy single files or directoriesyou can use the ''scp'' command:\\ +Si necesita copiar archivos o directorios individualespuede usar el comando '' scp '': \\
  
 <code> <code>
Línea 18: Línea 17:
 </code> </code>
  
-Flag explanation: +Explicación de las opciones 
-   -r: recursive (copy all the content of ''/etc'' including its subdirectories+   * -r: recursivo (copia todo el contenido de '' /etc '' incluyendo sus subdirectorios
-   -p: preserve file attributes (eg. file creation or modification times+   * -p: preservar los atributos del archivo (por ejemplo, tiempos de creación o modificación del archivo
-   -v: verbose output+   * -v: salida detallada
  
-In the example above we copy the ''/etc'' directory located on a remote host (the old server: 192.168.0.1) to ''/local_dir'' on the local host ("newserver). +En el ejemplo anterior, copiamos el directorio '' / etc '' ubicado en un host remoto (el servidor antiguo: 192.168.0.1) en '' / local_dir '' en el host local (servidor "nuevo").
  
-Please note that the ''scp'' command cannot copy the whole file system hierarchy including ''/proc'', ''/dev'' or ''/lost+found''Fortunatelythere is a workaround which was [[http://www.linuxquestions.org/questions/slackware-14/copy-whole-filesystem-via-scp-4175449321/#post4887869|provided]] by Patrick Volkerding.+Tenga en cuenta que el comando '' scp '' no puede copiar toda la jerarquía del sistema de archivos, incluyendo '' /proc '', '' /dev '' '' /lost + found ''Afortunadamentehay una solución que fue [[http://www.linuxquestions.org/questions/slackware-14/copy-whole-filesystem-via-scp-4175449321/#post4887869|provided]] por Patrick Volkerding.
  
-====== Copy whole filesystem hierarchy ======+====== Copiar toda la jerarquía del sistema de archivos ======
  
-The following command should successfully copy a whole filesystem hierarchy+El siguiente comando debe copiar con éxito una jerarquía completa del sistema de archivos:
 <code bash> <code bash>
 ssh root@192.168.0.1 "(cd / ; tar cf - . )" | (mkdir -p /local_dir ; cd /local_dir ; umask 000 ; tar xvf -) ssh root@192.168.0.1 "(cd / ; tar cf - . )" | (mkdir -p /local_dir ; cd /local_dir ; umask 000 ; tar xvf -)
Línea 45: Línea 44:
 <!-- * Originally written by [[wiki:user:xxx | User X]] --> <!-- * Originally written by [[wiki:user:xxx | User X]] -->
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
-  * Originally written by [[wiki:user:wisedraco|John Ciemgals]] 2013/02/10 03:51 \\ +  * Escrito originalmente por[[wiki:user:wisedraco|John Ciemgals]] 2013/02/10 03:51 \\ 
-  * With help from Patrick Volkerding +  * Con la ayuda de Patrick Volkerding 
 +  * Traducido por:  [[wiki:user: slackwarespanol | Victor]] 2019/08/08 18:15 (UTC)
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
 {{tag>howtos copy ssh}} {{tag>howtos copy ssh}}
 es:howtos:general_admin:files_filesystem_copying_over_network ()