/srv/irclogs.ubuntu.com/2018/03/08/#ubuntu-us-oh.txt

thafreakGather around kids, I will regale you with the story of how thafreak recovered backups from a remote vps that had no internet access14:32
* thafreak dusts off tree stump near campfire14:32
thafreakIt all began when the server hosting my gogs git repo suddenly was no longer reachable14:33
thafreakBut I was able to log in to the serial console remotely still14:33
thafreakWhen I realized it wasn't going to get fixed, and my last backup was 4am in the morning, I wanted some more recent backups14:34
thafreakBut how14:34
thafreakThen I remembered back to my old BBS days and how we would transfer files with zmodem protocol, and how someone got zmodem to work over ssh14:34
thafreakBut the server had no zmodem stuff installd and with no internet access, no way to get new packages installed14:35
thafreakThen it dawns on me, base64 encoding and copy/pasting is basically the same concept, and I had base6414:36
thafreakbut with gigs of data, I needed a better way to capture the text output...14:36
* thafreak had a lightbulb moment14:36
thafreakthe venerable script command!14:36
thafreakSo yes, I ran script on my laptop, logged into the serial console and base64'd to stdout my backups14:37
thafreakI then had a giant text file locally, where I had to trim the top and bottom lines out (head and tail to the rescue)14:37
thafreakand boom, I transfered a few gig of compressed backups to my laptop14:38
thafreakAnd the most amazing part, the transfer speed was actually REALLY good14:38
thafreakI was expecting it to take hours, but I was getting basically MB's/s of transfer...via ssh connected to a serial console14:39
dzhowait, what22:52
dzhotraffic in ubuntu-us-oh?22:52
dzhoholy shit that's a big text file22:53
dzhothafreak: you have earned your nick this day my friend22:53
dzhothat is totally a freak thing to do22:53
Unit193Impressive nevertheless.22:53
dzhono dispute!22:54
dzhothafreak: did you at least use the 'split' command to break it up?22:54

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