Re: system recovery

2006-06-01 Thread Jonathan Horne
On Wednesday 31 May 2006 21:28, Olivier Nicole wrote:
  or, can someone recommend how i might use that tarball of my entire
  system to quickly get a new system up and running (all this with the
  assumtion that i have not changed any hardware configurations).  if
  someone has time to answer quickly, i would sure appreciate it.

 I think that the recovery system that lies on one of the CDs has
 tar. You could boot the recovery system and untar the things.

 Olivier
 ___

well, i sucessfully recovered my system, back just as it was before my 
tinkering got out of control.  here was my (probably quite unorthodox) 
method:

1) mount my external drive that contained my system tarball.  untar the entire 
backup of the old system
2) rm -rf /boot, and replace it with my old (which had my recompiled kernel)
3) cd to usr, then cp -vpnRP src obj /usr.  (this recovered my most recently 
built world)
4) reboot to single, do my mergematers and install world, reboot back to 
normal again.
5) enter the directory that holds my untarred system backup.  cp -vpnRP * / 
(this copied the root of the old, over the root of the new, but skipping 
anything that exists... assuming that anything that exists that is crashably 
inportnat, was recently upgraded with the buildworld)
6) rm -rf /etc/ and /usr/local/etc/.  replace both with etc/ and 
usr/local/etc/ from the tarball.
7) reboot.  i logged in as my normal user, which i did not create as a part of 
my reinstall.  everything seems to have picked up and kept going as if 
nothign happened, excluding /tmp i could not write to it at first (and 
thus, could not startkde, but i 777'd it and now things are working).

it took me 3 attempts to finally cp -vpnRP correctly, without spewing files 
all over the wrong places, but i have to say, im pretty happy with my result!

(/me scratches practice total system recovery off list of things to do)

cheers,
jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


system recovery

2006-05-31 Thread Jonathan Horne
ok, i trashed my system (being dumb!), and now im preparing to try to get it 
back, and my goal is to try to skip the 38 hour kde compile from ports (yes, 
i like ports, not packages).

before i burned it all down, i did make a tarball of /.  i did try to untar it 
with -C /, but it got about 5 seconds into it, hit a lib it didnt like the 
version of (must have been something *REAL* important), as the system locked 
up as hard as it could be.

so, i would like to begin by trying to skip the buildworld and buildkernel.  i 
still have my entire /usr/src directory, so could i realistically just untar 
that into /usr/src, boot to single, and proceed with mergemaster/make 
installworld'ing?

or, can someone recommend how i might use that tarball of my entire system to 
quickly get a new system up and running (all this with the assumtion that i 
have not changed any hardware configurations).  if someone has time to answer 
quickly, i would sure appreciate it.

thanks a bunch,
jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: system recovery

2006-05-31 Thread Olivier Nicole
 or, can someone recommend how i might use that tarball of my entire
 system to quickly get a new system up and running (all this with the
 assumtion that i have not changed any hardware configurations).  if
 someone has time to answer quickly, i would sure appreciate it.
 
I think that the recovery system that lies on one of the CDs has
tar. You could boot the recovery system and untar the things.

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


UFS2 File System Recovery

2005-02-13 Thread Thomas Foster
I have done quite a bit of searching on the subject and seem to be coming back 
to the same conclusion.

I recently accidentally removed a symlink recursively in a sleep deprived 
stupor and lost an entire directory of personal music projects.  Being that I 
had not performed backups for that day, the files inquestion were not written 
to the taped drive yet, and I was curious.. since the ffsrecov port has been 
broken for some time.. what my options are of trying to recover these files.

I immediately unmounted the disk in question and now am in the process of 
trying to find the solution.

Any suggestions are appreciated.. thank you
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]