From owner-freebsd-questions@FreeBSD.ORG Tue Dec 16 15:18:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 415DE106564A for ; Tue, 16 Dec 2008 15:18:56 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from mail-bw0-f14.google.com (mail-bw0-f14.google.com [209.85.218.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8E7158FC1C for ; Tue, 16 Dec 2008 15:18:55 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: by bwz7 with SMTP id 7so7788855bwz.19 for ; Tue, 16 Dec 2008 07:18:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=aOOd57uUmVzPtmCAReTRL2spEyGO5OlbjXbTUn6bMto=; b=Y+T4XPUV+jHLmUDeA8txJCScdvNp+660NlWTjxA/29hZAuajlKmpMcMfwm2iyRE/UF TwVIdWQ6O4+QSjX72xsanZoB50+2dA9kFxxfAGFW1ouWcKUO5ELmngsQq1x5Qx1YUNQx pqtjpfldNRZMvAHQWiHRL4O4CulJWsGxuHXJw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=msYcgNjIvPxUASqgKchF/FxGKXrDY9hwizF24k8L9eNRWV02yML8yh4selU8N6Zvri xbvWGavo7tciAIxBytnWCghcU8pGFGU2s0pAxYh5KqEQQFiiDPQOGWshOONPks9AbLwz whrjNC/SRjOdtFgZWizsSjCrzoOII51WLPiEI= Received: by 10.103.193.12 with SMTP id v12mr3533972mup.23.1229440587542; Tue, 16 Dec 2008 07:16:27 -0800 (PST) Received: by 10.103.220.3 with HTTP; Tue, 16 Dec 2008 07:16:27 -0800 (PST) Message-ID: Date: Tue, 16 Dec 2008 09:16:27 -0600 From: "Andrew Gould" To: bg271828@yahoo.com In-Reply-To: <829861.58495.qm@web53407.mail.re2.yahoo.com> MIME-Version: 1.0 References: <829861.58495.qm@web53407.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Copying system/ports configuration? 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: Tue, 16 Dec 2008 15:18:56 -0000 On Tue, Dec 16, 2008 at 9:03 AM, Dr. Jennifer Nussbaum wrote: > I have a FreeBSD 7.0 system that im using in production. I want to create a > FreeBSD virtual machine, to use as a testbed for this production box. > > The last time i did this it took a lot of time to get the VM set > up--installing all the right ports, getting the database configuration > right, etc. > > Are there any shortcuts for this, e.g. a way i can automatically install > the same ports on the new "machine"? I didnt see anything in the handbook or > FAQ about this, but id think that people need to do this all the time. Any > other advice for mirroring the system? > > Thanks! > > Jen > Someone once posted a shell script that obtained a list of installed ports from the package database system and fed the results to pkg_create, which would create binary packages. Unfortunately, I can't locate the script. Check out 'man pkg_create'. Hopefully someone will post a more complete answer. Good luck, Andrew