From owner-freebsd-questions@freebsd.org Fri Jun 30 23:37:55 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A422D9D942 for ; Fri, 30 Jun 2017 23:37:55 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A67582BA3 for ; Fri, 30 Jun 2017 23:37:54 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id i127so59586655wma.0 for ; Fri, 30 Jun 2017 16:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=KDxuRLnRxKMgGRiep4LPqKGfgj1J4W23qm5SjjfZtjA=; b=kYPb8gnTv5t5x6AYsvJZyByhWaf0HlPdMKA3Iq14AnkivTchb844kNlQdY8imdVUxO HuPtVSpveayj6e4EIWb7phU13c9JUzpRPjA7kfg4R4W75VcFd8896gz8G9jDOs3FWouR /PqL5/WPym/lDZjRlUti75DMMFrurFBG46ny6sHlXfO9Nrv36/vMUW3QPvMBEivD1FUJ 1w8saFqfpoOc0UN1rljXN+gXLlxQeNqwaHmq46LxI0vD66MPz9AsY65b4mWDU7XwS3or R2PWMQcfVzhNI0iRM21tAHKB+wnHcK7V1877AAiiy21ZoMNY7tFQ7KkbhAc/4T/gUJPG EKWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=KDxuRLnRxKMgGRiep4LPqKGfgj1J4W23qm5SjjfZtjA=; b=KemA5n+ppkRZ7+2rGoDtGxzdWSQL8PXenIfOoeLY02cfFBLnfOWgjTDmBXCuc6eEFr C+e7itLd6fsgFthMZVJeDuSBQfDPyD32sUdUtMpC5UeF4hwtt3zZbVKdrtCZdX1cPOq4 2J/18JpUlTmvv6FvMSLlAiLBLWD5yNsthCc1Bk2xfyIK/vSeaproVzizM6UmkYkwA7L8 pEm7O4uiCiXmtB751yDvDXSP4e/pet0SD2/DrfMyRDXUiaEVoM0jjMI7Lvd9+wKSA05d SwDEXqISQ9eAbEmTRKU5MzclP7ZcaXDS9aSNTcBev485kUL26CJvXraSzIgwtPRf74CC 9S8Q== X-Gm-Message-State: AKS2vOxqjqPbfdAe+CRfvpOwwjKrxk91RsEDu36xzS8vAF+bZ6qNlVzR ujugDrc7rfiC65z7zNvNrBkYgRBPrw== X-Received: by 10.80.170.74 with SMTP id p10mr7066826edc.33.1498865872836; Fri, 30 Jun 2017 16:37:52 -0700 (PDT) MIME-Version: 1.0 References: <772bdab1906a8a3deea24fb6b246e40e.squirrel@webmail.harte-lyne.ca> In-Reply-To: <772bdab1906a8a3deea24fb6b246e40e.squirrel@webmail.harte-lyne.ca> From: Ben Woods Date: Fri, 30 Jun 2017 23:37:41 +0000 Message-ID: Subject: Re: A readers digest version of transferring a jail from one host to another. To: byrnejb@harte-lyne.ca, freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2017 23:37:55 -0000 On Sat, 1 Jul 2017 at 2:07 am, James B. Byrne via freebsd-questions < freebsd-questions@freebsd.org> wrote: > What is the simplest way to move a copy of 'J1' on 'A' to a new jail > on 'B'? I know that it is possible to move zfs snapshots around but I > am rather pressed for time. Hi James, With ezjail the easiest way to take a copy of a jail and move it to another host is with the build in archive/restore process. Old server: # ezjail-admin stop jailname # ezjail-admin archive jailname New server: # ezjail-admin restore archivefilename # ezjail-admin start jailname For more details and optional arguements to these commands you can refer to the manpage: http://man.freebsd.org/ezjail-admin Regards, Ben > -- -- From: Benjamin Woods woodsb02@gmail.com