From owner-freebsd-questions@FreeBSD.ORG Wed Mar 1 09:48:54 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BF7B16A420 for ; Wed, 1 Mar 2006 09:48:54 +0000 (GMT) (envelope-from ianchov@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id B28A443D46 for ; Wed, 1 Mar 2006 09:48:53 +0000 (GMT) (envelope-from ianchov@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so61736nfc for ; Wed, 01 Mar 2006 01:48:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=WlJtbBMdo40GM/ZU1HK7W/dY8PVXfp9WAoGSlY2ApmRGTqJ0A6t2/bcq7hqsbfcDFlTZdgp5pYXKRhXOHgyUJ6v0gH9CLj+B6wKBo3FPk/Tz9IVBIJ6x2ktj9mpberHwsYcOpSwDc6DJuY2+7PM08cI/Cg8DOc37q4CsK1jlO74= Received: by 10.49.20.3 with SMTP id x3mr622nfi; Wed, 01 Mar 2006 01:48:52 -0800 (PST) Received: by 10.49.26.9 with HTTP; Wed, 1 Mar 2006 01:48:52 -0800 (PST) Message-ID: <18e02bd30603010148sf80ed25i80363e709a134f72@mail.gmail.com> Date: Wed, 1 Mar 2006 10:48:52 +0100 From: "Iantcho Vassilev" To: "FreeBSD Questions" In-Reply-To: <055501c63c95$fd8c45a0$6501a8c0@workdog> MIME-Version: 1.0 References: <18e02bd30602280245u1a6453e4r8f3dcdd654c8571f@mail.gmail.com> <055501c63c95$fd8c45a0$6501a8c0@workdog> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Snapshots - can we use is for cloning disk(full restore to a newhard disk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 09:48:54 -0000 On 2/28/06, Gayn Winters wrote: > > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > > Iantcho Vassilev > > Sent: Tuesday, February 28, 2006 2:46 AM > > To: FreeBSD Questions > > Subject: Snapshots - can we use is for cloning disk(full > > restore to a newhard disk) > > > Guys, i searched the web and the mailing lists about this > > topic,but i really didn`t find any interesting thing.. > > Can i use the snapshots for full restore and if yes how can > > we do that? > > > > The part that everyone is referring to the snapshots is the > > fcsk you can run > > on it while the filesystem is working also.. > > You ought to be able to clone a partition from a snapshot via backup > (from the snapshot) | restore (to another disk). Doing this for every > partition should clone the FreeBSD system as of the snapshot. I've > never tried it, however, and I'd be interested in hearing from someone > who has done it successfully. ... Yea.. That`s the idea... Maybe dd copy from the snapshot and then growfs if the hard disk is bigger...