Date: Tue, 14 Jun 2011 20:59:33 -0400 From: Greg Larkin <glarkin@FreeBSD.org> To: Peter Vereshagin <peter@vereshagin.org> Cc: freebsd-questions@freebsd.org Subject: Re: Extract particular date snapshot from /var/db/portsnap? Message-ID: <4DF803F5.8040400@FreeBSD.org> In-Reply-To: <20110615000951.GD5630@external.screwed.box> References: <20110615000951.GD5630@external.screwed.box>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/14/11 8:09 PM, Peter Vereshagin wrote: > You can't take no for an answer, freebsd-questions! > > How can I extract an 'old' snapshot from portsnap database? > Does it keep them? Does portsnap keep snapshots fetched previously? > > Suppose I need the particular port or the whole tree as of the specified date > and time? > Or, if I need the particular version of the specified port and optionally the > ports tree that corresponds it? > > Thank you. Hi Peter, You can fetch a ports tree as of specific date like so: cvs -d :ext:anoncvs@anoncvs1.FreeBSD.org:/home/ncvs export -D 2010-10-01 - -d ports-2010-10-01 ports In this example, I am exporting (no CVS metadata dirs) a full ports tree as of Oct 1st, 2010 into the directory "ports-2010-10-01". You can keep many different dated copies of the ports tree, and you can also fetch portions of it as of a specific date if you specify a more complete module name, e.g. ports/lang/gcc45. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk34A/UACgkQ0sRouByUApB1QACfVfWOnWxgATY1m9gkmeLlwLJa gxYAoMChtEGHPahXBRHXvOCRhClLQwCv =WUIL -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DF803F5.8040400>