{"id":707,"date":"2010-03-23T11:56:09","date_gmt":"2010-03-23T10:56:09","guid":{"rendered":"http:\/\/www.xarcom.net\/blog\/?p=707"},"modified":"2010-03-23T12:01:37","modified_gmt":"2010-03-23T11:01:37","slug":"programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe","status":"publish","type":"post","link":"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/","title":{"rendered":"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe"},"content":{"rendered":"<h1><span style=\"color: #3366ff;\">Programar una copia de seguridad de ghettoVCB.sh con Plink.exe<\/span><\/h1>\n<p><span style=\"color: #000000;\">Esta ser\u00eda otra manera de programar una copia de seguridad en <a title=\"Descarga de ghettoVCB.sh\" href=\"http:\/\/communities.vmware.com\/servlet\/JiveServlet\/download\/8760-47-32036\/ghettoVCB.sh\" target=\"_blank\">ghettoVCB.sh<\/a> con la aplicaci\u00f3n <a title=\"Descarga de Plink.exe\" href=\"http:\/\/www.chiark.greenend.org.uk\/ ~ sgtatham \/ putty \/ download.html\" target=\"_blank\">Plink.exe<\/a>. <\/span><span style=\"color: #000000;\">En los enlaces podemos pinchar para descargar este software. Tambi\u00e9n podremos descargar el <a title=\"Archivo muestra VMs a copiar\" href=\"http:\/\/communities.vmware.com\/servlet\/JiveServlet\/download\/8760-47-31623\/ghettoVCB-vm_backup_configuration_template\" target=\"_blank\">archivo template<\/a> para que ghettoVCB.sh pueda llamar a las VMs que queremos efectuar copia de seguridad.<\/span><\/p>\n<p><span style=\"color: #000000;\">Primero de todo deberemos de <a title=\"Abrir puerto ssh en ESXi\" href=\"http:\/\/www.xarcom.net\/blog\/index.php\/abrir-puerto-ssh-en-esxi\/\" target=\"_blank\">habilitar el puerto 22 de ssh<\/a> en nuestro ESXi.<\/span><\/p>\n<p><span style=\"color: #000000;\">Descargaremos este software y lo pondremos en una carpeta en nuestra m\u00e1quina de Windows Lanzadera. Llam\u00e9mosla \u00abLanzadera\u00bb<\/span><\/p>\n<p><span style=\"color: #000000;\">Configuraremos ghettoVCB.sh (destino de copia, que historial de copias queremos, etc) y prepararemos el archivo template como si estuviera puesto en un servidor ESXi.<\/span><\/p>\n<p><span style=\"color: #000000;\">Una vez est\u00e1 preparada desde el VI CLient(ESXi\u00a0v3.5)\u00a0o VSphere Client (ESXi\u00a0v4.0) crearemos en alg\u00fan datastore del servidor ESXi una carpeta que por ejemplo se llame \u00abbackup\u00bb, y subiremos el archivo ghettoVCB.sh y el archivo_template donde ya habremos puesto los nombres de las VMs virtuales a copiar.<\/span><\/p>\n<p><span style=\"color: #000000;\">Una vez subido los archivos al datastore,\u00a0<\/span><span style=\"color: #000000;\">crearemos un archivo con extensi\u00f3n .bat en el equipo con Windows, que lo podremos llamar como queramos.<\/span><\/p>\n<p><span style=\"color: #000000;\">Y en su interior indicaremos los siguiente:<\/span><\/p>\n<p><span style=\"color: #000000;\">Sintaxi:<\/span><\/p>\n<pre><span style=\"color: #000000;\">plink -ssh -pw\u00a0<span style=\"color: #ff0000;\">nuestro_password<\/span>\u00a0 <span style=\"color: #008000;\"><a href=\"mailto:usuario_poder@ipservidor_esxi\">usuario_poder@ipservidor_esxi<\/a><\/span>\u00a0 <span style=\"color: #ff6600;\">\/ruta_archivo.sh\/archivo.sh<\/span><\/span><\/pre>\n<p><span style=\"color: #000000;\">Ejemplo pr\u00e1ctico:<\/span><\/p>\n<pre><span style=\"color: #000000;\">plink -ssh -pw\u00a0Pass <a href=\"mailto:root@192.168.0.200\">root@172.26.0.250<\/a> \/vmfs\/volumes\/datastore1\/backup\/ghettoVCB.sh<\/span><\/pre>\n<p><span style=\"color: #000000;\">Donde Pass ser\u00e1 nuestro password del root en el host ESXi.<\/span><\/p>\n<p><span style=\"color: #000000;\">Guardaremos el archivo.bat y lo podemos ejecutar, veremos que se lanza el Plink.exe y comienza a hacer la copia de seguridad con ghettoVCB<\/span><\/p>\n<p><span style=\"color: #000000;\">Y ya para rematarlo, podremos incluir en nuestro Programador de tareas el trabajo.<\/span><\/p>\n<p><span style=\"color: #000000;\">Y listo<\/span><\/p>\n<p><span style=\"color: #000000;\"><a title=\"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe\" href=\"http:\/\/www.xarcom.net\" target=\"_blank\">\u00a0Programar una copia de seguridad de ghettoVCB.sh con Plink.exe<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Programar una copia de seguridad de ghettoVCB.sh con Plink.exe Esta ser\u00eda otra manera de programar una copia de seguridad en ghettoVCB.sh con la aplicaci\u00f3n Plink.exe. En los enlaces podemos pinchar para descargar este software. Tambi\u00e9n podremos descargar el archivo template para que ghettoVCB.sh pueda llamar a las VMs que queremos efectuar copia de seguridad. Primero [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,10],"tags":[244,243,138,241],"class_list":["post-707","post","type-post","status-publish","format-standard","hentry","category-esxi","category-ghettovcb","tag-esxi","tag-ghettovcb","tag-plink-exe","tag-vmware"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Programar una copia de seguridad de ghettoVCB.sh con Plink.exe - XARCOM BLOG<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe - XARCOM BLOG\" \/>\n<meta property=\"og:description\" content=\"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe Esta ser\u00eda otra manera de programar una copia de seguridad en ghettoVCB.sh con la aplicaci\u00f3n Plink.exe. En los enlaces podemos pinchar para descargar este software. Tambi\u00e9n podremos descargar el archivo template para que ghettoVCB.sh pueda llamar a las VMs que queremos efectuar copia de seguridad. Primero [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/\" \/>\n<meta property=\"og:site_name\" content=\"XARCOM BLOG\" \/>\n<meta property=\"article:published_time\" content=\"2010-03-23T10:56:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2010-03-23T11:01:37+00:00\" \/>\n<meta name=\"author\" content=\"XarCom\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"XarCom\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/\"},\"author\":{\"name\":\"XarCom\",\"@id\":\"https:\/\/blog.xarcom.net\/#\/schema\/person\/7d4f423ee0738574821bd898993d2136\"},\"headline\":\"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe\",\"datePublished\":\"2010-03-23T10:56:09+00:00\",\"dateModified\":\"2010-03-23T11:01:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/\"},\"wordCount\":281,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.xarcom.net\/#organization\"},\"keywords\":[\"ESXi\",\"ghettoVCB\",\"Plink.exe\",\"VMware\"],\"articleSection\":[\"ESXi\",\"ghettoVCB\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/\",\"url\":\"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/\",\"name\":\"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe - XARCOM BLOG\",\"isPartOf\":{\"@id\":\"https:\/\/blog.xarcom.net\/#website\"},\"datePublished\":\"2010-03-23T10:56:09+00:00\",\"dateModified\":\"2010-03-23T11:01:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/blog.xarcom.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.xarcom.net\/#website\",\"url\":\"https:\/\/blog.xarcom.net\/\",\"name\":\"XARCOM BLOG\",\"description\":\"Aquello que quer\u00edas saber y nadie te explic\u00f3\",\"publisher\":{\"@id\":\"https:\/\/blog.xarcom.net\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.xarcom.net\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/blog.xarcom.net\/#organization\",\"name\":\"XARCOM BLOG\",\"url\":\"https:\/\/blog.xarcom.net\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/blog.xarcom.net\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.xarcom.net\/wp-content\/uploads\/2024\/06\/Logo_Xarcom.png\",\"contentUrl\":\"https:\/\/blog.xarcom.net\/wp-content\/uploads\/2024\/06\/Logo_Xarcom.png\",\"width\":200,\"height\":65,\"caption\":\"XARCOM BLOG\"},\"image\":{\"@id\":\"https:\/\/blog.xarcom.net\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.xarcom.net\/#\/schema\/person\/7d4f423ee0738574821bd898993d2136\",\"name\":\"XarCom\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/blog.xarcom.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5212ac177d650fbc7f03fd39c789b049?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5212ac177d650fbc7f03fd39c789b049?s=96&d=mm&r=g\",\"caption\":\"XarCom\"},\"url\":\"https:\/\/blog.xarcom.net\/index.php\/author\/xarcombl0g\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe - XARCOM BLOG","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/","og_locale":"es_ES","og_type":"article","og_title":"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe - XARCOM BLOG","og_description":"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe Esta ser\u00eda otra manera de programar una copia de seguridad en ghettoVCB.sh con la aplicaci\u00f3n Plink.exe. En los enlaces podemos pinchar para descargar este software. Tambi\u00e9n podremos descargar el archivo template para que ghettoVCB.sh pueda llamar a las VMs que queremos efectuar copia de seguridad. Primero [&hellip;]","og_url":"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/","og_site_name":"XARCOM BLOG","article_published_time":"2010-03-23T10:56:09+00:00","article_modified_time":"2010-03-23T11:01:37+00:00","author":"XarCom","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"XarCom","Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/#article","isPartOf":{"@id":"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/"},"author":{"name":"XarCom","@id":"https:\/\/blog.xarcom.net\/#\/schema\/person\/7d4f423ee0738574821bd898993d2136"},"headline":"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe","datePublished":"2010-03-23T10:56:09+00:00","dateModified":"2010-03-23T11:01:37+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/"},"wordCount":281,"commentCount":0,"publisher":{"@id":"https:\/\/blog.xarcom.net\/#organization"},"keywords":["ESXi","ghettoVCB","Plink.exe","VMware"],"articleSection":["ESXi","ghettoVCB"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/","url":"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/","name":"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe - XARCOM BLOG","isPartOf":{"@id":"https:\/\/blog.xarcom.net\/#website"},"datePublished":"2010-03-23T10:56:09+00:00","dateModified":"2010-03-23T11:01:37+00:00","breadcrumb":{"@id":"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.xarcom.net\/index.php\/programar-una-copia-de-seguridad-de-ghettovcb-sh-con-plink-exe\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/blog.xarcom.net\/"},{"@type":"ListItem","position":2,"name":"Programar una copia de seguridad de ghettoVCB.sh con Plink.exe"}]},{"@type":"WebSite","@id":"https:\/\/blog.xarcom.net\/#website","url":"https:\/\/blog.xarcom.net\/","name":"XARCOM BLOG","description":"Aquello que quer\u00edas saber y nadie te explic\u00f3","publisher":{"@id":"https:\/\/blog.xarcom.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.xarcom.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/blog.xarcom.net\/#organization","name":"XARCOM BLOG","url":"https:\/\/blog.xarcom.net\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/blog.xarcom.net\/#\/schema\/logo\/image\/","url":"https:\/\/blog.xarcom.net\/wp-content\/uploads\/2024\/06\/Logo_Xarcom.png","contentUrl":"https:\/\/blog.xarcom.net\/wp-content\/uploads\/2024\/06\/Logo_Xarcom.png","width":200,"height":65,"caption":"XARCOM BLOG"},"image":{"@id":"https:\/\/blog.xarcom.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/blog.xarcom.net\/#\/schema\/person\/7d4f423ee0738574821bd898993d2136","name":"XarCom","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/blog.xarcom.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5212ac177d650fbc7f03fd39c789b049?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5212ac177d650fbc7f03fd39c789b049?s=96&d=mm&r=g","caption":"XarCom"},"url":"https:\/\/blog.xarcom.net\/index.php\/author\/xarcombl0g\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.xarcom.net\/index.php\/wp-json\/wp\/v2\/posts\/707"}],"collection":[{"href":"https:\/\/blog.xarcom.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xarcom.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xarcom.net\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xarcom.net\/index.php\/wp-json\/wp\/v2\/comments?post=707"}],"version-history":[{"count":6,"href":"https:\/\/blog.xarcom.net\/index.php\/wp-json\/wp\/v2\/posts\/707\/revisions"}],"predecessor-version":[{"id":709,"href":"https:\/\/blog.xarcom.net\/index.php\/wp-json\/wp\/v2\/posts\/707\/revisions\/709"}],"wp:attachment":[{"href":"https:\/\/blog.xarcom.net\/index.php\/wp-json\/wp\/v2\/media?parent=707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xarcom.net\/index.php\/wp-json\/wp\/v2\/categories?post=707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xarcom.net\/index.php\/wp-json\/wp\/v2\/tags?post=707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}