Re: non-destructive ports/packages update

2013-04-23 Thread Perry Hutchison
Chris Rees wrote: > On 23 April 2013 20:41, Peter Jeremy wrote: > > On 2013-Apr-20 18:03:17 -0700, Perry Hutchison > > wrote: > >>The question is, what (if anything) else -- besides /usr/ports, > >>/usr/local, /var/db/ports, and /var/db/pkg -- needs to be checkpointed? > > > > If you're runnin

Re: non-destructive ports/packages update

2013-04-23 Thread Chris Rees
On 23 April 2013 20:41, Peter Jeremy wrote: > On 2013-Apr-20 18:03:17 -0700, Perry Hutchison wrote: >>The question is, what (if anything) else -- besides /usr/ports, >>/usr/local, /var/db/ports, and /var/db/pkg -- needs to be checkpointed? > > If you're running any Linux compatibility packages: /

Re: non-destructive ports/packages update

2013-04-23 Thread Peter Jeremy
On 2013-Apr-20 18:03:17 -0700, Perry Hutchison wrote: >The question is, what (if anything) else -- besides /usr/ports, >/usr/local, /var/db/ports, and /var/db/pkg -- needs to be checkpointed? If you're running any Linux compatibility packages: /compat/linux BOINC packages: /var/db/boinc Unless y

Re: non-destructive ports/packages update

2013-04-22 Thread Perry Hutchison
Peter Pentchev wrote: > Some ports might store "run state" in /var/db/ or a similarly > named directory. The thing is, the decision whether to save this and > restore it or to keep it across runs actually depends on the port: for > database management systems such as MySQL, PostgreSQL, etc, you'

Re: non-destructive ports/packages update

2013-04-22 Thread Perry Hutchison
Chris Rees wrote: > On 21 Apr 2013 02:13, "Perry Hutchison" wrote: > > ... > > The question is, what (if anything) else -- besides /usr/ports, > > /usr/local, /var/db/ports, and /var/db/pkg -- needs to be checkpointed? > > Are you installing any drivers? You may need to back up /boot too. No dr

Re: non-destructive ports/packages update

2013-04-21 Thread Peter Pentchev
On Sat, Apr 20, 2013 at 06:03:17PM -0700, Perry Hutchison wrote: > Xin Li wrote: > > > On 4/19/13 11:34 PM, Perry Hutchison wrote: > > > I'm looking for a way to move everything connected with ports and > > > packages aside, so that I can start fresh but with the ability to > > > easily roll it

Re: non-destructive ports/packages update

2013-04-21 Thread Chris Rees
On 21 Apr 2013 02:13, "Perry Hutchison" wrote: > > Xin Li wrote: > > > On 4/19/13 11:34 PM, Perry Hutchison wrote: > > > I'm looking for a way to move everything connected with ports and > > > packages aside, so that I can start fresh but with the ability to > > > easily roll it back when things

Re: non-destructive ports/packages update

2013-04-20 Thread Perry Hutchison
Xin Li wrote: > On 4/19/13 11:34 PM, Perry Hutchison wrote: > > I'm looking for a way to move everything connected with ports and > > packages aside, so that I can start fresh but with the ability to > > easily roll it back when things go badly (as they surely will). > > > > I have in mind to

Re: non-destructive ports/packages update

2013-04-19 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 4/19/13 11:34 PM, Perry Hutchison wrote: > I'm looking for a way to move everything connected with ports and > packages aside, so that I can start fresh but with the ability to > easily roll it back when things go badly (as they surely will). >

non-destructive ports/packages update

2013-04-19 Thread Perry Hutchison
I'm looking for a way to move everything connected with ports and packages aside, so that I can start fresh but with the ability to easily roll it back when things go badly (as they surely will). I have in mind to something like this: # cd /usr # mkdir old # mv ports local old # mkdir ports local