=== jack is now known as Guest93386 [18:49] argh! please help! [18:50] i 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] how the heck do i get my stuff outta my encrypted home dir? [18:50] anyone? [18:52] i'm checking here: https://help.ubuntu.com/community/EncryptedPrivateDirectory#Recovering%20Your%20Mount%20Passphrase [18:53] but 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:55] BugeyeD: sheeeeettt.... [18:55] what do you mean you squashed /etc? Like it's gone? [18:56] like i replaced it with /etc from another box. which was running another operating system, if you can believe that. [18:56] ouch... got it, yeah I've had those moments too... [18:57] I've reinstalled an OS, and reused the same encrypted partition... as long as user/pass are the same obviously. [18:57] i 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:58] lol... I do my best work at 3 am... after about 5 I've learned to go to bed... or somethign bad happens. :D [18:58] What about just mounting a liveCD and rsync /etc - it won't be perfect but should at least get you through the sudo-ing [18:59] all 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. [19:01] hmmm ... [19:01] Well, it sounds like anyway you cut this... it's going to require a reinstall to fix. Is /home on a separate partition? [19:02] I'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:07] same fs, all root. just the default. [19:08] i don't mind the reinstall - i just want to back up my stuff first if possible. [19:35] clone the drive === Tracy_P1 is now known as Tracy_P [20:39] internalkernel_: heh, python saves the day. again ... python -mSimpleHTTPServer [20:39] lol... good idea... wasn't even thinking of that... [20:39] crank up a shell on another box, and wget --recursive myotherhost:8000 ... then go have lunch [20:40] yeah, i had to think "outta the box" :) [20:40] that would do it... no sudo needed... lol... [20:40] seriously... that's one for the toolbox. [20:40] i 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:41] i 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:43] I've had timeout issues with big files. [20:43] be sure to check the md5sum at both ends [20:49] hard to do with 90GB of data ... i won't be rebooting this guy for awhile ... [20:50] i at a minimum want to get my python projects, ~/bin, and .xmonad stuff backed up. there is a lot of python stuff. [20:50] python script to create an SQLite table holding relative path and md5sum, that you will then use to test other side [20:51] i 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] if I have to do it more than once, it should be in a quickly accessible script [20:52] been too long since I was in python to be quick with it. [20:55] dunno 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:56] I'm sure you could just use a comma delimited file too. [20:57] just a matter of scanning each entry on the testing side === Moot2 is now known as MootBot