/srv/irclogs.ubuntu.com/2011/02/15/#ubuntu-us-nc.txt

=== jack is now known as Guest93386
BugeyeDargh! please help!18:49
BugeyeDi just squashed /etc on my own box. my home directory is encrypted (ecryptfs). since /etc/ is borked, i can neither su/sudo/ssh.18:50
BugeyeDhow the heck do i get my stuff outta my encrypted home dir?18:50
BugeyeDanyone?18:50
BugeyeDi'm checking here: https://help.ubuntu.com/community/EncryptedPrivateDirectory#Recovering%20Your%20Mount%20Passphrase18:52
BugeyeDbut this stuff requires umounting my home dir, which i do not yet want to do in case i can manage to get this stuff off my machine first.18:53
internalkernelBugeyeD: sheeeeettt....18:55
internalkernelwhat do you mean you squashed /etc? Like it's gone?18:55
BugeyeDlike i replaced it with /etc from another box. which was running another operating system, if you can believe that.18:56
internalkernelouch... got it, yeah I've had those moments too...18:56
internalkernelI've reinstalled an OS, and reused the same encrypted partition... as long as user/pass are the same obviously.18:57
BugeyeDi got next to zero sleep, so today has been one long moment. at least it wasn't one of my servers, but i have well-loved stuff on this box.18:57
internalkernellol... I do my best work at 3 am... after about 5 I've learned to go to bed... or somethign bad happens. :D18:58
internalkernelWhat about just mounting a liveCD and rsync /etc  - it won't be perfect but should at least get you through the sudo-ing18:58
BugeyeDall my stuff is ecryptfs-ed. i fear being unable to decrypt that following a reboot. i'm trying to figure out a way, any way, to get the stuff off first. i'm looking at ftp options at the moment.18:59
BugeyeDhmmm ...19:01
internalkernelWell, it sounds like anyway you cut this... it's going to require a reinstall to fix. Is /home on a separate partition?19:01
internalkernelI've reinstalled over Ubuntu over an encrypted home dir before - /home was separate, didn't partition it and used the same user/pass as the last install... it accessed my ecryptfs just fine...19:02
BugeyeDsame fs, all root. just the default.19:07
BugeyeDi don't mind the reinstall - i just want to back up my stuff first if possible.19:08
Tracy_Pclone the drive19:35
=== Tracy_P1 is now known as Tracy_P
BugeyeDinternalkernel_: heh, python saves the day. again ...   python -mSimpleHTTPServer20:39
internalkernel_lol... good idea... wasn't even thinking of that...20:39
BugeyeDcrank up a shell on another box, and wget --recursive myotherhost:8000 ... then go have lunch20:39
BugeyeDyeah, i had to think "outta the box" :)20:40
internalkernel_that would do it... no sudo needed... lol...20:40
internalkernel_seriously... that's one for the toolbox.20:40
BugeyeDi spun my wheels trying to figure out how to connect outbound when ssh was no longer an option, and was coming up short. i guess i could have used rsync. probably would have been faster, but would have required rsync daemon on the other box first.20:40
BugeyeDi use python for stuff like this from time to time, like with adhoc requests for logs and such. no way i'm giving someone a login so that works well.20:41
Tracy_PI've had timeout issues with big files.20:43
Tracy_Pbe sure to check the md5sum at both ends20:43
BugeyeDhard to do with 90GB of data ... i won't be rebooting this guy for awhile ...20:49
BugeyeDi at a minimum want to get my python projects, ~/bin, and .xmonad stuff backed up. there is a lot of python stuff.20:50
Tracy_Ppython script to create an SQLite table holding relative path and md5sum, that you will then use to test other side20:50
BugeyeDi may also try the rsync method after the wget completes. rsync checksums, so if i run it a second time and no files are transferred i should be good. the sqlite part is beyond my experience. i support oracle dbas and know a bit of sql, but have never played with sqlite nor python plus any db.20:51
Tracy_Pif I have to do it more than once, it should be in a quickly accessible script20:51
Tracy_Pbeen too long since I was in python to be quick with it.20:52
BugeyeDdunno if i even have sqlite support files on this box. will eventually get there, probably. have been thinking of looking sqlite for storage where i'm currently using shelve.20:55
Tracy_PI'm sure you could just use a comma delimited file too.20:56
Tracy_Pjust a matter of scanning each entry on the testing side20:57
=== Moot2 is now known as MootBot

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!