{"id":600,"date":"2012-05-01T15:31:09","date_gmt":"2012-05-01T08:31:09","guid":{"rendered":"http:\/\/whplus.com\/blog\/?p=600"},"modified":"2012-05-01T15:31:09","modified_gmt":"2012-05-01T08:31:09","slug":"how-to-manually-migrate-a-vz-container","status":"publish","type":"post","link":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html","title":{"rendered":"How to Manually Migrate a VZ Container"},"content":{"rendered":"<p>Have a tricky VPS that vzmigrate just can\u2019t move? Luckily, Virtuozzo (and OpenVZ for that matter) are pretty simple in terms of how the containers are set up. You\u2019re mainly dealing with two locations that data for the container is stored:<\/p>\n<blockquote><p>\/vz\/private\/$VEID<br \/>\n\/etc\/vz\/conf\/$VEID.conf<\/p><\/blockquote>\n<p>To manually move a container to another node, all you need to do is copy those folders:<\/p>\n<blockquote><p>rsync -av \/vz\/private\/$VEID $newserver:\/vz\/private<br \/>\nrsync -av \/etc\/vz\/conf\/$VEID $newserver:\/etc\/vz\/conf<\/p><\/blockquote>\n<p>Then on the server server, just start it right up. You do need to have the container\u2019s OS template installed on the new node, as referenced in the container\u2019s config file.<br \/>\nThis same process also applies to cloning a VPS, which is particularly useful on an OpenVZ server where the vzmlocal command isn\u2019t available. All you have to do is use similar commands to rsync the container\u2019s private folder to a new VEID:<\/p>\n<blockquote><p>rsync -av \/vz\/private\/$VEID \/vz\/private\/$NEWVEID<br \/>\nrsync -av \/etc\/vz\/conf\/$VEID \/etc\/vz\/conf\/$NEWVEID<\/p><\/blockquote>\n<p>Then just change the hostname and ip variables in the new container\u2019s config file.<\/p>\n<p>surce: http:\/\/www.thevirtuozzoadmin.com\/how-to-manually-migrate-a-vz-container\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have a tricky VPS that vzmigrate just can\u2019t move? Luckily, Virtuozzo (and OpenVZ for that matter) are pretty simple in terms of how the containers are set up. You\u2019re mainly dealing with two locations that data for the container is stored: \/vz\/private\/$VEID \/etc\/vz\/conf\/$VEID.conf To manually move a container to another node, all you need to\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-600","post","type-post","status-publish","format-standard","hentry","category-tutorial"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Have a tricky VPS that vzmigrate just can\u2019t move? Luckily, Virtuozzo (and OpenVZ for that matter) are pretty simple in terms of how the containers are set up. You\u2019re mainly dealing with two locations that data for the container is stored: \/vz\/private\/$VEID \/etc\/vz\/conf\/$VEID.conf To manually move a container to another node, all you need to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"whplus\"\/>\n\t<meta name=\"google-site-verification\" content=\"F5J0SGlaGQ2pp3SIm58KggrITtNTptKPB73P9hpRpfY\" \/>\n\t<meta name=\"keywords\" content=\"tutorial\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@whplus\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Manually Migrate a VZ Container | Whplus Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Have a tricky VPS that vzmigrate just can\u2019t move? Luckily, Virtuozzo (and OpenVZ for that matter) are pretty simple in terms of how the containers are set up. You\u2019re mainly dealing with two locations that data for the container is stored: \/vz\/private\/$VEID \/etc\/vz\/conf\/$VEID.conf To manually move a container to another node, all you need to\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@whplus\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.whplus.com\/blog\/wp-content\/uploads\/2021\/03\/logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/2012\\\/05\\\/01\\\/how-to-manually-migrate-a-vz-container.html#article\",\"name\":\"How to Manually Migrate a VZ Container | Whplus Blog\",\"headline\":\"How to Manually Migrate a VZ Container\",\"author\":{\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/author\\\/whplus#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/logo.png\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/#articleImage\",\"width\":150,\"height\":60},\"datePublished\":\"2012-05-01T15:31:09+07:00\",\"dateModified\":\"2012-05-01T15:31:09+07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/2012\\\/05\\\/01\\\/how-to-manually-migrate-a-vz-container.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/2012\\\/05\\\/01\\\/how-to-manually-migrate-a-vz-container.html#webpage\"},\"articleSection\":\"Tutorial\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/2012\\\/05\\\/01\\\/how-to-manually-migrate-a-vz-container.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.whplus.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/category\\\/tutorial#listItem\",\"name\":\"Tutorial\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/category\\\/tutorial#listItem\",\"position\":2,\"name\":\"Tutorial\",\"item\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/category\\\/tutorial\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/2012\\\/05\\\/01\\\/how-to-manually-migrate-a-vz-container.html#listItem\",\"name\":\"How to Manually Migrate a VZ Container\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/2012\\\/05\\\/01\\\/how-to-manually-migrate-a-vz-container.html#listItem\",\"position\":3,\"name\":\"How to Manually Migrate a VZ Container\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/category\\\/tutorial#listItem\",\"name\":\"Tutorial\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/#organization\",\"name\":\"Whplus\",\"description\":\"Informasi Seputar Layanan Whplus\",\"url\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/logo.png\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/2012\\\/05\\\/01\\\/how-to-manually-migrate-a-vz-container.html\\\/#organizationLogo\",\"width\":150,\"height\":60},\"image\":{\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/2012\\\/05\\\/01\\\/how-to-manually-migrate-a-vz-container.html\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/twitter.com\\\/whplus\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/author\\\/whplus#author\",\"url\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/author\\\/whplus\",\"name\":\"whplus\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/2012\\\/05\\\/01\\\/how-to-manually-migrate-a-vz-container.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5a5270c9fb35780ddadb175b96b0d198683692a2d67525ef5477ca2b11b18ad3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"whplus\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/2012\\\/05\\\/01\\\/how-to-manually-migrate-a-vz-container.html#webpage\",\"url\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/2012\\\/05\\\/01\\\/how-to-manually-migrate-a-vz-container.html\",\"name\":\"How to Manually Migrate a VZ Container | Whplus Blog\",\"description\":\"Have a tricky VPS that vzmigrate just can\\u2019t move? Luckily, Virtuozzo (and OpenVZ for that matter) are pretty simple in terms of how the containers are set up. You\\u2019re mainly dealing with two locations that data for the container is stored: \\\/vz\\\/private\\\/$VEID \\\/etc\\\/vz\\\/conf\\\/$VEID.conf To manually move a container to another node, all you need to\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/2012\\\/05\\\/01\\\/how-to-manually-migrate-a-vz-container.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/author\\\/whplus#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/author\\\/whplus#author\"},\"datePublished\":\"2012-05-01T15:31:09+07:00\",\"dateModified\":\"2012-05-01T15:31:09+07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/\",\"name\":\"Whplus Blog\",\"description\":\"Informasi Seputar Layanan Whplus\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.whplus.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Manually Migrate a VZ Container | Whplus Blog","description":"Have a tricky VPS that vzmigrate just can\u2019t move? Luckily, Virtuozzo (and OpenVZ for that matter) are pretty simple in terms of how the containers are set up. You\u2019re mainly dealing with two locations that data for the container is stored: \/vz\/private\/$VEID \/etc\/vz\/conf\/$VEID.conf To manually move a container to another node, all you need to","canonical_url":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html","robots":"max-image-preview:large","keywords":"tutorial","webmasterTools":{"google-site-verification":"F5J0SGlaGQ2pp3SIm58KggrITtNTptKPB73P9hpRpfY","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html#article","name":"How to Manually Migrate a VZ Container | Whplus Blog","headline":"How to Manually Migrate a VZ Container","author":{"@id":"https:\/\/www.whplus.com\/blog\/author\/whplus#author"},"publisher":{"@id":"https:\/\/www.whplus.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.whplus.com\/blog\/wp-content\/uploads\/2021\/03\/logo.png","@id":"https:\/\/www.whplus.com\/blog\/#articleImage","width":150,"height":60},"datePublished":"2012-05-01T15:31:09+07:00","dateModified":"2012-05-01T15:31:09+07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html#webpage"},"isPartOf":{"@id":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html#webpage"},"articleSection":"Tutorial"},{"@type":"BreadcrumbList","@id":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.whplus.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.whplus.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.whplus.com\/blog\/category\/tutorial#listItem","name":"Tutorial"}},{"@type":"ListItem","@id":"https:\/\/www.whplus.com\/blog\/category\/tutorial#listItem","position":2,"name":"Tutorial","item":"https:\/\/www.whplus.com\/blog\/category\/tutorial","nextItem":{"@type":"ListItem","@id":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html#listItem","name":"How to Manually Migrate a VZ Container"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.whplus.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html#listItem","position":3,"name":"How to Manually Migrate a VZ Container","previousItem":{"@type":"ListItem","@id":"https:\/\/www.whplus.com\/blog\/category\/tutorial#listItem","name":"Tutorial"}}]},{"@type":"Organization","@id":"https:\/\/www.whplus.com\/blog\/#organization","name":"Whplus","description":"Informasi Seputar Layanan Whplus","url":"https:\/\/www.whplus.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.whplus.com\/blog\/wp-content\/uploads\/2021\/03\/logo.png","@id":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html\/#organizationLogo","width":150,"height":60},"image":{"@id":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html\/#organizationLogo"},"sameAs":["https:\/\/twitter.com\/whplus"]},{"@type":"Person","@id":"https:\/\/www.whplus.com\/blog\/author\/whplus#author","url":"https:\/\/www.whplus.com\/blog\/author\/whplus","name":"whplus","image":{"@type":"ImageObject","@id":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/5a5270c9fb35780ddadb175b96b0d198683692a2d67525ef5477ca2b11b18ad3?s=96&d=mm&r=g","width":96,"height":96,"caption":"whplus"}},{"@type":"WebPage","@id":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html#webpage","url":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html","name":"How to Manually Migrate a VZ Container | Whplus Blog","description":"Have a tricky VPS that vzmigrate just can\u2019t move? Luckily, Virtuozzo (and OpenVZ for that matter) are pretty simple in terms of how the containers are set up. You\u2019re mainly dealing with two locations that data for the container is stored: \/vz\/private\/$VEID \/etc\/vz\/conf\/$VEID.conf To manually move a container to another node, all you need to","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.whplus.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.whplus.com\/blog\/2012\/05\/01\/how-to-manually-migrate-a-vz-container.html#breadcrumblist"},"author":{"@id":"https:\/\/www.whplus.com\/blog\/author\/whplus#author"},"creator":{"@id":"https:\/\/www.whplus.com\/blog\/author\/whplus#author"},"datePublished":"2012-05-01T15:31:09+07:00","dateModified":"2012-05-01T15:31:09+07:00"},{"@type":"WebSite","@id":"https:\/\/www.whplus.com\/blog\/#website","url":"https:\/\/www.whplus.com\/blog\/","name":"Whplus Blog","description":"Informasi Seputar Layanan Whplus","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.whplus.com\/blog\/#organization"}}]},"twitter:card":"summary","twitter:site":"@whplus","twitter:title":"How to Manually Migrate a VZ Container | Whplus Blog","twitter:description":"Have a tricky VPS that vzmigrate just can\u2019t move? Luckily, Virtuozzo (and OpenVZ for that matter) are pretty simple in terms of how the containers are set up. You\u2019re mainly dealing with two locations that data for the container is stored: \/vz\/private\/$VEID \/etc\/vz\/conf\/$VEID.conf To manually move a container to another node, all you need to","twitter:creator":"@whplus","twitter:image":"https:\/\/www.whplus.com\/blog\/wp-content\/uploads\/2021\/03\/logo.png"},"aioseo_meta_data":{"post_id":"600","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-03-09 02:25:02","updated":"2022-09-19 18:07:54","seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/comments?post=600"}],"version-history":[{"count":1,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/600\/revisions"}],"predecessor-version":[{"id":601,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/600\/revisions\/601"}],"wp:attachment":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/media?parent=600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/categories?post=600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/tags?post=600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}